This commit is contained in:
gyq
2025-09-26 14:21:51 +08:00
parent 56436617f9
commit c0f250789d
3 changed files with 21 additions and 4 deletions

View File

@@ -126,10 +126,12 @@
</view> -->
</view>
<indexs v-if="showindex == 'shopIndex'" :shopExtend="orderVIP.shopExtendList"></indexs>
<!-- <CouponModal></CouponModal> -->
</view>
</template>
<script setup>
import CouponModal from '@/components/coupon-modal.vue';
import { ref, computed, onMounted, reactive, onBeforeUnmount, watch, getCurrentInstance, nextTick } from 'vue';
import { onLoad, onReady, onShow, onReachBottom, onPageScroll } from '@dcloudio/uni-app';
// 获取全局属性

View File

@@ -153,8 +153,13 @@ function showDetailHandle(item) {
`其它说明:${item.ruleDetails || '无'}`
];
if (item.type == 2 || item.type == 4) {
selectListItemDetails.value.splice(2, 0, `使用规则:${item.useRule == 'price_asc' ? '从最低价开始抵扣' : '从最高价开始抵扣'}`);
}
if (item.type == 3) {
selectListItemDetails.value.unshift(`最高抵扣${item.discountAmount}`);
selectListItemDetails.value.unshift(`最高抵扣${item.maxDiscountAmount}`);
// selectListItemDetails.value.splice(3, 0, `使用规则:${item.useRule == 'price_asc' ? '从最低价开始抵扣' : '从最高价开始抵扣'}`);
}
}