8.24 医生端

This commit is contained in:
zoujiandong
2023-08-24 13:46:58 +08:00
parent 97df1b4646
commit 469bdd058a
17 changed files with 245 additions and 46 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ let api = new API()
const app = getApp();
Page({
data: {
title: "个人中心",
title: "我的",
navHeight: 0,
stateHeight: 0,
user_name: "医师姓名",
+26 -20
View File
@@ -1,58 +1,64 @@
<view class="container">
<view class="top"></view>
<view class="title" style="top: {{stateHeight}}px;height: {{navHeight}}px;line-height: {{navHeight}}px;">{{ title }}</view>
<view class="info_box" >
<view class="info_box">
<!-- 跳转我的信息 -->
<view class="photo" bindtap="go" data-url="/Pages/yishi/myinfo/index">
<t-avatar class="avatar" size="large" image="{{avatar}}" />
</view>
<view class="info">
<view class="name" bindtap="go" data-url="/Pages/yishi/myinfo/index">{{user_name}}</view>
<view class="namebox">
<view class="name" bindtap="go" data-url="/Pages/yishi/myinfo/index">{{user_name}}</view>
<view class="iconbox" bindtap="go" data-url="/Pages/yishi/myinfo/index">
<text>设置</text>
<van-icon name="arrow" class="arrow"/>
</view>
</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>
</view>
<view class="icon" bindtap="go" data-url="/Pages/yishi/myinfo/index">
<van-icon name="arrow" />
</view>
</view>
<view class="account" >
<view class="account">
<view class="account_top">
<view class="account_top_left">
<view class="account_title">
<view>
账户余额(元)
</view>
<view>
账户余额(元)
</view>
</view>
<view class="account_num">
<view>
<text style="font-size: 42rpx;">¥</text>
<text style="font-size: 64rpx;">{{balance_account}}</text>
<text style="font-size: 42rpx;">¥</text>
<text style="font-size: 64rpx;">{{balance_account}}</text>
</view>
</view>
</view>
<view class="account_top_right">
<navigator url="/Pages/yishi/cash/index" open-type="navigate" hover-class="other-navigator-hover">
<van-button custom-style="text-indent: 20rpx;letter-spacing: 20rpx;text-align: center;border-radius: 10rpx;padding: 20rpx 50rpx;" color="linear-gradient(310deg, #FF931A 0%, #FF931A 0%, #FCB75D 100%);font-size: 32rpx;">
<van-button custom-style="text-indent: 20rpx;letter-spacing: 20rpx;text-align: center;height:70rpx;border-radius: 40rpx;padding: 0rpx 44rpx;" color="linear-gradient(310deg, #FF931A 0%, #FF931A 0%, #FCB75D 100%);font-size: 32rpx;">
提现
</van-button>
</navigator>
</view>
</view>
<view class="account_bottom">
<view style="font-size: 30rpx;color: #666666;">当日预计收益金额:</view>
<view style="font-size: 42rpx;color: #333333;">¥{{estimate_income}}</view>
<view style="font-size: 28rpx;color: #666666;">当日预计收益金额:</view>
<view style="font-size: 28rpx;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: 34rpx;" title="药品清单" is-link />
<van-cell size="large" url="/Pages/yishi/myaccount/index" link-type="navigateTo" title-style="font-size: 34rpx;" title="我的账户" is-link />
<van-cell size="large" url="/Pages/yishi/bankcard/index" link-type="navigateTo" title-style="font-size: 34rpx;" title="我的银行卡" is-link />
<van-cell size="large" url="/Pages/yishi/mycard/index" link-type="navigateTo" title-style="font-size: 34rpx;" title="我的名片" is-link />
<van-cell size="large" url="/Pages/yishi/appraise/index?doctor_id={{doctor_id}}" link-type="navigateTo" title-style="font-size: 34rpx;" title="患者评价" is-link />
<van-cell size="large" url="/Pages/yishi/quickreply/index" link-type="navigateTo" title-style="font-size: 34rpx;" title="常用语" is-link border="{{ false }}"/>
<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 }}" />
</view>
</view>
+37 -8
View File
@@ -4,7 +4,7 @@ page{
.container{
background: linear-gradient(180deg, #3CC7C0 0%, rgba(60,199,192,0) 50%);
padding-bottom: 100rpx;
padding-bottom: 70rpx;
min-height:100vh;
width: 100vw;
color: #fff;
@@ -17,6 +17,7 @@ page{
position: absolute;
}
.title{
color: #000000;
position:relative;
text-align: center;
}
@@ -34,7 +35,8 @@ page{
}
.name{
height: 50rpx;
font-size: 36rpx;
font-size: 34rpx;
color: rgba(0,0,0,0.85);
line-height: 50rpx;
}
.renzheng{
@@ -50,6 +52,12 @@ page{
padding: 0 20rpx;
margin-right: 20rpx;
}
.zhiye{
background: #999999;
}
.yishi{
background: #FAAD14;
}
.photo{
flex: 3;
text-align: center;
@@ -62,11 +70,26 @@ page{
text-align: right;
padding-right: 20rpx;
}
.namebox{
justify-content: space-between;
display: flex;
}
.iconbox{
align-items: center;
font-size: 30rpx;
color: rgba(0,0,0,0.65);
margin-right: 24rpx;
display: flex;
}
.iconbox .arrow{
margin-top: 4rpx;
margin-left: 4px;
}
.account{
background-color: rgb(255, 255, 255);
width: 92vw;
margin: 0 auto;
height: 272rpx;
height: 280rpx;
margin-top: 24rpx;
position: relative;
border-radius: 20rpx;
@@ -85,12 +108,16 @@ page{
margin-left: 20rpx;
}
.account_title{
flex: 9;
margin-top: 32rpx;
display: flex;
font-size: 30rpx;
font-weight: 400;
color: rgba(0,0,0,0.65);
align-items: center;
}
.account_num{
flex: 10;
margin-top: 10rpx;
font-weight: bold;
display: flex;
align-items: center;
}
@@ -98,7 +125,8 @@ page{
flex: 2;
display: flex;
justify-content: center;
align-items: center;
align-items:flex-end;
margin-bottom: 20rpx;
}
.account_bottom{
flex: 1;
@@ -112,14 +140,15 @@ page{
background-color: #fff;
margin: 24rpx auto 0;
position: static;
overflow: hidden;
border-radius: 20rpx;
padding: 20rpx 0;
padding: 0rpx 0 20rpx;
}
.t-badge__content-text {
line-height: 70rpx !important;
}
.van-cell {
padding: 32rpx !important;
padding: 30rpx !important;
}