修改代码

This commit is contained in:
sundongyu 2024-04-19 17:54:54 +08:00
parent 78502d1580
commit af4abe71d6
2 changed files with 89 additions and 71 deletions

View File

@ -28,55 +28,55 @@
"navigationStyle": "custom"
}
},
{
"path": "pages/user/index",
"style": {
"navigationBarTitleText": "我的",
"navigationStyle": "custom"
}
},
{
"path": "pages/user/compontents/attention",
"style": {
"navigationBarTitleText": "关注列表",
"navigationStyle": "custom"
}
},
{
"path": "pages/user/compontents/recharge",
"style": {
"navigationBarTitleText": "充值",
"navigationStyle": "custom"
}
},
{
"path": "pages/user/compontents/discount",
"style": {
"navigationBarTitleText": "打折活动",
"navigationStyle": "custom"
}
},
{
"path": "pages/user/compontents/purchasedPlan",
"style": {
"navigationBarTitleText": "已购方案",
"navigationStyle": "custom"
}
},
{
"path": "pages/user/compontents/integralShop",
"style": {
"navigationBarTitleText": "积分商城",
"navigationStyle": "custom"
}
},
{
"path": "pages/user/compontents/VIPMember",
"style": {
"navigationBarTitleText": "VIP",
"navigationStyle": "custom"
}
},
{
"path": "pages/user/index",
"style": {
"navigationBarTitleText": "我的",
"navigationStyle": "custom"
}
},
{
"path": "pages/user/compontents/attention",
"style": {
"navigationBarTitleText": "关注列表",
"navigationStyle": "custom"
}
},
{
"path": "pages/user/compontents/recharge",
"style": {
"navigationBarTitleText": "充值",
"navigationStyle": "custom"
}
},
{
"path": "pages/user/compontents/discount",
"style": {
"navigationBarTitleText": "打折活动",
"navigationStyle": "custom"
}
},
{
"path": "pages/user/compontents/purchasedPlan",
"style": {
"navigationBarTitleText": "已购方案",
"navigationStyle": "custom"
}
},
{
"path": "pages/user/compontents/integralShop",
"style": {
"navigationBarTitleText": "积分商城",
"navigationStyle": "custom"
}
},
{
"path": "pages/user/compontents/VIPMember",
"style": {
"navigationBarTitleText": "VIP",
"navigationStyle": "custom"
}
},
{
"path": "pages/index/compontents/bigMaster",
"style": {
@ -91,27 +91,34 @@
"navigationStyle": "custom"
}
},
{
"path": "pages/login/index",
"style": {
"navigationBarTitleText": "登录",
"navigationStyle": "custom"
}
},
{
"path": "pages/index/compontents/billingPage",
"style": {
"navigationBarTitleText": "结算页面",
"navigationStyle": "custom"
}
},
{
"path": "pages/index/compontents/integralGuess",
"style": {
"navigationBarTitleText": "积分竞猜",
"navigationStyle": "custom"
}
}
{
"path": "pages/login/index",
"style": {
"navigationBarTitleText": "登录",
"navigationStyle": "custom"
}
},
{
"path": "pages/index/compontents/billingPage",
"style": {
"navigationBarTitleText": "结算页面",
"navigationStyle": "custom"
}
},
{
"path": "pages/index/compontents/integralGuess",
"style": {
"navigationBarTitleText": "积分竞猜",
"navigationStyle": "custom"
}
},
{
"path": "pages/index/compontents/scheme",
"style": {
"navigationBarTitleText": "积分竞猜",
"navigationStyle": "custom"
}
}
],
"globalStyle": {
"navigationBarTextStyle": "black",

View File

@ -99,7 +99,12 @@
</view>
</view>
<view class="purchase-four">
<u-button color="#ff275e" type="primary" text="立即购买"></u-button>
<u-button
@click="purchase"
color="#ff275e"
type="primary"
text="立即购买"
></u-button>
</view>
</view>
<!-- 已购买 -->
@ -151,6 +156,12 @@
const cancel = () => {
onswitch.value = !onswitch.value
}
const purchase = () => {
uni.navigateTo({
url: '/pages/index/compontents/billingPage',
animationDuration: '300',
})
}
</script>
<style lang="scss" scoped>