Your Name 5 years ago
parent
commit
49d4da1211

+ 2 - 1
app.json

@@ -1,5 +1,6 @@
1 1
 {
2 2
   "pages": [
3
+        "pages/personal_core/Realname/Realname",
3 4
         "pages/index/index",
4 5
   "pages/Jurisdiction/click_Jurisdiction/click_Jurisdiction",
5 6
 "pages/personal_core/vehicle/vehicle",
@@ -25,7 +26,7 @@
25 26
     "pages/personal_core/home/home",
26 27
     "pages/personal_core/Realestate/Realestate",
27 28
     "pages/personal_core/Adegreein/Adegreein",
28
-    "pages/personal_core/Realname/Realname",
29
+
29 30
 
30 31
     "pages/personal_core/home_list/home_list",
31 32
     "pages/index_details/index_details",

+ 1 - 1
pages/information/chat/chat.js

@@ -118,7 +118,7 @@ Page({
118 118
   enlarge: function (e) {
119 119
     var that = this;
120 120
     // console.log(that.data.uploadImages)
121
-    // console.log(e.currentTarget.dataset.src,)
121
+    console.log(e.currentTarget.dataset.src,)
122 122
     wx.previewImage({
123 123
       current: e.currentTarget.dataset.src, // 当前显示图片的http链接
124 124
       urls: [e.currentTarget.dataset.src], // 需要预览的图片http链接列表

+ 25 - 386
pages/personal_core/Realname/Realname.js

@@ -2,412 +2,51 @@ const app = getApp();
2 2
 Page({
3 3
 
4 4
   data: {
5
-    //身份证手持页
6
-    // 上传的案例图片集合
7
-    scsfzImages: [],
8
-    // 案例图片数目是否达到了最大数目
9
-    scsfzImagesNum: false,   //加号图标 显示
10
-    scsfzimg: true,      //上传图片 隐藏
11
-    scsfzinitial: true,   //初始图片 隐藏
12
-
13
-    // 身份证头像页
14
-    sfztxyImages: [],
15
-    sfztxyImagesNum: false, //加号图标 显示
16
-    sfztxyimg: true,              //上传图片隐藏
17
-    // sfztxyinitial: true,   //初始图片 隐藏
18
-
19
-    // 身份证反面页
20
-    sfzfmImages: [],
21
-    sfzfmImagesNum: false,  //加号图标 显示
22
-    sfzfmimg: true,      //上传图片 隐藏
23
-    // sfzfminitial: true,   //初始图片 隐藏
24
-
25
-    // 设置上传案例图片的最大数目
26
-    maxImages: 1,
27
-
28
-
29
-    loadingHidden: false, //加载中 
30
-
31
-    name: '',   //姓名
32
-    number: '',  //证件号码
33
-    hold: '',  //手持身份证
34
-    positive: '',  //身份证正面
35
-    opposite: '',  //身份证反面
36
-
37
-    initial: [],  //头部信息
38
-
39
-
40
-    SubmissionHidden: true, //提交隐藏显示
41
-
42
-
43
-    isShow: false,
5
+    initial:'',
44 6
   },
45 7
 
46 8
   /**
47 9
    * 生命周期函数--监听页面加载
48 10
    */
49 11
   onLoad: function (options) {
50
-    var that = this;
51
-
52
-    //  获取信息
53
-    let initial_url = 'my/authentication/ididentitychange';
54
-    let initial_data = {
55
-    };
56
-    app.postRequest(initial_url, initial_data, function (res) {
57
-      if (res.code == 201) {
58
-        console.log(res.data.hold);
59
-        that.setData({
60
-          initial: res.data,   // 初始数据
61
-          initialcode: res,    //获取未上传状态
62
-
63
-          name: res.data.name,                //姓名
64
-          number: res.data.number,         //证件号码
65
-
66
-        })
67
-      }
12
+        var that = this;
68 13
 
69
-      if (res.data.status == 2){   //如果审核通过  隐藏掉提交按钮
14
+        //  获取信息
15
+        let initial_url = 'my/authentication/ididentitychange';
16
+        let initial_data = {
17
+        };
18
+        app.postRequest(initial_url, initial_data, function (res) {
19
+          if (res.code == 201) {
20
+            console.log(res.data);
21
+            console.log(res.data.hold);
70 22
             that.setData({
71
-              SubmissionHidden: false
72
-            })
73
-      } else if (res.code != 201) {
74
-        that.setData({
75
-          SubmissionHidden: false
76
-        })
77
-      }else{
78
-          that.setData({
79
-            SubmissionHidden: true
80
-          })
81
-      }
82
-
83
-
84
-
85
-    })
86
-
87
-
88
-  },
89
-
90
-
91
-  //获取姓名
92
-  ObtainName: function (e) {
93
-    var name = e.detail.value;
94
-    console.log(name);
95
-    this.setData({
96
-      name: name
97
-    });
98
-  },
99
-
100
-  //获取身份证
101
-  Obtainsfz: function (e) {
102
-    var number = e.detail.value;
103
-    console.log(number);
104
-    this.setData({
105
-      number: number
106
-    });
107
-  },
108
-
109
-
110
-  // 上传手持身份证
111
-  scsfzclick: function (e) {
112
-          var _this = this;
113
-          wx.chooseImage({
114
-                  count: 1,
115
-                  sizeType: ['original', 'compressed'],
116
-                  sourceType: ['album', 'camera'],
117
-                  success(res) {
118
-
119
-                    let tempFilesSize = res.tempFiles[0].size;
120
-                 
121
-                    if (tempFilesSize > 1024 * 1024 * 3){
122
-
123
-                          wx.showModal({
124
-                            title: '提示',
125
-                            content: '图片不得超过3MB',
126
-                            showCancel: false,
127
-                          })
128
-
129
-                          return;
130
-                     }
131
-
132
-                    wx.showToast({
133
-
134
-                      title: '上传中...',
135
-
136
-                      icon: 'loading'
137
-
138
-                    });
139
-
140
-
141
-
142
-
143
-                          //  头部信息
144
-                          let dt_url = 'my/images/tempimages';
145
-                          let dt_filePath = res.tempFilePaths[0];
146
-
147
-                          app.Multigraph(dt_url, dt_filePath,function(res){
148
-                  
149
-                            if (res.code==201){
150
-                                //  console.log(res.data.img_name);
151
-
152
-
153
-                                _this.setData({
154
-                                  scsfzImages: dt_filePath,
155
-                                  scsfzImagesNum: true,
156
-                                  scsfzimg: false,
157
-                                   hold:res.data.img_name,     //手持身份证
158
-                                  });
159
-                               
160
-                                      wx.showToast({
161
-                                        title: '上传成功',
162
-                                        icon: 'none',  // 不显示图标
163
-                                        duration: 2000
164
-                                      })
165
-
166
-                                 return;     
167
-                            }
168
-
169
-                                app.Tips(res.msg);
23
+              initial: res.data,   // 初始数据
170 24
  
171
-                          });
172
-                      
173
-                  }
174
-          })
175
-  },
176
-
177
-  // 正面页
178
-  sfztxyclick: function (e) {
179
-    var _this = this;
180
-    wx.chooseImage({
181
-      count: 1,
182
-      sizeType: ['original', 'compressed'],
183
-      sourceType: ['album', 'camera'],
184
-      success(res) {
185
-
186
-
187
-                let tempFilesSize = res.tempFiles[0].size;
188
-
189
-                if (tempFilesSize > 1024 * 1024 * 3) {
190
-
191
-                  wx.showModal({
192
-                    title: '提示',
193
-                    content: '图片不得超过3MB',
194
-                    showCancel: false,
195
-                  })
196
-
197
-                  return;
198
-                }
199
-
200
-
201
-              wx.showToast({
202
-
203
-                title: '上传中...',
204
-
205
-                icon: 'loading'
25
+              name: res.data.name,                //姓名
26
+              number: res.data.number,         //证件号码
206 27
 
207
-              });
208
-
209
-                //  头部信息
210
-                let dt_url = 'my/images/tempimages';
211
-                let dt_filePath = res.tempFilePaths[0];
212
-
213
-                app.Multigraph(dt_url, dt_filePath, function (res) {
214
-
215
-                      if (res.code == 201) {
216
-                        //  console.log(res.data.img_name);
217
-                            _this.setData({
218
-                                  sfztxyImages: dt_filePath,
219
-                                  sfztxyImagesNum: true,
220
-                                  sfztxyimg: false,
221
-                                  positive: res.data.img_name,
222
-                            });
223
-
224
-                              wx.showToast({
225
-                                title: '上传成功',
226
-                                icon: 'none',  // 不显示图标
227
-                                duration: 2000
228
-                              })
229
-
230
-                             return;     
231
-                      }
232
-
233
-                      app.Tips(res.msg); 
234
-
235
-                });
236
-
237
-
238
-
239
-      }
240
-
241
-    })
242
-  },
243
-
244
-  // 反面页
245
-  sfzfmclick: function (e) {
246
-    var _this = this;
247
-    wx.chooseImage({
248
-      count: 1,
249
-      sizeType: ['original', 'compressed'],
250
-      sourceType: ['album', 'camera'],
251
-      success(res) {
252
-        // console.log(res.tempFilePaths[0]);
253
-        // tempFilePath可以作为img标签的src属性显示图片
254
-
255
-
256
-        let tempFilesSize = res.tempFiles[0].size;
257
-
258
-        if (tempFilesSize > 1024 * 1024 * 3) {
259
-
260
-          wx.showModal({
261
-            title: '提示',
262
-            content: '图片不得超过3MB',
263
-            showCancel: false,
264
-          })
265
-
266
-          return;
267
-        }
268
-        
269
-        wx.showToast({
270
-
271
-          title: '上传中...',
272
-
273
-          icon: 'loading'
274
-
275
-        });
276
-
277
-
278
-        //  头部信息
279
-        let dt_url = 'my/images/tempimages';
280
-        let dt_filePath = res.tempFilePaths[0];
281
-
282
-        app.Multigraph(dt_url, dt_filePath, function (res) {
283
-
284
-          if (res.code == 201) {
285
-            //  console.log(res.data.img_name);
286
-                _this.setData({
287
-                  sfzfmImages:dt_filePath,
288
-                  sfzfmImagesNum: true,
289
-                  sfzfmimg: false,
290
-                  opposite:res.data.img_name,
291
-                });
292
-          
293
-                  wx.showToast({     
294
-                    title: '上传成功',
295
-                    icon: 'none',  // 不显示图标
296
-                    duration: 2000
297
-                  })
298
-
299
-                      return;    
300
-              }
301
-
302
-
303
-               app.Tips(res.msg);
304
-
305
-        });
306
-
307
-
308
-
309
-      }
310
-
311
-    })
312
-  },
313
-
314
-
315
-  //最后提交认证
316
-Submission: function (e) {
317
-  var _this =this;
318
-
319
-  console.log(this.data.name)
320
-  console.log(this.data.number)
321
-  console.log(this.data.hold)
322
-  console.log(this.data.positive)
323
-  console.log(this.data.opposite)
324
-
325
-
326
-  if (this.data.name == '') {
327
-    var _name = '请填写您的真实姓名'
328
-    Tips(_name)
329
-  } else if (this.data.number == '') {
330
-    var _number = '请填写本人身份证号码'
331
-    Tips(_number)
332
-  } else if (this.data.hold == '') {
333
-    var _hold = '请上传手持身份证'
334
-    Tips(_hold)
335
-  } else if (this.data.positive == '') {
336
-    var _positive = '请上传身份证头像页'
337
-    Tips(_positive)
338
-  } else if (this.data.opposite == '') {
339
-    var _opposite = '请上传身份证反面页'
340
-    Tips(_opposite)
341
-  } else {
342
-
343
-        let income_url = 'my/authentication/ididentity';
344
-        let income_data = {
345
-          name: this.data.name,                //姓名
346
-          number: this.data.number,         //证件号码
347
-          hold: this.data.hold,                    //手持身份证
348
-          positive: this.data.positive,          //身份证正面
349
-          opposite: this.data.opposite,       //身份证反面
350
-        };
351
-        app.postRequest(income_url, income_data, function (res) {
352
-          console.log(res)
353
-          if (res.code == 201) {
354
-            wx.showToast({
355
-              title: '提交成功',
356
-              icon: 'success',
357
-              duration: 2000
358 28
             })
359
-            _this.onLoad();
360
-            return
361 29
           }
362 30
 
363
-          // console.log(res.data.name)
364
-          // console.log(res.data.number)
365
-          if (res.data.name){
366
-            _this.setData({
367
-              text1: res.data.name,
368
-              isShow: true,
369
-            });
370 31
 
371
-          }
372
-
373
-          if (res.data.number) {
374
-            _this.setData({
375
-              text2: res.data.number,
376
-              isShow: true,
377
-            });
378
-
379
-          }
380
-
381
-          setTimeout(function () {
382
-            _this.setData({
383
-              text1: '',
384
-              text2: '',
385
-              isShow: false,
386
-            });
387
-          }, 2000)
388
-      
389 32
 
390 33
         })
34
+  },
35
+  
36
+  // 相册点击放大
37
+  enlarge: function (e) {
38
+    var that = this;
39
+    // console.log(that.data.uploadImages)
40
+    // console.log(e.currentTarget.dataset.src)
41
+    wx.previewImage({
42
+      current: e.currentTarget.dataset.src,
43
+      urls: [e.currentTarget.dataset.src],
44
+    })
391 45
 
392
-  }
393
-
394
-
395
-
396
-
397
-},
398 46
 
47
+  },
399 48
 
400 49
 
401 50
 
402 51
 })
403 52
 
404
-// 提示框
405
-function Tips(text) {
406
-
407
-  wx.showToast({
408
-    title: text,
409
-    icon: 'none',  // 不显示图标
410
-    duration: 2500
411
-  })
412
-
413
-}

+ 24 - 169
pages/personal_core/Realname/Realname.wxml

@@ -2,183 +2,38 @@
2 2
 <view class='data_box'>
3 3
 
4 4
        <view class='data_name c'>  <!--  姓名 -->
5
-             <image src='/image/sm1.png'  mode="widthFix"></image>
6
-             <text>我的姓名</text>
7
-            <input type='text' placeholder="请填写您的真实姓名"  value="{{initial.name}}" bindinput='ObtainName'></input>
5
+             <text class='text'>我的姓名</text>
6
+             <text class='name'>{{initial.name}}</text>
8 7
        </view>
9 8
 
10 9
        <view class='data_name c'>  <!--  身份证 -->
11
-             <image src='/image/sm1.png'  mode="widthFix"></image>
12
-             <text>身份证号</text>
13
-            <input type='idcard' placeholder="填写本人身份证号码"  value="{{initial.number}}" bindinput='Obtainsfz'></input>
10
+           
11
+             <text class='text'>身份证号</text>
12
+             <text class='name'>{{initial.number}}</text>
14 13
        </view>
15 14
 
16
-       <view style='height:20rpx;background:#F5F5F5;'></view>
17
-</view>
18
-
19
-<view class='sfzyz_box'>
20
-        <view class='sfzyz_title'>
21
-                <image src='/image/sm1.png'  mode="widthFix"></image>
22
-                <text>请上传手持身份证件照、身份证头像页</text>
23
-        </view>
24
-
25
-        <view class='sfzyz_upload_box'>
26
-                  <!-- 手持身份证照 -->
27
-                <view class='sfzyz_upload_t c'>
28
-                        <view class='sfzyz_upload_l'>
29
-                                <image src="/image/smyz2.png" mode="aspectFill"></image>
30
-                                <text>示例照片</text>
31
-                        </view>
32
-
33
-                        <view class='sfzyz_upload_r'>
34
-
35
-                           <view class='sfzyz_upload_rimg'  bindtap='scsfzclick' wx:if='{{initialcode.code !=201}}'>    <!-- 未上传 -->
36
-                                  <image class='sfzyz_tb'  src="/image/smyz3.png"  mode="widthFix"   hidden='{{scsfzImagesNum}}'></image>
37
-                                  <image class='sfzyz_img'  hidden='{{scsfzimg}}'  src='{{scsfzImages}}' mode="aspectFill"></image>
38
-                            </view>
39
-
40
-                            <view class='sfzyz_upload_rimg'  bindtap='scsfzclick' wx:elif='{{initial.status ==2}}'>   <!-- 未通过 -->
41
-
42
-                                      <view class='sfzyz_wtg'   hidden='{{scsfzImagesNum}}'>
43
-                                              <image class='sfzyz_img'  src='{{initial.hold}}' mode="aspectFill"></image>
44
-
45
-                                              <view class='sfzyz_zhez'>
46
-                                                    <text>{{initial.status_str}}</text>
47
-                                                    <image src='/image/OwnData1.png'  mode="widthFix"></image>
48
-                                              </view>
49
-                                       </view>
50
-
51
-                                      <image class='sfzyz_img'  hidden='{{scsfzimg}}'  src='{{scsfzImages}}'  mode="aspectFill"></image>
52
-                                       
53
-                            </view>
54
-
55
-                            <view class='sfzyz_upload_rimg'  wx:else>   <!-- 审核中 审核通过 -->
56
-                                  <image class='sfzyz_img'  src='{{initial.hold}}'  mode="aspectFill"></image>
57
-                                  <view class='sfzyz_Tips'>{{initial.status_str}}</view>
58
-                            </view>
59
-
60
-                            <text>手持身份证照</text>
61
-                        </view>
62
-
63
-                </view>
64
-                    <!-- 身份证头像页 -->
65
-                <view class='sfzyz_upload_t c' style='margin-top:30rpx;'>
66
-                        <view class='sfzyz_upload_l'>
67
-                                <image src="/image/smyz1.png" mode="aspectFill"></image>
68
-                                <text>示例照片</text>
69
-                        </view>
70
-
71
-                        <view class='sfzyz_upload_r'>
72
-
73
-                            <!-- <view class='sfzyz_upload_rimg'  bindtap='sfztxyclick'>
74
-                                  <image class='sfzyz_tb'  src="/image/smyz3.png"  mode="widthFix"   hidden='{{sfztxyImagesNum}}'></image>
75
-                                  <image class='sfzyz_img'  hidden='{{sfztxyimg}}'  src='{{sfztxyImages}}'></image>
76
-                            </view> -->
77
-
78
-
79
-                           <view class='sfzyz_upload_rimg'  bindtap='sfztxyclick' wx:if='{{initialcode.code !=201}}'>    <!-- 未上传 -->
80
-                                  <image class='sfzyz_tb'  src="/image/smyz3.png"  mode="widthFix"   hidden='{{sfztxyImagesNum}}'></image>
81
-                                  <image class='sfzyz_img'  mode="aspectFill"  hidden='{{sfztxyimg}}'  src='{{sfztxyImages}}'></image>
82
-                            </view>
83
-
84
-                            <view class='sfzyz_upload_rimg'  bindtap='sfztxyclick' wx:elif='{{initial.status ==2}}'>   <!-- 未通过 -->
85
-
86
-                                      <view class='sfzyz_wtg'   hidden='{{sfztxyImagesNum}}'>
87
-                                              <image class='sfzyz_img'   mode="aspectFill"  src='{{initial.positive}}'></image>
88
-
89
-                                              <view class='sfzyz_zhez'>
90
-                                                    <text>{{initial.status_str}}</text>
91
-                                                    <image src='/image/OwnData1.png'  mode="widthFix"></image>
92
-                                              </view>
93
-                                       </view>
94
-
95
-                                      <image class='sfzyz_img'  hidden='{{sfztxyimg}}'  src='{{sfztxyImages}}'  mode="aspectFill"></image>
96
-                                       
97
-                            </view>
98
-
99
-                            <view class='sfzyz_upload_rimg'  wx:else>   <!-- 审核中 审核通过 -->
100
-                                  <image class='sfzyz_img'  src='{{initial.positive}}'  mode="aspectFill"></image>
101
-                                  <view class='sfzyz_Tips'>{{initial.status_str}}</view>
102
-                            </view>
15
+       <!-- <view class='data_name c'>
16
+             <text class='text'>有效期至</text>
17
+             <text class='name'>2020-12-17</text>
18
+       </view> -->
103 19
 
104
-                            <text>身份证头像页</text>
105
-                        </view>
106
-                </view>
107
-                <!-- 身份证反面页 -->
108
-                <view class='sfzyz_upload_t c' style='margin-top:30rpx;'>
109
-                        <view class='sfzyz_upload_l'>
110
-                                <image src="/image/smyz1.png" mode="aspectFill"></image>
111
-                                <text>示例照片</text>
112
-                        </view>
20
+       <view class='data_name c' style='padding:30rpx 0'>  <!--  身份证 -->
21
+             <text class='text1'>证件照片</text>
22
+             <view class='img_box'>
113 23
 
114
-                        <view class='sfzyz_upload_r'>
24
+                  <view class='img' data-src='{{initial.positive}}'   bindtap='enlarge'>
25
+                       <image src='{{initial.positive}}'></image>
26
+                       <text>头像页</text>
27
+                  </view>
115 28
 
116
-                            <!-- <view class='sfzyz_upload_rimg'  bindtap='sfzfmclick'>
117
-                                  <image class='sfzyz_tb'  src="/image/smyz3.png"  mode="widthFix"   hidden='{{sfzfmImagesNum}}'></image>
118
-                                  <image class='sfzyz_img'  hidden='{{sfzfmimg}}'  src='{{sfzfmImages}}'></image>
119
-                            </view> -->
29
+                  <view class='img' data-src='{{initial.opposite}}'   bindtap='enlarge' >
30
+                       <image src='{{initial.opposite}}'></image>
31
+                       <text>国徽页</text>
32
+                  </view>
120 33
 
34
+             </view> 
35
+       </view>
121 36
 
122
-                           <view class='sfzyz_upload_rimg'  bindtap='sfzfmclick' wx:if='{{initialcode.code !=201}}'>    <!-- 未上传 -->
123
-                                  <image class='sfzyz_tb'  src="/image/smyz3.png"  mode="widthFix"   hidden='{{sfzfmImagesNum}}'></image>
124
-                                  <image class='sfzyz_img'  hidden='{{sfzfmimg}}'  mode="aspectFill"  src='{{sfzfmImages}}'></image>
125
-                            </view>
126
-
127
-                            <view class='sfzyz_upload_rimg'  bindtap='sfzfmclick' wx:elif='{{initial.status ==2}}'>   <!-- 未通过 -->
128
-
129
-                                      <view class='sfzyz_wtg'   hidden='{{sfzfmImagesNum}}'>
130
-                                              <image class='sfzyz_img'  src='{{initial.opposite}}'  mode="aspectFill"></image>
131
-
132
-                                              <view class='sfzyz_zhez'>
133
-                                                    <text>{{initial.status_str}}</text>
134
-                                                    <image src='/image/OwnData1.png'  mode="widthFix"></image>
135
-                                              </view>
136
-                                       </view>
137
-
138
-                                      <image class='sfzyz_img'  hidden='{{sfzfmimg}}'  src='{{sfzfmImages}}'  mode="aspectFill"></image>
139
-                                       
140
-                            </view>
141
-
142
-                            <view class='sfzyz_upload_rimg'  wx:else>   <!-- 审核中 审核通过 -->
143
-                                  <image class='sfzyz_img'  src='{{initial.opposite}}'  mode="aspectFill"></image>
144
-                                  <view class='sfzyz_Tips'>{{initial.status_str}}</view>
145
-                            </view>
146
-
147
-
148
-
149
-                            <text>身份证反面页</text>
150
-                        </view>
151
-                </view>
152
-        </view>
153
-</view>
154
-
155
-<view class='yztext'>
156
-        <view class='yztext_title'>说明:</view>
157
-        <view class='yztext_text'>1. 请保持认证照片中的 <text>姓名、身份证号、身份证照片</text> 等信息
158
-清晰可见;</view>
159
-        <view  class='yztext_text'>2. 认真照片会进行加密处理,仅供审核使用,别人无法看到;</view>
160
-        <view  class='yztext_text'>3. 示例照片中为保护个人隐私,隐藏了身份证信息;</view>
161
-</view>
162
-
163
-<view class='Submission' bindtap='Submission' hidden="{{SubmissionHidden}}">提交认证</view>
164
-
165
-<view style='height:40rpx;'></view>
166
-
167
-
168
-<!-- <loading hidden="{{loadingHidden}}">上传中...</loading> -->
169
-
170
-<!-- <loading hidden="{{loadingHidden}}" icon="none">
171
-<view>啊实打实的</view>
172
-<view>啊实打实的</view>
173
-</loading> -->
174
-
175
-<view class='showModule_box' wx:if="{{isShow}}">
176
-    <view class="showModule" >
177
-        <view class="text1" wx:if='{{text1 != undefined && text1 != "" }}'>{{text1}}</view>
178
-        <view class="text2 "  wx:if='{{text2 != undefined  && text2 != "" }}'>{{text2}}</view>
179
-    </view>
37
+ 
180 38
 </view>
181
-
182
-   <view style="height:200rpx;"></view>
183
-
184
-
39
+  

+ 11 - 71
pages/personal_core/Realname/Realname.wxss

@@ -1,72 +1,12 @@
1 1
 
2
-.data_box{width:100%;margin-top:80rpx;}
3
-.data_box .data_name + .data_name{border-bottom:0; }
4
-.data_name{border-bottom:1px solid #ECECEC;padding:20rpx  30rpx;line-height:50rpx;}
5
-.data_name image{float:left;width: 20rpx;margin-top:15rpx;height:0;}
6
-.data_name text{float:left;font-size:28rpx;color:#000;margin-left:10rpx;}
7
-.data_name input{width:460rpx;text-align:right;display:block;font-size:28rpx;color:#B3B3B3;float:right;}
8
-
9
-
10
-.sfzyz_box{margin-top:40rpx;}
11
-.sfzyz_title{padding:0 30rpx;}
12
-.sfzyz_title image{width: 20rpx;margin-top:15rpx;height:0;}
13
-.sfzyz_title text{font-size:28rpx;color:#000;margin-left:10rpx;}
14
-
15
-
16
-/* 身份证上传 */
17
-.sfzyz_upload_box{margin-top:40rpx;padding:0 30rpx;}
18
-
19
-.sfzyz_upload_l{width:328rpx;text-align:center;float:left;}
20
-.sfzyz_upload_l image{width:100%;height:200rpx;}
21
-.sfzyz_upload_l text{font-size:28rpx;color: #666;}
22
-
23
-.sfzyz_upload_r{width:328rpx;text-align:center;float:right;}
24
-
25
-.sfzyz_upload_rimg{border:1px solid #B3B3B3;width:100%;height:200rpx;display:flex;align-items:center;justify-content:center;position:relative;}
26
-.sfzyz_wtg{width:100%;height:100%;}
27
-.sfzyz_upload_rimg .sfzyz_tb{width:48rpx;height:0;}
28
-.sfzyz_upload_rimg .sfzyz_img{width:100%;height:100%;}
29
-.sfzyz_upload_r text{font-size:28rpx;color: #666;}
30
-
31
-.m_upload{position:absolute;top:0;left:0;width:100%;height:100%;}
32
-.sfzyz_zhez{width:100%;height:100%;position:absolute;bottom:0;left:0;background:rgba(0,0,0,0.5);}
33
-.sfzyz_zhez text{font-size:28rpx;color:#FFF;display:block;position:absolute;bottom:20rpx;width:100%;}
34
-.sfzyz_zhez image{width:60rpx;margin:auto;display:block;position:relative;top:48rpx;height:0;}
35
-.sfzyz_Tips{width:100%;position:absolute;bottom:0;left:0;background:rgba(0,0,0,0.5);font-size:28rpx;color:#FFF;padding:10rpx 0;}
36
-
37
-
38
-
39
-/* 底部说明 */
40
-.yztext{border:1px dashed  #DCDCDC;width:90%;margin:auto;margin-top:60rpx;background: #F5F5F5;padding:20rpx;border-radius:6rpx;}
41
-.yztext_title{font-size:28rpx;color:#808080;margin-bottom:20rpx;}
42
-.yztext_text{font-size:24rpx;color:#A7A6A6;line-height:40rpx;}
43
-.yztext_text text{color:#007EFF;}
44
-
45
-.Submission{text-align:center;font-size:34rpx;color:#FFF;background: linear-gradient(to right, #FF9BCA , #FF79B8);width:95%;height:88rpx;line-height:88rpx;border-radius:10rpx;position:fixed;bottom:40rpx;left:50%;margin-left:-47.5%;}
46
-
47
-
48
-/* 自定义提示框 */
49
-.showModule_box{width:100%;height:100%;position:fixed;top:0;left:0;
50
-display:flex;align-items:center;  justify-content:center;}
51
-.showModule {
52
-padding:30rpx 40rpx;
53
- background-color: rgba(0,0,0,0.7);
54
- border-radius: 10rpx;
55
-text-align: center;
56
- }
57
- 
58
-.showModule .text1 {
59
- display: block;
60
- color: white;
61
- font-size: 28rpx;
62
- text-align: center;
63
- line-height:50rpx;
64
-  
65
-}
66
-.showModule .text2 {
67
- display: block;
68
- color: white;
69
- font-size: 28rpx;
70
- text-align: center;
71
- line-height:50rpx;
72
-}
2
+.data_box{margin-top:30rpx;padding:0 40rpx;}
3
+/* .data_box .data_name + .data_name{border-bottom:0; } */
4
+.data_name{border-bottom:1px solid #ECECEC;padding:20rpx  0;line-height:50rpx;}
5
+.data_name .text{float:left;font-size:28rpx;color:#000;}
6
+.data_name .text1{float:left;font-size:28rpx;color:#000;height:150rpx;line-height:150rpx;display:block;}
7
+.data_name .name{width:460rpx;text-align:right;display:block;font-size:28rpx;color:#B3B3B3;float:right;}
8
+
9
+.data_name .img_box{float:right;width:500rpx; }
10
+.data_name .img_box .img{width:225rpx;height:150rpx;float:right;position:relative;border-radius:10rpx;overflow:hidden;margin-left:20rpx;}
11
+.data_name .img_box .img image{width:100%;height:100%;}
12
+.data_name .img_box .img text{font-size:25rpx;color:#FFF;height:55rpx;position:absolute;bottom:0;width:100%;background:rgba(0, 0, 0, 0.5);left:0;text-align:center;line-height:55rpx;}