feat: 商城tab改名(储值卡->会员卡/会员卡->课程套餐) + 我的会员卡->我的课程套餐 + 约课tab会员卡->课程
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<view class="courses-page">
|
<view class="courses-page">
|
||||||
<block>
|
<block>
|
||||||
<view class="tab-bar">
|
<view class="tab-bar">
|
||||||
<view class="tab-item" :class="{ active: activeTab === 'membership' }" @tap="switchTab('membership')">会员卡</view>
|
<view class="tab-item" :class="{ active: activeTab === 'membership' }" @tap="switchTab('membership')">课程</view>
|
||||||
<view class="tab-item" :class="{ active: activeTab === 'tickets' }" @tap="switchTab('tickets')">篮球门票</view>
|
<view class="tab-item" :class="{ active: activeTab === 'tickets' }" @tap="switchTab('tickets')">篮球门票</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|||||||
@@ -6,14 +6,14 @@
|
|||||||
:class="{ active: activeTab === 'stored_value' }"
|
:class="{ active: activeTab === 'stored_value' }"
|
||||||
@tap="switchTab('stored_value')"
|
@tap="switchTab('stored_value')"
|
||||||
>
|
>
|
||||||
储值卡
|
会员卡
|
||||||
</view>
|
</view>
|
||||||
<view
|
<view
|
||||||
class="tab-item"
|
class="tab-item"
|
||||||
:class="{ active: activeTab === 'membership' }"
|
:class="{ active: activeTab === 'membership' }"
|
||||||
@tap="switchTab('membership')"
|
@tap="switchTab('membership')"
|
||||||
>
|
>
|
||||||
会员卡
|
课程套餐
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ const balance = ref('0.00')
|
|||||||
const balanceText = computed(() => formatAmount(balance.value))
|
const balanceText = computed(() => formatAmount(balance.value))
|
||||||
|
|
||||||
const menuItems = [
|
const menuItems = [
|
||||||
{ title: '我的会员卡', url: '/pages/comprehensive/membership/cards', theme: 'profile-theme', icon: 'profile' },
|
{ title: '我的课程套餐', url: '/pages/comprehensive/membership/cards', theme: 'profile-theme', icon: 'profile' },
|
||||||
{ title: '我的订单', url: '/pages/comprehensive/profile/orders', theme: 'order-theme', icon: 'order' },
|
{ title: '我的订单', url: '/pages/comprehensive/profile/orders', theme: 'order-theme', icon: 'order' },
|
||||||
{ title: '余额流水', url: '/pages/comprehensive/profile/balance', theme: 'order-theme', icon: 'order' }
|
{ title: '余额流水', url: '/pages/comprehensive/profile/balance', theme: 'order-theme', icon: 'order' }
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -165,7 +165,7 @@
|
|||||||
<view class="svg-card-chip" />
|
<view class="svg-card-chip" />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<text class="item-title">我的会员卡</text>
|
<text class="item-title">我的课程套餐</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="item-right">
|
<view class="item-right">
|
||||||
<view class="count-badge" v-if="member.cardCount > 0">
|
<view class="count-badge" v-if="member.cardCount > 0">
|
||||||
|
|||||||
Reference in New Issue
Block a user