diff --git a/components/order/Confirm.vue b/components/order/Confirm.vue
index 3bfabfb..344b448 100644
--- a/components/order/Confirm.vue
+++ b/components/order/Confirm.vue
@@ -373,9 +373,11 @@ const handleSubmit = async () => {
})
// 返回上一页
- uni.navigateBack({
- delta: props.backStep
- })
+ setTimeout(() => {
+ uni.navigateBack({
+ delta: props.backStep
+ })
+ }, 500)
}
/**
diff --git a/components/order/PayWay.vue b/components/order/PayWay.vue
index cf650ca..8626086 100644
--- a/components/order/PayWay.vue
+++ b/components/order/PayWay.vue
@@ -52,7 +52,7 @@ const props = defineProps({
*/
const goToRecharge = () => {
uni.navigateTo({
- url: '/pages/user/wallet/recharge/index?source=order'
+ url: '/pages/user/recharge/index'
})
}
diff --git a/pages/user/index.vue b/pages/user/index.vue
index 6435da8..0ef938e 100644
--- a/pages/user/index.vue
+++ b/pages/user/index.vue
@@ -26,22 +26,18 @@
{{ $t('user.vip') }}
- {{ vipTypeDict[vip.type] }}(有效期到
- {{ parseTime(vip.endTime, '{y}-{m}-{d}') }})
+ {{ vipTypeDict[vip.type] }}({{ parseTime(vip.endTime, '{y}-{m}-{d}') }} 截止)
办理课程VIP,畅享更多权益
- {{ $t('vip.renewal') }}
- {{ $t('vip.openVip') }}
+ {{ $t('vip.renewal') }}
+ {{ $t('vip.openVip') }}
- 电子书VIP{{ vipTypeDict[vip.type] }}(有效期到
- {{ parseTime(vip.endTime, '{y}-{m}-{d}') }})
+ 电子书VIP{{ vipTypeDict[vip.type] }}({{ parseTime(vip.endTime, '{y}-{m}-{d}') }} 截止)
办理电子书VIP,畅享更多权益
- {{ $t('vip.openVip') }}
+ {{ $t('vip.openVip') }}
@@ -183,7 +179,7 @@
}
/**
- * 跳转到订阅页面
+ * 跳转到电子书vip订阅页面
*/
const goSubscribe = () => {
uni.navigateTo({
@@ -191,6 +187,15 @@
})
}
+ /**
+ * 跳转到课程vip订阅页面
+ */
+ const goCourseVipSub = () => {
+ uni.navigateTo({
+ url: '/pages/vip/course'
+ })
+ }
+
/**
* 处理菜单点击
*/
diff --git a/style/tailwind.css b/style/tailwind.css
index 14e4429..5d949ea 100644
--- a/style/tailwind.css
+++ b/style/tailwind.css
@@ -284,6 +284,9 @@
.pt-10 {
padding-top: calc(var(--spacing) * 10);
}
+ .pt-\[40px\] {
+ padding-top: 40px;
+ }
.pb-0 {
padding-bottom: calc(var(--spacing) * 0);
}