作者 LXY

家庭保险

@@ -11,8 +11,8 @@ @@ -11,8 +11,8 @@
11 <view class='line_box'></view> 11 <view class='line_box'></view>
12 <view class='content_box'> 12 <view class='content_box'>
13 <view class='tab_box'> 13 <view class='tab_box'>
14 - <view class="tab_item {{currentTab==1?'tab_active':''}}" data-current="1" bindtap='tabCharge'>提醒日期升序</view>  
15 - <view class="tab_item {{currentTab==2?'tab_active':''}}" data-current="2" bindtap='tabCharge'>优先级排序</view> 14 + <view class="tab_item {{currentTab==2?'tab_active':''}}" data-current="2" bindtap='tabCharge'>提醒日期升序</view>
  15 + <view class="tab_item {{currentTab==1?'tab_active':''}}" data-current="1" bindtap='tabCharge'>优先级排序</view>
16 </view> 16 </view>
17 <view class='item_list' wx:for='{{list}}' wx:key=''> 17 <view class='item_list' wx:for='{{list}}' wx:key=''>
18 <view class='list_left_box'> 18 <view class='list_left_box'>
@@ -194,13 +194,30 @@ Page({ @@ -194,13 +194,30 @@ Page({
194 var label_list = this.data.label_list 194 var label_list = this.data.label_list
195 var label_ids = this.data.label_ids; 195 var label_ids = this.data.label_ids;
196 196
197 - //去重 197 + //去重
198 const add = label_ids.every((label_ids) => { 198 const add = label_ids.every((label_ids) => {
199 return label_ids != id 199 return label_ids != id
200 }) 200 })
201 - if (add) { 201 + // if (add) {
  202 + // console.log(add)
  203 + if (!(label_list[mindex].data[sindex].status)) {
202 label_ids.push(id) 204 label_ids.push(id)
  205 + console.log(22, label_ids)
  206 + } else {
  207 + for (var i = 0; i < label_ids.length; i++) {
  208 + // if (!(label_list[mindex].data[sindex].status)) {
  209 + if (label_list[mindex].data[sindex].id == label_ids[i]) {
  210 + label_ids.splice(i, 1);
  211 + console.log(11, label_ids)
  212 + }
  213 + // }
  214 + }
203 } 215 }
  216 + // }
  217 + // console.log(label_list, label_ids)
  218 +
  219 +
  220 +
204 label_list[mindex].data[sindex].status = !(label_list[mindex].data[sindex].status) 221 label_list[mindex].data[sindex].status = !(label_list[mindex].data[sindex].status)
205 this.setData({ 222 this.setData({
206 label_list: label_list, 223 label_list: label_list,
@@ -249,17 +266,16 @@ Page({ @@ -249,17 +266,16 @@ Page({
249 266
250 //成员信息的修改,新增 267 //成员信息的修改,新增
251 listVerify(e) { 268 listVerify(e) {
252 - console.log(111)  
253 let that = this; 269 let that = this;
254 var warn = ""; 270 var warn = "";
255 var flag = true; 271 var flag = true;
256 var state = that.data.state 272 var state = that.data.state
257 var list = this.data.list; 273 var list = this.data.list;
258 - var sex_index = parseInt(this.data.sex_index) 274 + var sex_index = (this.data.sex_index)
259 console.log(sex_index, sex_index == '') 275 console.log(sex_index, sex_index == '')
260 if (list.name == "") { 276 if (list.name == "") {
261 warn = "请填写您的姓名"; 277 warn = "请填写您的姓名";
262 - } else if (sex_index==''&&sex_index!=0) { 278 + } else if (sex_index == undefined) {
263 warn = "请填写您的性别"; 279 warn = "请填写您的性别";
264 } else if (list.family_role == '') { 280 } else if (list.family_role == '') {
265 warn = '请填写您的家庭角色' 281 warn = '请填写您的家庭角色'
@@ -280,7 +296,7 @@ Page({ @@ -280,7 +296,7 @@ Page({
280 mid: list.mid, 296 mid: list.mid,
281 user_status: list.user_status, 297 user_status: list.user_status,
282 status_num: list.status_num, 298 status_num: list.status_num,
283 - picurl: this.data.hasimg, 299 + picurl: list.picurl,
284 text: list.text, 300 text: list.text,
285 label_ids: this.data.label_ids, 301 label_ids: this.data.label_ids,
286 family_id: that.data.familyid, 302 family_id: that.data.familyid,
@@ -295,9 +311,9 @@ Page({ @@ -295,9 +311,9 @@ Page({
295 title: '录入成功', 311 title: '录入成功',
296 }) 312 })
297 wx.setStorageSync('familyid', res.data.data.family_id) 313 wx.setStorageSync('familyid', res.data.data.family_id)
298 - setTimeout(()=>{ 314 + setTimeout(() => {
299 wx.navigateBack() 315 wx.navigateBack()
300 - },1500) 316 + }, 1500)
301 // wx.navigateTo({ 317 // wx.navigateTo({
302 // url: '/pages/index/addNewFamily/addNewFamily?familyid=' + res.data.data.family_id, 318 // url: '/pages/index/addNewFamily/addNewFamily?familyid=' + res.data.data.family_id,
303 // }) 319 // })
@@ -338,21 +354,22 @@ Page({ @@ -338,21 +354,22 @@ Page({
338 for (var j = 0; j < label_list[i].data.length; j++) { 354 for (var j = 0; j < label_list[i].data.length; j++) {
339 if (label_list[i].data[j].status == 1) { 355 if (label_list[i].data[j].status == 1) {
340 label_ids.push(label_list[i].data[j].id) 356 label_ids.push(label_list[i].data[j].id)
  357 + label_list[i].data[j].status = true
  358 + } else {
  359 + label_list[i].data[j].status = false
341 } 360 }
342 } 361 }
343 } 362 }
344 var list = res.data.data.list; 363 var list = res.data.data.list;
345 list.sex = res.data.data.list.sex; 364 list.sex = res.data.data.list.sex;
346 - console.log(list.sex)  
347 that.setData({ 365 that.setData({
348 list: list, 366 list: list,
349 - label_list: res.data.data.label_list, 367 + label_list: label_list,
350 sex_index: res.data.data.list.sex, 368 sex_index: res.data.data.list.sex,
351 card_index: parseInt(res.data.data.list.user_status) - 1, 369 card_index: parseInt(res.data.data.list.user_status) - 1,
352 addsess_current: res.data.data.list.mid, 370 addsess_current: res.data.data.list.mid,
353 label_ids: label_ids 371 label_ids: label_ids
354 }) 372 })
355 -  
356 } 373 }
357 }).catch((errMsg) => { 374 }).catch((errMsg) => {
358 console.log(errMsg) 375 console.log(errMsg)
@@ -33,7 +33,7 @@ @@ -33,7 +33,7 @@
33 <view class='item_list'> 33 <view class='item_list'>
34 <view class='list_title'>个人年收入</view> 34 <view class='list_title'>个人年收入</view>
35 <view class='list_input' style='justify-content:flex-start;'> 35 <view class='list_input' style='justify-content:flex-start;'>
36 - <input type='number' placeholder='请输入个人年收入' value='{{list.money}}' bindinput='income' style='width:200rpx;'></input> 36 + <input type='number' placeholder='请输入' value='{{list.money}}' bindinput='income' style='width:200rpx;'></input>
37 <view>万</view> 37 <view>万</view>
38 </view> 38 </view>
39 </view> 39 </view>
@@ -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>
@@ -96,6 +96,7 @@ page { @@ -96,6 +96,7 @@ page {
96 padding: 30rpx 0; 96 padding: 30rpx 0;
97 box-sizing: border-box; 97 box-sizing: border-box;
98 min-height: 140rpx; 98 min-height: 140rpx;
  99 +
99 } 100 }
100 101
101 .font_color { 102 .font_color {
@@ -3,17 +3,18 @@ @@ -3,17 +3,18 @@
3 <view class='banner_img'> 3 <view class='banner_img'>
4 <image src='/images/ele@2x.png'></image> 4 <image src='/images/ele@2x.png'></image>
5 </view> 5 </view>
6 - <text class='banner_info'>新手任务奖励</text> 6 + <text class='banner_info'>{{toplist[0].t_text}}</text>
7 <view class='banner_title'>{{toplist[0].title}}</view> 7 <view class='banner_title'>{{toplist[0].title}}</view>
8 - <view class='banner_content'>完成新手任务,赠送{{toplist[0].title}}</view> 8 + <!-- <view class='banner_content'>完成新手任务,赠送{{toplist[0].title}}</view> -->
  9 + <view class='banner_content'>{{toplist[0].t_title}}{{toplist[0].title}}</view>
9 <navigator class='list_btn' hover-class="navigator-hover" url='/pages/index/payWay/payWay?id={{toplist[0].id}}&moneyt={{toplist[0].moneyt}}&title={{toplist[0].title}}'>立即购买</navigator> 10 <navigator class='list_btn' hover-class="navigator-hover" url='/pages/index/payWay/payWay?id={{toplist[0].id}}&moneyt={{toplist[0].moneyt}}&title={{toplist[0].title}}'>立即购买</navigator>
10 </view> 11 </view>
11 <view class='item_list_box'> 12 <view class='item_list_box'>
12 <view class="item_list {{(index+1)%2==0?'year_list':''}}" wx:for='{{mainlist}}' wx:key> 13 <view class="item_list {{(index+1)%2==0?'year_list':''}}" wx:for='{{mainlist}}' wx:key>
13 <view class='list_title'>{{item.title}}</view> 14 <view class='list_title'>{{item.title}}</view>
14 <view class='list_content'> 15 <view class='list_content'>
15 - <text>¥{{item.money}}</text>  
16 - <text>¥{{item.moneyt}}</text> 16 + <text>优惠{{item.money}}</text>
  17 + <text>或{{item.moneyt}}T币</text>
17 </view> 18 </view>
18 <navigator class='list_btn month_card' hover-class="navigator-hover" 19 <navigator class='list_btn month_card' hover-class="navigator-hover"
19 url='/pages/index/payWay/payWay?id={{item.id}}&moneyt={{item.moneyt}}&title={{item.title}}' >立即购买</navigator> 20 url='/pages/index/payWay/payWay?id={{item.id}}&moneyt={{item.moneyt}}&title={{item.title}}' >立即购买</navigator>
@@ -161,14 +161,14 @@ Page({ @@ -161,14 +161,14 @@ Page({
161 this.setData({ 161 this.setData({
162 edit_state: true 162 edit_state: true
163 }) 163 })
164 - 164 + console.log(this.data.projectlist)
165 let that = this; 165 let that = this;
166 let type = e.currentTarget.dataset.type; 166 let type = e.currentTarget.dataset.type;
167 let index = e.currentTarget.dataset.xulie; 167 let index = e.currentTarget.dataset.xulie;
168 let tempProjectlist = Object.assign(this.data.projectlist, {}); 168 let tempProjectlist = Object.assign(this.data.projectlist, {});
169 // 已经添加的附加险 169 // 已经添加的附加险
170 let risk_list = Object.assign(this.data.risk_list, {}); 170 let risk_list = Object.assign(this.data.risk_list, {});
171 - console.log(risk_list) 171 + // console.log(risk_list)
172 let tempRist = risk_list[index].mo; 172 let tempRist = risk_list[index].mo;
173 console.log(tempRist) 173 console.log(tempRist)
174 // 已经添加的主险 174 // 已经添加的主险
@@ -206,7 +206,7 @@ Page({ @@ -206,7 +206,7 @@ Page({
206 wx.setNavigationBarTitle({ 206 wx.setNavigationBarTitle({
207 title: '选择保障项目', 207 title: '选择保障项目',
208 }) 208 })
209 - 209 + console.log(tempProjectlist)
210 this.setData({ 210 this.setData({
211 popup_state: true, 211 popup_state: true,
212 addType: type, 212 addType: type,
@@ -271,6 +271,7 @@ Page({ @@ -271,6 +271,7 @@ Page({
271 this.setData({ 271 this.setData({
272 projectlist: projectlist 272 projectlist: projectlist
273 }) 273 })
  274 + console.log(projectlist)
274 }, 275 },
275 276
276 //选择保障项目 277 //选择保障项目
@@ -430,7 +431,7 @@ Page({ @@ -430,7 +431,7 @@ Page({
430 beneficiarySelect(e) { 431 beneficiarySelect(e) {
431 if (this.data.inforid != 0) { 432 if (this.data.inforid != 0) {
432 this.setData({ 433 this.setData({
433 - edit_state: false 434 + edit_state: true
434 }) 435 })
435 } 436 }
436 var index = e.currentTarget.dataset.mindex 437 var index = e.currentTarget.dataset.mindex
@@ -464,9 +465,17 @@ Page({ @@ -464,9 +465,17 @@ Page({
464 addUnit(e) { 465 addUnit(e) {
465 var beneficiary_list = this.data.beneficiary_list; 466 var beneficiary_list = this.data.beneficiary_list;
466 beneficiary_list[beneficiary_list.length - 1].unit = e.detail.value; 467 beneficiary_list[beneficiary_list.length - 1].unit = e.detail.value;
  468 + if (beneficiary_list[beneficiary_list.length - 1].unit > 100) {
  469 + wx.showToast({
  470 + title: '请重新输入收益比例',
  471 + icon: 'none'
  472 + })
  473 + beneficiary_list[beneficiary_list.length - 1].unit = 0
  474 + }
467 this.setData({ 475 this.setData({
468 beneficiary_list: beneficiary_list, 476 beneficiary_list: beneficiary_list,
469 }) 477 })
  478 +
470 }, 479 },
471 480
472 //添加受益人 481 //添加受益人
@@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@
12 <view class='popup_title'>{{item.name}}</view> 12 <view class='popup_title'>{{item.name}}</view>
13 <view class='popup_input'> 13 <view class='popup_input'>
14 <!-- {{item.num}} --> 14 <!-- {{item.num}} -->
15 - <input type='number' placeholder='请输入保额' value='' bindinput='popupNum' data-index='{{index}}' data-id='{{item.id}}'></input> 15 + <input type='number' placeholder='请输入保额' value="{{item.num!=0?item.num:''}}" bindinput='popupNum' data-index='{{index}}' data-id='{{item.id}}'></input>
16 <!-- <text>{{item.title}}</text> --> 16 <!-- <text>{{item.title}}</text> -->
17 </view> 17 </view>
18 </view> 18 </view>
@@ -29,7 +29,7 @@ @@ -29,7 +29,7 @@
29 </view> 29 </view>
30 30
31 <!-- 表单部分 --> 31 <!-- 表单部分 -->
32 -<form bindsubmit='listVerify' > 32 +<form bindsubmit='listVerify' wx:else>
33 <view class='content_item'> 33 <view class='content_item'>
34 <view class='item_list'> 34 <view class='item_list'>
35 <view class='list_title'>保单号</view> 35 <view class='list_title'>保单号</view>
@@ -189,7 +189,7 @@ @@ -189,7 +189,7 @@
189 <view class='item_list'> 189 <view class='item_list'>
190 <view class='list_title'>续费账号</view> 190 <view class='list_title'>续费账号</view>
191 <view class='list_input'> 191 <view class='list_input'>
192 - <input type='text' placeholder='请输入末四位' name='bank_num' value='{{bank_num}}' bindinput='setBankNum'></input> 192 + <input type='text' placeholder='请输入末四位' maxlength='4' name='bank_num' value='{{bank_num}}' bindinput='setBankNum'></input>
193 </view> 193 </view>
194 </view> 194 </view>
195 195
@@ -164,7 +164,7 @@ Page({ @@ -164,7 +164,7 @@ Page({
164 164
165 //返回客户管理 165 //返回客户管理
166 goManage() { 166 goManage() {
167 - wx.navigateTo({ 167 + wx.redirectTo({
168 url: '../CustomerManagement/CustomerManagement', 168 url: '../CustomerManagement/CustomerManagement',
169 }) 169 })
170 }, 170 },
1 { 1 {
2 - "navigationBarTitleText": "注册协议" 2 + "navigationBarTitleText": "关于保单体检专家"
3 } 3 }
@@ -15,11 +15,12 @@ Page({ @@ -15,11 +15,12 @@ Page({
15 this.setData({ 15 this.setData({
16 KeyWord: e.detail.value 16 KeyWord: e.detail.value
17 }) 17 })
  18 +
18 }, 19 },
19 20
20 // 21 //
21 goData() { 22 goData() {
22 - this.getData() 23 + this.getInfo()
23 }, 24 },
24 25
25 //家庭保单汇总表 26 //家庭保单汇总表
@@ -77,7 +78,7 @@ Page({ @@ -77,7 +78,7 @@ Page({
77 let url = 'counselor/familylist'; 78 let url = 'counselor/familylist';
78 let param = { 79 let param = {
79 UserId: app.globalData.UserId, 80 UserId: app.globalData.UserId,
80 - Status: 1, //固定传1 81 + Status: '', //固定传1
81 KeyWord: that.data.KeyWord 82 KeyWord: that.data.KeyWord
82 } 83 }
83 app.post(url, param).then((res) => { 84 app.post(url, param).then((res) => {
@@ -35,14 +35,14 @@ @@ -35,14 +35,14 @@
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'>{{listdetail.coverage}}</view> 40 + <view class='list_input'>{{listdetail.coverage}}</view>
41 </view> 41 </view>
42 - <!-- <view class='item_list' style=' align-items: flex-start;'> 42 + <view class='item_list' style=' align-items: flex-start;'>
43 <view class='list_title'>主险保障项</view> 43 <view class='list_title'>主险保障项</view>
44 <view class='list_input' wx:for='{{listdetail.guarantee}}' wx:key wx:for-item='its'>{{its.name}} {{its.num}}{{its.title}} </view> 44 <view class='list_input' wx:for='{{listdetail.guarantee}}' wx:key wx:for-item='its'>{{its.name}} {{its.num}}{{its.title}} </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.compact_time}}</view> 48 <view class='list_input'>{{listdetail.compact_time}}</view>
@@ -53,7 +53,7 @@ @@ -53,7 +53,7 @@
53 </view> --> 53 </view> -->
54 <view class='item_list'> 54 <view class='item_list'>
55 <view class='list_title'>年缴保费</view> 55 <view class='list_title'>年缴保费</view>
56 - <view class='list_input'>{{listdetail.year_money}}</view> 56 + <view class='list_input'>{{listdetail.year_money}}元/年</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>
@@ -6,7 +6,8 @@ Page({ @@ -6,7 +6,8 @@ Page({
6 * 页面的初始数据 6 * 页面的初始数据
7 */ 7 */
8 data: { 8 data: {
9 - inforlist: [] 9 + inforlist: [],
  10 + mainid:''
10 }, 11 },
11 12
12 //添加保单 13 //添加保单
@@ -79,10 +80,12 @@ Page({ @@ -79,10 +80,12 @@ Page({
79 80
80 //goRemind 81 //goRemind
81 goRemind() { 82 goRemind() {
  83 + // cid = 5 & mainid=65
  84 + var mainid = this.data.mainid
82 wx.navigateTo({ 85 wx.navigateTo({
83 - url: '../remind/remind', 86 + url: '../remind/remind?mainid=' + mainid,
84 }) 87 })
85 - }, 88 + },
86 89
87 //获取保单列表 90 //获取保单列表
88 getData() { 91 getData() {
@@ -94,7 +97,8 @@ Page({ @@ -94,7 +97,8 @@ Page({
94 console.log(res) 97 console.log(res)
95 if (res.data.code == 200) { 98 if (res.data.code == 200) {
96 that.setData({ 99 that.setData({
97 - inforlist: res.data.data.inforlist 100 + inforlist: res.data.data.inforlist,
  101 + mainid: res.data.data.inforlist[0].def_id
98 }) 102 })
99 } 103 }
100 }).catch((errMsg) => { 104 }).catch((errMsg) => {
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 const app = getApp() 2 const app = getApp()
3 const pickerFile = require('../../picker/picker_datetime.js'); 3 const pickerFile = require('../../picker/picker_datetime.js');
4 var util = require('../../../utils/time.js') 4 var util = require('../../../utils/time.js')
5 - 5 +
6 var cellId; 6 var cellId;
7 var date = new Date(); 7 var date = new Date();
8 var years = []; 8 var years = [];
@@ -58,22 +58,22 @@ @@ -58,22 +58,22 @@
58 <!-- <block wx:else> --> 58 <!-- <block wx:else> -->
59 <view class='list_info_box'> 59 <view class='list_info_box'>
60 <view class='list_info_item'> 60 <view class='list_info_item'>
61 - <view>提醒时间:</view> 61 + <view class='item_title'>提醒时间:</view>
62 <picker value='{{index}}' range='{{remind_times}}' bindchange="{{edit_state?'remindTime':''}}"> 62 <picker value='{{index}}' range='{{remind_times}}' bindchange="{{edit_state?'remindTime':''}}">
63 <!-- {{remind_time!=''?'08:00':''}} --> 63 <!-- {{remind_time!=''?'08:00':''}} -->
64 <input placeholder='请选择' value="{{remind_times[index]}}" disabled='true'></input> 64 <input placeholder='请选择' value="{{remind_times[index]}}" disabled='true'></input>
65 </picker> 65 </picker>
66 </view> 66 </view>
67 <view class='list_info_item' bindtap="{{edit_state?'translate':''}}"> 67 <view class='list_info_item' bindtap="{{edit_state?'translate':''}}">
68 - <view>跟踪时间:</view> 68 + <view class='item_title'>跟踪时间:</view>
69 <!-- <picker mode='date' value='{{follow_time}}' bindchange='followTime'> --> 69 <!-- <picker mode='date' value='{{follow_time}}' bindchange='followTime'> -->
70 <input placeholder='请选择' value='{{follow_time}}' disabled='true'></input> 70 <input placeholder='请选择' value='{{follow_time}}' disabled='true'></input>
71 <!-- </picker> --> 71 <!-- </picker> -->
72 72
73 </view> 73 </view>
74 <view class='list_info_item'> 74 <view class='list_info_item'>
75 - <view>提醒内容:</view>  
76 - <input placeholder='请输入' value='{{place}}' bindinput='place' disabled='{{!edit_state}}'></input> 75 + <view class='item_title'>提醒内容:</view>
  76 + <textarea placeholder='请输入' maxlength='50' value='{{place}}' bindinput='place' disabled='{{!edit_state}}'></textarea>
77 </view> 77 </view>
78 </view> 78 </view>
79 <!-- </block> --> 79 <!-- </block> -->
@@ -6,8 +6,8 @@ @@ -6,8 +6,8 @@
6 padding: 50rpx 30rpx; 6 padding: 50rpx 30rpx;
7 background: #fff; 7 background: #fff;
8 box-sizing: border-box; 8 box-sizing: border-box;
9 - display: flex;  
10 - align-items: flex-start; 9 + display: flex;
  10 + align-items: flex-start;
11 } 11 }
12 12
13 .user_name_box { 13 .user_name_box {
@@ -39,6 +39,7 @@ @@ -39,6 +39,7 @@
39 font-size: 12rpx; 39 font-size: 12rpx;
40 margin-left: 12rpx; 40 margin-left: 12rpx;
41 } 41 }
  42 +
42 .choose_view { 43 .choose_view {
43 position: fixed; 44 position: fixed;
44 top: 110rpx; 45 top: 110rpx;
@@ -62,6 +63,7 @@ @@ -62,6 +63,7 @@
62 padding: 20rpx 20rpx 26rpx 0; 63 padding: 20rpx 20rpx 26rpx 0;
63 border-bottom: 1rpx solid #eee; 64 border-bottom: 1rpx solid #eee;
64 } 65 }
  66 +
65 .iconbox { 67 .iconbox {
66 display: flex; 68 display: flex;
67 justify-content: center; 69 justify-content: center;
@@ -82,6 +84,7 @@ @@ -82,6 +84,7 @@
82 font-size: 25rpx; 84 font-size: 25rpx;
83 color: #fff; 85 color: #fff;
84 } 86 }
  87 +
85 .user_label_box { 88 .user_label_box {
86 display: flex; 89 display: flex;
87 align-items: center; 90 align-items: center;
@@ -217,23 +220,35 @@ @@ -217,23 +220,35 @@
217 } 220 }
218 221
219 .list_info_box { 222 .list_info_box {
  223 + width: 100%;
220 font-size: 30rpx; 224 font-size: 30rpx;
221 color: #333; 225 color: #333;
222 margin-top: 40rpx; 226 margin-top: 40rpx;
223 } 227 }
224 228
225 .list_info_item { 229 .list_info_item {
226 - height: 45rpx; 230 + /* height: 45rpx; */
  231 + width: 100%;
227 display: flex; 232 display: flex;
228 - align-items: center; 233 + align-items: flex-start;
229 margin-top: 20rpx; 234 margin-top: 20rpx;
230 } 235 }
231 236
  237 +.item_title {
  238 + width: 160rpx;
  239 +}
  240 +
232 .list_info_item input { 241 .list_info_item input {
  242 + /* width: 80%; */
233 border: 0; 243 border: 0;
234 outline: none; 244 outline: none;
235 } 245 }
236 246
  247 +.list_info_item textarea {
  248 + height: 80rpx;
  249 + width: 75%;
  250 +}
  251 +
237 .list_title_info { 252 .list_title_info {
238 font-size: 32rpx; 253 font-size: 32rpx;
239 font-weight: bold; 254 font-weight: bold;
@@ -356,6 +371,7 @@ @@ -356,6 +371,7 @@
356 bottom: 40rpx; 371 bottom: 40rpx;
357 left: 50%; 372 left: 50%;
358 transform: translate(-50%); 373 transform: translate(-50%);
  374 + z-index: 200;
359 } 375 }
360 376
361 .icon-tianjia { 377 .icon-tianjia {
@@ -220,7 +220,6 @@ @@ -220,7 +220,6 @@
220 <view class='null_box'></view> 220 <view class='null_box'></view>
221 <view class='bottom_box'> 221 <view class='bottom_box'>
222 <button class='plan_btn' data-status='{{status}}' bindtap="{{save_state?'saveInfo':''}}">保存</button> 222 <button class='plan_btn' data-status='{{status}}' bindtap="{{save_state?'saveInfo':''}}">保存</button>
223 - <button class='plan_btn plan_active' open-type="{{shareState?'share':''}}" data-status='{{status}}'>发送给客户</button> 223 + <button class="plan_btn2 {{shareState?'plan_active':''}}" open-type="{{shareState?'share':''}}" data-status='{{status}}'>发送给客户</button>
224 </view> 224 </view>
225 -  
226 </block> 225 </block>
@@ -411,7 +411,18 @@ page { @@ -411,7 +411,18 @@ page {
411 align-items: center; 411 align-items: center;
412 justify-content: center; 412 justify-content: center;
413 } 413 }
414 - 414 +.plan_btn2 {
  415 + width: 335rpx;
  416 + height: 80rpx;
  417 + background: rgba(255, 255, 255, 1);
  418 + border: 1rpx solid #ccc;
  419 + border-radius: 40rpx;
  420 + font-size: 28rpx;
  421 + color: #ccc;
  422 + display: flex;
  423 + align-items: center;
  424 + justify-content: center;
  425 +}
415 .plan_active { 426 .plan_active {
416 background: #0286ff; 427 background: #0286ff;
417 color: #fff; 428 color: #fff;
1 { 1 {
2 "usingComponents": {}, 2 "usingComponents": {},
3 - "navigationBarTitleText": "String" 3 + "navigationBarTitleText": "体检报告"
4 } 4 }
@@ -168,16 +168,16 @@ Page({ @@ -168,16 +168,16 @@ Page({
168 168
169 //会员充值 169 //会员充值
170 vipCharge() { 170 vipCharge() {
171 - if (app.globalData.UserType == 4) {  
172 - wx.showToast({  
173 - title: '暂无权限',  
174 - icon: 'none'  
175 - })  
176 - } else { 171 + // if (app.globalData.UserType == 4) {
  172 + // wx.showToast({
  173 + // title: '暂无权限',
  174 + // icon: 'none'
  175 + // })
  176 + // } else {
177 wx.navigateTo({ 177 wx.navigateTo({
178 url: '../index/VipRecharge/VipRecharge', 178 url: '../index/VipRecharge/VipRecharge',
179 }) 179 })
180 - } 180 + // }
181 }, 181 },
182 182
183 //报告浏览记录 183 //报告浏览记录
@@ -37,7 +37,7 @@ @@ -37,7 +37,7 @@
37 "list": [] 37 "list": []
38 }, 38 },
39 "miniprogram": { 39 "miniprogram": {
40 - "current": 10, 40 + "current": -1,
41 "list": [ 41 "list": [
42 { 42 {
43 "id": -1, 43 "id": -1,