列表
This commit is contained in:
@@ -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()
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user