【优化】优化满减显示

pull/102/head
痴货 2024-09-18 18:11:54 +08:00
parent 51cd8908ec
commit ab709267be
2 changed files with 6 additions and 8 deletions

View File

@ -83,6 +83,11 @@
<text v-if="(state.rewardActivity.ruleDescriptions[0])[4]"> </text> <text v-if="(state.rewardActivity.ruleDescriptions[0])[4]"> </text>
{{(state.rewardActivity.ruleDescriptions[0])[1]}} {{(state.rewardActivity.ruleDescriptions[0])[1]}}
</view> </view>
<view v-if="state.rewardActivity && state.rewardActivity.id > 0"
class="tag ss-m-r-10" @tap="onOpenActivity">
<text v-if="(state.rewardActivity.ruleDescriptions[0])[1]"></text>
{{(state.rewardActivity.ruleDescriptions[0])[1]}}
</view>
</view> </view>
</div> </div>
<!-- 领取优惠劵的按钮 --> <!-- 领取优惠劵的按钮 -->

View File

@ -418,16 +418,12 @@ export function handeleData(array) {
value: [] value: []
}, },
{ {
name: '满送', name: '赠品',
value: [] value: []
}, },
{ {
name: '包邮', name: '包邮',
value: [] value: []
},
{
name: '赠品',
value: []
} }
]); ]);
@ -444,9 +440,6 @@ export function handeleData(array) {
case 3: case 3:
array2.value[2].value.push(value); // 包邮 array2.value[2].value.push(value); // 包邮
break; break;
case 4:
array2.value[3].value.push(value); // 赠品
break;
default: default:
break; break;
} }