Commit aa2b3e27 authored by 王建威's avatar 王建威

协议

parent cad9ebad
...@@ -51,11 +51,7 @@ ...@@ -51,11 +51,7 @@
"mode": "history", "mode": "history",
"base": "/uni" "base": "/uni"
}, },
<<<<<<< HEAD
"publicPath": "https://dbc-static.oss-cn-beijing.aliyuncs.com/dbc-shop/uni/prod/1.0.28/",
=======
"publicPath": "https://dbc-static.oss-cn-beijing.aliyuncs.com/dbc-shop/uni/prod/1.0.29/", "publicPath": "https://dbc-static.oss-cn-beijing.aliyuncs.com/dbc-shop/uni/prod/1.0.29/",
>>>>>>> 4337249d9c384579ecab61ff2298afbd363db5ee
"optimization": { "optimization": {
"treeShaking": { "treeShaking": {
"enable": true "enable": true
......
This diff is collapsed.
...@@ -115,15 +115,20 @@ ...@@ -115,15 +115,20 @@
<text class="checkbtn check" v-else @click="check"></text> <text class="checkbtn check" v-else @click="check"></text>
<text class="check_title">我已阅读并同意</text> <text class="check_title">我已阅读并同意</text>
</view> </view>
<view class="agreement">《谛宝白条开通协议》</view> <view class="agreement" @click="protocal">《谛宝白条开通协议》</view>
</view> </view>
<view class="open_btn" v-if="status === -1 && Number(is_auth) === -1" @click="reupload">立即开通</view> <view class="open_btn" v-if="status === -1 && Number(is_auth) === -1" @click="reupload">立即开通</view>
<view class="open_btn" v-else @click="go_open">立即开通</view> <view class="open_btn" v-else @click="go_open">立即开通</view>
</view> </view>
<uni-popup ref="popup">
<protocal />
</uni-popup>
</view> </view>
</template> </template>
<script> <script>
import uniPopup from "@/components/uni-popup/uni-popup.vue";
import protocal from "./protocal.vue";
export default { export default {
data() { data() {
return { return {
...@@ -192,7 +197,14 @@ ...@@ -192,7 +197,14 @@
uni.navigateTo({ uni.navigateTo({
url: '/pages/home/home' url: '/pages/home/home'
}); });
},
protocal() {
this.$refs.popup.open();
} }
},
components: {
uniPopup,
protocal
} }
} }
</script> </script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment