Your Name 5 anos atrás
pai
commit
14e5228a44

+ 2 - 2
app.json

@@ -1,6 +1,6 @@
1
 {
1
 {
2
   "pages": [
2
   "pages": [
3
-
3
+  "pages/personal_core/personaldata/personaldata",
4
   "pages/index/waitfor/waitfor",
4
   "pages/index/waitfor/waitfor",
5
   "pages/index/index",
5
   "pages/index/index",
6
   "pages/Jurisdiction/click_Jurisdiction/click_Jurisdiction",
6
   "pages/Jurisdiction/click_Jurisdiction/click_Jurisdiction",
@@ -11,7 +11,7 @@
11
   "pages/Landpage/Land/Land",
11
   "pages/Landpage/Land/Land",
12
   "pages/zheo_More/zheo_More",
12
   "pages/zheo_More/zheo_More",
13
   "pages/details_More/details_More",
13
   "pages/details_More/details_More",
14
-  "pages/personal_core/personaldata/personaldata",
14
+
15
   "pages/Setup/Opinion/Opinion",
15
   "pages/Setup/Opinion/Opinion",
16
   "pages/Setup/Publicaddress/Publicaddress",
16
   "pages/Setup/Publicaddress/Publicaddress",
17
   "pages/Setup/Contactus/Contactus",
17
   "pages/Setup/Contactus/Contactus",

+ 65 - 65
pages/index/index.js

@@ -13,8 +13,8 @@ Page({
13
     AgeArray: [],    //  年龄-数据
13
     AgeArray: [],    //  年龄-数据
14
     AgeIndex: [0, 0],    //  年龄-下标
14
     AgeIndex: [0, 0],    //  年龄-下标
15
 
15
 
16
-    MarriageArray: [], // 婚史-数据
16
+    // MarriageArray: [], // 婚史-数据
17
-    Marriageindex: '',  // 婚史-下标
17
+    // Marriageindex: '',  // 婚史-下标
18
 
18
 
19
     EducationArray: [], // 学历-数据
19
     EducationArray: [], // 学历-数据
20
     Educationindex: '',  // 学历-下标
20
     Educationindex: '',  // 学历-下标
@@ -28,8 +28,8 @@ Page({
28
 
28
 
29
     education: 0,    //  学历  
29
     education: 0,    //  学历  
30
     educationid: 0,
30
     educationid: 0,
31
-    marry: 0,    //   婚史 
31
+    // marry: 0,    //   婚史 
32
-    idmarry: 0,
32
+    // idmarry: 0,
33
     income: 0,
33
     income: 0,
34
     // income: '',     //  收入 
34
     // income: '',     //  收入 
35
     // occupation: '',     //  职业  
35
     // occupation: '',     //  职业  
@@ -104,11 +104,11 @@ Page({
104
     var _income = app.globalData.income      //  收入  
104
     var _income = app.globalData.income      //  收入  
105
 
105
 
106
 
106
 
107
-    if (app.globalData.idmarry) {
107
+    // if (app.globalData.idmarry) {
108
-      that.setData({
108
+    //   that.setData({
109
-        idmarry: app.globalData.idmarry
109
+    //     idmarry: app.globalData.idmarry
110
-      })
110
+    //   })
111
-    }
111
+    // }
112
 
112
 
113
     if (app.globalData.educationid) {
113
     if (app.globalData.educationid) {
114
       that.setData({
114
       that.setData({
@@ -309,42 +309,42 @@ Page({
309
 
309
 
310
 
310
 
311
     //  婚史 ajax
311
     //  婚史 ajax
312
-    let Marriage_url = 'public/paramsgather?type=marriage';
312
+    // let Marriage_url = 'public/paramsgather?type=marriage';
313
-    let Marriage_data = {};
313
+    // let Marriage_data = {};
314
-
314
+
315
-    if (app.globalData.marry) {    //判断 是否从筛选页面传来的参数
315
+    // if (app.globalData.marry) {    //判断 是否从筛选页面传来的参数
316
-      // console.log(app.globalData.marry);
316
+    //   // console.log(app.globalData.marry);
317
-      var _marry = app.globalData.marry      //  婚姻 
317
+    //   var _marry = app.globalData.marry      //  婚姻 
318
-
318
+
319
-      that.setData({
319
+    //   that.setData({
320
-        marry: _marry
320
+    //     marry: _marry
321
-      })
321
+    //   })
322
-    } else if (app.globalData.marry == 0 && _Selection == 1) {     //判断筛选页面  是否清空数据   同时 是否选中,而不是返回
322
+    // } else if (app.globalData.marry == 0 && _Selection == 1) {     //判断筛选页面  是否清空数据   同时 是否选中,而不是返回
323
-      var _marry = app.globalData.marry   //  婚姻 
323
+    //   var _marry = app.globalData.marry   //  婚姻 
324
-      that.setData({
324
+    //   that.setData({
325
-        marry: _marry,
325
+    //     marry: _marry,
326
-        Marriageindex: "",  // 身高-下标
326
+    //     Marriageindex: "",  // 身高-下标
327
-      })
327
+    //   })
328
-    }
328
+    // }
329
-
329
+
330
-    app.postRequest(Marriage_url, Marriage_data, function (res) {      //  婚史 ajax
330
+    // app.postRequest(Marriage_url, Marriage_data, function (res) {      //  婚史 ajax
331
-      if (res.code == 201) {
331
+    //   if (res.code == 201) {
332
-        if (app.globalData.marry) {
332
+    //     if (app.globalData.marry) {
333
-          for (let i = 0; i < res.data.length; i++) {    //已选中的数据处理
333
+    //       for (let i = 0; i < res.data.length; i++) {    //已选中的数据处理
334
-            if (i == _marry) {
334
+    //         if (i == _marry) {
335
-              that.setData({
335
+    //           that.setData({
336
-                Marriageindex: i,
336
+    //             Marriageindex: i,
337
-              })
337
+    //           })
338
-            }
338
+    //         }
339
-          }
339
+    //       }
340
-        }
340
+    //     }
341
-
341
+
342
-        that.setData({
342
+    //     that.setData({
343
-          MarriageArray: res.data,
343
+    //       MarriageArray: res.data,
344
-          idmarry: that.data.idmarry,
344
+    //       idmarry: that.data.idmarry,
345
-        })
345
+    //     })
346
-      }
346
+    //   }
347
-    })
347
+    // })
348
 
348
 
349
 
349
 
350
     //  学历 ajax
350
     //  学历 ajax
@@ -490,24 +490,24 @@ Page({
490
   },
490
   },
491
 
491
 
492
 
492
 
493
-  MarriageEvent: function (e) {   //  婚史    单项选择器
493
+  // MarriageEvent: function (e) {   //  婚史    单项选择器
494
-    var that = this;
494
+  //   var that = this;
495
-    // console.log(this);
495
+  //   // console.log(this);
496
-    // console.log(e);
496
+  //   // console.log(e);
497
-    // console.log(this.data.MarriageArray[e.detail.value]);
497
+  //   // console.log(this.data.MarriageArray[e.detail.value]);
498
-    // console.log('picker发送选择改变,携带值为', e.detail.value)
498
+  //   // console.log('picker发送选择改变,携带值为', e.detail.value)
499
-    this.setData({
499
+  //   this.setData({
500
-      Marriageindex: e.detail.value,
500
+  //     Marriageindex: e.detail.value,
501
-      marry: e.detail.value,
501
+  //     marry: e.detail.value,
502
-      page: 1,
502
+  //     page: 1,
503
-      idmarry: 1,
503
+  //     idmarry: 1,
504
-    })
504
+  //   })
505
 
505
 
506
-    that.list(); //调用筛选
506
+  //   that.list(); //调用筛选
507
 
507
 
508
-    app.globalData.Selection = 0;    //  是否选中  
508
+  //   app.globalData.Selection = 0;    //  是否选中  
509
-    app.globalData.marry = 0  //  婚史  
509
+  //   app.globalData.marry = 0  //  婚史  
510
-  },
510
+  // },
511
 
511
 
512
 
512
 
513
 
513
 
@@ -544,10 +544,10 @@ Page({
544
     // console.log(that.data.provinceName);
544
     // console.log(that.data.provinceName);
545
     // console.log(that.data.cityName);
545
     // console.log(that.data.cityName);
546
     // console.log(that.data.areaName);
546
     // console.log(that.data.areaName);
547
-
547
+    // '&marry=' + that.data.marry + '&idmarry=' + that.data.idmarry + 
548
 
548
 
549
     wx.navigateTo({
549
     wx.navigateTo({
550
-      url: '/pages/index_screen/index_screen?age=' + that.data.age + '&height=' + that.data.height + '&marry=' + that.data.marry + '&idmarry=' + that.data.idmarry + '&education=' + that.data.education + '&income=' + that.data.income + '&educationid=' + that.data.educationid +'&city=' + that.data.city +  '&provinceName=' + that.data.provinceName + '&cityName=' + that.data.cityName + '&areaName=' + that.data.areaName +  ''
550
+      url: '/pages/index_screen/index_screen?age=' + that.data.age + '&height=' + that.data.height + '&education=' + that.data.education + '&income=' + that.data.income + '&educationid=' + that.data.educationid +'&city=' + that.data.city +  '&provinceName=' + that.data.provinceName + '&cityName=' + that.data.cityName + '&areaName=' + that.data.areaName +  ''
551
     })
551
     })
552
 
552
 
553
 
553
 
@@ -588,7 +588,7 @@ Page({
588
         limit: that.data.limit,
588
         limit: that.data.limit,
589
         age: _age,      //  年龄  
589
         age: _age,      //  年龄  
590
         height: _height,   //  身高  
590
         height: _height,   //  身高  
591
-        marry: that.data.marry,    //   婚史 
591
+        // marry: that.data.marry,    //   婚史 
592
         education: that.data.education,    //  学历  
592
         education: that.data.education,    //  学历  
593
         income: _income,  //收入
593
         income: _income,  //收入
594
         city: that.data.city,                    // 市
594
         city: that.data.city,                    // 市
@@ -672,7 +672,7 @@ Page({
672
         limit: that.data.limit,
672
         limit: that.data.limit,
673
         age: _age,      //  年龄  
673
         age: _age,      //  年龄  
674
         height: _height,   //  身高  
674
         height: _height,   //  身高  
675
-        marry: that.data.marry,    //   婚史 
675
+        // marry: that.data.marry,    //   婚史 
676
         education: that.data.education,    //  学历  
676
         education: that.data.education,    //  学历  
677
         income: _income,  //收入
677
         income: _income,  //收入
678
         city: that.data.city,                    // 市
678
         city: that.data.city,                    // 市

+ 9 - 9
pages/index/index.wxml

@@ -45,9 +45,9 @@
45
         <view class='screen_styke'>
45
         <view class='screen_styke'>
46
                 <picker  mode="multiSelector"  bindchange="AgeEvent"  value="{{AgeIndex}}" range="{{AgeArray}}">
46
                 <picker  mode="multiSelector"  bindchange="AgeEvent"  value="{{AgeIndex}}" range="{{AgeArray}}">
47
                         <!-- <text wx:if='{{Ageid == 1}}'>{{AgeArray[0][AgeIndex[0]]}}-{{AgeArray[1][AgeIndex[1]]}}</text> -->
47
                         <!-- <text wx:if='{{Ageid == 1}}'>{{AgeArray[0][AgeIndex[0]]}}-{{AgeArray[1][AgeIndex[1]]}}</text> -->
48
-                        <text wx:if='{{Ageid == 1}}'>{{age == '不限-以上' ? '不限': age}}</text>
48
+                        <text wx:if='{{Ageid == 1}}'>{{AgeArray[0][AgeIndex[0]] +'-'+ AgeArray[1][AgeIndex[1]] =='不限-以上' ? '不限' : AgeArray[0][AgeIndex[0]] +'-'+ AgeArray[1][AgeIndex[1]]}}</text>
49
                         <text wx:else>
49
                         <text wx:else>
50
-                                  <block wx:if='{{age != 0}}'>{{age == '不限-以上' ? '不限': age}}</block>
50
+                                  <block wx:if='{{age != 0}}'>{{AgeArray[0][AgeIndex[0]] +'-'+ AgeArray[1][AgeIndex[1]] =='不限-以上' ? '不限' : AgeArray[0][AgeIndex[0]] +'-'+ AgeArray[1][AgeIndex[1]]}}</block>
51
 
51
 
52
                                   <block wx:else>年龄</block>
52
                                   <block wx:else>年龄</block>
53
                         </text>
53
                         </text>
@@ -75,7 +75,7 @@
75
 
75
 
76
 
76
 
77
 
77
 
78
-        <view class='screen_styke'>
78
+        <!-- <view class='screen_styke'>
79
                 <picker bindchange="MarriageEvent" value="{{Marriageindex}}" range="{{MarriageArray}}">
79
                 <picker bindchange="MarriageEvent" value="{{Marriageindex}}" range="{{MarriageArray}}">
80
                         <text wx:if='{{idmarry == 0}}'> 婚史</text>
80
                         <text wx:if='{{idmarry == 0}}'> 婚史</text>
81
                         <block  wx:else>
81
                         <block  wx:else>
@@ -84,7 +84,7 @@
84
                         </block>
84
                         </block>
85
                         <image src='/image/search1.png' mode="aspectFill"></image>
85
                         <image src='/image/search1.png' mode="aspectFill"></image>
86
                 </picker>
86
                 </picker>
87
-        </view>
87
+        </view> -->
88
 
88
 
89
 
89
 
90
 
90
 
@@ -220,14 +220,14 @@
220
 
220
 
221
                                   <view class='m_Age c'>
221
                                   <view class='m_Age c'>
222
                                       <text wx:if="{{item.number}}">ID: {{item.number}}</text>
222
                                       <text wx:if="{{item.number}}">ID: {{item.number}}</text>
223
-                                      <text wx:if="{{item.age}}">{{item.age}}</text>
223
+                                      <text wx:if="{{item.age}}">{{item.age}}</text>
224
                                   </view>
224
                                   </view>
225
                                 
225
                                 
226
                                   <view class='m_text'>
226
                                   <view class='m_text'>
227
-                                          <!-- <text wx:if="{{item.education}}">{{item.education}}</text> -->
227
+                                          <text wx:if="{{item.city_name}}">{{item.city_name}}</text>
228
-                                          <text wx:if="{{item.marry}}">{{item.marry}}</text>
228
+                                          <text wx:if="{{item.height}}">{{item.height}}cm</text>
229
-                                          <text wx:if="{{item.occupation}}">{{item.occupation}}</text>
229
+                                          <!-- <text wx:if="{{item.occupation}}">{{item.occupation}}</text> -->
230
-                                          <text wx:if="{{item.income}}">{{item.income}}/月</text>
230
+                                          <text wx:if="{{item.income}}">{{item.income}}</text>
231
                                   </view>
231
                                   </view>
232
                         </view>
232
                         </view>
233
                 </view>
233
                 </view>

+ 1 - 1
pages/index/index.wxss

@@ -13,7 +13,7 @@
13
 /* 筛选导航 */
13
 /* 筛选导航 */
14
 .screen_styke_box{border-bottom:1px solid #f8f8f8;width:100%;height:80rpx;border-top:1px solid #f8f8f8;margin-top:40rpx;}
14
 .screen_styke_box{border-bottom:1px solid #f8f8f8;width:100%;height:80rpx;border-top:1px solid #f8f8f8;margin-top:40rpx;}
15
 
15
 
16
-.screen_styke{width:20%;height:100%;float:left;}
16
+.screen_styke{width:25%;height:100%;float:left;}
17
 .screen_styke picker{width:100%;height:100%;text-align:center;line-height:80rpx;}
17
 .screen_styke picker{width:100%;height:100%;text-align:center;line-height:80rpx;}
18
 .screen_styke text{font-size:26rpx;}
18
 .screen_styke text{font-size:26rpx;}
19
 .screen_styke image{width:14rpx;height:10rpx;margin-left:8rpx;position:relative;top:-4rpx;}
19
 .screen_styke image{width:14rpx;height:10rpx;margin-left:8rpx;position:relative;top:-4rpx;}

+ 26 - 4
pages/index_details/index_details.wxml

@@ -66,9 +66,7 @@
66
 
66
 
67
       </view>
67
       </view>
68
 
68
 
69
-      <view class='data_list c'>
69
+      <!-- <view class='data_zjlist c'>
70
-              <!-- <text wx:if='{{information.nickname}}'>{{information.nickname}}</text> -->
71
-              <!-- <text wx:if='{{information.sex}}'>{{information.sex}}</text> -->
72
               <text wx:if='{{information.age}}'>{{information.age}}</text>
70
               <text wx:if='{{information.age}}'>{{information.age}}</text>
73
               <text wx:if='{{information.height}}'>{{information.height}}</text>
71
               <text wx:if='{{information.height}}'>{{information.height}}</text>
74
               <text wx:if='{{information.education}}'>{{information.education}}</text>
72
               <text wx:if='{{information.education}}'>{{information.education}}</text>
@@ -77,7 +75,19 @@
77
               <text wx:if='{{information.nickname &&  information.province && information.city}}'>{{information.province}}-{{information.city}}-{{information.area}}</text>
75
               <text wx:if='{{information.nickname &&  information.province && information.city}}'>{{information.province}}-{{information.city}}-{{information.area}}</text>
78
               <text wx:if='{{information.occupation}}'>{{information.occupation}}</text>
76
               <text wx:if='{{information.occupation}}'>{{information.occupation}}</text>
79
 
77
 
78
+      </view> -->
79
+      <view class=' c data_zjlist'>
80
+              <text wx:if='{{information.nickname}}' class='on'>{{information.nickname}}</text>
81
+              <text wx:if='{{information.sex}}'  class='on'>{{information.sex}}</text>
82
+              <text wx:if='{{information.age}}'  class='on'>{{information.age}}</text>
83
+              <text wx:if='{{information.height}}' class='on'>{{information.height}}</text>
84
+              <text wx:if='{{information.education}}' class='on'>{{information.education}}</text>
85
+              <text wx:if='{{information.marry}}' class='on'>{{information.marry}}</text>
86
+              <text wx:if='{{information.income}}'>{{information.income}}</text>
87
+              <text wx:if='{{information.occupation}}'>{{information.occupation}}</text>
88
+              <text wx:if='{{information.nickname &&  information.province && information.city}}' class='in'>故乡:{{information.city_name}}</text>
80
       </view>
89
       </view>
90
+      
81
 </view>
91
 </view>
82
 
92
 
83
 <view style='height:10rpx;background:#fafafa;margin:20rpx 0;'></view>
93
 <view style='height:10rpx;background:#fafafa;margin:20rpx 0;'></view>
@@ -93,7 +103,7 @@
93
                 </navigator>
103
                 </navigator>
94
       </view>
104
       </view>
95
 
105
 
96
-      <view class='data_list c' wx:if='{{optioninfocode.code == 201}}'>
106
+      <!-- <view class='data_zolist c' wx:if='{{optioninfocode.code == 201}}'>
97
               <text  wx:if='{{optioninfo.age}}'>{{optioninfo.age}}</text>
107
               <text  wx:if='{{optioninfo.age}}'>{{optioninfo.age}}</text>
98
               <text wx:if='{{optioninfo.marry}}'>{{optioninfo.marry}}</text>
108
               <text wx:if='{{optioninfo.marry}}'>{{optioninfo.marry}}</text>
99
               <text wx:if='{{optioninfo.height}}'>{{optioninfo.height}}</text>
109
               <text wx:if='{{optioninfo.height}}'>{{optioninfo.height}}</text>
@@ -101,8 +111,20 @@
101
               <text wx:if='{{optioninfo.income_min && optioninfo.income_max}}'>{{optioninfo.income_min}}-{{optioninfo.income_max}}</text>
111
               <text wx:if='{{optioninfo.income_min && optioninfo.income_max}}'>{{optioninfo.income_min}}-{{optioninfo.income_max}}</text>
102
               <text wx:if='{{optioninfo.occupation}}'>职业:{{optioninfo.occupation}}</text>
112
               <text wx:if='{{optioninfo.occupation}}'>职业:{{optioninfo.occupation}}</text>
103
               <text wx:if='{{optioninfo.city}}'>{{optioninfo.city}}</text>
113
               <text wx:if='{{optioninfo.city}}'>{{optioninfo.city}}</text>
114
+      </view> -->
115
+
116
+      <view class='c data_zolist' wx:if='{{optioninfocode.code == 201}}'>
117
+              <text>年龄:{{optioninfo.age ? optioninfo.age : '无需求'}}</text>
118
+              <!-- <text wx:if='{{optioninfo.marry}}'>{{optioninfo.marry}}</text> -->
119
+              <text>身高:{{optioninfo.height ? optioninfo.height : '无需求'}}</text>
120
+              <text>地区:{{optioninfo.city? optioninfo.city : '无需求'}}</text>
121
+              <text>学历:{{optioninfo.education && optioninfo.education !=0 ? optioninfo.education : '无需求'}}</text>
122
+              <text>收入:{{optioninfo.income_min}}-{{optioninfo.income_max}}</text>
123
+              <text>职业:{{optioninfo.occupation && optioninfo.occupation !=0 ? optioninfo.occupation : '无需求'}}</text>
124
+ 
104
       </view>
125
       </view>
105
 
126
 
127
+
106
       <view class='data_list c' wx:else>
128
       <view class='data_list c' wx:else>
107
               <view class='data_list_text'>暂无择偶信息</view>
129
               <view class='data_list_text'>暂无择偶信息</view>
108
       </view>
130
       </view>

+ 24 - 5
pages/index_details/index_details.wxss

@@ -8,7 +8,7 @@
8
 /* 个人相册 */
8
 /* 个人相册 */
9
 .Album_box{margin-top:30rpx;}
9
 .Album_box{margin-top:30rpx;}
10
 .Album_box  .Album:nth-child(4n){margin-right:0;}
10
 .Album_box  .Album:nth-child(4n){margin-right:0;}
11
-.Album{width:23.7%;height:161.8rpx;float:left;margin-right:13rpx;margin-bottom:13rpx;position:relative;}
11
+.Album{width:23.7%;height:161.8rpx;float:left;margin-right:1.7%;margin-bottom:13rpx;position:relative;border-radius:10rpx;overflow:hidden;}
12
 .Album .Album_img{width:100%;height:100%;}
12
 .Album .Album_img{width:100%;height:100%;}
13
 .Album_box text{display:block;text-align:center;font-size:28rpx;color:#333;}
13
 .Album_box text{display:block;text-align:center;font-size:28rpx;color:#333;}
14
 
14
 
@@ -33,9 +33,7 @@
33
 .data_title_r{float:right;font-size:24rpx;color:#A7A6A6;}
33
 .data_title_r{float:right;font-size:24rpx;color:#A7A6A6;}
34
 .data_title_r image{width:10rpx;position:relative;top:-2rpx;margin-left:16rpx;height:0;}
34
 .data_title_r image{width:10rpx;position:relative;top:-2rpx;margin-left:16rpx;height:0;}
35
 
35
 
36
-/* .data_list{margin-top:30rpx;} */
36
+
37
-.data_list text{border:1px solid #eee;display:block;float:left;padding:20rpx 30rpx;border-radius:100rpx;font-size:28rpx;color:#292828;margin-right:30rpx;margin-top:30rpx}
38
-.data_list_text{font-size:28rpx;color:#333;text-align:center;margin-top:60rpx;}
39
 
37
 
40
 /* 认证信息 */
38
 /* 认证信息 */
41
 .data_rz_box{margin-top:30rpx;}
39
 .data_rz_box{margin-top:30rpx;}
@@ -58,4 +56,25 @@
58
 .m_bottom_r{background: linear-gradient(to right, #FF9BCA , #FF79B8); width:468rpx;height:88rpx;float:right;position:relative;top:16rpx;right:34rpx;border-radius:10rpx;text-align:center;line-height:88rpx;}
56
 .m_bottom_r{background: linear-gradient(to right, #FF9BCA , #FF79B8); width:468rpx;height:88rpx;float:right;position:relative;top:16rpx;right:34rpx;border-radius:10rpx;text-align:center;line-height:88rpx;}
59
 .m_bottom_r navigator{width:100%;height:100%;}
57
 .m_bottom_r navigator{width:100%;height:100%;}
60
 .m_bottom_r image{width:42rpx;position:relative;top:9rpx;height:0;}
58
 .m_bottom_r image{width:42rpx;position:relative;top:9rpx;height:0;}
61
-.m_bottom_r text{font-size:28rpx;color:#FFF;margin-left:12rpx;}
59
+.m_bottom_r text{font-size:28rpx;color:#FFF;margin-left:12rpx;}
60
+
61
+
62
+/* .data_list{margin-top:30rpx;} */
63
+.data_list text{border:1px solid #eee;display:block;float:left;padding:20rpx 30rpx;border-radius:100rpx;font-size:28rpx;color:#292828;margin-right:30rpx;margin-top:30rpx}
64
+.data_list_text{font-size:28rpx;color:#333;text-align:center;margin-top:60rpx;}
65
+
66
+
67
+
68
+.data_zolist text{display:block;float:left;border-radius:8rpx;font-size:25rpx;color:#292828;margin-right:20rpx;margin-top:20rpx;width:47.9%;height:60rpx;text-align:center;line-height:60rpx;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;background:#ECF0FA;border:1px solid #E7EBF5;}
69
+.data_zolist text:nth-child(2n){margin-right:0;}
70
+
71
+
72
+
73
+
74
+
75
+.data_zjlist text{border:1px solid #E5E5E5;display:block;float:left;border-radius:8rpx;font-size:25rpx;color:#292828;margin-right:20rpx;margin-top:20rpx;width:47.9%;height:60rpx;text-align:center;line-height:60rpx;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;background:#F2F2F2;}
76
+.data_zjlist text.on{width:30.8%  !important;}
77
+.data_zjlist text.in{width:100%  !important;}
78
+.data_zjlist text:nth-child(3){margin-right:0;}
79
+.data_zjlist text:nth-child(6){margin-right:0;}
80
+.data_zjlist text:nth-child(8){margin-right:0;}

+ 53 - 53
pages/index_screen/index_screen.js

@@ -14,8 +14,8 @@ Page({
14
     EducationArray: [], // 学历-数据
14
     EducationArray: [], // 学历-数据
15
     Educationindex: '',  // 学历-下标
15
     Educationindex: '',  // 学历-下标
16
 
16
 
17
-    MarriageArray: [], // 婚史-数据
17
+    // MarriageArray: [], // 婚史-数据
18
-    Marriageindex: '',  // 婚史-下标
18
+    // Marriageindex: '',  // 婚史-下标
19
 
19
 
20
     incomeid: 0,
20
     incomeid: 0,
21
     incomeArray: [], // 收入-数据
21
     incomeArray: [], // 收入-数据
@@ -25,8 +25,8 @@ Page({
25
 
25
 
26
     age: '',      //  年龄  
26
     age: '',      //  年龄  
27
     height: '',      //  身高  
27
     height: '',      //  身高  
28
-    marry: '',    //   婚史 
28
+    // marry: '',    //   婚史 
29
-    idmarry: 0,
29
+    // idmarry: 0,
30
     education: '',    //  学历  
30
     education: '',    //  学历  
31
     educationid: 0,
31
     educationid: 0,
32
     income: 0,     //  收入 
32
     income: 0,     //  收入 
@@ -70,7 +70,7 @@ Page({
70
     app.globalData.Selection = 0;    //  是否选中  
70
     app.globalData.Selection = 0;    //  是否选中  
71
     app.globalData.age = 0;    //  年龄  
71
     app.globalData.age = 0;    //  年龄  
72
     app.globalData.height = 0;    //  身高  
72
     app.globalData.height = 0;    //  身高  
73
-    app.globalData.marry = 0  //  婚史  
73
+    // app.globalData.marry = 0  //  婚史  
74
     app.globalData.education = 0  //  学历  
74
     app.globalData.education = 0  //  学历  
75
     app.globalData.income = 0;     //  收入 
75
     app.globalData.income = 0;     //  收入 
76
 
76
 
@@ -84,7 +84,7 @@ Page({
84
 
84
 
85
  
85
  
86
 
86
 
87
-    var _idmarry = option.idmarry
87
+    // var _idmarry = option.idmarry
88
     var _educationid = option.educationid    
88
     var _educationid = option.educationid    
89
 
89
 
90
 
90
 
@@ -94,7 +94,7 @@ Page({
94
       cityName: _cityname, // 市
94
       cityName: _cityname, // 市
95
       areaName: _areaname,  // 区
95
       areaName: _areaname,  // 区
96
 
96
 
97
-      idmarry: _idmarry,
97
+      // idmarry: _idmarry,
98
       educationid: _educationid,
98
       educationid: _educationid,
99
 
99
 
100
     })
100
     })
@@ -243,34 +243,34 @@ Page({
243
 
243
 
244
 
244
 
245
     //  婚史 ajax
245
     //  婚史 ajax
246
-    let Marriage_url = 'public/paramsgather?type=marriage';
246
+    // let Marriage_url = 'public/paramsgather?type=marriage';
247
-    let Marriage_data = {
247
+    // let Marriage_data = {
248
-      pid: '0'
248
+    //   pid: '0'
249
-    };
249
+    // };
250
-    var _marry = option.marry   //   婚史 
250
+    // var _marry = option.marry   //   婚史 
251
-    // console.log(_marry)
251
+    // // console.log(_marry)
252
-    that.setData({
252
+    // that.setData({
253
-      marry: _marry
253
+    //   marry: _marry
254
-    })
254
+    // })
255
-    app.postRequest(Marriage_url, Marriage_data, function (res) {      //  婚史 ajax
255
+    // app.postRequest(Marriage_url, Marriage_data, function (res) {      //  婚史 ajax
256
-      if (res.code == 201) {
256
+    //   if (res.code == 201) {
257
-        // console.log(res.data);
257
+    //     // console.log(res.data);
258
-        for (let i = 0; i < res.data.length; i++) {    //已选中的数据处理
258
+    //     for (let i = 0; i < res.data.length; i++) {    //已选中的数据处理
259
-          if (i == _marry) {
259
+    //       if (i == _marry) {
260
-            that.setData({
260
+    //         that.setData({
261
-              Marriageindex: i,
261
+    //           Marriageindex: i,
262
-            })
262
+    //         })
263
-          }
263
+    //       }
264
-        }
264
+    //     }
265
-
265
+
266
-        that.setData({
266
+    //     that.setData({
267
-          MarriageArray: res.data,
267
+    //       MarriageArray: res.data,
268
-          idmarry: that.data.idmarry,
268
+    //       idmarry: that.data.idmarry,
269
-        })
269
+    //     })
270
-
270
+
271
-      }
271
+    //   }
272
-
272
+
273
-    })
273
+    // })
274
 
274
 
275
 
275
 
276
     //  学历 ajax
276
     //  学历 ajax
@@ -471,17 +471,17 @@ Page({
471
     })
471
     })
472
   },
472
   },
473
 
473
 
474
-  MarriageEvent: function (e) {   //  婚史    单项选择器
474
+  // MarriageEvent: function (e) {   //  婚史    单项选择器
475
-    // console.log(this);
475
+  //   // console.log(this);
476
-    // console.log(e);
476
+  //   // console.log(e);
477
-    // console.log(this.data.MarriageArray[e.detail.value]);
477
+  //   // console.log(this.data.MarriageArray[e.detail.value]);
478
-    // console.log('picker发送选择改变,携带值为', e.detail.value)
478
+  //   // console.log('picker发送选择改变,携带值为', e.detail.value)
479
-    this.setData({
479
+  //   this.setData({
480
-      Marriageindex: e.detail.value,
480
+  //     Marriageindex: e.detail.value,
481
-      marry: e.detail.value,
481
+  //     marry: e.detail.value,
482
-      idmarry: 1,
482
+  //     idmarry: 1,
483
-    })
483
+  //   })
484
-  },
484
+  // },
485
 
485
 
486
 
486
 
487
 
487
 
@@ -568,8 +568,8 @@ Page({
568
     app.globalData.inputValue = String(_this.data.inputValue);     //用户ID
568
     app.globalData.inputValue = String(_this.data.inputValue);     //用户ID
569
     app.globalData.age = String(_this.data.age);    //  年龄  
569
     app.globalData.age = String(_this.data.age);    //  年龄  
570
     app.globalData.height = String(_this.data.height);    //  身高  
570
     app.globalData.height = String(_this.data.height);    //  身高  
571
-    app.globalData.marry = String(_this.data.marry)  //  婚史  
571
+    // app.globalData.marry = String(_this.data.marry)  //  婚史  
572
-    app.globalData.idmarry = String(_this.data.idmarry)  //  婚史  
572
+    // app.globalData.idmarry = String(_this.data.idmarry)  //  婚史  
573
     app.globalData.education = String(_this.data.education)  //  学历  
573
     app.globalData.education = String(_this.data.education)  //  学历  
574
     app.globalData.educationid = String(_this.data.educationid)  //  学历  
574
     app.globalData.educationid = String(_this.data.educationid)  //  学历  
575
     app.globalData.income = String(_this.data.income);     //  收入 
575
     app.globalData.income = String(_this.data.income);     //  收入 
@@ -615,9 +615,9 @@ Page({
615
       height: 0, //身高
615
       height: 0, //身高
616
       heightid: 0,
616
       heightid: 0,
617
 
617
 
618
-      Marriageindex: '',  // 婚史-下标
618
+      // Marriageindex: '',  // 婚史-下标
619
-      marry: 0,
619
+      // marry: 0,
620
-      idmarry: 0,
620
+      // idmarry: 0,
621
 
621
 
622
       Educationindex: '',    //学历
622
       Educationindex: '',    //学历
623
       education: 0,   //学历
623
       education: 0,   //学历
@@ -639,8 +639,8 @@ Page({
639
     app.globalData.inputValue = String(_this.data.inputValue);     //用户ID
639
     app.globalData.inputValue = String(_this.data.inputValue);     //用户ID
640
     app.globalData.age = String(_this.data.age);    //  年龄  
640
     app.globalData.age = String(_this.data.age);    //  年龄  
641
     app.globalData.height = String(_this.data.height);    //  身高  
641
     app.globalData.height = String(_this.data.height);    //  身高  
642
-    app.globalData.marry = String(_this.data.marry)  //  婚史  
642
+    // app.globalData.marry = String(_this.data.marry)  //  婚史  
643
-    app.globalData.idmarry = String(_this.data.idmarry)  //  婚史  
643
+    // app.globalData.idmarry = String(_this.data.idmarry)  //  婚史  
644
     app.globalData.education = String(_this.data.education)  //  学历  
644
     app.globalData.education = String(_this.data.education)  //  学历  
645
     app.globalData.educationid = String(_this.data.educationid)  //  学历  
645
     app.globalData.educationid = String(_this.data.educationid)  //  学历  
646
     app.globalData.income = String(_this.data.income);     //  收入 
646
     app.globalData.income = String(_this.data.income);     //  收入 

+ 3 - 3
pages/index_screen/index_screen.wxml

@@ -118,8 +118,8 @@
118
 
118
 
119
 
119
 
120
 
120
 
121
-
121
+     <!--  婚史 单项选择器-->
122
-            <view class="Choice_dx_box">     <!--  婚史 单项选择器-->
122
+            <!-- <view class="Choice_dx_box">
123
                         <picker  bindchange="MarriageEvent" value="{{Marriageindex}}" range="{{MarriageArray}}">
123
                         <picker  bindchange="MarriageEvent" value="{{Marriageindex}}" range="{{MarriageArray}}">
124
                                 
124
                                 
125
                                   <view class='Choice_dx c'>
125
                                   <view class='Choice_dx c'>
@@ -140,7 +140,7 @@
140
                                          </block>
140
                                          </block>
141
                                   </view>
141
                                   </view>
142
                       </picker>
142
                       </picker>
143
-            </view>
143
+            </view> -->
144
             
144
             
145
 
145
 
146
 
146
 

+ 48 - 2
pages/personal_core/personaldata/personaldata.js

@@ -16,16 +16,61 @@ Page({
16
     headurl: [],    //个人头像
16
     headurl: [],    //个人头像
17
 
17
 
18
 
18
 
19
-
19
+    uploadImages: [], //相册放大图集
20
+    albumimg: '', // 相册
21
+    albumimgurl: '',// 相册url
20
  
22
  
21
   },
23
   },
22
 
24
 
23
 
25
 
26
+  // 相册点击放大
27
+  enlarge: function (e) {
28
+    var that = this;
29
+    // console.log(that.data.uploadImages)
30
+    wx.previewImage({
31
+      urls: that.data.uploadImages,
32
+      current: e.currentTarget.dataset.src
33
+    })
34
+
35
+  },
36
+
24
 
37
 
25
 
38
 
26
   onShow: function (options) {
39
   onShow: function (options) {
27
     var that = this;
40
     var that = this;
28
 
41
 
42
+    //    个人相册
43
+    let albumimg_url = 'my/images/albumchange';
44
+    let albumimg_data = {
45
+
46
+    };
47
+    app.postRequest(albumimg_url, albumimg_data, function (res) {
48
+      // console.log(res.data.url);
49
+   
50
+      if (res.code == 201) {
51
+
52
+        //  对象转数组
53
+        var itemList = res.data;
54
+        //声明一个空的数组
55
+        var items = [];
56
+        //遍历数据
57
+        for (let i in itemList) {
58
+          //push到空数组里
59
+          items.push( itemList[i].img);
60
+        }
61
+
62
+        that.setData({
63
+          albumimg: res.data,
64
+          uploadImages: items,
65
+        })
66
+   
67
+      }
68
+    })
69
+
70
+
71
+
72
+
73
+
29
   //  个人信息
74
   //  个人信息
30
     let information_url = 'my/personaldata/personal';
75
     let information_url = 'my/personaldata/personal';
31
     let information_data = {
76
     let information_data = {
@@ -136,7 +181,7 @@ Page({
136
     var _this = this;
181
     var _this = this;
137
 
182
 
138
     wx.showActionSheet({
183
     wx.showActionSheet({
139
-      itemList: ['预览图片', '上传头像'],
184
+      itemList: ['预览头像', '上传头像'],
140
       success(res) {
185
       success(res) {
141
         // console.log(res.tapIndex)
186
         // console.log(res.tapIndex)
142
 
187
 
@@ -205,6 +250,7 @@ Page({
205
                                                   getApp().Tips(_qrcode2);
250
                                                   getApp().Tips(_qrcode2);
206
 
251
 
207
 
252
 
253
+
208
                                                 }, fail: function (d) {
254
                                                 }, fail: function (d) {
209
 
255
 
210
                                                 }
256
                                                 }

+ 44 - 16
pages/personal_core/personaldata/personaldata.wxml

@@ -67,6 +67,33 @@
67
 </view> -->
67
 </view> -->
68
 
68
 
69
 
69
 
70
+<!-- 个人相册 -->
71
+<view class='data_box' style='margin-top:20rpx;'>
72
+      <view class='data_title c'>
73
+                <view class='data_title_l'> <image src='/image/xtb1.png'  mode="widthFix" style='position:relative;top:6px;width: 40rpx;'></image> 个人相册</view>
74
+
75
+                <navigator class='data_title_r' hover-class="none" url="/pages/personal_core/Album/Album">
76
+                        <text>编辑</text>
77
+                        <image src='/image/personal5.png' mode="widthFix"></image>
78
+                </navigator>
79
+
80
+      </view>
81
+
82
+      <view class='Album_box c' wx:if="{{albumimg}}">
83
+                  <block wx:for='{{albumimg}}'  wx:key="item">  
84
+                          <view class='Album'  >
85
+                                  <image mode="aspectFill" class='Album_img'  src='{{item.img}}'  data-src='{{item.img}}'  bindtap='enlarge'></image>
86
+                          </view>
87
+                  </block>
88
+      </view>
89
+
90
+      <view  class='Album_box c' wx:else>
91
+             <text>您还没上传相册图片</text>
92
+      </view>
93
+
94
+</view>
95
+
96
+
70
 <!-- 个人信息 -->
97
 <!-- 个人信息 -->
71
 <view class='data_box' style='margin-top:20rpx;'>
98
 <view class='data_box' style='margin-top:20rpx;'>
72
       <view class='data_title c'>
99
       <view class='data_title c'>
@@ -78,16 +105,16 @@
78
                 </navigator>
105
                 </navigator>
79
       </view>
106
       </view>
80
 
107
 
81
-      <view class='data_list c'>
108
+      <view class=' c data_zjlist'>
82
-              <text wx:if='{{information.nickname}}'>{{information.nickname}}</text>
109
+              <text wx:if='{{information.nickname}}' class='on'>{{information.nickname}}</text>
83
-              <text wx:if='{{information.sex}}'>{{information.sex}}</text>
110
+              <text wx:if='{{information.sex}}'  class='on'>{{information.sex}}</text>
84
-              <text wx:if='{{information.age}}'>{{information.age}}</text>
111
+              <text wx:if='{{information.age}}'  class='on'>{{information.age}}</text>
85
-              <text wx:if='{{information.height}}'>{{information.height}}</text>
112
+              <text wx:if='{{information.height}}' class='on'>{{information.height}}</text>
86
-              <text wx:if='{{information.education}}'>{{information.education}}</text>
113
+              <text wx:if='{{information.education}}' class='on'>{{information.education}}</text>
87
-              <text wx:if='{{information.marry}}'>{{information.marry}}</text>
114
+              <text wx:if='{{information.marry}}' class='on'>{{information.marry}}</text>
88
               <text wx:if='{{information.income}}'>{{information.income}}</text>
115
               <text wx:if='{{information.income}}'>{{information.income}}</text>
89
               <text wx:if='{{information.occupation}}'>{{information.occupation}}</text>
116
               <text wx:if='{{information.occupation}}'>{{information.occupation}}</text>
90
-              <text wx:if='{{information.nickname &&  information.province && information.city}}'>{{information.province}}-{{information.city}}-{{information.area}}</text>
117
+              <text wx:if='{{information.nickname &&  information.province && information.city}}' class='in'>故乡:{{information.city_name}}</text>
91
       </view>
118
       </view>
92
 </view>
119
 </view>
93
 
120
 
@@ -105,14 +132,15 @@
105
                 
132
                 
106
       </view>
133
       </view>
107
 
134
 
108
-      <view class='data_list c' wx:if='{{optioninfocode.code == 201}}'>
135
+      <view class='c data_zolist' wx:if='{{optioninfocode.code == 201}}'>
109
-              <text  wx:if='{{optioninfo.age}}'>{{optioninfo.age}}</text>
136
+              <text>年龄:{{optioninfo.age ? optioninfo.age : '无需求'}}</text>
110
-              <text wx:if='{{optioninfo.marry}}'>{{optioninfo.marry}}</text>
137
+              <!-- <text wx:if='{{optioninfo.marry}}'>{{optioninfo.marry}}</text> -->
111
-              <text wx:if='{{optioninfo.height}}'>{{optioninfo.height}}</text>
138
+              <text>身高:{{optioninfo.height ? optioninfo.height : '无需求'}}</text>
112
-              <text wx:if='{{optioninfo.education}}'>{{optioninfo.education}}</text>
139
+              <text>地区:{{optioninfo.city? optioninfo.city : '无需求'}}</text>
113
-              <text wx:if='{{optioninfo.income_min && optioninfo.income_max}}'>{{optioninfo.income_min}}-{{optioninfo.income_max}}</text>
140
+              <text>学历:{{optioninfo.education && optioninfo.education !=0 ? optioninfo.education : '无需求'}}</text>
114
-              <text wx:if='{{optioninfo.occupation}}'>职业:{{optioninfo.occupation}}</text>
141
+              <text>收入:{{optioninfo.income_min}}-{{optioninfo.income_max}}</text>
115
-              <text wx:if='{{optioninfo.city}}'>{{optioninfo.city}}</text>
142
+              <text>职业:{{optioninfo.occupation && optioninfo.occupation !=0 ? optioninfo.occupation : '无需求'}}</text>
143
+ 
116
       </view>
144
       </view>
117
 
145
 
118
       <view class='data_list c' wx:else>
146
       <view class='data_list c' wx:else>

+ 22 - 2
pages/personal_core/personaldata/personaldata.wxss

@@ -36,7 +36,10 @@
36
 .data_title_r image{width:10rpx;position:relative;top:-2rpx;margin-left:16rpx;height:0;}
36
 .data_title_r image{width:10rpx;position:relative;top:-2rpx;margin-left:16rpx;height:0;}
37
 
37
 
38
 /* .data_list{margin-top:30rpx;} */
38
 /* .data_list{margin-top:30rpx;} */
39
-.data_list text{border:1px solid #E5E5E5;display:block;float:left;padding:10rpx 30rpx;border-radius:100rpx;font-size:28rpx;color:#292828;margin-right:30rpx;margin-top:30rpx}
39
+
40
+
41
+.data_zolist text{display:block;float:left;border-radius:8rpx;font-size:25rpx;color:#292828;margin-right:20rpx;margin-top:20rpx;width:47.9%;height:60rpx;text-align:center;line-height:60rpx;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;background:#ECF0FA;border:1px solid #E7EBF5;}
42
+.data_zolist text:nth-child(2n){margin-right:0;}
40
 .data_list_text{font-size:28rpx;color:#333;text-align:center;margin-top:60rpx;}
43
 .data_list_text{font-size:28rpx;color:#333;text-align:center;margin-top:60rpx;}
41
 
44
 
42
 /* 认证信息 */
45
 /* 认证信息 */
@@ -50,4 +53,21 @@
50
 
53
 
51
 /* 二维码 */
54
 /* 二维码 */
52
 .data_QRcode{border:1px dashed #D0D1D1;width:140rpx;height:140rpx;margin-top:30rpx;}
55
 .data_QRcode{border:1px dashed #D0D1D1;width:140rpx;height:140rpx;margin-top:30rpx;}
53
-.data_QRcode image{width:100%;height:100%;}
56
+.data_QRcode image{width:100%;height:100%;}
57
+
58
+
59
+
60
+
61
+.data_zjlist text{border:1px solid #E5E5E5;display:block;float:left;border-radius:8rpx;font-size:25rpx;color:#292828;margin-right:20rpx;margin-top:20rpx;width:47.9%;height:60rpx;text-align:center;line-height:60rpx;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;background:#F2F2F2;}
62
+.data_zjlist text.on{width:30.8%  !important;}
63
+.data_zjlist text.in{width:100%  !important;}
64
+.data_zjlist text:nth-child(3){margin-right:0;}
65
+.data_zjlist text:nth-child(6){margin-right:0;}
66
+.data_zjlist text:nth-child(8){margin-right:0;}
67
+
68
+
69
+.Album_box{margin-top:30rpx;}
70
+.Album_box  .Album:nth-child(4n){margin-right:0;}
71
+.Album{width:23.7%;height:161.8rpx;float:left;margin-right:1.7%;margin-bottom:13rpx;position:relative;border-radius:10rpx;overflow:hidden;}
72
+.Album .Album_img{width:100%;height:100%;}
73
+.Album_box text{display:block;text-align:center;font-size:28rpx;color:#333;}

+ 6 - 2
pages/personal_core/personaldataModifythe/personaldataModifythe.js

@@ -1,5 +1,4 @@
1
 const app = getApp();
1
 const app = getApp();
2
-
3
 Page({
2
 Page({
4
 
3
 
5
   data: {
4
   data: {
@@ -567,9 +566,14 @@ Page({
567
                   icon: 'success',
566
                   icon: 'success',
568
                   duration: 2000
567
                   duration: 2000
569
                 })
568
                 })
570
-
569
+            return;
571
           }
570
           }
572
 
571
 
572
+      var fail = res.data.nickname[0];    //调用提示框
573
+      getApp().Tips(fail)
574
+
575
+
576
+
573
       })
577
       })
574
 
578
 
575
   },
579
   },

+ 29 - 29
pages/personal_core/requirements/requirements.js

@@ -13,8 +13,8 @@ Page({
13
     EducationArray: [], // 学历-数据
13
     EducationArray: [], // 学历-数据
14
     Educationindex: '',  // 学历-下标
14
     Educationindex: '',  // 学历-下标
15
 
15
 
16
-    MarriageArray: [], // 婚史-数据
16
+    // MarriageArray: [], // 婚史-数据
17
-    Marriageindex: '',  // 婚史-下标
17
+    // Marriageindex: '',  // 婚史-下标
18
 
18
 
19
     incomeid:0,
19
     incomeid:0,
20
     incomeArray: [], // 收入-数据
20
     incomeArray: [], // 收入-数据
@@ -38,7 +38,7 @@ Page({
38
     city: '',     // 市
38
     city: '',     // 市
39
     area: '',     // 区
39
     area: '',     // 区
40
     education: '',    //  学历  
40
     education: '',    //  学历  
41
-    marry: '',    //   婚史 
41
+    // marry: '',    //   婚史 
42
     income: '',     //  收入 
42
     income: '',     //  收入 
43
     occupation: '',     //  职业  
43
     occupation: '',     //  职业  
44
 
44
 
@@ -259,21 +259,21 @@ Page({
259
 
259
 
260
 
260
 
261
       //  婚史 ajax
261
       //  婚史 ajax
262
-      let Marriage_url = 'public/paramsgather?type=marriage';
262
+      // let Marriage_url = 'public/paramsgather?type=marriage';
263
-      let Marriage_data = {
263
+      // let Marriage_data = {
264
-        pid: '0'
264
+      //   pid: '0'
265
-      };
265
+      // };
266
 
266
 
267
   
267
   
268
-      app.postRequest(Marriage_url, Marriage_data, function (res) {      //  婚史 ajax
268
+      // app.postRequest(Marriage_url, Marriage_data, function (res) {      //  婚史 ajax
269
-        if (res.code == 201) {
269
+      //   if (res.code == 201) {
270
-                that.setData({
270
+      //           that.setData({
271
-                  MarriageArray: res.data
271
+      //             MarriageArray: res.data
272
-                })
272
+      //           })
273
 
273
 
274
-        }
274
+      //   }
275
 
275
 
276
-      })
276
+      // })
277
 
277
 
278
       //  收入 ajax
278
       //  收入 ajax
279
       let income_url = 'public/paramsgather?type=shouru1';
279
       let income_url = 'public/paramsgather?type=shouru1';
@@ -383,12 +383,12 @@ Page({
383
           city: res.data.city,     // 市
383
           city: res.data.city,     // 市
384
           area: res.data.area,     // 区
384
           area: res.data.area,     // 区
385
           education: res.data.education,    //  学历  
385
           education: res.data.education,    //  学历  
386
-          marry: res.data.marry,    //   婚史 
386
+          // marry: res.data.marry,    //   婚史 
387
           income: _income,     //  收入 
387
           income: _income,     //  收入 
388
           occupation: res.data.occupation,     //  职业
388
           occupation: res.data.occupation,     //  职业
389
 
389
 
390
         
390
         
391
-          Marriageindex: res.data.marry,    //   婚史 
391
+          // Marriageindex: res.data.marry,    //   婚史 
392
 
392
 
393
     
393
     
394
           personacodel: res,    //获取全部数据
394
           personacodel: res,    //获取全部数据
@@ -528,16 +528,16 @@ Page({
528
     })
528
     })
529
   },
529
   },
530
 
530
 
531
-  MarriageEvent: function (e) {   //  婚史    单项选择器
531
+  // MarriageEvent: function (e) {   //  婚史    单项选择器
532
-    // console.log(this);
532
+  //   // console.log(this);
533
-    // console.log(e);
533
+  //   // console.log(e);
534
-    // console.log(this.data.MarriageArray[e.detail.value]);
534
+  //   // console.log(this.data.MarriageArray[e.detail.value]);
535
-    // console.log('picker发送选择改变,携带值为', e.detail.value)
535
+  //   // console.log('picker发送选择改变,携带值为', e.detail.value)
536
-    this.setData({
536
+  //   this.setData({
537
-      Marriageindex: e.detail.value,
537
+  //     Marriageindex: e.detail.value,
538
-      marry: e.detail.value
538
+  //     marry: e.detail.value
539
-    })
539
+  //   })
540
-  },
540
+  // },
541
 
541
 
542
   incomeEvent: function (e) {   //  收入    单项选择器
542
   incomeEvent: function (e) {   //  收入    单项选择器
543
     var that = this;
543
     var that = this;
@@ -770,7 +770,7 @@ Page({
770
         // console.log(this.data.age);              //  年龄 
770
         // console.log(this.data.age);              //  年龄 
771
         console.log(this.data.height);           //  身高 
771
         console.log(this.data.height);           //  身高 
772
         console.log(this.data.education);      //  学历  
772
         console.log(this.data.education);      //  学历  
773
-        console.log(this.data.marry);          //   婚史 
773
+        // console.log(this.data.marry);          //   婚史 
774
         console.log(this.data.income);        //  收入 
774
         console.log(this.data.income);        //  收入 
775
         console.log(this.data.province);       //  省 
775
         console.log(this.data.province);       //  省 
776
         console.log(this.data.city);              //  市 
776
         console.log(this.data.city);              //  市 
@@ -786,7 +786,7 @@ Page({
786
         var city = this.data.city                       // 市
786
         var city = this.data.city                       // 市
787
         var area = this.data.area                     // 区
787
         var area = this.data.area                     // 区
788
         var education = this.data.education  //  学历  
788
         var education = this.data.education  //  学历  
789
-        var marry = this.data.marry                 //   婚史 
789
+        // var marry = this.data.marry                 //   婚史 
790
         var income = this.data.income             //  收入 
790
         var income = this.data.income             //  收入 
791
         var occupation = this.data.occupation  //  职业
791
         var occupation = this.data.occupation  //  职业
792
 
792
 
@@ -801,7 +801,7 @@ Page({
801
                       city: this.data.city,     // 市
801
                       city: this.data.city,     // 市
802
                       area: this.data.area,     // 区
802
                       area: this.data.area,     // 区
803
                       education: this.data.education,    //  学历  
803
                       education: this.data.education,    //  学历  
804
-                      marry: this.data.marry,    //   婚史 
804
+                      // marry: this.data.marry,    //   婚史 
805
                       income: _income,     //  收入 
805
                       income: _income,     //  收入 
806
                       occupation: this.data.occupation,     //  职业
806
                       occupation: this.data.occupation,     //  职业
807
 
807
 

+ 3 - 3
pages/personal_core/requirements/requirements.wxml

@@ -162,8 +162,8 @@
162
 
162
 
163
 
163
 
164
 
164
 
165
-
165
+<!--  婚史 单项选择器-->
166
-<view class="Choice_dx_box" data-asd="{{MarriageArray[Marriageindex]}}">     <!--  婚史 单项选择器-->
166
+<!-- <view class="Choice_dx_box" data-asd="{{MarriageArray[Marriageindex]}}">     
167
             <picker  bindchange="MarriageEvent" value="{{Marriageindex}}" range="{{MarriageArray}}">
167
             <picker  bindchange="MarriageEvent" value="{{Marriageindex}}" range="{{MarriageArray}}">
168
                     
168
                     
169
                       <view class='Choice_dx c'>
169
                       <view class='Choice_dx c'>
@@ -183,7 +183,7 @@
183
                                 
183
                                 
184
                       </view>
184
                       </view>
185
           </picker>
185
           </picker>
186
-</view>
186
+</view> -->
187
 
187
 
188
 
188
 
189
    <!--  收入 双选-->
189
    <!--  收入 双选-->

+ 2 - 2
pages/zheo_More/zheo_More.wxml

@@ -42,7 +42,7 @@
42
                     </view>
42
                     </view>
43
         </view>
43
         </view>
44
 
44
 
45
-        <view class="Choice_dx_box"  wx:if="{{optioninfo.marry}}">  
45
+        <!-- <view class="Choice_dx_box"  wx:if="{{optioninfo.marry}}">  
46
                     <view class='Choice_dx c'>
46
                     <view class='Choice_dx c'>
47
                           <view class="Choice_dx_title">婚史</view>
47
                           <view class="Choice_dx_title">婚史</view>
48
 
48
 
@@ -50,7 +50,7 @@
50
                               {{optioninfo.marry}}
50
                               {{optioninfo.marry}}
51
                           </view> 
51
                           </view> 
52
                     </view>
52
                     </view>
53
-        </view>
53
+        </view> -->
54
 
54
 
55
         <view class="Choice_dx_box"  wx:if="{{optioninfo.income_min}}">  
55
         <view class="Choice_dx_box"  wx:if="{{optioninfo.income_min}}">  
56
                     <view class='Choice_dx c'>
56
                     <view class='Choice_dx c'>