优惠券

This commit is contained in:
邹方成 2026-02-16 16:10:10 +08:00
parent dc2297bbdf
commit 29f272c22c
2 changed files with 7 additions and 7 deletions

View File

@ -126,8 +126,8 @@
</view> </view>
</view> </view>
<!-- 优惠券视图 --> <!-- 优惠券视图 - 已隐藏优惠券兑换功能 -->
<view v-else-if="currentTab === 'coupon'" class="coupons-compact-list"> <!-- <view v-else-if="currentTab === 'coupon'" class="coupons-compact-list">
<view class="coupon-compact-card" v-for="c in items" :key="c.id"> <view class="coupon-compact-card" v-for="c in items" :key="c.id">
<view class="c-val-box"> <view class="c-val-box">
<text class="c-val">¥{{ (c.discount_value || 0) / 100 }}</text> <text class="c-val">¥{{ (c.discount_value || 0) / 100 }}</text>
@ -138,7 +138,7 @@
</view> </view>
<view class="c-btn" @tap="onRedeemTap(c)">兑换</view> <view class="c-btn" @tap="onRedeemTap(c)">兑换</view>
</view> </view>
</view> </view> -->
<!-- 道具卡视图 (后期开放) --> <!-- 道具卡视图 (后期开放) -->
<view v-else-if="currentTab === 'item_card'" class="item-cards-list"> <view v-else-if="currentTab === 'item_card'" class="item-cards-list">
@ -254,8 +254,8 @@ const priceRanges = [
const activePriceRange = ref('all') const activePriceRange = ref('all')
const tabs = [ const tabs = [
{ id: 'product', name: '商品' }, { id: 'product', name: '商品' }
{ id: 'coupon', name: '优惠券' } // { id: 'coupon', name: '' } //
// { id: 'item_card', name: '' } // // { id: 'item_card', name: '' } //
] ]

View File

@ -1,5 +1,5 @@
//const BASE_URL = 'http://127.0.0.1:9991' const BASE_URL = 'http://127.0.0.1:9991'
const BASE_URL = 'https://kdy.1024tool.vip' // const BASE_URL = 'https://kdy.1024tool.vip'
let authModalShown = false let authModalShown = false
function handleAuthExpired() { function handleAuthExpired() {