订单、售后相关的订单标记

pull/1/MERGE
YunaiV 2023-06-05 00:03:30 +08:00
parent 8ccaa633ff
commit 4a9c829d6f
1 changed files with 19 additions and 20 deletions

View File

@ -63,7 +63,7 @@
<view class='goodsNav acea-row row-between-wrapper'>
<view v-if="cartList.invalid.length > 1 || cartList.valid.length > 0" @click='goodsOpen'>
<text class='iconfont'
:class='goodsHidden==true?"icon-xiangxia":"icon-xiangshang"'></text>失效商品
:class='goodsHidden===true?"icon-xiangxia":"icon-xiangshang"'></text>失效商品
</view>
<view v-else>
失效商品
@ -95,10 +95,10 @@
</view> -->
<view class='loadingicon acea-row row-center-wrapper' v-if="cartList.invalid.length&&loadend">
<text class='loading iconfont icon-jiazai'
:hidden='loadingInvalid==false'></text>{{loadTitleInvalid}}
:hidden='loadingInvalid===false'></text>{{loadTitleInvalid}}
</view>
</view>
<view class='noCart' v-if="cartList.valid.length == 0 && cartList.invalid.length == 0 && canShow">
<view class='noCart' v-if="cartList.valid.length === 0 && cartList.invalid.length === 0 && canShow">
<view class='pictrue'>
<image src='../../static/images/noCart.png'></image>
</view>
@ -136,7 +136,6 @@
<!-- #ifdef MP -->
<!-- <authorize :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse"></authorize> -->
<!-- #endif -->
</view>
</template>
@ -219,13 +218,13 @@
computed: mapGetters(['isLogin']),
onLoad: function(options) {
let that = this;
if (that.isLogin == false) {
if (that.isLogin === false) {
toLogin();
}
},
onShow: function() {
this.canShow = false
if (this.isLogin == true) {
if (this.isLogin === true) {
this.hotPage = 1;
this.hostProduct = [],
this.hotScroll = false,
@ -243,15 +242,15 @@
this.hotPage = 1;
this.hotLimit = 10;
this.cartList = {
valid: [],
invalid: []
},
this.isAllSelect = false; //
valid: [],
invalid: []
};
this.isAllSelect = false; //
this.selectValue = []; //
this.selectCountPrice = 0.00;
this.cartCount = 0;
this.isShowAuth = false;
};
}
},
methods: {
//
@ -743,7 +742,7 @@
selectValue = [];
if (validList.length > 0) {
for (let index in validList) {
if (validList[index].cartNum == 1) {
if (validList[index].cartNum === 1) {
validList[index].numSub = true;
} else {
validList[index].numSub = false;
@ -769,7 +768,7 @@
data.page += 1;
that.selectValue = selectValue;
let newArr = validList.filter(item => item.attrStatus);
that.isAllSelect = newArr.length == selectValue.length && newArr.length;
that.isAllSelect = newArr.length === selectValue.length && newArr.length;
that.switchSelect();
}