Your Name 5 роки тому
батько
коміт
11d3d92e6a
44 змінених файлів з 216 додано та 204 видалено
  1. 7 12
      app.js
  2. 2 1
      app.json
  3. BIN
      image/fangc.jpg
  4. BIN
      image/jz.gif
  5. BIN
      image/jz1.gif
  6. BIN
      image/m_aq.png
  7. BIN
      image/m_fx.png
  8. BIN
      image/m_jm.png
  9. BIN
      image/m_qr.png
  10. BIN
      image/m_sz.png
  11. BIN
      image/m_wx.png
  12. BIN
      image/m_xm.png
  13. BIN
      image/xueli.jpg
  14. 19 2
      pages/Setup/Aboutus/Aboutus.js
  15. 6 6
      pages/Setup/Aboutus/Aboutus.wxml
  16. 1 1
      pages/Setup/Aboutus/Aboutus.wxss
  17. 20 3
      pages/Setup/Contactus/Contactus.js
  18. 8 7
      pages/Setup/Contactus/Contactus.wxml
  19. 16 47
      pages/Setup/Publicaddress/Publicaddress.js
  20. 1 1
      pages/Setup/Publicaddress/Publicaddress.json
  21. 4 4
      pages/Setup/Publicaddress/Publicaddress.wxml
  22. 2 0
      pages/Setup/Setuplist/Setuplist.js
  23. 3 3
      pages/Setup/modify/modify.wxml
  24. 1 1
      pages/chat-list/chat-list.wxml
  25. 1 1
      pages/index/index.json
  26. 6 6
      pages/index/index.wxml
  27. 1 3
      pages/index/waitfor/waitfor.js
  28. 1 1
      pages/index/waitfor/waitfor.json
  29. 1 0
      pages/index/waitfor/waitfor.wxml
  30. 20 15
      pages/information/chat/chat.js
  31. 3 2
      pages/information/chat/chat.wxml
  32. 18 0
      pages/payment/Member/Member.js
  33. 3 2
      pages/payment/Member/Member.wxml
  34. 1 1
      pages/personal_core/Adegreein/Adegreein.wxml
  35. 1 1
      pages/personal_core/Realestate/Realestate.wxml
  36. 1 1
      pages/personal_core/home/home.js
  37. 3 3
      pages/personal_core/home/home.wxml
  38. 3 3
      pages/personal_core/home_list/home_list.wxml
  39. 2 2
      pages/personal_core/personaldata/personaldata.wxml
  40. 46 64
      pages/personal_core/requirements/requirements.js
  41. 8 8
      pages/personal_core/requirements/requirements.wxml
  42. 3 1
      pages/register/OwnData/OwnData.json
  43. 3 1
      pages/register/fillTel/fillTel.json
  44. 1 1
      pages/register/fillTel/fillTel.wxml

+ 7 - 12
app.js

@@ -9,32 +9,27 @@ App({
9 9
   judge_Land() {
10 10
 
11 11
     try {
12
+      console.log(wx.getStorageSync('access_token'), '注册');
13
+      console.log(wx.getStorageSync('wx_id'), '授权');
12 14
       if (wx.getStorageSync('access_token')) {   //是否注册过
13
-
15
+        console.log('列表页');
14 16
         wx.reLaunch({
15 17
           url: '/pages/index/index'        //注册过 进入首页
16 18
         })
17 19
 
18 20
       } else if (wx.getStorageSync('wx_id')) {  //是否授权
19
-        // console.log(2);
21
+        console.log('登陆页');
20 22
         wx.reLaunch({
21 23
           url: '/pages/Landpage/Land/Land'    //授权过 进入登陆页
22 24
         })
23 25
       } else {
26
+        console.log('授权页');
24 27
         wx.reLaunch({
25 28
           url: '/pages/Jurisdiction/click_Jurisdiction/click_Jurisdiction'   //未授权  进入授权页
26 29
         })
27 30
       }
28
-      // const value = wx.getStorageSync('access_token')
29
-      // if (value) {
30
-      //   // console.log(1234)
31
-      //   console.log(value);
32
-      //   // Do something with return value
33
-      // }else{
34
-      //   wx.reLaunch({
35
-      //     url: '/pages/Landpage/Land/Land'    //授权过 进入登陆页
36
-      //   })  
37
-      // }
31
+
32
+    
38 33
     } catch (e) {
39 34
       // Do something when catch error
40 35
     }

+ 2 - 1
app.json

@@ -1,5 +1,6 @@
1 1
 {
2 2
   "pages": [
3
+        "pages/personal_core/requirements/requirements",
3 4
   "pages/index/waitfor/waitfor",
4 5
   "pages/index/index",
5 6
   "pages/Jurisdiction/click_Jurisdiction/click_Jurisdiction",
@@ -19,7 +20,7 @@
19 20
    "pages/Setup/Setuplist/Setuplist",
20 21
    "pages/payment/Member/Member",
21 22
     "pages/personal_core/Album/Album",
22
-     "pages/personal_core/requirements/requirements",
23
+
23 24
     "pages/personal_core/personaldataModifythe/personaldataModifythe",
24 25
     "pages/personal_core/QRcode/QRcode",
25 26
     "pages/personal_core/home/home",

BIN
image/fangc.jpg




BIN
image/m_aq.png


BIN
image/m_fx.png


BIN
image/m_jm.png


BIN
image/m_qr.png


BIN
image/m_sz.png


BIN
image/m_wx.png


BIN
image/m_xm.png


BIN
image/xueli.jpg


+ 19 - 2
pages/Setup/Aboutus/Aboutus.js

@@ -4,12 +4,29 @@ Page({
4 4
 
5 5
 
6 6
   data: {
7
-
7
+    optioninfo: '',
8 8
   },
9 9
 
10 10
 
11 11
   onLoad: function (options) {
12
-
12
+    var that = this;
13
+
14
+    // getApp().showLoading();   //提示加载中
15
+    //  认证信息
16
+    let optioninfo_url = 'other/about/details';
17
+    let optioninfo_data = {
18
+      // uid: options.uid,
19
+    };
20
+    app.getRequest(optioninfo_url, optioninfo_data, function (res) {
21
+      console.log(res.data);
22
+      if (res.code == 201) {
23
+
24
+        that.setData({
25
+          optioninfo: res.data,
26
+
27
+        })
28
+      }
29
+    })
13 30
   },
14 31
 
15 32
 

Різницю між файлами не показано, бо вона завелика
+ 6 - 6
pages/Setup/Aboutus/Aboutus.wxml


+ 1 - 1
pages/Setup/Aboutus/Aboutus.wxss

@@ -1,5 +1,5 @@
1 1
 
2
-.m_logo{width:200rpx;height:200rpx;margin:auto;border-radius:20rpx;overflow:hidden;margin-top:40rpx;}
2
+.m_logo{width:255rpx;height:215rpx;margin:auto;border-radius:20rpx;overflow:hidden;margin-top:40rpx;position:relative;left:17rpx;}
3 3
 .m_logo image{width:100%;height:100%;}
4 4
 
5 5
 .m_text{width:85%;padding:20rpx;margin:auto;margin-top:60rpx;background:#F5F5F5;border-radius:10rpx;font-size:26rpx;color:#333;line-height:48rpx;}

+ 20 - 3
pages/Setup/Contactus/Contactus.js

@@ -1,13 +1,30 @@
1
-
1
+const app = getApp();
2 2
 Page({
3 3
 
4 4
 
5 5
   data: {
6
-
6
+    optioninfo:'',
7 7
   },
8 8
 
9 9
   onLoad: function (options) {
10
-
10
+    var that = this;
11
+
12
+    // getApp().showLoading();   //提示加载中
13
+    //  认证信息
14
+    let optioninfo_url = 'other/about/details';
15
+    let optioninfo_data = {
16
+      // uid: options.uid,
17
+    };
18
+    app.getRequest(optioninfo_url, optioninfo_data, function (res) {
19
+      console.log(res.data);
20
+      if (res.code == 201) {
21
+
22
+        that.setData({
23
+          optioninfo: res.data,
24
+
25
+        })
26
+      }
27
+    })
11 28
   },
12 29
 
13 30
 

+ 8 - 7
pages/Setup/Contactus/Contactus.wxml

@@ -2,24 +2,25 @@
2 2
         <view class='yzlist c' >
3 3
                 <text>客服微信</text>
4 4
 
5
-                <view class='yzlist_text'>ninkefu01</view>
5
+                <view class='yzlist_text'>{{optioninfo.wx_id}}</view>
6 6
         </view>
7 7
 
8 8
         <view class='yzlist c'>
9 9
                 <text>客服邮箱</text>
10 10
 
11
-                <view class='yzlist_text'>nini@ninihl.com</view>
11
+                <view class='yzlist_text'>{{optioninfo.email}}</view>
12 12
         </view>
13 13
 
14
-        <view class='yzlist c'>
14
+        <!-- <view class='yzlist c'>
15 15
                 <text>官方网址</text>
16 16
 
17 17
                 <view class='yzlist_text'>www.ninihl.com</view>
18
-        </view>
18
+        </view> -->
19 19
 
20 20
         <view class='yzlist c' >
21
-                <text>微信公众号</text>
22
-
23
-                <view class='yzlist_text'>搜索"约会邦"或"ninihunlian"</view>
21
+                <navigator hover-class="none" class='c' url="/pages/Setup/Publicaddress/Publicaddress">
22
+                    <text>微信公众号</text>
23
+                    <view class='yzlist_text'>搜索"佳人佳缘"</view>
24
+                </navigator>
24 25
         </view>
25 26
 </view>

+ 16 - 47
pages/Setup/Publicaddress/Publicaddress.js

@@ -1,68 +1,37 @@
1
-// pages/Setup/Publicaddress/Publicaddress.js
1
+const app = getApp();
2 2
 Page({
3 3
 
4 4
   /**
5 5
    * 页面的初始数据
6 6
    */
7 7
   data: {
8
-
8
+    optioninfo: '',
9 9
   },
10 10
 
11 11
   /**
12 12
    * 生命周期函数--监听页面加载
13 13
    */
14 14
   onLoad: function (options) {
15
+    var that = this;
15 16
 
16
-  },
17
-
18
-  /**
19
-   * 生命周期函数--监听页面初次渲染完成
20
-   */
21
-  onReady: function () {
22
-
23
-  },
24
-
25
-  /**
26
-   * 生命周期函数--监听页面显示
27
-   */
28
-  onShow: function () {
29
-
30
-  },
31
-
32
-  /**
33
-   * 生命周期函数--监听页面隐藏
34
-   */
35
-  onHide: function () {
36
-
37
-  },
38
-
39
-  /**
40
-   * 生命周期函数--监听页面卸载
41
-   */
42
-  onUnload: function () {
43
-
44
-  },
45
-
46
-  /**
47
-   * 页面相关事件处理函数--监听用户下拉动作
48
-   */
49
-  onPullDownRefresh: function () {
50 17
 
51
-  },
18
+    //  认证信息
19
+    let optioninfo_url = 'other/about/details';
20
+    let optioninfo_data = {
21
+      // uid: options.uid,
22
+    };
23
+    app.getRequest(optioninfo_url, optioninfo_data, function (res) {
24
+      console.log(res.data);
25
+      if (res.code == 201) {
52 26
 
53
-  /**
54
-   * 页面上拉触底事件的处理函数
55
-   */
56
-  onReachBottom: function () {
27
+        that.setData({
28
+          optioninfo: res.data,
57 29
 
30
+        })
31
+      }
32
+    })
58 33
   },
59 34
 
60
-  /**
61
-   * 用户点击右上角分享
62
-   */
63
-  onShareAppMessage: function () {
64
-
65
-  },
66 35
 
67 36
 
68 37
 

+ 1 - 1
pages/Setup/Publicaddress/Publicaddress.json

@@ -1,3 +1,3 @@
1 1
 {
2
-  "navigationBarTitleText": "约会邦微信公众号"
2
+  "navigationBarTitleText": "佳人佳缘微信公众号"
3 3
 }

+ 4 - 4
pages/Setup/Publicaddress/Publicaddress.wxml

@@ -2,14 +2,14 @@
2 2
 
3 3
 <view class="m_gzh_box">
4 4
             <view style='height:40rpx;'></view>
5
-            <view class="m_2wm"><image src='/image/ico_weibo02.png' mode="aspectFill"></image></view>
5
+            <view class="m_2wm"><image src='{{optioninfo.wx_code_img}}' mode="aspectFill"></image></view>
6 6
 
7 7
             <view class='m_gzh_text'>
8
-                   <text class='title'>如何关注约会邦微信公众号?</text>
8
+                   <text class='title'>如何关注佳人佳缘微信公众号?</text>
9 9
                     <view class='text_box'>
10 10
                  
11
-                        <view class='text'>1.点击右上角   <image src='/image/gd.png' mode="widthFix"></image>  选择【关于约会邦婚恋相亲征婚找对象平台】</view>
12
-                        <text class='text'>2.点击相关公众号,选择【约会邦】</text>
11
+                        <view class='text'>1.点击右上角   <image src='/image/gd.png' mode="widthFix"></image>  选择【关于佳人佳缘婚恋相亲征婚找对象平台】</view>
12
+                        <text class='text'>2.点击相关公众号,选择【佳人佳缘】</text>
13 13
                         <text class='text'>3.点击【关注公众号】即可进行关注</text>
14 14
                    </view>
15 15
             </view>

+ 2 - 0
pages/Setup/Setuplist/Setuplist.js

@@ -15,10 +15,12 @@ Page({
15 15
 
16 16
   register:function(){
17 17
     var user = wx.getStorageSync('user');
18
+    var Jurisdiction = wx.getStorageSync('wx_id');
18 19
     wx.clearStorageSync();
19 20
 
20 21
     try {
21 22
       wx.setStorageSync('user', user)
23
+      wx.setStorageSync('wx_id', Jurisdiction)
22 24
     } catch (e) {
23 25
     }
24 26
 

+ 3 - 3
pages/Setup/modify/modify.wxml

@@ -2,21 +2,21 @@
2 2
 <view class='form'>
3 3
        <view class='form_zh'>
4 4
             <view class='form_zh_img1'>
5
-                  <image  src='/image/dl3.png' mode="widthFix"></image>
5
+                  <image  src='/image/m_jm.png' mode="widthFix"></image>
6 6
             </view> 
7 7
             <input  password type="text"  placeholder="请输入旧的密码"  value="{{used_value}}"   bindinput="used_password"></input>
8 8
        </view>
9 9
 
10 10
        <view class='form_zh'>
11 11
             <view class='form_zh_img1'>
12
-                  <image  src='/image/dl3.png' mode="widthFix"></image>
12
+                  <image  src='/image/m_xm.png' mode="widthFix"></image>
13 13
             </view> 
14 14
             <input  password type="text"  placeholder="请输入新的密码"  value="{{password_value}}"   bindinput="password"></input>
15 15
        </view>
16 16
 
17 17
        <view class='form_zh'>
18 18
             <view class='form_zh_img1'>
19
-                  <image  src='/image/dl3.png' mode="widthFix"></image>
19
+                  <image  src='/image/m_qr.png' mode="widthFix"></image>
20 20
             </view> 
21 21
             <input  password type="text"  placeholder="再次输入新的密码"  value="{{qpassword_value}}"   bindinput="qpassword"></input>
22 22
        </view>

+ 1 - 1
pages/chat-list/chat-list.wxml

@@ -9,7 +9,7 @@
9 9
         <view class='m_container' bindtouchstart='touchstart'  bindtouchmove='touchmove'>
10 10
                <template is="chat-item" data="{{item,isTouchMove}}"/>     <!-- 聊天用户列表 -->
11 11
 
12
-               <view class='delete'>删除</view>
12
+               <!-- <view class='delete'>删除</view> -->
13 13
         </view>
14 14
     </block>
15 15
 

+ 1 - 1
pages/index/index.json

@@ -1,3 +1,3 @@
1 1
 {
2
-  "navigationBarTitleText": "约会绑"
2
+  "navigationBarTitleText": "佳人佳缘"
3 3
 }

+ 6 - 6
pages/index/index.wxml

@@ -219,15 +219,15 @@
219 219
                                   </view>
220 220
 
221 221
                                   <view class='m_Age c'>
222
-                                      <text>ID: {{item.number}}</text>
223
-                                      <text>{{item.age}}</text>
222
+                                      <text wx:if="{{item.number}}">ID: {{item.number}}</text>
223
+                                      <text wx:if="{{item.age}}">{{item.age}}</text>
224 224
                                   </view>
225 225
                                 
226 226
                                   <view class='m_text'>
227
-                                          <text>{{item.education}}</text>
228
-                                          <text>{{item.marry}}</text>
229
-                                          <text>{{item.occupation}}</text>
230
-                                          <text>{{item.income}}/月</text>
227
+                                          <!-- <text wx:if="{{item.education}}">{{item.education}}</text> -->
228
+                                          <text wx:if="{{item.marry}}">{{item.marry}}</text>
229
+                                          <text wx:if="{{item.occupation}}">{{item.occupation}}</text>
230
+                                          <text wx:if="{{item.income}}">{{item.income}}/月</text>
231 231
                                   </view>
232 232
                         </view>
233 233
                 </view>

+ 1 - 3
pages/index/waitfor/waitfor.js

@@ -19,9 +19,7 @@ Page({
19 19
    * 生命周期函数--监听页面初次渲染完成
20 20
    */
21 21
   onReady: function () {
22
-    wx.showLoading({
23
-      title: '加载中',
24
-    })
22
+
25 23
   },
26 24
 
27 25
   /**

+ 1 - 1
pages/index/waitfor/waitfor.json

@@ -1,3 +1,3 @@
1 1
 {
2
-  "navigationBarTitleText": "约会绑"
2
+  "navigationBarTitleText": "佳人佳缘"
3 3
 }

+ 1 - 0
pages/index/waitfor/waitfor.wxml

@@ -0,0 +1 @@
1
+<loading>加载中...</loading>

+ 20 - 15
pages/information/chat/chat.js

@@ -250,10 +250,15 @@ Page({
250 250
               isMy: true,   //自己
251 251
               send: true,   //    发送成功  为true   失败false 
252 252
             };
253
+
254
+
253 255
             let _Receive_news = that.data.Receive_news;
254
-            _Receive_news.push(obj);   //合并历史消息对象
256
+            if (typeof _Receive_news == 'object') {
257
+              _Receive_news.push(obj);      //合并历史消息对象
258
+            }
259
+
255 260
 
256
-            console.log(_Receive_news, 'aaa');
261
+            // console.log(_Receive_news, 'aaa');
257 262
             that.setData({
258 263
               Receive_news: _Receive_news,     //前台数据赋值 
259 264
             });
@@ -465,20 +470,7 @@ Page({
465 470
 
466 471
   },
467 472
 
468
-  // 处理滚动条
469
-  scrollbar: function (data) {
470
-    var that = this;
471
-    if (data) {
472
-      let lengNum = data.length;
473
-      //页面滚动条处理
474
-
475
-      that.setData({
476
-        scrollTopVal: lengNum * 999
477
-      })
478
-      console.log(lengNum * 999);
479
-    }
480 473
 
481
-  },
482 474
 
483 475
   // 发送消息事件  用来获取input数据
484 476
   Sendout: function (e) {
@@ -621,5 +613,18 @@ Page({
621 613
   //   // console.log(e.detail);
622 614
   // }
623 615
 
616
+  // 处理滚动条
617
+  scrollbar: function (data) {
618
+    var that = this;
619
+    if (data.length > 1) {
620
+      let lengNum = data.length;
621
+      //页面滚动条处理
622
+    
623
+      that.setData({
624
+        scrollTopVal: lengNum * 999
625
+      })
626
+      console.log(lengNum * 999);
627
+    }
624 628
 
629
+  },
625 630
 })

+ 3 - 2
pages/information/chat/chat.wxml

@@ -7,7 +7,7 @@
7 7
    <!-- bindtouchend="cheshi" -->
8 8
 
9 9
 <view class='Load_img_box' hidden="{{hiddenName}}">
10
-    <view class='Load_img'><image src='/image/jz.png' mode="aspectFill"></image></view>
10
+    <view class='Load_img'><image src='/image/jz1.gif' mode="aspectFill"></image></view>
11 11
 </view>
12 12
 
13 13
 <scroll-view class="history"     scroll-top="{{scrollTopVal}}"    scroll-y="true"  bindtap="resetInputStatus"  bindscrolltoupper="upper"   scroll-into-view="{{toView}}" >
@@ -92,7 +92,8 @@
92 92
                        adjust-position="true" 
93 93
                        bindconfirm="Sendout"
94 94
                        bindfocus="bindfocusclick"
95
-                       confirm-hold="true"
95
+                       
96
+                       
96 97
                        ></input>
97 98
                   </view>
98 99
 

+ 18 - 0
pages/payment/Member/Member.js

@@ -10,6 +10,7 @@ Page({
10 10
     Originalprice: '',   //价格
11 11
     day: '', //  天
12 12
     Priceid: '', //  价格ID
13
+    memberstatus:'', //会员状态
13 14
   },
14 15
 
15 16
   onLoad: function (options) {
@@ -49,6 +50,20 @@ Page({
49 50
     
50 51
     })
51 52
 
53
+
54
+    //  会员状态
55
+    let memberstatus_url = 'pay/recharge/memberstatus';
56
+    let memberstatus_data = {
57
+    };
58
+    app.postRequest(memberstatus_url, memberstatus_data, function (res) {
59
+      if (res.code == 201) {
60
+        // console.log(res.data,6666);
61
+        that.setData({
62
+          memberstatus: res.data
63
+        })
64
+      }
65
+    })
66
+
52 67
   },
53 68
 
54 69
   // OccupationEvent: function (e) {   //  职业    单项选择器
@@ -155,6 +170,9 @@ Page({
155 170
                     icon: 'success',
156 171
                     duration: 2000
157 172
                   })
173
+
174
+                  _that.onLoad();
175
+
158 176
                 },
159 177
                 fail(res) {
160 178
                   getApp().Tips('支付失败');

+ 3 - 2
pages/payment/Member/Member.wxml

@@ -36,11 +36,12 @@
36 36
 
37 37
  -->
38 38
 
39
-<view class='Tips'>未开通</view> 
39
+<view class='Tips' wx:if="{{memberstatus.state == 2}}">未开通</view> 
40
+<view class='Tips'  data-ss="{{memberstatus.state}}"  wx:else>已开通</view> 
40 41
 
41 42
 <view class='m_head_img'><image src="/image/m.zhif.png" mode="aspectFill"></image></view>
42 43
 
43
-<view class='Payment_List_box'>
44
+<view class='Payment_List_box'  wx:if="{{memberstatus.state ==  2}}">
44 45
          <view class='Payment_List'>
45 46
                      <radio-group bindchange="checkboxChange">  <!-- 勾选组件 -->
46 47
                                

+ 1 - 1
pages/personal_core/Adegreein/Adegreein.wxml

@@ -8,7 +8,7 @@
8 8
                   <!-- 手持身份证照 -->
9 9
                 <view class='sfzyz_upload_t c'>
10 10
                         <view class='sfzyz_upload_l'>
11
-                                <image src="/image/smyz2.png"  mode="aspectFill"></image>
11
+                                <image src="/image/xueli.jpg"  mode="aspectFill"></image>
12 12
                                 <text>示例照片</text>
13 13
                         </view>
14 14
 

+ 1 - 1
pages/personal_core/Realestate/Realestate.wxml

@@ -8,7 +8,7 @@
8 8
                   <!-- 手持身份证照 -->
9 9
                 <view class='sfzyz_upload_t c'>
10 10
                         <view class='sfzyz_upload_l'>
11
-                                <image src="/image/smyz2.png" mode="aspectFill"></image>
11
+                                <image src="/image/fangc.jpg" mode="aspectFill"></image>
12 12
                                 <text>示例照片</text>
13 13
                         </view>
14 14
 

+ 1 - 1
pages/personal_core/home/home.js

@@ -69,7 +69,7 @@ Page({
69 69
     };
70 70
     app.postRequest(memberstatus_url, memberstatus_data, function (res) {
71 71
       if (res.code == 201) {
72
-        console.log(res.data,6666);
72
+        // console.log(res.data,6666);
73 73
         that.setData({
74 74
           memberstatus: res.data.messages
75 75
         })

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

@@ -57,7 +57,7 @@
57 57
        <button  open-type="share"  plain="true" >
58 58
               <view class='data_list c'>
59 59
                     <view class='data_list_l'>
60
-                            <image src='/image/m_core4.png' mode="widthFix"></image>
60
+                            <image src='/image/m_fx.png' mode="widthFix"></image>
61 61
                             <text>分享给朋友</text>
62 62
                     </view>
63 63
                     <!-- <view class='data_list_r'>{{memberstatus}}</view> -->
@@ -66,7 +66,7 @@
66 66
 
67 67
         <navigator class='data_list c' hover-class="none" url='/pages/personal_core/remind/remind'>
68 68
               <view class='data_list_l'>
69
-                      <image src='/image/m_core4.png' mode="widthFix"></image>
69
+                      <image src='/image/m_aq.png' mode="widthFix"></image>
70 70
                       <text>安全征婚提示</text>
71 71
               </view>
72 72
               <!-- <view class='data_list_r'>{{memberstatus}}</view> -->
@@ -75,7 +75,7 @@
75 75
 
76 76
         <navigator class='data_list c' hover-class="none" url="/pages/Setup/Setuplist/Setuplist">
77 77
               <view class='data_list_l'>
78
-                      <image src='/image/m_core2.png' mode="widthFix"></image>
78
+                      <image src='/image/m_sz.png' mode="widthFix"></image>
79 79
                       <text>设置</text>
80 80
               </view>
81 81
               <view class='data_list_r'></view>

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

@@ -1,11 +1,11 @@
1 1
 <view class="yzlist_box">
2 2
 <!-- url="/pages/personal_core/Realname/Realname"  -->
3
-        <navigator class='yzlist'  hover-class="none" bindtap="faceid">
3
+        <view class='yzlist'  hover-class="none" bindtap="faceid">
4 4
                 <image src='/image/yz1.png' mode="widthFix"></image>
5 5
                 <text>实名认证</text>
6 6
 
7 7
                 <view class='yzlist_text'>{{optioninfo.shenfenzheng.status}}</view>
8
-        </navigator>
8
+        </view>
9 9
 
10 10
         <!-- <navigator class='yzlist'  hover-class="none">
11 11
                 <image src='/image/yz2.png' mode="widthFix"></image>
@@ -34,7 +34,7 @@
34 34
         </navigator>
35 35
 
36 36
         <navigator class='yzlist'  hover-class="none"  url="/pages/personal_core/QRcode/QRcode">
37
-                <image src='/image/yz5.png' mode="widthFix"></image>
37
+                <image src='/image/m_wx.png' mode="widthFix"></image>
38 38
                 <text>我的微信</text>
39 39
 
40 40
                 <view class='yzlist_text'>{{wxauthentication.messages}}</view>

+ 2 - 2
pages/personal_core/personaldata/personaldata.wxml

@@ -105,9 +105,9 @@
105 105
       </view>
106 106
 
107 107
       <view class='data_list c' wx:if='{{optioninfocode.code == 201}}'>
108
-              <text  wx:if='{{optioninfo.age}}'>{{optioninfo.age}}</text>
108
+              <text  wx:if='{{optioninfo.age_max && optioninfo.age_min}}'>{{optioninfo.age}}</text>
109 109
               <text wx:if='{{optioninfo.marry}}'>{{optioninfo.marry}}</text>
110
-              <text wx:if='{{optioninfo.height}}'>{{optioninfo.height}}</text>
110
+              <text wx:if='{{optioninfo.height_max && optioninfo.height_min}}'>{{optioninfo.height}}</text>
111 111
               <text wx:if='{{optioninfo.education}}'>{{optioninfo.education}}</text>
112 112
               <text wx:if='{{optioninfo.income_min && optioninfo.income_max}}'>{{optioninfo.income_min}}-{{optioninfo.income_max}}</text>
113 113
               <text wx:if='{{optioninfo.occupation}}'>职业:{{optioninfo.occupation}}</text>

+ 46 - 64
pages/personal_core/requirements/requirements.js

@@ -83,7 +83,7 @@ Page({
83 83
     };
84 84
     app.postRequest(editinfo_url, editinfo_data, function (res) {     
85 85
 
86
-
86
+      // console.log(res.data)
87 87
 
88 88
       //  年龄 ajax
89 89
       let Age_url = 'public/paramsgather?type=age';
@@ -130,17 +130,16 @@ Page({
130 130
 
131 131
       let _height_min = res.data.height_min;
132 132
       let _height_max = res.data.height_max;
133
-      // console.log(_height_min);
134
-      // console.log(_height_max);
133
+
135 134
       app.postRequest(height_url, height_data, function (res) {      //  身高 ajax
136 135
                 if (res.code == 201) {
136
+          
137
+                  // let min = data_processing(res.data, _height_min);      //已选中的数据处理  min
138
+                  // let max = data_processing(res.data, _height_max);   //已选中的数据处理  max
137 139
 
138
-                  let min = data_processing(res.data, _height_min);      //已选中的数据处理  min
139
-                  let max = data_processing(res.data, _height_max);   //已选中的数据处理  max
140
-
141
-                  that.setData({
142
-                    heightindex: [min, max]
143
-                  })
140
+                  // that.setData({
141
+                  //   heightindex: [min, max]
142
+                  // })
144 143
    
145 144
 
146 145
                         let dictObject = res.data;        //对象不能直接使用  以下转成数组
@@ -290,7 +289,7 @@ Page({
290 289
         
291 290
           Marriageindex: res.data.marry,    //   婚史 
292 291
 
293
-
292
+    
294 293
           personacodel: res,    //获取全部数据
295 294
 
296 295
 
@@ -674,7 +673,8 @@ Page({
674 673
         // console.log(this.data.area);              //  区 
675 674
         // console.log(this.data.occupation);     //  职业 
676 675
 
677
-
676
+    // let _Receive_img = that.data.Receive_news;
677
+    // _Receive_img.push(obj);      //合并历史消息对象
678 678
 
679 679
         // var sex = this.data.sex                     //  性别  
680 680
         var age = this.data.age                     //  年龄  
@@ -687,64 +687,46 @@ Page({
687 687
         var income = this.data.income             //  收入 
688 688
         var occupation = this.data.occupation  //  职业
689 689
 
690
-        if (age == '') {
691
-          var _age = '请选择年龄'
692
-          getApp().Tips(_age)
693
-        } else if (province == '' && city == '' && area == '') {
694
-          var _province = '请选择地址'
695
-          getApp().Tips(_province)
696
-        } else if (height == '') {
697
-          var _height = '请选择身高'
698
-          getApp().Tips(_height)
699
-        } else if (marry == '') {
700
-          var _marry = '请选择婚史'
701
-          getApp().Tips(_marry)
702
-        } else if (income == '') {
703
-          var _income = '请选择收入'
704
-          getApp().Tips(_income)
705
-        } else if (education == '') {
706
-          var _education = '请选择学历'
707
-          getApp().Tips(_education)
708
-        } else if (occupation == '') {
709
-          var _occupation = '请选择职业'
710
-          getApp().Tips(_occupation)
711
-        } else{
712
-
713
-                  //  修改择偶信息
714
-                  let editinfoform_url = 'my/personaloption/editoptionform';
715
-                  let editinfoform_data = {
716
-
717
-                    age: this.data.age,      //  年龄  
718
-                    height: this.data.height,      //  身高  
719
-                    province: this.data.province,     // 市
720
-                    city: this.data.city,     // 市
721
-                    area: this.data.area,     // 区
722
-                    education: this.data.education,    //  学历  
723
-                    marry: this.data.marry,    //   婚史 
724
-                    income: this.data.income,     //  收入 
725
-                    occupation: this.data.occupation,     //  职业
726
-
727
-                  };
728
-                  app.postRequest(editinfoform_url, editinfoform_data, function (res) {
729
-
730
-                    if (res.code == 201) {
731
-                      wx.showToast({
732
-                        title: '修改成功',
733
-                        icon: 'success',
734
-                        duration: 2000
735
-                      })
736
-                       return;
737
-                    }
738
-
739
-
740
-                    var fail = '修改失败'    //调用提示框
741
-                    getApp().Tips(fail)
690
+       if (age || height || province || city || area || education || marry || income || occupation){
691
+                    //  修改择偶信息
692
+                    let editinfoform_url = 'my/personaloption/editoptionform';
693
+                    let editinfoform_data = {
694
+
695
+                      age: this.data.age,      //  年龄  
696
+                      height: this.data.height,      //  身高  
697
+                      province: this.data.province,     // 市
698
+                      city: this.data.city,     // 市
699
+                      area: this.data.area,     // 区
700
+                      education: this.data.education,    //  学历  
701
+                      marry: this.data.marry,    //   婚史 
702
+                      income: this.data.income,     //  收入 
703
+                      occupation: this.data.occupation,     //  职业
704
+
705
+                    };
706
+
707
+     
708
+                    app.postRequest(editinfoform_url, editinfoform_data, function (res) {
709
+
710
+                      if (res.code == 201) {
711
+                        wx.showToast({
712
+                          title: '修改成功',
713
+                          icon: 'success',
714
+                          duration: 2000
715
+                        })
716
+                        return;
717
+                      }
742 718
 
743
-                  })
744 719
 
720
+                      var fail = '修改失败'    //调用提示框
721
+                      getApp().Tips(fail)
745 722
 
723
+                    })
724
+        }else{
725
+            var _occupation = '您没有选择'
726
+            getApp().Tips(_occupation)
746 727
         }
747 728
 
729
+        
748 730
 
749 731
 
750 732
   },

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

@@ -45,7 +45,7 @@
45 45
 
46 46
                                 <view class="Choice_dx_text picker" wx:if='{{Ageid == 0}}'>
47 47
 
48
-                                     <block wx:if='{{personacodel.code == 201}}'>
48
+                                     <block wx:if='{{personacodel.code == 201 && personacodel.data.age_max}}'>
49 49
                                        {{AgeArray[0][AgeIndex[0]]}}-{{AgeArray[1][AgeIndex[1]]}}
50 50
                                      </block>
51 51
 
@@ -71,7 +71,7 @@
71 71
                               <view class='Choice_dx_text' >
72 72
                                 
73 73
                                           <view class='right' wx:if="{{multiArray[2][multiIndex[2]] && step == 0}}">
74
-                                                  <text wx:if='{{personacodel.code == 201}}'>{{personal.city}}</text>
74
+                                                  <text wx:if='{{personacodel.code == 201 && personacodel.data.city}}'>{{personal.city}}</text>
75 75
 
76 76
                                                   <text wx:else>请选择</text>
77 77
                                           </view>
@@ -90,14 +90,14 @@
90 90
 
91 91
 
92 92
    <!--  身高 双选-->
93
-    <view class="Choice_dx_box">  
93
+    <view class="Choice_dx_box" data-da="{{personacodel.data.height_max}}">  
94 94
             <picker mode="multiSelector" bindchange="heightEvent"  value="{{heightindex}}" range="{{heightArray}}">           
95 95
                           <view class='Choice_dx c'>
96 96
                                 <view class="Choice_dx_title">身高</view>
97 97
 
98 98
                                 <view class="Choice_dx_text picker" wx:if='{{heightid == 0}}'>
99 99
 
100
-                                     <block wx:if='{{personacodel.code == 201}}'>
100
+                                     <block wx:if='{{personacodel.code == 201  && personacodel.data.height_max}}'>
101 101
                                         {{heightArray[0][heightindex[0]]}}-{{heightArray[1][heightindex[1]]}}
102 102
                                      </block>
103 103
                                      
@@ -122,7 +122,7 @@
122 122
                       <view class='Choice_dx c'>
123 123
                             <view class="Choice_dx_title">婚史</view>
124 124
 
125
-                            <view class='Choice_dx_text' wx:if='{{personacodel.code == 201}}'>
125
+                            <view class='Choice_dx_text' wx:if='{{personacodel.code == 201  && personacodel.data.marry}}'>
126 126
                               
127 127
                                   {{MarriageArray[Marriageindex]}}
128 128
                                 
@@ -146,7 +146,7 @@
146 146
                                 <view class="Choice_dx_title">收入要求</view>
147 147
 
148 148
                                 <view class="Choice_dx_text picker"  wx:if='{{incomeid == 0}}'>
149
-                                    <block wx:if='{{personacodel.code == 201}}'>
149
+                                    <block wx:if='{{personacodel.code == 201 && personacodel.data.income_max}}'>
150 150
                                        {{incomeArray[0][incomeindex[0]]}}-{{incomeArray[1][incomeindex[1]]}}
151 151
                                      </block>
152 152
                                     
@@ -170,7 +170,7 @@
170 170
                       <view class='Choice_dx c'>
171 171
                             <view class="Choice_dx_title">学历</view>
172 172
 
173
-                            <view class='Choice_dx_text'  wx:if='{{personacodel.code == 201}}'>
173
+                            <view class='Choice_dx_text'  wx:if='{{personacodel.code == 201 && personacodel.data.education}}'>
174 174
                               
175 175
                                   {{EducationArray[Educationindex].name}}
176 176
                                 
@@ -194,7 +194,7 @@
194 194
                       <view class='Choice_dx c'>
195 195
                             <view class="Choice_dx_title">职业要求</view>
196 196
 
197
-                            <view class='Choice_dx_text' wx:if='{{personacodel.code == 201}}'>
197
+                            <view class='Choice_dx_text' wx:if='{{personacodel.code == 201  && personacodel.data.occupation}}'>
198 198
                               
199 199
                                  {{OccupationArray[Occupationindex].name}}
200 200
                                 

+ 3 - 1
pages/register/OwnData/OwnData.json

@@ -1 +1,3 @@
1
-{}
1
+{
2
+  "navigationBarTitleText": "填写个人信息"
3
+}

+ 3 - 1
pages/register/fillTel/fillTel.json

@@ -1 +1,3 @@
1
-{}
1
+{
2
+  "navigationBarTitleText": "手机验证"
3
+}

+ 1 - 1
pages/register/fillTel/fillTel.wxml

@@ -21,6 +21,6 @@
21 21
 
22 22
       <view class='Agreement c'>
23 23
              <!-- <view class='Agreement_img'><image src='/image/xy.png' mode="widthFix"></image></view> -->
24
-             <navigator url="/pages/register/Agreement/Agreement"  hover-class="none" >注册即表示同意约会邦<text>注册服务条款</text></navigator>
24
+             <navigator url="/pages/register/Agreement/Agreement"  hover-class="none" >注册即表示同意佳人佳缘<text>注册服务条款</text></navigator>
25 25
       </view>
26 26
 </view>