This commit is contained in:
shijingjing
2022-02-17 08:54:50 +08:00
parent fae3f04927
commit 0be49b0432
2 changed files with 40 additions and 47 deletions

View File

@@ -5,7 +5,7 @@
<div class="item" :class="tabIndex == index ? 'active' : ''" v-for="(item, index) in tabs" :key="index" @click="tabClick(index)">{{item}}<span></span></div>
</div>
<!-- 全部 -->
<!-- 列表 -->
<div>
<div class="search-box" v-if="tabIndex==0">
<div class="integral-types" @click="showType = true">{{ type? type : '积分类型' }}<u-icon name="arrow-down"></u-icon></div>
@@ -20,7 +20,7 @@
<div class="time">{{ item.createTime }}</div>
</div>
<div class="card-type">
<div class="type">{{ $dict.getLabel('integralDeclareStatus',item.auditStatus) }}</div>
<div class="type" :style="{color: item.auditStatus==0? '#4181FF':item.auditStatus==1? '#baf07b' : '#dd5347'}">{{ $dict.getLabel('integralDeclareStatus',item.auditStatus) }}</div>
<div class="num">20</div>
</div>
</div>
@@ -73,7 +73,7 @@ export default {
}
}).then(res => {
if(res.code==0){
this.integralList = res.data.records
this.integralList = this.current > 1 ? [...this.integralList, ...res.data.records] : res.data.records
this.$forceUpdate()
}
})