作者 朱振飞

Merge branch 'master' of http://114.215.101.231:8099/liuxiaoyan/baoxian into Branch_zhu

# Conflicts:
#	pages/index/addListDetail/addListDetail.js
@@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
6 <input placeholder='搜索姓名或标签' bindinput='setKeyWord'></input> 6 <input placeholder='搜索姓名或标签' bindinput='setKeyWord'></input>
7 </view> 7 </view>
8 </view> 8 </view>
9 - <view bindtap='getdata'>搜索</view> 9 + <view bindtap='getInfo'>搜索</view>
10 </view> 10 </view>
11 <view class='line_box'></view> 11 <view class='line_box'></view>
12 <view class='content_box'> 12 <view class='content_box'>
@@ -51,7 +51,7 @@ @@ -51,7 +51,7 @@
51 </view> 51 </view>
52 <view class='list_input'> 52 <view class='list_input'>
53 <picker class='picker' mode="date" value='{{list.birthday}}' bindchange='birthDate'> 53 <picker class='picker' mode="date" value='{{list.birthday}}' bindchange='birthDate'>
54 - <input placeholder='请选择出生日期' value='{{list.birthday}}' disabled='true'></input> 54 + <input placeholder='请选择真实出生日期,才能准确生日提醒' value='{{list.birthday}}' disabled='true'></input>
55 </picker> 55 </picker>
56 </view> 56 </view>
57 </view> 57 </view>
@@ -67,10 +67,10 @@ @@ -67,10 +67,10 @@
67 <input type='text' placeholder='请输入单位地址' value='{{list.work_address}}' bindinput='setworkAddress'></input> 67 <input type='text' placeholder='请输入单位地址' value='{{list.work_address}}' bindinput='setworkAddress'></input>
68 </view> 68 </view>
69 </view> 69 </view>
70 - <view class='item_list'> 70 + <view class='item_list' style='align-items: flex-start;min-height:80rpx;'>
71 <view class='list_title'>家庭地址 </view> 71 <view class='list_title'>家庭地址 </view>
72 <view class='list_input'> 72 <view class='list_input'>
73 - <input type='text' placeholder='请输入家庭地址' value='{{list.address}}' bindinput='setSddress'></input> 73 + <textarea type='text' placeholder='请输入家庭地址' value='{{list.address}}' bindinput='setSddress'></textarea>
74 </view> 74 </view>
75 </view> 75 </view>
76 76
@@ -101,17 +101,17 @@ @@ -101,17 +101,17 @@
101 <!-- 上传图片 --> 101 <!-- 上传图片 -->
102 <view class='upload_box'> 102 <view class='upload_box'>
103 <view class='popup_img' wx:if='{{hasimg}}' bindtap='chooseImg'> 103 <view class='popup_img' wx:if='{{hasimg}}' bindtap='chooseImg'>
104 - <image src='{{list.picurl}}' bindtap='viewImg' mode='WidthFix'></image> 104 + <image src='{{list.picurl}}' mode='widthFix'></image>
105 </view> 105 </view>
106 <view bindtap='chooseImg' wx:else> 106 <view bindtap='chooseImg' wx:else>
107 <view class='iconfont icon-add'></view> 107 <view class='iconfont icon-add'></view>
108 - <view>上传客户照片</view> 108 + <view style='margin-bottom:25rpx;'>上传客户照片</view>
109 </view> 109 </view>
110 </view> 110 </view>
111 </view> 111 </view>
112 <view class='content_item'> 112 <view class='content_item'>
113 <view class='item_list'> 113 <view class='item_list'>
114 - <view class='list_title'>户描述</view> 114 + <view class='list_title'>户描述</view>
115 </view> 115 </view>
116 <view class='list_textarea'> 116 <view class='list_textarea'>
117 <textarea placeholder='请在此添加对用户的描述' value='{{list.text}}' placeholder-class='font_color' bindinput='descript'></textarea> 117 <textarea placeholder='请在此添加对用户的描述' value='{{list.text}}' placeholder-class='font_color' bindinput='descript'></textarea>
@@ -119,7 +119,7 @@ @@ -119,7 +119,7 @@
119 </view> 119 </view>
120 <view class='content_item'> 120 <view class='content_item'>
121 <view class='item_list'> 121 <view class='item_list'>
122 - <view class='list_title'>添加用户标签</view> 122 + <view class='list_title' style='width: 100%;text-align: center;'>客户画像</view>
123 </view> 123 </view>
124 <view class='item_list item_label_box' wx:for='{{label_list}}' wx:key='' wx:for-index='mindex'> 124 <view class='item_list item_label_box' wx:for='{{label_list}}' wx:key='' wx:for-index='mindex'>
125 <view class='list_label_title'>{{item.label}} </view> 125 <view class='list_label_title'>{{item.label}} </view>
@@ -11,6 +11,7 @@ page { @@ -11,6 +11,7 @@ page {
11 } 11 }
12 12
13 .item_list { 13 .item_list {
  14 + width: 100%;
14 display: flex; 15 display: flex;
15 align-items: center; 16 align-items: center;
16 border-bottom: 1rpx dashed #ebebeb; 17 border-bottom: 1rpx dashed #ebebeb;
@@ -24,9 +25,10 @@ page { @@ -24,9 +25,10 @@ page {
24 } 25 }
25 26
26 .list_title { 27 .list_title {
27 - width: 185rpx; 28 + width: 170rpx;
28 font-size: 29rpx; 29 font-size: 29rpx;
29 color: #000; 30 color: #000;
  31 +
30 } 32 }
31 33
32 .list_label_title { 34 .list_label_title {
@@ -125,25 +127,33 @@ page { @@ -125,25 +127,33 @@ page {
125 background: #fff; 127 background: #fff;
126 margin-top: 16rpx; 128 margin-top: 16rpx;
127 text-align: center; 129 text-align: center;
128 - padding: 36rpx 0; 130 + /* padding: 36rpx 0; */
129 border-radius: 10rpx; 131 border-radius: 10rpx;
130 box-shadow: 2rpx 0rpx 3rpx rgba(235, 235, 235, 1); 132 box-shadow: 2rpx 0rpx 3rpx rgba(235, 235, 235, 1);
  133 + overflow: hidden;
  134 +}
  135 +
  136 +.upload_box .icon-add {
  137 + font-size: 64rpx;
131 } 138 }
132 139
133 .popup_img { 140 .popup_img {
134 - position: relative; 141 + width: 100%;
  142 + height: 100%;
  143 + /* position: relative; */
  144 +}
  145 +
  146 +.popup_img image {
  147 + /* width: 100%; */
  148 + /* height: 100%; */
135 } 149 }
136 150
137 -.icon-guanbi { 151 +/* .icon-guanbi {
138 position: absolute; 152 position: absolute;
139 top: 10rpx; 153 top: 10rpx;
140 right: 20rpx; 154 right: 20rpx;
141 color: #ccc; 155 color: #ccc;
142 -}  
143 -  
144 -.upload_box .icon-add {  
145 - font-size: 64rpx;  
146 -} 156 +} */
147 157
148 .content_info { 158 .content_info {
149 font-size: 24rpx; 159 font-size: 24rpx;
@@ -227,6 +237,3 @@ page { @@ -227,6 +237,3 @@ page {
227 color: #fff; 237 color: #fff;
228 background: rgba(2, 134, 255, 1); 238 background: rgba(2, 134, 255, 1);
229 } 239 }
230 -.popup_img image{  
231 - width: 100%  
232 -}  
@@ -30,7 +30,9 @@ @@ -30,7 +30,9 @@
30 <view class='item_list'> 30 <view class='item_list'>
31 <view class='list_title'>个人年收入</view> 31 <view class='list_title'>个人年收入</view>
32 <view class='list_input'> 32 <view class='list_input'>
33 - <input type='text' placeholder='' value='{{list.money}}' disabled='true' disabled='true'></input> 33 + <!-- <input type='text' placeholder='' value='{{list.money}}' disabled='true' disabled='true'></input> -->
  34 + <text>{{list.money}}</text>
  35 + <text>万</text>
34 </view> 36 </view>
35 </view> 37 </view>
36 <view class='item_list'> 38 <view class='item_list'>
@@ -106,7 +108,7 @@ @@ -106,7 +108,7 @@
106 </view> 108 </view>
107 <view class='content_item'> 109 <view class='content_item'>
108 <view class='item_list'> 110 <view class='item_list'>
109 - <view class='list_title'>户描述</view> 111 + <view class='list_title'>户描述</view>
110 </view> 112 </view>
111 <view class='list_textarea'> 113 <view class='list_textarea'>
112 <textarea placeholder='' value='{{list.text}}' placeholder-class='font_color' bindinput='descript' disabled='true'></textarea> 114 <textarea placeholder='' value='{{list.text}}' placeholder-class='font_color' bindinput='descript' disabled='true'></textarea>
@@ -114,12 +116,12 @@ @@ -114,12 +116,12 @@
114 </view> 116 </view>
115 <view class='content_item'> 117 <view class='content_item'>
116 <view class='item_list'> 118 <view class='item_list'>
117 - <view class='list_title'>添加用户标签</view> 119 + <view class='list_title' style='width: 100%;text-align: center;'>客户画像</view>
118 </view> 120 </view>
119 - <view class='item_list item_label_box' wx:for='{{label_list}}' wx:key='' wx:for-index='mindex'> 121 + <view class='item_list item_label_box' wx:for='{{label_list}}' wx:key='' wx:for-index='mindex'>
120 <view class='list_label_title'>{{item.label}} </view> 122 <view class='list_label_title'>{{item.label}} </view>
121 <view class='list_label'> 123 <view class='list_label'>
122 - <view class="address_btn {{sub_its.status?'unit_address':''}}" data-id='{{sub_its.id}}' data-status='{{sub_its.status}}' wx:for='{{item.data}}' wx:for-item='sub_its' wx:key='' wx:for-index='sindex' data-sindex='{{sindex}}' data-mindex='{{mindex}}'>{{sub_its.name}}</view> 124 + <view class="address_btn {{sub_its.status?'unit_address':''}}" data-id='{{sub_its.id}}' data-status='{{sub_its.status}}' wx:for='{{item.data}}' wx:for-item='sub_its' wx:key='' wx:for-index='sindex' data-sindex='{{sindex}}' data-mindex='{{mindex}}' wx:if='{{sub_its.status!=0}}'>{{sub_its.name}}</view>
123 </view> 125 </view>
124 </view> 126 </view>
125 </view> 127 </view>
@@ -48,6 +48,8 @@ page { @@ -48,6 +48,8 @@ page {
48 width: 75%; 48 width: 75%;
49 display: flex; 49 display: flex;
50 align-items: center; 50 align-items: center;
  51 + font-size: 29rpx;
  52 + color: #000;
51 } 53 }
52 54
53 .list_input input { 55 .list_input input {
@@ -1229,20 +1229,11 @@ Page({ @@ -1229,20 +1229,11 @@ Page({
1229 1229
1230 this.ensureProjectList() 1230 this.ensureProjectList()
1231 let that = this; 1231 let that = this;
1232 - // this.setData({  
1233 - // def_id: options.def_id,  
1234 - // inforid: options.inforid,  
1235 - // FamilyId: options.FamilyId,  
1236 - // recognizee_name: options.name  
1237 - // })  
1238 - // if (options.inforid == undefined) {  
1239 - // this.setData({  
1240 - // inforid: 0  
1241 - // })  
1242 - // }  
1243 options.inforid ? (that.getlistVerify(options.inforid),that.setData({ 1232 options.inforid ? (that.getlistVerify(options.inforid),that.setData({
1244 inforid: options.inforid, 1233 inforid: options.inforid,
1245 edit_state: true 1234 edit_state: true
  1235 + }),wx.setNavigationBarTitle({
  1236 + title: '编辑保单',
1246 })): "" 1237 })): ""
1247 options.def_id ? that.setData({ 1238 options.def_id ? that.setData({
1248 def_id: options.def_id, 1239 def_id: options.def_id,
@@ -1250,14 +1241,6 @@ Page({ @@ -1250,14 +1241,6 @@ Page({
1250 options.FamilyId ? (that.familyMember(options.FamilyId),that.setData({ 1241 options.FamilyId ? (that.familyMember(options.FamilyId),that.setData({
1251 FamilyId: options.FamilyId 1242 FamilyId: options.FamilyId
1252 })):''; 1243 })):'';
1253 -  
1254 - // if (options.FamilyId != '') {  
1255 - // this.familyMember()  
1256 - // }  
1257 - // if (options.inforid != undefined) {  
1258 - // this.getlistVerify()  
1259 - // }  
1260 -  
1261 if (wx.getStorageSync('storge_state') && options.inforid == undefined) { 1244 if (wx.getStorageSync('storge_state') && options.inforid == undefined) {
1262 this.getStorage() 1245 this.getStorage()
1263 } 1246 }
@@ -35,18 +35,18 @@ @@ -35,18 +35,18 @@
35 <view class='list_title'>主险名称</view> 35 <view class='list_title'>主险名称</view>
36 <view class='list_input'>{{listdetail.main_risks}}</view> 36 <view class='list_input'>{{listdetail.main_risks}}</view>
37 </view> 37 </view>
38 - <view class='item_list' style=' align-items: flex-start;'> 38 + <!-- <view class='item_list' style=' align-items: flex-start;'>
39 <view class='list_title'>主险保障项</view> 39 <view class='list_title'>主险保障项</view>
40 <view class='list_input' wx:for='{{listdetail.guarantee}}' wx:key wx:for-item='its'>{{its.name}} {{its.num}}{{its.title}} </view> 40 <view class='list_input' wx:for='{{listdetail.guarantee}}' wx:key wx:for-item='its'>{{its.name}} {{its.num}}{{its.title}} </view>
41 - </view> 41 + </view> -->
42 <view class='item_list'> 42 <view class='item_list'>
43 <view class='list_title'>合同生效日</view> 43 <view class='list_title'>合同生效日</view>
44 <view class='list_input'>{{listdetail.compact_time}}</view> 44 <view class='list_input'>{{listdetail.compact_time}}</view>
45 </view> 45 </view>
46 - <view class='item_list'> 46 + <!-- <view class='item_list'>
47 <view class='list_title'>期满日</view> 47 <view class='list_title'>期满日</view>
48 <view class='list_input'>{{listdetail.impletion_time}}</view> 48 <view class='list_input'>{{listdetail.impletion_time}}</view>
49 - </view> 49 + </view> -->
50 <view class='item_list'> 50 <view class='item_list'>
51 <view class='list_title'>年缴保费</view> 51 <view class='list_title'>年缴保费</view>
52 <view class='list_input'>{{listdetail.year_money}}</view> 52 <view class='list_input'>{{listdetail.year_money}}</view>
@@ -56,7 +56,7 @@ @@ -56,7 +56,7 @@
56 <view class='list_input'>{{listdetail.warranty_two.num}}{{listdetail.warranty_two.title}}</view> 56 <view class='list_input'>{{listdetail.warranty_two.num}}{{listdetail.warranty_two.title}}</view>
57 </view> 57 </view>
58 <view class='item_list'> 58 <view class='item_list'>
59 - <view class='list_title'>续费时长</view> 59 + <view class='list_title'>缴费期</view>
60 <view class='list_input'>{{listdetail.long_money.num}}{{listdetail.long_money.title}}</view> 60 <view class='list_input'>{{listdetail.long_money.num}}{{listdetail.long_money.title}}</view>
61 </view> 61 </view>
62 <view class='item_list'> 62 <view class='item_list'>
@@ -75,18 +75,25 @@ @@ -75,18 +75,25 @@
75 <view class='list_title'>缴费期满日</view> 75 <view class='list_title'>缴费期满日</view>
76 <view class='list_input'>{{listdetail.impletion_time}}</view> 76 <view class='list_input'>{{listdetail.impletion_time}}</view>
77 </view> 77 </view>
78 - <view class='item_list'> 78 + <!-- <view class='item_list'>
79 <view class='list_title'>主险保障期</view> 79 <view class='list_title'>主险保障期</view>
80 <view class='list_input'>{{listdetail.warranty_one}}</view> 80 <view class='list_input'>{{listdetail.warranty_one}}</view>
81 - </view> 81 + </view> -->
82 82
83 83
84 - <view class='item_list' style=' align-items: flex-start;'>  
85 - <view class='list_title'>附加险名称 </view>  
86 - <view class='list_input' wx:for='{{listdetail.more}}' wx:key>  
87 - <view>{{item.name}}</view>  
88 - <view wx:for='{{item.mo}}' wx:key wx:for-item='its'>{{its.name}} {{its.num}}{{its.title}}</view> 84 + <view class='item_list ' style='display:block;' wx:for='{{listdetail.more}}' wx:key>
  85 +
  86 + <!-- <text class='list_input'> -->
  87 + <view>
  88 + <text class='list_title' style='margin-right:20rpx;'>附加险名称 </text>
  89 + <text>{{item.name}}</text>
  90 + </view>
  91 + <view>
  92 + <text class='list_title' style='margin-right:50rpx;'>保障项目 </text>
  93 + <text wx:for='{{item.mo}}' wx:key wx:for-item='its'>
  94 + <text style='margin-right:30rpx;'>{{its.name}} {{its.num}}{{its.title}}</text></text>
89 </view> 95 </view>
  96 + <!-- </text> -->
90 </view> 97 </view>
91 </view> 98 </view>
92 99
@@ -306,7 +306,6 @@ Page({ @@ -306,7 +306,6 @@ Page({
306 * 生命周期函数--监听页面加载 306 * 生命周期函数--监听页面加载
307 */ 307 */
308 onLoad: function(options) { 308 onLoad: function(options) {
309 - console.log(options)  
310 if (options.status) { 309 if (options.status) {
311 this.setData({ 310 this.setData({
312 status: options.status, 311 status: options.status,
@@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
14 "compileType": "miniprogram", 14 "compileType": "miniprogram",
15 "libVersion": "2.4.0", 15 "libVersion": "2.4.0",
16 "appid": "wxac365079a43a66bb", 16 "appid": "wxac365079a43a66bb",
17 - "projectname": "%E5%AE%B6%E5%BA%AD%E4%BF%9D%E9%99%A92", 17 + "projectname": "%E5%AE%B6%E5%BA%AD%E4%BF%9D%E9%99%A9",
18 "debugOptions": { 18 "debugOptions": {
19 "hidedInDevtools": [] 19 "hidedInDevtools": []
20 }, 20 },
@@ -37,7 +37,7 @@ @@ -37,7 +37,7 @@
37 "list": [] 37 "list": []
38 }, 38 },
39 "miniprogram": { 39 "miniprogram": {
40 - "current": 9, 40 + "current": 10,
41 "list": [ 41 "list": [
42 { 42 {
43 "id": -1, 43 "id": -1,
@@ -96,7 +96,14 @@ @@ -96,7 +96,14 @@
96 { 96 {
97 "id": -1, 97 "id": -1,
98 "name": "aa", 98 "name": "aa",
99 - "pathName": "pages/index/inviteList/inviteList" 99 + "pathName": "pages/index/inviteList/inviteList",
  100 + "query": ""
  101 + },
  102 + {
  103 + "id": -1,
  104 + "name": "aaf",
  105 + "pathName": "pages/index/policyListDetail/policyListDetail",
  106 + "query": "InId=25"
100 } 107 }
101 ] 108 ]
102 } 109 }