优化页面

This commit is contained in:
pengxiaolong
2025-06-18 16:01:55 +08:00
parent e464d99af5
commit ec9dcb486f
122 changed files with 349 additions and 251 deletions

View File

@@ -30,13 +30,13 @@
<uni-card class="card" v-for="(item, index) in pointslist" :key="index" >
<view
class="card-content"
:style="{ 'background-color': item.status == 0 ? '#11ff002b' : '#ff000011' }"
:style="{ 'background-color': item.status == 0 ? '#ff000011' : '#11ff002b' }"
>
<view class="info"><view>{{ item.info }}</view>&nbsp;&nbsp;<view class="num">{{item.status == 0? '-'+ item.number : '+' +item.number }}</view></view>
<view class="time">
{{ formatDate(item.time) }}
</view>
<view class="info">{{ item.info }}</view>
<view class="num">{{ item.number }}</view>
</view>
</uni-card>
</scroll-view>
@@ -93,9 +93,7 @@ export default {
userInfo: true,
}).then((res) => {
if (res.code === 200) {
console.log(res.data);
this.pointslist.push(...res.data);
console.log("```````````````````", this.pointslist);
this.triggered = false;
} else {
console.log(res.msg);
@@ -173,6 +171,7 @@ export default {
.info {
font-size: 24rpx;
color: #898989;
display: flex;
}
.num {
font-size: 24rpx;