优化
This commit is contained in:
parent
ca34793579
commit
fd6ae7f04d
@ -37,4 +37,8 @@
|
||||
}
|
||||
.van-cell {
|
||||
padding: 32rpx !important;
|
||||
}
|
||||
|
||||
.bankcard input{
|
||||
font-size: 16px !important;
|
||||
}
|
||||
@ -8,8 +8,8 @@
|
||||
<view class="sex">{{case_detail.sex==1?'男':case_detail.sex==2?'女':'未知'}}|{{case_detail.age}}岁 </view>
|
||||
</view>
|
||||
<view class="info">
|
||||
<view class="height info_item"><text class="info_title">身高:</text><text class="info_val">{{case_detail.height==null?'未知':case_detail.height}}CM</text></view>
|
||||
<view class="weight info_item"><text class="info_title">体重:</text><text class="info_val">{{case_detail.weight==null?'未知':case_detail.weight}}KG</text></view>
|
||||
<view class="height info_item"><text class="info_title">身高:</text><text class="info_val">{{case_detail.height==null?'未知':case_detail.height + 'CM'}}</text></view>
|
||||
<view class="weight info_item"><text class="info_title">体重:</text><text class="info_val">{{case_detail.weight==null?'未知':case_detail.weight + 'KG'}}</text></view>
|
||||
<view class="minzu info_item"><text class="info_title">民族:</text><text class="info_val">{{case_detail.nation_name==''?'未知':case_detail.nation_name}}</text></view>
|
||||
<view class="zhiye info_item"><text class="info_title">职业:</text><text class="info_val">{{case_detail.job_name==''?'未知':case_detail.job_name}}</text></view>
|
||||
<view class="hunyin info_item"><text class="info_title">婚姻:</text><text class="info_val">{{case_detail.marital_status==0?'未婚':case_detail.marital_status==1?'已婚':case_detail.marital_status==2?'离异':'未知'}}</text></view>
|
||||
|
||||
@ -37,12 +37,14 @@ page{
|
||||
margin: 20rpx 0;
|
||||
}
|
||||
.info_item{
|
||||
text-align: center;
|
||||
text-align: left;
|
||||
/* width: 190rpx; */
|
||||
height: 60rpx;
|
||||
/* height: 60rpx; */
|
||||
margin-top: 10rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-left: 20rpx;
|
||||
align-items: flex-start;
|
||||
}
|
||||
.info_title{
|
||||
font-size: 28rpx;
|
||||
@ -50,6 +52,7 @@ page{
|
||||
}
|
||||
.info_val{
|
||||
font-size: 28rpx;
|
||||
flex: 1;
|
||||
color: #666666;
|
||||
}
|
||||
.disease_box{
|
||||
|
||||
@ -21,7 +21,7 @@ Page({
|
||||
},
|
||||
onLoad(){
|
||||
let now_year = (new Date()).Format("yyyy");
|
||||
let begin_year = 2022;
|
||||
let begin_year = 2023;
|
||||
let years = [];
|
||||
for(let i=begin_year;i<=now_year;i++){
|
||||
years.push({label: i+"年", value: i+""})
|
||||
|
||||
@ -204,6 +204,10 @@ Page({
|
||||
if (typeof this.getTabBar === 'function' && this.getTabBar()) {
|
||||
this.getTabBar().stopInterval()
|
||||
}
|
||||
|
||||
this.setData({
|
||||
contactKeFu: false
|
||||
})
|
||||
},
|
||||
Copylistener(res){
|
||||
setTimeout(()=>{
|
||||
@ -226,7 +230,7 @@ Page({
|
||||
skeleton_loading: true,
|
||||
});
|
||||
|
||||
wx.onCopyUrl(this.Copylistener);
|
||||
// wx.onCopyUrl(this.Copylistener);
|
||||
if (typeof this.getTabBar === 'function' && this.getTabBar()) {
|
||||
this.getTabBar().setData({
|
||||
active: 0, //数字是当前页面在tabbar的索引,如我的查询页索引是2,因此这边为2,同理首页就为0,审批页面为1
|
||||
|
||||
@ -27,7 +27,7 @@
|
||||
<view class="price_steup_box_bottom_title">问诊单价</view>
|
||||
<view class="price_steup_box_bottom_num">
|
||||
<input class="weui-input" disabled bindblur="onPriceChange" type="digit" value="{{ info.inquiry_price }}" placeholder="请输入问诊单价" />
|
||||
<text class="price">元</text>
|
||||
<text class="price" decode="true"> 元</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@ -36,7 +36,7 @@ Page({
|
||||
},
|
||||
onLoad(){
|
||||
let now_year = (new Date()).Format("yyyy");
|
||||
let begin_year = 2022;
|
||||
let begin_year = 2023;
|
||||
let years = [];
|
||||
for(let i=begin_year;i<=now_year;i++){
|
||||
years.push({label: i+"年", value: i+""})
|
||||
|
||||
@ -6,15 +6,15 @@
|
||||
账户当前余额:
|
||||
</view>
|
||||
<view style="font-size: 40rpx;">
|
||||
¥{{balance_account}}
|
||||
¥ {{balance_account}}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="monthbox">
|
||||
<view class="month" bindtap="showPop">{{dateText}}<van-icon name="arrow-down" color="#999" size="40rpx" /></view>
|
||||
<view class="account">
|
||||
<view class="account_left">当月收益:¥{{amount_total_month}}</view>
|
||||
<view class="account_right">当月已提取:¥{{withdrawal_amount_month}}</view>
|
||||
<view class="account_left" style="font-size: 30rpx;">当月收益:<text style="font-size: 40rpx;">¥{{amount_total_month}}</text></view>
|
||||
<view class="account_right" style="font-size: 30rpx;">当月已提取:<text style="font-size: 40rpx;">¥{{withdrawal_amount_month}}</text></view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="txt_title">账单</view>
|
||||
|
||||
@ -30,7 +30,8 @@
|
||||
</van-cell>
|
||||
<van-cell size="large" url="/Pages/yishi/onlinesetupprice/index" custom-style="font-size:32rpx;" title="问诊单价" is-link border="{{false}}" >
|
||||
<view class="cell_value">
|
||||
{{info.inquiry_price}}元
|
||||
<text style="color: red;">{{info.inquiry_price}}</text>
|
||||
<text style="color: #000;"> 元</text>
|
||||
</view>
|
||||
</van-cell>
|
||||
</view>
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="price_steup_box_bottom">
|
||||
<view class="price_steup_box_bottom_title">问诊单价(元)</view>
|
||||
<view class="price_steup_box_bottom_title">问诊单价</view>
|
||||
<view class="price_steup_box_bottom_num">
|
||||
<input class="weui-input" bindblur="onPriceChange" type="digit" value="{{ info.inquiry_price }}" placeholder="请输入问诊单价" />
|
||||
<text class="price">元</text>
|
||||
|
||||
@ -405,7 +405,7 @@ Page({
|
||||
session_item.inquiry_status = item.inquiry_status;//订单状态暂无
|
||||
let txt = {};
|
||||
if(lastMessage.messageForShow == "[自定义消息]"){
|
||||
let text = "自定义消息";
|
||||
let text = "系统消息";
|
||||
let payload = lastMessage.payload;
|
||||
if(payload && payload.data) {
|
||||
// console.log("payload: ",payload.data);
|
||||
|
||||
@ -82,7 +82,7 @@ Page({
|
||||
let valarr = [''+val+'']
|
||||
this.setData({
|
||||
amountValue: valarr,
|
||||
amountText: val+" 元"
|
||||
amountText: val
|
||||
})
|
||||
},
|
||||
onChange({ detail }) {
|
||||
|
||||
@ -38,9 +38,11 @@
|
||||
border="{{false}}"
|
||||
url="/Pages/yishi/yizhensetupprice/index"
|
||||
>
|
||||
<view class="price">
|
||||
{{ amountText }}
|
||||
<view>
|
||||
<text class="price">{{ amountText }}</text>
|
||||
<text style="color: #000;"> 元</text>
|
||||
</view>
|
||||
|
||||
</van-cell>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@ -79,7 +79,7 @@ Page({
|
||||
let valarr = [''+val+'']
|
||||
this.setData({
|
||||
amountValue: valarr,
|
||||
amountText: val+" 元"
|
||||
amountText: val
|
||||
})
|
||||
},
|
||||
onChange({ detail }) {
|
||||
@ -177,7 +177,7 @@ Page({
|
||||
this.setData({
|
||||
[`${key}Visible`]: false,
|
||||
[`${key}Value`]: value,
|
||||
[`${key}Text`]: value+' 元',
|
||||
[`${key}Text`]: value,
|
||||
"info.inquiry_price": value[0]
|
||||
});
|
||||
|
||||
|
||||
@ -10,11 +10,15 @@
|
||||
</view>
|
||||
<view class="price_steup_box_bottom">
|
||||
<van-cell size="large" custom-style="font-size:32rpx;border-radius: 20rpx;"
|
||||
title="问诊单价(元)" is-link
|
||||
title="问诊单价" is-link
|
||||
border="{{false}}"
|
||||
value="{{ amountText }}"
|
||||
bindtap="onAmountPicker"
|
||||
/>
|
||||
>
|
||||
<view>
|
||||
<text class="price">{{ amountText }}</text>
|
||||
<text style="color: #000;"> 元</text>
|
||||
</view>
|
||||
</van-cell>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
7
app.js
7
app.js
@ -66,6 +66,10 @@ App({
|
||||
},
|
||||
onShow(){
|
||||
// this.imInit();
|
||||
// wx.onCopyUrl(() => {
|
||||
// console.log("onCopyUrlonCopyUrlonCopyUrl")
|
||||
// return { query: 'a=1&b=2' }
|
||||
// })
|
||||
},
|
||||
imInit(){
|
||||
console.log("imInit")
|
||||
@ -376,6 +380,5 @@ App({
|
||||
wx.setStorageSync(userID+'_wenzhen_info', wenzhen_info);
|
||||
|
||||
}).catch(errors => {console.error(errors);})
|
||||
}
|
||||
|
||||
},
|
||||
})
|
||||
@ -38,7 +38,8 @@
|
||||
},
|
||||
"disableUseStrict": false,
|
||||
"useCompilerPlugins": false,
|
||||
"minifyWXML": true
|
||||
"minifyWXML": true,
|
||||
"condition": false
|
||||
},
|
||||
"condition": {},
|
||||
"editorSetting": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user