修改代码

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

@ -111,6 +111,13 @@
"navigationBarTitleText": "积分竞猜",
"navigationStyle": "custom"
}
},
{
"path": "pages/index/compontents/scheme",
"style": {
"navigationBarTitleText": "积分竞猜",
"navigationStyle": "custom"
}
}
],
"globalStyle": {

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>