修复:开发测试问题修改
This commit is contained in:
@@ -373,9 +373,11 @@ const handleSubmit = async () => {
|
|||||||
})
|
})
|
||||||
|
|
||||||
// 返回上一页
|
// 返回上一页
|
||||||
uni.navigateBack({
|
setTimeout(() => {
|
||||||
delta: props.backStep
|
uni.navigateBack({
|
||||||
})
|
delta: props.backStep
|
||||||
|
})
|
||||||
|
}, 500)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ const props = defineProps({
|
|||||||
*/
|
*/
|
||||||
const goToRecharge = () => {
|
const goToRecharge = () => {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/user/wallet/recharge/index?source=order'
|
url: '/pages/user/recharge/index'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -26,22 +26,18 @@
|
|||||||
<view class="vip-card-title">{{ $t('user.vip') }}</view>
|
<view class="vip-card-title">{{ $t('user.vip') }}</view>
|
||||||
<view class="vip-card-content">
|
<view class="vip-card-content">
|
||||||
<view class="vip-item-list">
|
<view class="vip-item-list">
|
||||||
<view v-if="vipInfo.length > 0" v-for="vip in vipInfo">{{ vipTypeDict[vip.type] }}(有效期到
|
<view v-if="vipInfo.length > 0" v-for="vip in vipInfo">{{ vipTypeDict[vip.type] }}({{ parseTime(vip.endTime, '{y}-{m}-{d}') }} 截止)</view>
|
||||||
{{ parseTime(vip.endTime, '{y}-{m}-{d}') }})</view>
|
|
||||||
<view v-else>办理课程VIP,畅享更多权益</view>
|
<view v-else>办理课程VIP,畅享更多权益</view>
|
||||||
</view>
|
</view>
|
||||||
<wd-button v-if="vipInfo.length > 0" plain type="primary" size="small"
|
<wd-button v-if="vipInfo.length > 0" plain type="primary" size="small" @click="goCourseVipSub">{{ $t('vip.renewal') }}</wd-button>
|
||||||
@click="goSubscribe">{{ $t('vip.renewal') }}</wd-button>
|
<wd-button v-else plain type="primary" size="small" @click="goCourseVipSub">{{ $t('vip.openVip') }}</wd-button>
|
||||||
<wd-button v-else plain type="primary" size="small" @click="goSubscribe">{{ $t('vip.openVip') }}</wd-button>
|
|
||||||
</view>
|
</view>
|
||||||
<view class="vip-card-content">
|
<view class="vip-card-content">
|
||||||
<view class="vip-item-list">
|
<view class="vip-item-list">
|
||||||
<view v-if="vipInfoEbook.length > 0" v-for="vip in vipInfoEbook">电子书VIP{{ vipTypeDict[vip.type] }}(有效期到
|
<view v-if="vipInfoEbook.length > 0" v-for="vip in vipInfoEbook">电子书VIP{{ vipTypeDict[vip.type] }}({{ parseTime(vip.endTime, '{y}-{m}-{d}') }} 截止)</view>
|
||||||
{{ parseTime(vip.endTime, '{y}-{m}-{d}') }})</view>
|
|
||||||
<view v-else>办理电子书VIP,畅享更多权益</view>
|
<view v-else>办理电子书VIP,畅享更多权益</view>
|
||||||
</view>
|
</view>
|
||||||
<wd-button v-if="!vipInfoEbook.length" plain type="primary" size="small"
|
<wd-button v-if="!vipInfoEbook.length" plain type="primary" size="small" @click="goSubscribe">{{ $t('vip.openVip') }}</wd-button>
|
||||||
@click="goSubscribe">{{ $t('vip.openVip') }}</wd-button>
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -183,7 +179,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 跳转到订阅页面
|
* 跳转到电子书vip订阅页面
|
||||||
*/
|
*/
|
||||||
const goSubscribe = () => {
|
const goSubscribe = () => {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
@@ -191,6 +187,15 @@
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 跳转到课程vip订阅页面
|
||||||
|
*/
|
||||||
|
const goCourseVipSub = () => {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: '/pages/vip/course'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 处理菜单点击
|
* 处理菜单点击
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -284,6 +284,9 @@
|
|||||||
.pt-10 {
|
.pt-10 {
|
||||||
padding-top: calc(var(--spacing) * 10);
|
padding-top: calc(var(--spacing) * 10);
|
||||||
}
|
}
|
||||||
|
.pt-\[40px\] {
|
||||||
|
padding-top: 40px;
|
||||||
|
}
|
||||||
.pb-0 {
|
.pb-0 {
|
||||||
padding-bottom: calc(var(--spacing) * 0);
|
padding-bottom: calc(var(--spacing) * 0);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user