| | |
| | | <view class="box-footer"> |
| | | <image src="/static/icon/ic_notagree@2x.png" mode="widthFix" v-if="!agree" @click="agreeDo"></image> |
| | | <image src="/static/icon/ic_agree@2x.png" mode="widthFix" v-if="agree" @click="agreeDo"></image> |
| | | <text @click="agreeDo">我已阅读并同意《用户协议》,《隐私协议政策》</text> |
| | | <text @click="agreeDo">我已阅读并同意<text class="bluetxt" @click="jumpService(4)">《用户协议》</text>,<text class="bluetxt" @click="jumpService(5)"> 《隐私协议政策》</text></text> |
| | | </view> |
| | | </view> |
| | | </template> |
| | |
| | | } |
| | | }, |
| | | methods: { |
| | | jumpService(flag) { |
| | | uni.navigateTo({ |
| | | url: '/pages/rich-text-page/rich-text-page?flag='+flag |
| | | }) |
| | | }, |
| | | agreeDo(){ |
| | | this.agree = !this.agree |
| | | }, |
| | |
| | | if (result.code === 200) { |
| | | that.$store.commit('setUserInfo', result.data.member) |
| | | that.$store.commit('setToken', result.data.token) |
| | | uni.$emit('refresh') |
| | | uni.navigateBack({ delta: 1 }); |
| | | } |
| | | }) |
| | |
| | | } |
| | | } |
| | | } |
| | | .bluetxt{ |
| | | color: royalblue !important; |
| | | } |
| | | </style> |