|
@@ -34,7 +34,7 @@
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
- <view class="uni-padding-wrap">
|
|
|
|
|
|
|
+ <!-- <view class="uni-padding-wrap">
|
|
|
<view>
|
|
<view>
|
|
|
<checkbox-group @change="handleChange">
|
|
<checkbox-group @change="handleChange">
|
|
|
<label>
|
|
<label>
|
|
@@ -43,7 +43,7 @@
|
|
|
</checkbox-group>
|
|
</checkbox-group>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
- <view class="uni-title">
|
|
|
|
|
|
|
+ <view class="uni-title">
|
|
|
已阅读并同意
|
|
已阅读并同意
|
|
|
<text style="text-decoration: underline" @click="goPrivacy">《隐私政策》</text>
|
|
<text style="text-decoration: underline" @click="goPrivacy">《隐私政策》</text>
|
|
|
|
|
|
|
@@ -66,7 +66,7 @@
|
|
|
</view>
|
|
</view>
|
|
|
</scroll-view>
|
|
</scroll-view>
|
|
|
</uni-popup>
|
|
</uni-popup>
|
|
|
- </view>
|
|
|
|
|
|
|
+ </view> -->
|
|
|
|
|
|
|
|
<!-- 引用语言选择组件 -->
|
|
<!-- 引用语言选择组件 -->
|
|
|
<language-popup ref="languagePopupRef" />
|
|
<language-popup ref="languagePopupRef" />
|
|
@@ -113,16 +113,16 @@ const handleChange = (val) => {
|
|
|
my_value.value = val.detail.value[0];
|
|
my_value.value = val.detail.value[0];
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
-let privacyRef = ref(null);
|
|
|
|
|
-let aggRef = ref(null);
|
|
|
|
|
|
|
+// let privacyRef = ref(null);
|
|
|
|
|
+// let aggRef = ref(null);
|
|
|
|
|
|
|
|
-const goPrivacy = () => {
|
|
|
|
|
- privacyRef.value.open();
|
|
|
|
|
-};
|
|
|
|
|
|
|
+// const goPrivacy = () => {
|
|
|
|
|
+// privacyRef.value.open();
|
|
|
|
|
+// };
|
|
|
|
|
|
|
|
-const goAgreement = () => {
|
|
|
|
|
- aggRef.value.open();
|
|
|
|
|
-};
|
|
|
|
|
|
|
+// const goAgreement = () => {
|
|
|
|
|
+// aggRef.value.open();
|
|
|
|
|
+// };
|
|
|
|
|
|
|
|
// 判断当前环境是否在钉钉环境
|
|
// 判断当前环境是否在钉钉环境
|
|
|
const isDingTalk = () => {
|
|
const isDingTalk = () => {
|
|
@@ -291,16 +291,16 @@ const loginRules = ref({
|
|
|
|
|
|
|
|
const formRef = ref();
|
|
const formRef = ref();
|
|
|
const formSubmit = async (formEl) => {
|
|
const formSubmit = async (formEl) => {
|
|
|
- if (!my_value.value) {
|
|
|
|
|
- uni.showToast({
|
|
|
|
|
- title: '请阅读并同意隐私政策和用户服务协议',
|
|
|
|
|
- icon: 'none', // 可选 success/error/loading/none
|
|
|
|
|
- duration: 2000, // 持续时间,单位ms
|
|
|
|
|
- mask: true // 是否显示透明蒙层,防止触摸穿透
|
|
|
|
|
- });
|
|
|
|
|
-
|
|
|
|
|
- return;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // if (!my_value.value) {
|
|
|
|
|
+ // uni.showToast({
|
|
|
|
|
+ // title: '请阅读并同意隐私政策和用户服务协议',
|
|
|
|
|
+ // icon: 'none', // 可选 success/error/loading/none
|
|
|
|
|
+ // duration: 2000, // 持续时间,单位ms
|
|
|
|
|
+ // mask: true // 是否显示透明蒙层,防止触摸穿透
|
|
|
|
|
+ // });
|
|
|
|
|
+
|
|
|
|
|
+ // return;
|
|
|
|
|
+ // }
|
|
|
if (!formEl) return;
|
|
if (!formEl) return;
|
|
|
await formEl
|
|
await formEl
|
|
|
.validate()
|
|
.validate()
|
|
@@ -425,4 +425,4 @@ uni-button[type='primary'] {
|
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
|
font-weight: 500;
|
|
font-weight: 500;
|
|
|
}
|
|
}
|
|
|
-</style>
|
|
|
|
|
|
|
+</style>
|