将 membership/index 从分包移至主包注册,并将 ProfileMenu 的「会员中心」从「即将上线」占位改为真实导航 Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
@@ -128,6 +128,12 @@
"style": {
"navigationBarTitleText": "我的优惠券"
}
+ },
+ {
+ "path": "pages/membership/index",
+ "style": {
+ "navigationBarTitleText": "会员中心"
+ }
],
"subPackages": [
@@ -493,10 +499,6 @@
{
"root": "pages/membership",
"pages": [
- {
- "path": "index",
- "style": { "navigationBarTitleText": "会员服务" }
- },
"path": "upgrade",
"style": { "navigationBarTitleText": "开通会员" }
@@ -174,7 +174,7 @@ export default {
},
goToMembership() {
- uni.showToast({ title: '即将上线', icon: 'none' })
+ uni.navigateTo({ url: '/pages/membership/index' })
goToVendorCenter() {
uni.navigateTo({ url: '/pages/vendor/center' })