[baozhangchao] 3 anni fa
parent
commit
356abe618f
2 ha cambiato i file con 35 aggiunte e 18 eliminazioni
  1. 13
    11
      src/pages/setUser/index.jsx
  2. 22
    7
      src/pages/setUser/style.less

+ 13
- 11
src/pages/setUser/index.jsx Vedi File

@@ -1,4 +1,4 @@
1
-import { View, Button, Navigator, Input, Radio, ScrollView } from '@tarojs/components'
1
+import { View, Button, Label, Input, Radio, ScrollView } from '@tarojs/components'
2 2
 import Taro from '@tarojs/taro';
3 3
 import { useEffect, useState } from 'react';
4 4
 import { setPersons } from '@/services/dogAPI';
@@ -112,8 +112,7 @@ export default (props) => {
112 112
       <View class='page' >
113 113
         <mp-dialog show={dogStatus1} title='隐私协议' maskClosable={false} buttons={[{ text: '同意' }]} onButtontap={() => { handleTap('1') }} >
114 114
           <ScrollView scrollY  >
115
-            <View>
116
-              <View>隐私政策:</View>
115
+            <View className='YinSiBox'>
117 116
               <View>霍山码上领证应用(以下简称“本应用”)隐私保护政策系本应用保护用户个人隐私的承诺。本政策适用于您与本应用的交互行为、您登记和使用本应用的在线服务,以及您所使用的霍山码上领证服务。故特此说明本应用对用户个人信息所采取的收集、使用和保护政策,请您务必仔细阅读。除本隐私权政策另有规定外,在未征得您事先许可的情况下,本应用不会将这些信息对外披露或向第三方提供。 您在注册或登录时,即视为您已经同意本隐私权政策全部内容。</View>
118 117
               <View>1、适用范围</View>
119 118
               <View>(a) 在您注册本应用帐号时,您根据本应用要求提供的个人注册信息; (b) 在您使用本应用网络服务时,或访问本应用平台网页时,本应用将自动接收并记录的您的浏览器和计算机上的信息,包括但不限于您的手机号、录音、IP地址、浏览器的类型、使用的语言、访问日期和时间、软硬件特征信息及您需求的网页记录等数据;以优化在您计算机屏幕上显示的页面。通过收集上述信息,我们亦进行客流量统计,从而改进应用的管理和服务。 (c) 您在本应用进行用户注册登记、定制业务或参与公共论坛等活动时,以及接受晒晒钱的服务时,在您的同意及确认下,本应用以及线下服务将通过注册表格、订单等形式要求您提供一些个人资料。这些个人资料可能包括: 个人识别资料:如姓名、性别、身份证号码、电话、通信地址、收货人住址等情况; (d) 本应用通过合法途径从商业伙伴处取得的用户个人数据。 您了解并同意,以下信息不适用本隐私权政策: (a) 您在使用本应用平台提供的搜索服务时输入的关键字信息; (b) 本应用收集到的您在本应用发布的有关信息数据,包括但不限于参与话题活动、成交信息及评价详情; (c) 违反法律规定或违反本应用规则行为及本应用已对您采取的措施。</View>
@@ -146,8 +145,8 @@ export default (props) => {
146 145
         </mp-dialog>
147 146
         <mp-dialog show={dogStatus2} title='用户隐私' maskClosable={false} buttons={[{ text: '同意' }]} onButtontap={() => { handleTap('2') }} >
148 147
           <ScrollView scrollY  >
149
-            <View>
150
-              <View>霍山码上领证用户使用协议、用户协议:</View>
148
+            <View className='YinSiBox'>
149
+              <View>霍山码上领证用户使用协议</View>
151 150
               <View>欢迎您使用霍山码上领证服务(下称:本服务)</View>
152 151
               <View>请您仔细阅下方条款,若您对本协议的任何条款存有异议,您可以第一时间选择不进入霍山码上领证应用。</View>
153 152
               <View>在登录界面登录时,《用户协议》”处打勾“✓”并按照流程成功进入霍山码上领证,即表示您已充分阅读、理解并接受本协议项下的全部内容,并与霍山码上领证达成本协议。</View>
@@ -197,13 +196,16 @@ export default (props) => {
197 196
             <uploader name='cardImg1' value={person?.cardImg1} onFile={handleFile} />
198 197
           </FormItem>
199 198
 
200
-          <View style={{ margin: '4em 0 2em 0' }}>
199
+          <View style={{ margin: '2em 0 2em 0' }}>
200
+            <Label className='radio-list__label' for='radio'>
201
+              <Radio color='#FCD905' id='radio' className='radio-list__radio' checked={checkStatu} onClick={handelChange} />
202
+              <View className='radioBox'>
203
+                确定即代表您已阅读并接受
204
+                <text onClick={() => { lookXieYi('Status1') }} style={{ color: '#576b95' }}>《隐私协议》</text>和<text onClick={() => { lookXieYi('Status2') }} style={{ color: '#576b95' }}>《用户隐私》</text>
205
+                所有条款
206
+              </View>
207
+            </Label>
201 208
             <Button style={{ backgroundColor: '#fbd804', borderRadius: '40px', color: '#000', border: '0px' }} class='weui-btn' type='primary' loading={false} formType='submit'>确定</Button>
202
-            <Radio className='checkbox-list__checkbox' checked={checkStatu} onClick={handelChange}  >
203
-              确定即代表您已阅读并接受
204
-              <View onClick={() => { lookXieYi('Status1') }} style={{ color: '#576b95', display: 'inline-block' }}>《隐私协议》</View>和<View onClick={() => { lookXieYi('Status2') }} style={{ color: '#576b95', display: 'inline-block' }}>《用户隐私》</View>
205
-              所有条款
206
-            </Radio >
207 209
 
208 210
           </View>
209 211
         </Form>

+ 22
- 7
src/pages/setUser/style.less Vedi File

@@ -1,6 +1,14 @@
1 1
 .sizeStyle {
2 2
   font-size: 20px;
3 3
 }
4
+.YinSiBox {
5
+  font-size: 28px;
6
+  text-align: left;
7
+
8
+  view + view {
9
+    margin-top: 1em;
10
+  }
11
+}
4 12
 .addImage {
5 13
   width: 100px;
6 14
   height: 100px;
@@ -21,13 +29,20 @@
21 29
 
22 30
 .botBottom {
23 31
 }
24
-.checkbox-list__checkbox {
25
-  // position: absolute;
26
-  // bottom: 30vw;
27
-  margin: 0 auto;
28
-  width: 100vw;
32
+.radio-list__label {
29 33
   font-size: 29px;
30 34
   display: flex;
31
-  align-content: center;
32
-  transform: scale(0.8);
35
+  padding: 15px 15px;
36
+
37
+  .radio-list__radio {
38
+    // position: absolute;
39
+    // bottom: 30vw;
40
+    margin: 0 auto;
41
+    display: flex;
42
+    align-content: center;
43
+    transform: scale(0.8);
44
+  }
45
+  .radioBox {
46
+    font-size: 29px;
47
+  }
33 48
 }