作者 刘晓艳

会员充值字段显示等

... ... @@ -16,9 +16,7 @@ Page({
/**
* 生命周期函数--监听页面加载
*/
getaboutdata() {
let that = this;
let url = 'pubilc/about';
... ... @@ -31,71 +29,68 @@ Page({
aboutdata.picurl = res.data.data.picurl;
aboutdata.title = res.data.data.title;
that.setData({
aboutdata: aboutdata
aboutdata: aboutdata,
})
WxParse.wxParse('content', 'html', res.data.data.post_content, that, 5);
}
// this.setData({
// imgUrls: res.data.data
// })
}).catch((errMsg) => {
console.log(errMsg)
})
},
onLoad: function (options) {
/**
* 生命周期函数--监听页面加载
*/
onLoad: function(options) {
this.getaboutdata();
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
onReady: function() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
onShow: function() {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
onHide: function() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
onUnload: function() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
onPullDownRefresh: function() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
onReachBottom: function() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
onShareAppMessage: function() {
}
})
\ No newline at end of file
... ...
<!--pages/about/about.wxml-->
<view class='topimg'>
<image src='/images/banenr.png'></image>
<image src='{{aboutdata.picurl}}'></image>
</view>
<view class='content'>
<view class='title'>{{aboutdata.title}}</view>
... ...
... ... @@ -280,16 +280,20 @@ Page({
if (picurl == undefined) {
picurl = ''
}
// else if (list.mobile == '') {
// warn = '请填写您的手机号'
// } else if (!(/^[1][3,4,5,7,8][0-9]{9}$/.test(list.mobile))) {
// warn = "手机号格式不正确";
// }
if (list.name == "") {
warn = "请填写您的姓名";
} else if (sex_index == undefined) {
warn = "请填写您的性别";
} else if (list.family_role == '') {
warn = '请填写您的家庭角色'
} else if (list.mobile == '') {
warn = '请填写您的手机号'
} else if (!(/^[1][3,4,5,7,8][0-9]{9}$/.test(list.mobile))) {
warn = "手机号格式不正确";
} else if (list.birthday == '') {
warn = "请填选择您的出生日期"
} else {
... ...
... ... @@ -39,7 +39,7 @@
</view>
<view class='item_list'>
<view class='list_title'>
<text class='list_icon'>*</text>
<!-- <text class='list_icon'>*</text> -->
<text>手机号</text>
</view>
<view class='list_input'>
... ...
... ... @@ -63,6 +63,7 @@ page {
outline: none;
font-size: 30rpx;
color: #000;
line-height: 1;
}
.list_input .picker {
... ...
... ... @@ -13,9 +13,8 @@ Page({
//选择支付方式
buyWay(e) {
console.log(e)
wx.navigateTo({
url: '../payWay/payWay?id=' + e.currentTarget.id + '&moneyt=' + e.currentTarget.dataset.moneyt,
url: '../payWay/payWay?id=' + e.currentTarget.id + '&moneyt=' + e.currentTarget.dataset.moneyt + '&money=' + e.currentTarget.dataset.money,
})
},
... ...
... ... @@ -3,11 +3,11 @@
<view class='banner_img'>
<image src='/images/ele@2x.png'></image>
</view>
<text class='banner_info'>{{toplist[0].t_text}}</text>
<text class='banner_info'>{{toplist[0].t_title}}</text>
<view class='banner_title'>{{toplist[0].title}}</view>
<!-- <view class='banner_content'>完成新手任务,赠送{{toplist[0].title}}</view> -->
<view class='banner_content'>{{toplist[0].t_title}}{{toplist[0].title}}</view>
<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>
<view class='banner_content'>{{toplist[0].t_text}}</view>
<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}}&money={{toplist[0].money}}'>立即购买</navigator>
</view>
<view class='item_list_box'>
<view class="item_list {{(index+1)%2==0?'year_list':''}}" wx:for='{{mainlist}}' wx:key>
... ... @@ -17,7 +17,7 @@
<text>或{{item.moneyt}}T币</text>
</view>
<navigator class='list_btn month_card' hover-class="navigator-hover"
url='/pages/index/payWay/payWay?id={{item.id}}&moneyt={{item.moneyt}}&title={{item.title}}' >立即购买</navigator>
url='/pages/index/payWay/payWay?id={{item.id}}&moneyt={{item.moneyt}}&title={{item.title}}&money={{item.money}}' >立即购买</navigator>
</view>
</view>
</view>
\ No newline at end of file
... ...
... ... @@ -64,8 +64,9 @@ Page({
edit_state3: false,
coverage: '',
focus: false,
focus2: false,
sub_index: '',
birthday:''
birthday: ''
},
//回到顶部
... ... @@ -210,11 +211,6 @@ Page({
// xielie: index
// })
if (type == 'fujiaxian') {
this.setData({
focus: true
})
}
// 已经添加的主险
let tempMain_list = Object.assign([], this.data.main_array)
this.data.inforid != 0 && this.data.inforid != undefined
... ... @@ -347,8 +343,21 @@ Page({
//确认选择的推荐方案
confirmCase() {
let index = this.data.xulie;
let type = this.data.addType;
console.log(type)
if (type == 'fujiaxian') {
this.setData({
focus: true,
focus2:false
})
} else {
this.setData({
focus2: true,
focus: false
})
}
console.log(this.data.focus2, this.data.focus)
let index = this.data.xulie;
var that = this
var main_array = []
var projectlist = Object.assign([], this.data.showProjectlist)
... ... @@ -531,13 +540,28 @@ Page({
addUnit2(e) {
var beneficiary_list = this.data.beneficiary_list;
var index = e.currentTarget.dataset.index
var num = 0
beneficiary_list[index].unit = e.detail.value;
if (beneficiary_list[index].unit > 100) {
wx.showToast({
title: '请重新输入收益比例',
icon: 'none'
})
beneficiary_list[index].unit = 0
// if (beneficiary_list[index].unit > 100) {
// wx.showToast({
// title: '请重新输入收益比例',
// icon: 'none'
// })
// beneficiary_list[index].unit = 0
// }
for (var i = 0; i < beneficiary_list.length; i++) {
// num += beneficiary_list[i].unit
// if (num > 100) {
// wx.showToast({
// title: '请重新输入收益比例',
// icon: 'none'
// })
// } else {
// beneficiary_list[index].unit = 0
// }
}
this.setData({
beneficiary_list: beneficiary_list,
... ... @@ -589,6 +613,7 @@ Page({
addPersons2(e) {
var list = this.data.beneficiary_list;
var len = list.length
var num = 0
if (list[len - 1].name == undefined) {
wx.showToast({
title: '请输入受益人',
... ... @@ -600,12 +625,27 @@ Page({
icon: 'none'
})
} else {
list[len] = {
// name_array: this.data.insure,
name: '',
unit: ''
for (var i = 0; i < list.length; i++) {
num += list[i].unit
if (num > 100) {
console.log(list)
wx.showToast({
title: '请重新输入收益比例,收益比之和不得超过100',
icon: 'none'
})
list[len - 1].unit = ''
} else {
list[len] = {
// name_array: this.data.insure,
name: '',
unit: ''
}
}
}
}
this.setData({
beneficiary_list: list
})
... ... @@ -632,10 +672,9 @@ Page({
//删除收益人
deletebenefict(e) {
let index = e.currentTarget.dataset.index;
let tempbenefict = this.data.beneficiary_list
let tempbenefict = this.data.beneficiary_list
let beneficiaryList = this.data.beneficiaryList
// 获取当前选项的受益人
// let person = tempbenefict[index].beneficiary_name;
let person = tempbenefict[index].name;
tempbenefict.splice(index, 1);
if (person) beneficiaryList.splice(beneficiaryList.indexOf(person), 1)
... ... @@ -648,13 +687,11 @@ Page({
//添加附加险
addRisk() {
// var risk_list = Object.assign({}, this.data.risk_list);
var risk_list = this.data.risk_list;
var len = risk_list.length
risk_list[len] = {
name: '',
mo: [],
// project_time: '',
title: '',
num: ''
}
... ... @@ -976,13 +1013,13 @@ Page({
selectUnit4(e) {
var unit = e.currentTarget.dataset.unit;
let index = e.currentTarget.dataset.index;
var focus=this.data.focus
var focus = this.data.focus
// let risk_list = Object.assign([], this.data.risk_list);
let risk_list = this.data.risk_list
risk_list[index].title = unit
if (risk_list[index].title == '终身') {
risk_list[index].num = ''
focus=true
focus = true
}
this.setData({
risk_list: risk_list,
... ... @@ -1008,7 +1045,7 @@ Page({
this.setData({
insure: res.data.data.list,
recognizee: res.data.data.list,
birthday:res.data.data.list[0].birthday
birthday: res.data.data.list[0].birthday
// beneficiary_list: beneficiary_list,
})
}
... ...
... ... @@ -161,7 +161,7 @@
</view>
<view class='list_input_box'>
<view class='list_input'>
<input type='number' placeholder='请填写' name='year_money' value='{{year_money}}' bindinput='yearMoney'></input>
<input type='number' placeholder='请填写' name='year_money' value='{{year_money}}' focus='{{focus2}}' bindinput='yearMoney'></input>
</view>
<view class='list_input'>
<input class='income_input' type='text' placeholder='请填写' value='元/年' disabled='true'></input>
... ...
... ... @@ -116,10 +116,12 @@ page {
.list_input input {
width: 100%;
height: 100%;
border: 0;
outline: none;
font-size: 30rpx;
color: #000;
line-height: 1;
}
.list_input .picker {
... ... @@ -451,6 +453,7 @@ page {
font-size: 28rpx;
color: #1a1a1a;
text-align: left;
line-height: 1;
}
.icon-xuanzhongkuang, .icon-fangkuang {
... ...
... ... @@ -86,7 +86,7 @@
</view>
<view class='popup_img' wx:else>
<!-- <view class='iconfont icon-guanbi' catchtap='deleteImg' data-index='{{index}}'></view> -->
<image src='{{approve_pic}}' bindtap='viewImg' data-index='{{index}}'></image>
<image src='{{approve_pic}}'></image>
</view>
</view>
<view class="save_btn" bindtap='saveInfo'>保存</view>
... ...
// pages/index/inviteList/inviteList.js
const app=getApp();
const app = getApp();
Page({
/**
* 页面的初始数据
*/
data: {
tab_state:false,
invitalist:[]
tab_state: false,
invitalist: []
},
//展开收起
... ... @@ -21,28 +21,28 @@ Page({
},
invitationList() {
let url = 'counselor/invite'
let params = {
UserId: app.globalData.UserId,
}
app.post(url, params).then((res) => {
console.log(res)
if (res.data.code == 200) {
this.setData({
invitalist: res.data.data.listmessages
})
invitationList() {
let url = 'counselor/invite'
let params = {
UserId: app.globalData.UserId,
}
app.post(url, params).then((res) => {
console.log(res)
if (res.data.code == 200) {
this.setData({
invitalist: res.data.data.listmessages
}
})
}
})
},
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function(options) {
this.invitationList();
this.invitationList();
},
/**
... ...
<!--pages/index/inviteList/inviteList.wxml-->
<view class='charge_box'>
<view class='envoy_title_box'>
<text>邀请名单</text>
<text>充值记录</text>
</view>
<view class='box' wx:for='{{invitalist}}' wx:key>
<view class='envoy_content_box'>
<view>
<view class='envoy_title'>{{item.name}}</view>
</view>
<view bindtap='tabExpand' data-index='{{index}}'>
<text class="iconfont font_icon {{item.tab_state?'icon-shang':'icon-xiala'}}"></text>
<!-- <text class='envoy_hint' wx:if='{{item.tab_state}}'>收起</text>
<text class='envoy_hint' wx:else>展开</text> -->
</view>
<view class='envoy_title_box'>
<text>邀请名单</text>
<text>充值记录</text>
</view>
<view class="envoy_info_box {{!item.tab_state?'expand':''}}" wx:if='{{item.pg.length>0}}'>
<view class='envoy_content' wx:for='{{item.pg}}' wx:key>
<view>{{item.change}}</view>
<view class=''>{{item.time}}</view>
<view class='box' wx:for='{{invitalist}}' wx:key>
<view class='envoy_content_box'>
<view>
<view class='envoy_title'>{{item.name}}</view>
</view>
<view bindtap='tabExpand' data-index='{{index}}'>
<text class="iconfont font_icon {{item.tab_state?'icon-shang':'icon-xiala'}}"></text>
<!-- <text class='envoy_hint' wx:if='{{item.tab_state}}'>收起</text>
<text class='envoy_hint' wx:else>展开</text> -->
</view>
</view>
</view>
</view>
<view class="envoy_info_box {{!item.tab_state?'expand':''}}" wx:if='{{item.pg.length>0}}'>
<view class='envoy_content' wx:for='{{item.pg}}' wx:key>
<view>{{item.time}} </view>
<view class='envoy_title'>{{item.description}}</view>
</view>
</view>
</view>
</view>
\ No newline at end of file
... ...
... ... @@ -12,7 +12,8 @@ Page({
PayType: 1, //1为余额支付2为微信支付
balance: '',
Page: 0,
end_time:''
end_time:'',
money:''
},
setpaytype1() {
this.setData({
... ... @@ -126,7 +127,8 @@ Page({
that.setData({
VipId: options.id,
moneyt: options.moneyt,
title: options.title
title: options.title,
money:options.money
})
this.TB()
},
... ...
... ... @@ -2,7 +2,7 @@
<view class='banner_box' id='{{VipId}}'>
<view>{{title}}</view>
<!-- <text class='money'>100</text> 元 </view>-->
<view class='banner_hint'>微信支付返{{moneyt}}T币</view>
<view class='banner_hint'>微信支付返{{money}}T币</view>
</view>
<view class='content_item'>
<view class='item_list' bindtap='setpaytype1'>
... ...
... ... @@ -76,7 +76,7 @@ Page({
appointment_time: '',
level_state: false,
time_state: false,
interval:false,
interval: false,
},
// 打电话
... ... @@ -224,18 +224,43 @@ Page({
},
//删除日志
delLog(e){
delLog(e) {
let that = this;
let id = e.currentTarget.dataset.id; //客户id
let url ='counselor/logDelete'
let params={
log_id:id
}
app.post(url,params).then((res)=>{
if (res.data.code == 200) {
wx.showModal({
title: '提示',
content: '确认删除?',
showCancel: true,
cancelText: '取消',
cancelColor: '',
confirmText: '确认',
confirmColor: '',
success: function(res) {
console.log(res)
this.getData()
}
if (res.confirm) {
let id = e.currentTarget.dataset.id; //客户id
let url = 'counselor/logDelete'
let params = {
log_id: id
}
app.post(url, params).then((res) => {
if (res.data.code == 200) {
wx.showToast({
title: '删除成功',
})
that.getData()
}
})
} else {
wx.showToast({
title: '删除失败',
icon: 'none'
})
}
},
fail: function(res) {
console.log(res)
},
complete: function(res) {},
})
},
... ...
... ... @@ -44,10 +44,10 @@
position: fixed;
top: 110rpx;
left: 0;
z-index: 10;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5);
z-index: 999;
}
.choose_itenbox {
... ...
... ... @@ -32,7 +32,6 @@ Page({
//保单详情
summaryDetail(e) {
console.log(e)
var InId = e.currentTarget.dataset.inid
wx.navigateTo({
url: '/pages/index/policyListDetail/policyListDetail?InId=' + InId,
... ... @@ -439,6 +438,13 @@ Page({
var collect = res.data.data.list.collect;
for (var j = 0; j < collect.length; j++) {
collect[j].collect_state = false
for (var i = 0; i < collect[j].list.length; i++) {
if (collect[j].list[i].num == 0) {
collect[j].list[i].num = 0
} else {
collect[j].list[i].num = Math.round((collect[j].list[i].num) * 10000) / 10000
}
}
}
//保单明细
... ...
... ... @@ -152,11 +152,15 @@
<view class='summary_content_box'>
<view class='summary_list' wx:for='{{item.list}}' wx:key wx:for-item='its' wx:for-index='sindex'>
<view class='summary_content'>{{its.name}}</view>
<view class='summary_content'>{{its.num}}</view>
<view class='summary_content'>
<text>{{its.num}} </text>
<text wx:if="{{its.name == '每日住院津贴'}}">元/天</text>
<text wx:else>万</text>
</view>
<view class='summary_content forehead'>
<input type='number' placeholder='请输入' value="{{its.plan}}" bindinput='suggestForehead' data-num='{{its.num}}' data-sindex='{{sindex}}' data-mindex='{{mindex}}' focus='' disabled='{{selected}}'></input>
</view>
<view class='summary_content'>{{its.gap}}</view>
<view class='summary_content gap'>{{its.gap}}</view>
</view>
</view>
</view>
... ... @@ -187,15 +191,14 @@
<view class='list_title'>{{sit.name}}</view>
</view>
</view>
{{item.information_state}}
<scroll-view scroll-x>
<view class='scroll_content_box'>
<view class='list_content_box' wx:for='{{information}}' wx:key='' wx:if='{{item.information_state}}'>
<view class='item_list'>
<view class='list_title'>{{item.recognizee}}</view>
</view>
<view class='item_list'>
<view class='list_title' bindtap='summaryDetail' data-InId='{{item.id}}'>{{item.in_num}}</view>
<view class='item_list'>
<view class='list_title' style='text-decoration:underline' bindtap='summaryDetail' data-InId='{{item.id}}'>{{item.in_num}}</view>
</view>
<view class='item_list'>
<view class='list_title'>{{item.main_risks}}</view>
... ... @@ -223,7 +226,12 @@
<view class='null_box'></view>
<cover-view class='bottom_box'>
<cover-view class='plan_btn'>
<button class='plan_btn' style='border:0;' data-status='{{status}}' bindtap="{{save_state?'saveInfo':''}}">保存</button>
<button class='plan_btn' style='width:100%;border:0' data-status='{{status}}' bindtap="{{save_state?'saveInfo':''}}">
<text style='color:#fff'>测试测试 </text>
<text style='color:#0286ff;'>保存 </text>
保存
<text style='color:#fff'>测试测试</text>
</button>
</cover-view>
<cover-view class="plan_btn2 {{shareState?'plan_active':''}}">
<button class="plan_btn2 {{shareState?'plan_active':''}}" style='border:0;' open-type="{{shareState?'share':''}}" data-status='{{status}}'>发送给客户</button>
... ...
... ... @@ -287,6 +287,9 @@ page {
.forehead {
color: #0286ff;
}
.gap{
color: #ff5c2e;
}
/* 体检报告 */
... ... @@ -419,6 +422,9 @@ page {
align-items: center;
justify-content: center;
}
.plan_btn i{
color: red;
}
.plan_btn2 {
width: 335rpx;
height: 80rpx;
... ...
// pages/index/summaryList2/summaryList2.js
const app=getApp()
Page({
/**
* 页面的初始数据
*/
... ... @@ -25,6 +25,15 @@ Page({
recommend:[],
status:''
},
//保单详情
summaryDetail(e) {
var InId = e.currentTarget.dataset.inid
wx.navigateTo({
url: '/pages/index/policyListDetail/policyListDetail?InId=' + InId,
})
},
// 打电话
makePhoneCall() {
let that = this;
... ...
... ... @@ -113,11 +113,15 @@
<view class='summary_content_box'>
<view class='summary_list' wx:for='{{item.list}}' wx:key wx:for-item='its' wx:for-index='sindex'>
<view class='summary_content'>{{its.name}}</view>
<view class='summary_content'>{{its.text}}</view>
<view class='summary_content'>
<text>{{its.text}}</text>
<text wx:if="{{its.name == '每日住院津贴'}}">元/天</text>
<text wx:else>万</text>
</view>
<view class='summary_content forehead'>
<input type='number' placeholder='' value="{{its.plan}}" focus='' disabled='true'></input>
</view>
<view class='summary_content'>{{its.gap!=''?its.gap:'-'}}</view>
<view class='summary_content gap'>{{its.gap!=''?its.gap:'-'}}</view>
</view>
</view>
</view>
... ... @@ -155,7 +159,7 @@
<view class='list_title'>{{item.recognizee}}</view>
</view>
<view class='item_list'>
<view class='list_title'>{{item.in_num}}</view>
<view class='list_title' style='text-decoration:underline' bindtap='summaryDetail' data-InId='{{item.id}}'>{{item.in_num}}</view>
</view>
<view class='item_list'>
<view class='list_title'>{{item.main_risks}}</view>
... ...
... ... @@ -13,7 +13,7 @@ Page({
time: '获取验证码', //倒计时
currentTime: 60,
disabled: true,
code:'',
code: '',
},
//体检报告详情检测
... ... @@ -64,16 +64,16 @@ Page({
app.post(url, params).then((res) => {
console.log(that.data.PublishId, app.globalData.UserId, that.data.code)
if (res.data.code == 200) {
if(res.data.data.type==1){
wx.navigateTo({
url: '/pages/index/summaryList2/summaryList2?PublishId=' + that.data.PublishId,
})
}else{
wx.showToast({
title: '验证码超时',
icon:'none'
})
}
if (res.data.data.type == 1) {
wx.navigateTo({
url: '/pages/index/summaryList2/summaryList2?PublishId=' + that.data.PublishId,
})
} else {
wx.showToast({
title: '验证码超时',
icon: 'none'
})
}
}
}).catch((errMsg) => {
console.log(errMsg)
... ... @@ -81,15 +81,20 @@ Page({
}
},
getCode(e){
getCode(e) {
this.setData({
code:e.detail.value
code: e.detail.value
})
},
// 倒计时按钮变化
getVerificationCode() {
if (!(/^1(3|4|5|7|8)\d{9}$/.test(this.data.mobile))) {
if (this.data.mobile == '') {
wx.showToast({
title: '请联系顾问填写手机号',
icon: 'none',
})
} else if (!(/^1(3|4|5|7|8)\d{9}$/.test(this.data.mobile))) {
wx.showToast({
title: '手机号不正确',
icon: 'none',
... ... @@ -101,15 +106,15 @@ Page({
mobile: this.data.mobile
}
app.post(url, params).then((res) => {
console.log('验证码',res)
if(res.data.data.type==1){
console.log('验证码', res)
if (res.data.data.type == 1) {
this.setData({
disabled: true,
})
}else{
} else {
wx.showToast({
title: '验证码错误',
icon:'none'
icon: 'none'
})
}
})
... ...
... ... @@ -98,14 +98,14 @@ Page({
console.log(res)
if (res.data.data.type == 1) {
wx.showToast({
title: '提交成功,请等待后台审核',
title: '正在人工审核',
icon: 'success',
duration: 2000,
mask: true,
})
} else if (res.data.data.type == -1) {
wx.showToast({
title: '正在人工审核',
title: 'T币数值错误',
icon: 'none',
duration: 2000,
})
... ... @@ -167,13 +167,6 @@ Page({
//T币交易记录
TB() {
wx.navigateTo({
url: '../index/TB/TB',
})
},
//会员充值
vipCharge() {
if (app.globalData.UserType == 4) {
wx.showToast({
title: '暂无权限',
... ... @@ -181,11 +174,25 @@ Page({
})
} else {
wx.navigateTo({
url: '../index/VipRecharge/VipRecharge',
url: '../index/TB/TB',
})
}
},
//会员充值
vipCharge() {
// if (app.globalData.UserType == 4) {
// wx.showToast({
// title: '暂无权限',
// icon: 'none'
// })
// } else {
wx.navigateTo({
url: '../index/VipRecharge/VipRecharge',
})
// }
},
//报告浏览记录
reportList() {
wx.navigateTo({
... ... @@ -233,7 +240,7 @@ Page({
twoCode(e) {
let imgurl = e.currentTarget.dataset.imgurl
console.log(e)
if (app.globalData.UserType == 4) {
if (app.globalData.UserType == 4 && app.globalData.user_index!=4) {
wx.showToast({
title: '暂无权限',
icon: 'none'
... ... @@ -389,7 +396,7 @@ Page({
wx.setNavigationBarTitle({
title: '客户个人中心'
})
} else if (app.globalData.UserType === 2){
} else if (app.globalData.UserType === 2) {
wx.setNavigationBarTitle({
title: '客户个人中心'
})
... ...
... ... @@ -187,7 +187,7 @@
<view class="envoy_info_box {{!item.tab_state?'expand':''}}">
<view class='envoy_content' wx:for='{{item.pg}}' wx:key=''>
<view>{{item.time}}</view>
<view class='envoy_title'>{{item.change}}元</view>
<view class='envoy_title'>{{item.parent_change}}元</view>
</view>
</view>
</view>
... ... @@ -206,7 +206,7 @@
</view>
</view>
<view class='content_box'>
<view class='item_list' bindtap='twoCode' data-imgurl='{{counselor.wechat_code}}'>
<view class='item_list' bindtap='twoCode' data-imgurl='{{popularize.wechat_code}}'>
<view class='list_icon'>
<text class='iconfont icon-jisuanqi'></text>
</view>
... ... @@ -235,7 +235,7 @@
<view class="envoy_info_box {{!items.tab_state?'expand':''}}">
<view class='envoy_content' wx:for='{{items.pg}}' wx:for-item='item' wx:for-index='index' wx:key>
<view>{{item.time}} </view>
<view class='envoy_title'>{{item.change}}元</view>
<view class='envoy_title'>{{item.description}}</view>
</view>
</view>
</view>
... ...
... ... @@ -37,15 +37,9 @@
"list": []
},
"miniprogram": {
"current": 9,
"current": 8,
"list": [
{
"id": 2,
"name": "保单体检",
"pathName": "pages/index/periodicReviews/periodicReviews",
"query": "allinfo={\"family_id\":128,\"warn_time\":0,\"warn_status\":0,\"infor\":2,\"users\":[{\"family_id\":128,\"id\":241,\"name\":\"测试\",\"family_role\":\"家住\",\"user_family\":1,\"cid\":413,\"key_status\":0},{\"family_id\":128,\"id\":242,\"name\":\"ceshi\",\"family_role\":\"haiz\",\"user_family\":0,\"cid\":413,\"key_status\":0}]}"
},
{
"id": -1,
"name": "个人信息录入",
"pathName": "pages/index/EntryInformation/EntryInformation",
... ... @@ -91,18 +85,18 @@
"scene": null
},
{
"id": 10,
"name": "保单新增",
"pathName": "pages/index/policyManage/policyManage",
"query": "FamilyId=19",
"scene": null
},
{
"id": -1,
"name": "保单添加",
"pathName": "pages/index/addListDetail/addListDetail",
"query": "def_id=135&FamilyId=70&name=333",
"scene": null
},
{
"id": -1,
"name": "aa",
"pathName": "pages/index/summaryList/summaryList",
"query": "allinfo={\"family_id\":78,\"warn_time\":9000000000,\"warn_status\":0,\"infor\":2,\"users\":[{\"family_id\":78,\"id\":153,\"name\":\"刘晓艳\",\"family_role\":\"11\",\"user_family\":1,\"cid\":5,\"key_status\":0},{\"family_id\":78,\"id\":154,\"name\":\"秘密\",\"family_role\":\"你们\",\"user_family\":0,\"cid\":5,\"key_status\":0}]}",
"scene": null
}
]
}
... ...