积分兑换

This commit is contained in:
liuye
2022-12-01 11:16:33 +08:00
parent b58678d896
commit 976cfc2341

View File

@@ -18,8 +18,8 @@
<span class="top mar-l8" :class="search.priceSort === 0 ? 'active' : ''"></span>
<span class="bottom mar-l8" :class="search.priceSort === 1 ? 'active' : ''"></span>
</div>
<div class="sure" :class="search.status == 2 ? 'active' : ''" @click="clickStatus()">可兑换的
<img src="./components/imgs/check-icon.png" alt="" v-if="search.status == 2">
<div class="sure" :class="search.isExchange == 1 ? 'active' : ''" @click="clickStatus()">可兑换的
<img src="./components/imgs/check-icon.png" alt="" v-if="search.isExchange == 1">
</div>
</div>
<div class="type">
@@ -53,9 +53,9 @@ export default {
typeList: ['全部', '100分以下', '500分以下', '1000分以下', '5000分以下'],
typeIndex: 0,
search: {
status: '',
newestSort: '0',
priceSort: ''
priceSort: '',
isExchange: ''
},
userIntegral: ''
}
@@ -113,7 +113,7 @@ export default {
uni.navigateTo({url:`./myOrder`})
},
clickStatus() {
this.search.status = this.search.status == 2 ? '' : 2
this.search.isExchange = this.search.isExchange == 1 ? '' : 1
this.getListInit()
},
clickNew() {