更新医生端 结束接口两次问题
This commit is contained in:
@@ -6,6 +6,7 @@ Page({
|
||||
title: "我的",
|
||||
navHeight: 0,
|
||||
stateHeight: 0,
|
||||
doctor_title:'',
|
||||
user_name: "医师姓名",
|
||||
iden_auth_status: "0",
|
||||
idcard_status: "0",
|
||||
@@ -59,6 +60,7 @@ Page({
|
||||
api.getDoctorCenter().then(response => {
|
||||
this.setData({
|
||||
user_name: response.data.user_name,
|
||||
doctor_title:response.data.doctor_title,
|
||||
iden_auth_status: response.data.iden_auth_status,
|
||||
idcard_status: response.data.idcard_status,
|
||||
multi_point_status: response.data.multi_point_status,
|
||||
|
||||
+11
-11
@@ -9,7 +9,7 @@
|
||||
<view class="info">
|
||||
<view class="namebox">
|
||||
|
||||
<view class="name" bindtap="go" data-url="/Pages/yishi/myinfo/index">{{user_name}}</view>
|
||||
<view class="name" bindtap="go" data-url="/Pages/yishi/myinfo/index">{{user_name}} <text decode="true"> {{doctor_title}}</text></view>
|
||||
<view class="iconbox" bindtap="go" data-url="/Pages/yishi/myinfo/index">
|
||||
<text>设置</text>
|
||||
<van-icon name="arrow" class="arrow"/>
|
||||
@@ -17,8 +17,8 @@
|
||||
</view>
|
||||
|
||||
<view class="renzheng">
|
||||
<view class="yishi" bindtap="go" data-url="/Pages/yishi/identity/index">{{iden_auth_status==1?'已医师认证':'未医师认证'}}></view>
|
||||
<view class="zhiye" bindtap="go" data-url="/Pages/yishi/zhiye_identity/index">{{multi_point_status==1?'已多点执业认证':'未多点执业认证'}}></view>
|
||||
<view class="yishi {{iden_auth_status==1?'active':''}}" bindtap="go" data-url="/Pages/yishi/identity/index">{{iden_auth_status==1?'已医师认证':'未医师认证'}}></view>
|
||||
<view class="zhiye {{multi_point_status==1?'active':''}}" bindtap="go" data-url="/Pages/yishi/zhiye_identity/index">{{multi_point_status==1?'已多点执业认证':'未多点执业认证'}}></view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -48,17 +48,17 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="account_bottom">
|
||||
<view style="font-size: 28rpx;color: #666666;">当日预计收益金额:</view>
|
||||
<view style="font-size: 28rpx;color: rgba(0,0,0,0.85);">¥{{estimate_income}}</view>
|
||||
<view style="font-size: 30rpx;color: #666666;">当日预计收益金额:</view>
|
||||
<view style="font-size: 42rpx;color: rgba(0,0,0,0.85);">¥{{estimate_income}}</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="content">
|
||||
<van-cell size="large" url="/Pages/yishi/medince_list/index" link-type="navigateTo" title-style="font-size: 30rpx;color: rgba(0,0,0,0.65);" title="药品清单" is-link />
|
||||
<van-cell size="large" url="/Pages/yishi/myaccount/index" link-type="navigateTo" title-style="font-size: 30rpx;color: rgba(0,0,0,0.65);" title="我的账户" is-link />
|
||||
<van-cell size="large" url="/Pages/yishi/bankcard/index" link-type="navigateTo" title-style="font-size: 30rpx;color: rgba(0,0,0,0.65);" title="我的银行卡" is-link />
|
||||
<van-cell size="large" url="/Pages/yishi/mycard/index" link-type="navigateTo" title-style="font-size: 30rpx;color: rgba(0,0,0,0.65);" title="我的名片" is-link />
|
||||
<van-cell size="large" url="/Pages/yishi/appraise/index?doctor_id={{doctor_id}}" link-type="navigateTo" title-style="font-size: 30rpx;color: rgba(0,0,0,0.65);" title="患者评价" is-link />
|
||||
<van-cell size="large" url="/Pages/yishi/quickreply/index" link-type="navigateTo" title-style="font-size: 30rpx;color: rgba(0,0,0,0.65);" title="常用语" is-link border="{{ false }}" />
|
||||
<van-cell size="large" url="/Pages/yishi/medince_list/index" link-type="navigateTo" title-style="font-size: 34rpx;color: rgba(0,0,0,0.65);" title="药品清单" is-link />
|
||||
<van-cell size="large" url="/Pages/yishi/myaccount/index" link-type="navigateTo" title-style="font-size: 34rpx;color: rgba(0,0,0,0.65);" title="我的账户" is-link />
|
||||
<van-cell size="large" url="/Pages/yishi/bankcard/index" link-type="navigateTo" title-style="font-size: 34rpx;color: rgba(0,0,0,0.65);" title="我的银行卡" is-link />
|
||||
<van-cell size="large" url="/Pages/yishi/mycard/index" link-type="navigateTo" title-style="font-size: 34rpx;color: rgba(0,0,0,0.65);" title="我的名片" is-link />
|
||||
<van-cell size="large" url="/Pages/yishi/appraise/index?doctor_id={{doctor_id}}" link-type="navigateTo" title-style="font-size: 34rpx;color: rgba(0,0,0,0.65);" title="患者评价" is-link />
|
||||
<van-cell size="large" url="/Pages/yishi/quickreply/index" link-type="navigateTo" title-style="font-size: 34rpx;color: rgba(0,0,0,0.65);" title="常用语" is-link border="{{ false }}" />
|
||||
</view>
|
||||
</view>
|
||||
@@ -4,7 +4,7 @@ page{
|
||||
.container{
|
||||
background: linear-gradient(180deg, #3CC7C0 0%, rgba(60,199,192,0) 50%);
|
||||
|
||||
padding-bottom: 70rpx;
|
||||
padding-bottom: 120rpx;
|
||||
min-height:100vh;
|
||||
width: 100vw;
|
||||
color: #fff;
|
||||
@@ -22,7 +22,7 @@ page{
|
||||
text-align: center;
|
||||
}
|
||||
.info_box{
|
||||
margin-top: 24rpx;
|
||||
margin-top: 110rpx;
|
||||
width: 100%;
|
||||
height: 200rpx;
|
||||
position: relative;
|
||||
@@ -45,17 +45,17 @@ page{
|
||||
margin-top: 15rpx;
|
||||
}
|
||||
.yishi,.zhiye{
|
||||
background-color: #00A59D;
|
||||
background: #999999;
|
||||
border-radius: 20rpx;
|
||||
height: 44rpx;
|
||||
line-height: 44rpx;
|
||||
padding: 0 20rpx;
|
||||
margin-right: 20rpx;
|
||||
}
|
||||
.zhiye{
|
||||
background: #999999;
|
||||
.zhiye.active{
|
||||
background: #FAAD14;
|
||||
}
|
||||
.yishi{
|
||||
.yishi.active{
|
||||
background: #FAAD14;
|
||||
}
|
||||
.photo{
|
||||
@@ -148,7 +148,7 @@ color: rgba(0,0,0,0.65);
|
||||
line-height: 70rpx !important;
|
||||
}
|
||||
.van-cell {
|
||||
padding: 30rpx !important;
|
||||
padding: 32rpx !important;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user