lemon橪 2022-06-15 10:09:42 +08:00
commit 905e965917
5 changed files with 8 additions and 8 deletions

View File

@ -24,7 +24,7 @@
<view>
<!-- 根据scopeType 判断是否是 平台品类或店铺 -->
<view class="coupon-title wes-3" v-if="item.scopeType">
<span v-if="item.scopeType == 'ALL' && item.id == 'platform'"></span>
<span v-if="item.scopeType == 'ALL' && item.storeId == '0'"></span>
<span v-if="item.scopeType == 'PORTION_CATEGORY'"></span>
<view v-else>{{ item.storeName == 'platform' ? '' :item.storeName+'' }}使
</view>
@ -291,4 +291,4 @@
width: 260rpx;
}
</style>
</style>

View File

@ -14,7 +14,7 @@
</view>
<view class="bottom-view">
<view class="text"> 使用平台{{
coupon.scopeType == 'ALL' && coupon.id == 'platform'
coupon.scopeType == 'ALL' && coupon.storeId == '0'
? "全平台"
: coupon.scopeType == "PORTION_CATEGORY"
? "仅限品类"

View File

@ -34,7 +34,7 @@
<view class="right">
<view class="desc">
<view v-if="item.scopeType">
<span v-if="item.scopeType == 'ALL' && item.id == 'platform'"></span>
<span v-if="item.scopeType == 'ALL' && item.storeId == '0'"></span>
<span v-if="item.scopeType == 'PORTION_CATEGORY'"></span>
<view v-else
>{{

View File

@ -32,7 +32,7 @@
<view class="content">
<view class="title-1">{{ coupon.title }}</view>
<view class="title-2">使用平台{{
coupon.scopeType == 'ALL' && coupon.id == 'platform'
coupon.scopeType == 'ALL' && coupon.storeId == '0'
? "全平台"
: coupon.scopeType == "PORTION_CATEGORY"
? "仅限品类"
@ -188,7 +188,7 @@ export default {
* 立即使用优惠券
*/
useItNow(item) {
if (item.storeId && item.storeId!='platform') {
if (item.storeId && item.storeId!='0') {
uni.navigateTo({
url: `/pages/product/shopPage?id=${item.storeId}`,
});

View File

@ -11,7 +11,7 @@
<view class="text">
<div class="coupon-List-title">
<view v-if="item.scopeType">
<span v-if="item.scopeType == 'ALL' && item.id == 'platform'"></span>
<span v-if="item.scopeType == 'ALL' && item.storeId == '0'"></span>
<span v-if="item.scopeType == 'PORTION_CATEGORY'"></span>
<view v-else>{{
item.storeName == "platform" ? "全平台" : item.storeName + "店铺"
@ -181,4 +181,4 @@
}
}
}
</style>
</style>