| xqd
@@ -8,6 +8,7 @@
|
|
|
<view class="plr15">
|
|
|
<!-- 登录切换 -->
|
|
|
<view v-if="true" class="m-bg-white bdr4 pb20 header-box" style="border-radius: 32rpx;">
|
|
|
+<<<<<<< Updated upstream
|
|
|
<view class="plr20 pt20 m-dpflex m-justify-start m-align-center">
|
|
|
<image binderror="_binderror" mode="scaleToFill" :src="docterInfo.avatar"
|
|
|
style="width: 60px;height: 60px;border-radius: 50%;"></image>
|
| xqd
@@ -19,15 +20,31 @@
|
|
|
</view>
|
|
|
<view class="margin-left-sm margin-top-xs">
|
|
|
{{docterInfo.label}}
|
|
|
+=======
|
|
|
+ <view class="plr20 pt20 m-dpflex m-justify-start " style="margin-bottom: 60rpx;">
|
|
|
+ <view>
|
|
|
+ <image binderror="_binderror" mode="scaleToFill" :src="src" style="width: 60px;height: 60px;border-radius: 50%;"></image>
|
|
|
+ <view v-if="!renzheng" class="flex justify-center align-center" style="border-radius:30rpx ;font-size: 20rpx;padding: 10rpx;background-color: #EEAA3F;color: #FFFFFF;position: relative;top: -20rpx;" @click="gorz">未认证</view>
|
|
|
+ <view v-else class="flex justify-center align-center" style="border-radius:30rpx ;font-size: 20rpx;padding: 10rpx;background-color: #84BB43;color: #FFFFFF;position: relative;top: -20rpx;" >已认证</view>
|
|
|
+ </view>
|
|
|
+ <view style="margin-left: 30rpx;">
|
|
|
+ <view style="font-size: 32rpx;font-weight: 600;margin-bottom: 20rpx;">
|
|
|
+ 医生名称
|
|
|
+ <u-tag style="margin-left: 10rpx;" :text="lable1" bg-color="#E5F5FF" color="#0B73B9" border-color="#ffffff" />
|
|
|
+ <u-tag style="margin-left: 10rpx;" :text="lable2" bg-color="#E5F5FF" color="#0B73B9" border-color="#ffffff" />
|
|
|
+ </view>
|
|
|
+ <view style="color:#666666 ;">
|
|
|
+ 给患者展示的信息(宣传语)
|
|
|
+>>>>>>> Stashed changes
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="pr tr m-flex">
|
|
|
+ <view class="pr tr m-flex" style="height: 100%;">
|
|
|
<navigator hoverClass="none">
|
|
|
- <image class="header-img" src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/home/bianji.png" @click="grxx"></image>
|
|
|
+ <image class="header-img" src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/home/bianji.png"
|
|
|
+ @click="grxx"></image>
|
|
|
</navigator>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="pr m-bottom-line mt15 mb10"></view>
|
|
|
<view class="pr m-xcenter mt30 plr20">
|
|
|
<view class="m-flex tl f14 m-ycenter dpb">
|
|
|
<view class="m-gray-big f20 fb pr10">{{docterInfo.service_days}}</view>
|
| xqd
@@ -49,14 +66,33 @@
|
|
|
</view>
|
|
|
<view v-else class="m-bg-white bdr4 pb20 header-box" style="border-radius: 32rpx;">
|
|
|
<view class="plr20 pt20 m-dpflex m-justify-start m-align-center">
|
|
|
- <image binderror="_binderror" mode="scaleToFill" src="https://ossweb-img.qq.com/images/lol/web201310/skin/big84000.jpg"
|
|
|
- style="width: 60px;height: 60px;border-radius: 50%;"></image>
|
|
|
+ <image binderror="_binderror" mode="scaleToFill" :src="nosrc" style="width: 60px;height: 60px;border-radius: 50%;"></image>
|
|
|
<view class="">
|
|
|
- <view class="line1 f20 fb plr15 flex justify-center align-center">
|
|
|
- 请登录
|
|
|
+ <view style="padding-left: 20rpx;">
|
|
|
+ <view style="font-size: 24rpx;color: #666666;margin-bottom: 10rpx;">你还未登录</view>
|
|
|
+ <view style="font-size: 32rpx;color: #EEAA3F;">点击登录</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <view class="pr m-bottom-line mt15 mb10"></view>
|
|
|
+ <view class="pr m-xcenter mt30 plr20">
|
|
|
+ <view class="m-flex tl f14 m-ycenter dpb">
|
|
|
+ <view class="m-gray-big f20 fb pr10">0</view>
|
|
|
+ <view class="m-gray-letter mt5 f12">服务天数</view>
|
|
|
+ </view>
|
|
|
+ <view bindtap="" class="m-flex tl f14 m-ycenter">
|
|
|
+ <view class="m-gray-big f20 fb">0</view>
|
|
|
+ <view class="m-gray-letter mt5 f12">服务人次</view>
|
|
|
+ </view>
|
|
|
+ <view bindtap="" class="m-flex tl f14 m-ycenter">
|
|
|
+ <view class="m-gray-big f20 fb">0</view>
|
|
|
+ <view class="m-gray-letter mt5 f12">评价(张)</view>
|
|
|
+ </view>
|
|
|
+ <view bindtap="" class="m-flex tl f14 m-ycenter">
|
|
|
+ <view class="m-gray-big f20 fb">5.0</view>
|
|
|
+ <view class="m-gray-letter mt5 f12">评分</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
| xqd
@@ -64,35 +100,43 @@
|
|
|
<view class="gridstyle">
|
|
|
<u-grid :col="4" :border="false">
|
|
|
<u-grid-item @click="zixun">
|
|
|
- <u-image width="120rpx" height="120rpx" src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/home/hzzx.png" shape="circle"></u-image>
|
|
|
+ <u-image width="120rpx" height="120rpx" src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/home/hzzx.png"
|
|
|
+ shape="circle"></u-image>
|
|
|
<view class="grid-text margin-top-xs">患者咨询</view>
|
|
|
</u-grid-item>
|
|
|
<u-grid-item @click="mz">
|
|
|
- <u-image width="120rpx" height="120rpx" src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/home/mzyy.png" shape="circle"></u-image>
|
|
|
+ <u-image width="120rpx" height="120rpx" src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/home/mzyy.png"
|
|
|
+ shape="circle"></u-image>
|
|
|
<view class="grid-text margin-top-xs">门诊预约</view>
|
|
|
</u-grid-item>
|
|
|
<u-grid-item @click="pb">
|
|
|
- <u-image width="120rpx" height="120rpx" src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/home/mzpb.png" shape="circle"></u-image>
|
|
|
+ <u-image width="120rpx" height="120rpx" src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/home/mzpb.png"
|
|
|
+ shape="circle"></u-image>
|
|
|
<view class="grid-text margin-top-xs">门诊排班</view>
|
|
|
</u-grid-item>
|
|
|
<u-grid-item @click="patient">
|
|
|
- <u-image width="120rpx" height="120rpx" src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/home/hzgl.png" shape="circle"></u-image>
|
|
|
+ <u-image width="120rpx" height="120rpx" src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/home/hzgl.png"
|
|
|
+ shape="circle"></u-image>
|
|
|
<view class="grid-text margin-top-xs">患者管理</view>
|
|
|
</u-grid-item>
|
|
|
<u-grid-item @click="yijian">
|
|
|
- <u-image width="120rpx" height="120rpx" src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/home/yjgl.png" shape="circle"></u-image>
|
|
|
+ <u-image width="120rpx" height="120rpx" src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/home/yjgl.png"
|
|
|
+ shape="circle"></u-image>
|
|
|
<view class="grid-text margin-top-xs">意见管理</view>
|
|
|
</u-grid-item>
|
|
|
<u-grid-item @click="setservice">
|
|
|
- <u-image width="120rpx" height="120rpx" src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/home/fwsz.png" shape="circle"></u-image>
|
|
|
+ <u-image width="120rpx" height="120rpx" src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/home/fwsz.png"
|
|
|
+ shape="circle"></u-image>
|
|
|
<view class="grid-text margin-top-xs">服务设置</view>
|
|
|
</u-grid-item>
|
|
|
<u-grid-item>
|
|
|
- <u-image width="120rpx" height="120rpx" src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/home/daiding.png" shape="circle"></u-image>
|
|
|
+ <u-image width="120rpx" height="120rpx" src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/home/daiding.png"
|
|
|
+ shape="circle"></u-image>
|
|
|
<view class="grid-text margin-top-xs">待定模块</view>
|
|
|
</u-grid-item>
|
|
|
<u-grid-item>
|
|
|
- <u-image width="120rpx" height="120rpx" src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/home/daiding.png" shape="circle"></u-image>
|
|
|
+ <u-image width="120rpx" height="120rpx" src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/home/daiding.png"
|
|
|
+ shape="circle"></u-image>
|
|
|
<view class="grid-text margin-top-xs">待定模块</view>
|
|
|
</u-grid-item>
|
|
|
</u-grid>
|
| xqd
@@ -109,8 +153,14 @@
|
|
|
class="padding-lr-sm padding-tb-sm bg-white margin-top-sm" style="border-radius: 32rpx;">
|
|
|
<view class="flex justify-start align-center">
|
|
|
<!-- 1为订单通知 2为系统通知 3为通知类型 -->
|
|
|
+<<<<<<< Updated upstream
|
|
|
<image src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/home/ddtz.png" v-if="item.type==1" style="width: 30rpx;height: 30rpx;"></image>
|
|
|
<image src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/home/xttz.png" v-else-if="item.type==2" style="width: 30rpx;height: 30rpx;"></image>
|
|
|
+=======
|
|
|
+ <image src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/home/ddtz.png" v-if="item.orderlx==1" style="width: 30rpx;height: 30rpx;"></image>
|
|
|
+ <image src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/home/xttz.png" v-else-if="item.orderlx==2"
|
|
|
+ style="width: 30rpx;height: 30rpx;"></image>
|
|
|
+>>>>>>> Stashed changes
|
|
|
<image src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/home/tzlx.png" v-else style="width: 30rpx;height: 30rpx;"></image>
|
|
|
<text class="text-lg margin-left-xs">{{item.type}}</text>
|
|
|
<text class="flex-sub text-right">{{item.created_at}}</text>
|
| xqd
@@ -133,6 +183,7 @@
|
|
|
我们
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <u-modal v-model="rzModal" :content="content" confirm-text="去认证" confirm-color="#0B73B9" width="80%" :show-cancel-button="true" content="您还没有成为认证医生!" :title-style="{fontWeight:'550'}" @confirm="qdrz"></u-modal>
|
|
|
</view>
|
|
|
</template>
|
|
|
<script>
|
| xqd
@@ -153,6 +204,7 @@
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+<<<<<<< Updated upstream
|
|
|
docterInfo:{
|
|
|
name:"",
|
|
|
avatar:"",
|
| xqd
@@ -164,6 +216,37 @@
|
|
|
service_persons:""
|
|
|
},
|
|
|
docterMessageList:[]
|
|
|
+=======
|
|
|
+ //认证弹窗
|
|
|
+ rzModal:false,
|
|
|
+
|
|
|
+ //没登录头像
|
|
|
+ nosrc: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big84000.jpg',
|
|
|
+ //登陆的头像
|
|
|
+ src: 'https://ossweb-img.qq.com/images/lol/web201310/skin/big84000.jpg',
|
|
|
+ //认证
|
|
|
+ renzheng:false,//true已认证
|
|
|
+ //标签
|
|
|
+ lable1: '30年经验',
|
|
|
+ lable2: '快狠准',
|
|
|
+ list: [{
|
|
|
+
|
|
|
+ orderlx: 1 // 显示的订单
|
|
|
+ }, {
|
|
|
+ orderlx: 2 // 显示的订单
|
|
|
+ }, {
|
|
|
+ orderlx: 3 // 显示的订单
|
|
|
+ }, {
|
|
|
+ orderlx: 1 // 显示的订单
|
|
|
+ }, {
|
|
|
+ orderlx: 2 // 显示的订单
|
|
|
+ }, {
|
|
|
+ orderlx: 3 // 显示的订单
|
|
|
+ }, {
|
|
|
+ orderlx: 1 // 显示的订单
|
|
|
+ }]
|
|
|
+
|
|
|
+>>>>>>> Stashed changes
|
|
|
}
|
|
|
},
|
|
|
onShow() {
|
| xqd
@@ -240,15 +323,15 @@
|
|
|
|
|
|
|
|
|
// 跳转服务设置
|
|
|
- setservice(e){
|
|
|
+ setservice(e) {
|
|
|
uni.navigateTo({
|
|
|
- url:'/pages/service/setservice'
|
|
|
+ url: '/pages/service/setservice'
|
|
|
})
|
|
|
},
|
|
|
//跳转患者管理
|
|
|
- patient(e){
|
|
|
+ patient(e) {
|
|
|
uni.navigateTo({
|
|
|
- url:'/pages/patient/patient'
|
|
|
+ url: '/pages/patient/patient'
|
|
|
})
|
|
|
},
|
|
|
editdocter(){
|
| xqd
@@ -262,31 +345,55 @@
|
|
|
},
|
|
|
|
|
|
//跳转患者咨询
|
|
|
- zixun(){
|
|
|
+ zixun() {
|
|
|
uni.navigateTo({
|
|
|
- url:'/pages/zixun/zixun'
|
|
|
+ url: '/pages/zixun/zixun'
|
|
|
})
|
|
|
},
|
|
|
- pb(){
|
|
|
+ //排班
|
|
|
+ pb() {
|
|
|
uni.navigateTo({
|
|
|
- url:'/pages/Scheduling'
|
|
|
+ url: '/pages/Scheduling'
|
|
|
})
|
|
|
},
|
|
|
- yijian(){
|
|
|
+ //意见
|
|
|
+ yijian() {
|
|
|
uni.navigateTo({
|
|
|
- url:'/pages/opinion/opinion'
|
|
|
+ url: '/pages/opinion/opinion'
|
|
|
})
|
|
|
},
|
|
|
- mz(){
|
|
|
+ //门诊
|
|
|
+ mz() {
|
|
|
uni.navigateTo({
|
|
|
- url:'/pages/menzhen/menzhen'
|
|
|
+ url: '/pages/menzhen/menzhen'
|
|
|
})
|
|
|
},
|
|
|
- grxx(){
|
|
|
+ //个人信息 右上角的编辑按钮
|
|
|
+ grxx() {
|
|
|
uni.navigateTo({
|
|
|
- url:'/pages/information/information'
|
|
|
+ url: '/pages/information/information'
|
|
|
})
|
|
|
+ },
|
|
|
+ //点击未认证
|
|
|
+ gorz(){
|
|
|
+ this.rzModal= true
|
|
|
+ },
|
|
|
+ qdrz(){
|
|
|
+ uni.navigateTo({
|
|
|
+ url:'/pages/login/doctorRenzheng'
|
|
|
+ })
|
|
|
+<<<<<<< Updated upstream
|
|
|
}
|
|
|
+=======
|
|
|
+ }
|
|
|
+ },
|
|
|
+ //页面到底监听
|
|
|
+ onReachBottom(){
|
|
|
+ console.log('到底');
|
|
|
+ setTimeout(function () {
|
|
|
+ uni.stopPullDownRefresh();
|
|
|
+ }, 1000);
|
|
|
+>>>>>>> Stashed changes
|
|
|
}
|
|
|
}
|
|
|
</script>
|