修改代码
This commit is contained in:
parent
78502d1580
commit
af4abe71d6
|
@ -111,6 +111,13 @@
|
||||||
"navigationBarTitleText": "积分竞猜",
|
"navigationBarTitleText": "积分竞猜",
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "pages/index/compontents/scheme",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "积分竞猜",
|
||||||
|
"navigationStyle": "custom"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"globalStyle": {
|
"globalStyle": {
|
||||||
|
|
|
@ -99,7 +99,12 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="purchase-four">
|
<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>
|
||||||
</view>
|
</view>
|
||||||
<!-- 已购买 -->
|
<!-- 已购买 -->
|
||||||
|
@ -151,6 +156,12 @@
|
||||||
const cancel = () => {
|
const cancel = () => {
|
||||||
onswitch.value = !onswitch.value
|
onswitch.value = !onswitch.value
|
||||||
}
|
}
|
||||||
|
const purchase = () => {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: '/pages/index/compontents/billingPage',
|
||||||
|
animationDuration: '300',
|
||||||
|
})
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user