|
@@ -104,10 +104,21 @@
|
|
</view>
|
|
</view>
|
|
</u-card>
|
|
</u-card>
|
|
<u-form-item :border-bottom="false">
|
|
<u-form-item :border-bottom="false">
|
|
- <view style="margin:0 30rpx;">
|
|
|
|
|
|
+ <view style="margin:0 30rpx;" class="u-flex">
|
|
<u-checkbox-group>
|
|
<u-checkbox-group>
|
|
- <u-checkbox v-model="protocol">同意《用户协议》及《隐私政策》</u-checkbox>
|
|
|
|
|
|
+ <u-checkbox v-model="protocol">
|
|
|
|
+ </u-checkbox>
|
|
</u-checkbox-group>
|
|
</u-checkbox-group>
|
|
|
|
+ <view class="u-flex">
|
|
|
|
+ 同意
|
|
|
|
+ <view class="" @click="openPdf(xy)">
|
|
|
|
+ 《用户协议》
|
|
|
|
+ </view>
|
|
|
|
+ 及
|
|
|
|
+ <view class="" @click="openPdf(zc)">
|
|
|
|
+ 《隐私政策》
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
</u-form-item>
|
|
</u-form-item>
|
|
</u-form>
|
|
</u-form>
|
|
@@ -164,6 +175,24 @@
|
|
this.getTasknum()
|
|
this.getTasknum()
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ openPdf(x) {
|
|
|
|
+ if(x=='xy'){
|
|
|
|
+ uni.openDocument({
|
|
|
|
+ filePath: '../../static/pdf/xy.pdf',
|
|
|
|
+ success: function(res) {
|
|
|
|
+ console.log('打开文档成功');
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ }else{
|
|
|
|
+ uni.openDocument({
|
|
|
|
+ filePath: '../../static/pdf/zc.pdf',
|
|
|
|
+ success: function(res) {
|
|
|
|
+ console.log('打开文档成功');
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ },
|
|
getAgentArea() {
|
|
getAgentArea() {
|
|
uni.showLoading({
|
|
uni.showLoading({
|
|
title: '加载中...'
|
|
title: '加载中...'
|