批量处理协议
This commit is contained in:
@@ -30,23 +30,17 @@ const payInfo = (orderId) => {
|
||||
}
|
||||
|
||||
// 会员开通协议
|
||||
const agreement = () => {
|
||||
const agreement = (id) => {
|
||||
return request({
|
||||
url: 'cms/pages/1'
|
||||
url: 'cms/pages/'+id
|
||||
})
|
||||
}
|
||||
|
||||
// 成长体系
|
||||
const growth = () => {
|
||||
return request({
|
||||
url: 'cms/pages/2'
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
export {
|
||||
vip,
|
||||
vipPay,
|
||||
payInfo,
|
||||
agreement,
|
||||
growth
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<button @click="login('code')">登录</button>
|
||||
</view>
|
||||
<view class="auth-agreement">
|
||||
登录即表示同意<navigator hover-class="none">用户协议</navigator>和<navigator hover-class="none">隐私政策</navigator>
|
||||
登录即表示同意<navigator hover-class="none" url="/pages/vip/agreement?id=3">用户协议</navigator>和<navigator hover-class="none" url="/pages/vip/agreement?id=4">隐私政策</navigator>
|
||||
</view>
|
||||
<!-- <view class="auth-other">
|
||||
<button @click="login('mnemonic')">使用助记词登录</button>
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class=" introduce"> 退换货说明 </view>
|
||||
<view class=" introduce"><navigator hover-class="none" url="/pages/vip/agreement?id=5"> 退换货说明</navigator> </view>
|
||||
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -12,16 +12,20 @@
|
||||
content: ''
|
||||
};
|
||||
},
|
||||
created() {
|
||||
agreement().then(res => {
|
||||
onLoad(e) {
|
||||
console.log(e.id);
|
||||
agreement(e.id).then(res => {
|
||||
this.content = res.content
|
||||
uni.setNavigationBarTitle({
|
||||
title:res.title
|
||||
})
|
||||
}).catch(err => {
|
||||
uni.showToast({
|
||||
title: err.message,
|
||||
icon : 'none'
|
||||
})
|
||||
})
|
||||
}
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
</view>
|
||||
</block>
|
||||
</view>
|
||||
<navigator class="vip-more" url="/pages/vip/growth" hover-class="none">成长体系<uni-icons size="14" type="forward" color="#9f5529"></uni-icons></navigator>
|
||||
<navigator class="vip-more" url="/pages/vip/agreement?id=2" hover-class="none">成长体系<uni-icons size="14" type="forward" color="#9f5529"></uni-icons></navigator>
|
||||
</view>
|
||||
</view>
|
||||
<view class="vip-content">
|
||||
@@ -48,7 +48,7 @@
|
||||
</view>
|
||||
<view class="footer-vip" v-if="isOpen">
|
||||
<button @click="onOpenVip">开通会员</button>
|
||||
<view class="footer-text">开通即表示同意共力生态<navigator url="./agreement">《会员开通协议》</navigator></view>
|
||||
<view class="footer-text">开通即表示同意共力生态<navigator url="/pages/vip/agreement?id=1">《会员开通协议》</navigator></view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
775
unpackage/dist/dev/app-plus/app-service.js
vendored
775
unpackage/dist/dev/app-plus/app-service.js
vendored
File diff suppressed because one or more lines are too long
747
unpackage/dist/dev/app-plus/app-view.js
vendored
747
unpackage/dist/dev/app-plus/app-view.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user