11.1 文章
This commit is contained in:
@@ -12,6 +12,7 @@ Page({
|
||||
showCode:false,
|
||||
isOld:false,
|
||||
codeMsg:'',
|
||||
active:0,
|
||||
showEntryTip:false,
|
||||
showEntryTip_second:false,
|
||||
beforeClose(action){
|
||||
@@ -35,6 +36,12 @@ Page({
|
||||
popupData:null
|
||||
|
||||
},
|
||||
onChange(event){
|
||||
console.log(event.detail.name)
|
||||
this.setData({
|
||||
active:event.detail.name
|
||||
})
|
||||
},
|
||||
confirm:throttle(function(event){
|
||||
if(event.detail){
|
||||
this.handelDelDoctor();
|
||||
@@ -290,6 +297,16 @@ Page({
|
||||
// })
|
||||
|
||||
}),
|
||||
goHealth:throttle(function(){
|
||||
app.method.navigateTo({
|
||||
url: '/healthyService/pages/healthyIntro/healthyIntro'
|
||||
})
|
||||
}),
|
||||
goVisit:throttle(function(){
|
||||
app.method.navigateTo({
|
||||
url: '/healthyService/pages/visitList/visitList'
|
||||
})
|
||||
}),
|
||||
watchBack(){
|
||||
let total=app.globalData.totalUnread;
|
||||
setBarData(total)
|
||||
|
||||
@@ -3,6 +3,9 @@
|
||||
"nav-bar": "/components/navbar/navbar",
|
||||
"van-overlay": "@vant/weapp/overlay/index",
|
||||
"van-dialog": "@vant/weapp/dialog/index",
|
||||
"van-tab": "@vant/weapp/tab/index",
|
||||
"van-tabs": "@vant/weapp/tabs/index",
|
||||
"van-icon": "@vant/weapp/icon/index",
|
||||
"dialog":"/components/dialog/dialog"
|
||||
},
|
||||
|
||||
|
||||
+81
-26
@@ -61,65 +61,84 @@
|
||||
<view class="wenzhencell" bindtap="goquickExpert">
|
||||
<view class="row">
|
||||
<view class="name_title">找专家</view>
|
||||
<image src="{{img_host+'/find_expert.png'}}" style="width:80rpx;height:80rpx"></image>
|
||||
<!-- <image src="{{img_host+'/kswz.png'}}"></image> -->
|
||||
<!-- <image src="{{img_host+'/find_expert.png'}}" style="width:80rpx;height:80rpx"></image> -->
|
||||
<image src="{{img_host+'/findexpert.png'}}" mode="" style="width:312rpx;height:182rpx" class="bg"/>
|
||||
</view>
|
||||
<view class="desc">
|
||||
专业医生,服务保障
|
||||
30多位主任医师
|
||||
</view>
|
||||
<view class="desc">专业医生,服务保障</view>
|
||||
</view>
|
||||
<view class="wenzhencell" bindtap="goExpert">
|
||||
<!-- goExpert -->
|
||||
<view class="wenzhencell" bindtap="goconsultandbuy">
|
||||
<view class="row">
|
||||
<view class="name_title">HIV</view>
|
||||
<!-- <image src="{{img_host+'/zjwz.png'}}"></image> -->
|
||||
<image src="{{img_host+'/hiv.png'}}" style="width:80rpx;height:80rpx"></image>
|
||||
<view class="name_title">问诊购药</view>
|
||||
<image src="{{img_host+'/buyandask.png'}}" mode="" style="width:312rpx;height:182rpx" class="bg"/>
|
||||
<!-- <image src="{{img_host+'/hiv.png'}}" style="width:80rpx;height:80rpx"></image> -->
|
||||
</view>
|
||||
<view class="desc">
|
||||
恐艾咨询,健康指导
|
||||
<!-- 专业医生,服务保障 -->
|
||||
30多种常用处方药品
|
||||
</view>
|
||||
<view class="desc">
|
||||
正品无忧,品质护航
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="buybox" bindtap="goconsultandbuy">
|
||||
<!-- <view class="buybox" bindtap="goconsultandbuy">
|
||||
<view class="left">
|
||||
<view>问诊购药</view>
|
||||
<view class="desc">
|
||||
正品无忧,品质护航,送药到家
|
||||
<!-- 在线复诊,正品无忧,送药到家 -->
|
||||
|
||||
</view>
|
||||
</view>
|
||||
<view class="right">
|
||||
<image src="{{img_host+'/yao.png'}}"></image>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
|
||||
</view>
|
||||
<view class="cellbox">
|
||||
<view class="cell" bindtap="freeConsult">
|
||||
<image src="{{img_host+'/gywz.png'}}"></image>
|
||||
<view class="page-section-spacing">
|
||||
<scroll-view class="scroll-view_H cellbox" scroll-x="true" style="display: flex;">
|
||||
<view class="cell" bindtap="freeConsult">
|
||||
<image src="{{img_host+'/gywz.png'}}" class="cellimg"></image>
|
||||
<view class="name">特惠问诊</view>
|
||||
</view>
|
||||
<view class="cell" bindtap="goMall">
|
||||
<image src="{{img_host+'/gdmall.png'}}"></image>
|
||||
<view class="name">肝胆商城</view>
|
||||
<view class="cell" bindtap="goExpert">
|
||||
<!-- <image src="{{img_host+'/gdmall.png'}}" class="cellimg"></image> -->
|
||||
<image src="{{img_host+'/hiv.png'}}" class="cellimg"></image>
|
||||
<image src="{{img_host+'/tese_service.png'}}" class="tese"></image>
|
||||
<view class="name">合并HIV</view>
|
||||
</view>
|
||||
<view class="cell" bindtap="goHealth">
|
||||
<!-- <image src="{{img_host+'/gdmall.png'}}" class="cellimg"></image> -->
|
||||
<image src="{{img_host+'/health_package.png'}}" class="cellimg"></image>
|
||||
<view class="name">健康包</view>
|
||||
</view>
|
||||
<view class="cell" bindtap="goVisit">
|
||||
<!-- <image src="{{img_host+'/gdmall.png'}}" class="cellimg"></image> -->
|
||||
<image src="{{img_host+'/visit_package.png'}}" class="cellimg"></image>
|
||||
<view class="name">随访包</view>
|
||||
</view>
|
||||
<view class="cell" bindtap="goCheck">
|
||||
<image src="{{img_host+'/tangzu.png'}}"></image>
|
||||
<image src="{{img_host+'/tangzu.png'}}" class="cellimg"></image>
|
||||
<view class="name">糖组检测</view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
|
||||
<view class="ad">
|
||||
<swiper class="swiper" indicator-dots="{{true}}" circular="{{true}}" indicator-active-color="#3CC7C0" autoplay="{{true}}" interval="3000">
|
||||
<swiper class="swiper" indicator-dots="{{true}}" circular="{{true}}" indicator-active-color="#3CC7C0" autoplay="{{true}}" interval="5000">
|
||||
<block wx:for="{{banner}}" wx:key="banner_id">
|
||||
<swiper-item>
|
||||
<view class="swiper-item">
|
||||
<image class="swiperimg" src="{{item.banner_path}}" data-url="{{item.banner_link}}" data-name="{{item.banner_name}}" data-type="{{item.open_with}}" bindtap="goH5"></image>
|
||||
<image class="swiperimg" src="{{item.banner_path}}" data-url="{{item.banner_link}}" data-name="{{item.banner_name}}" data-type="{{item.open_with}}" bindtap="goH5" mode="heightFix"></image>
|
||||
</view>
|
||||
</swiper-item>
|
||||
</block>
|
||||
</swiper>
|
||||
</view>
|
||||
<view class="mydoctor" wx:if="{{my_doctor.length>0}}">
|
||||
<!-- <view class="mydoctor" wx:if="{{my_doctor.length>0}}">
|
||||
<view class="titlebox">
|
||||
<view class="title">我的医生</view>
|
||||
<view class="more" wx:if="{{my_doctor.length>5}}" bindtap="goMydoctor">更多<image src="{{img_host+'/right.png'}}"></image>
|
||||
@@ -148,11 +167,19 @@
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view class="recommend" wx:if="{{recommend_doctor.length>0}}">
|
||||
-->
|
||||
<view class="recommend">
|
||||
<view class="titlebox">
|
||||
<view class="title">推荐医生</view>
|
||||
<!-- <view class="title"></view> -->
|
||||
<van-tabs v-model:active="active" line-width="25rpx" shrink ellipsis="{{false}}" color="#3CC7C0" bind:change="onChange">
|
||||
<van-tab title="在线医生" name="0"></van-tab>
|
||||
<van-tab title="我的医生" name="1"></van-tab>
|
||||
</van-tabs>
|
||||
<view class="more" bindtap="goquickExpert">更多<van-icon name="arrow" style="margin-top: 4rpx;"/></view>
|
||||
<!-- <view class="title">推荐医生</view> -->
|
||||
</view>
|
||||
<view class="viewbox">
|
||||
<!-- 在线医生 -->
|
||||
<view class="viewbox" wx:if="{{active==0}}">
|
||||
<view class="viewcell" wx:for="{{recommend_doctor}}" wx:key="doctor_id" bindtap="goExpertDetail" data-id="{{item.doctor_id}}">
|
||||
<view class="left">
|
||||
<image src="{{item.avatar}}" wx:if="{{item.avatar}}" mode="aspectFill"></image>
|
||||
@@ -181,6 +208,34 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 我的医生 -->
|
||||
<view class="viewbox" wx:else>
|
||||
<view class="viewcell" wx:for="{{my_doctor}}" wx:key="doctor_id" bindtap="goExpertDetail" data-id="{{item.doctor_id}}">
|
||||
<view class="left">
|
||||
<image src="{{item.avatar}}" wx:if="{{item.avatar}}" mode="aspectFill"></image>
|
||||
<image src="{{img_host+'/doctor_avatar.png'}}" wx:else></image>
|
||||
<view class="onlinebox" wx:if="{{item.is_online==1}}"> <image src="{{img_host+'/online.gif'}}" mode="" class="icon"/></view>
|
||||
</view>
|
||||
<view class="right">
|
||||
<view class="namebox">
|
||||
<view class="name">{{item.user_name}}</view>
|
||||
<view class="type" wx:if="{{item.hospital_level_name != '未知'&& item.hospital_level_name}}">{{item.hospital_level_name}}</view>
|
||||
<view class="type" wx:if="{{item.multi_point_status == 1 && item.multi_point_enable==1}}">可处方</view>
|
||||
</view>
|
||||
<view class="hospital"><text class="doctor_title" wx:if="{{item.doctor_title}}">{{item.doctor_title}}</text><text>{{item.department_custom_name}}</text></view>
|
||||
<view class="hospital">{{item.hospital_name}}</view>
|
||||
<view class="goodjob" wx:if="{{item.be_good_at}}">擅长:{{item.be_good_at}}</view>
|
||||
<view class="consultbox" style="align-items: center;margin-top: 10rpx;">
|
||||
<view class="service">{{item.days}}天内服务过您</view>
|
||||
<view class="zixun">复诊咨询</view>
|
||||
</view>
|
||||
<!-- <view class="p
|
||||
rice" wx:if="{{moduleFilter.formatInquiryType(item.doctor_inquiry_config)==1}}">公益问诊:<text>¥{{item.free_clinic_price}}</text></view>
|
||||
<view class="price" wx:elif="{{moduleFilter.formatInquiryType(item.doctor_inquiry_config)==2}}">专家问诊:<text>¥{{item.price}}</text></view>
|
||||
<view class="price" wx:else></view> -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
||||
+88
-20
@@ -19,11 +19,22 @@
|
||||
}
|
||||
|
||||
.wenzhencell {
|
||||
flex: 1;
|
||||
padding: 20rpx 20rpx 40rpx;
|
||||
background: #E0FFFE;
|
||||
position: relative;
|
||||
width:312rpx;
|
||||
height:182rpx;
|
||||
/* flex: 1;
|
||||
padding: 20rpx 20rpx 40rpx; */
|
||||
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
.wenzhencell .bg{
|
||||
top:0;
|
||||
left:0;
|
||||
width:100%;
|
||||
margin-left: 0;
|
||||
bottom:0;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.wenzhencell image {
|
||||
width: 80rpx;
|
||||
@@ -55,13 +66,20 @@
|
||||
font-size: 40rpx;
|
||||
}
|
||||
.wenzhencell .row .name_title{
|
||||
width:160rpx
|
||||
width:160rpx;
|
||||
margin-top: 20rpx;
|
||||
position: relative;
|
||||
margin-left: 16rpx;
|
||||
z-index:1;
|
||||
}
|
||||
|
||||
.wenzhencell .desc {
|
||||
position: relative;
|
||||
z-index:1;
|
||||
margin-left: 16rpx;
|
||||
margin-top: 16rpx;
|
||||
color: #666;
|
||||
font-size: 28rpx;
|
||||
font-size: 22rpx;
|
||||
color: #878787;
|
||||
}
|
||||
|
||||
.buybox {
|
||||
@@ -99,32 +117,62 @@
|
||||
}
|
||||
|
||||
.cellbox .cell {
|
||||
padding: 28rpx 0;
|
||||
display: flex;
|
||||
width: 216rpx;
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
width:130rpx;
|
||||
height:124rpx;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background-color: #fff;
|
||||
margin-left: 20rpx;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
|
||||
.cellbox .tese{
|
||||
position: absolute;
|
||||
right:0;
|
||||
top:0;
|
||||
width: 76rpx;
|
||||
height:22rpx;
|
||||
}
|
||||
.cellbox .cell:first-child {
|
||||
margin-left: 0rpx;
|
||||
}
|
||||
|
||||
.cellbox .cellimg{
|
||||
margin-top: 14rpx;
|
||||
width:58rpx;
|
||||
height:58rpx;
|
||||
}
|
||||
.cellbox image {
|
||||
width: 98rpx;
|
||||
height: 98rpx;
|
||||
}
|
||||
|
||||
.cellbox .name {
|
||||
font-size: 28rpx;
|
||||
font-weight: 600;
|
||||
margin-top: 18rpx;
|
||||
font-size: 20rpx;
|
||||
|
||||
margin-top: 5rpx;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.consultbox .service{
|
||||
border:none;
|
||||
font-size: 24rpx;
|
||||
color: #3CC7C0;
|
||||
padding: 0;
|
||||
margin-top: 0;
|
||||
}
|
||||
.consultbox .zixun{
|
||||
width: 160rpx;
|
||||
height: 60rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background: #3CC7C0;
|
||||
border-radius: 30rpx;
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
.ad {
|
||||
width: 100%;
|
||||
|
||||
@@ -136,21 +184,37 @@
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
.swiper{
|
||||
height:168rpx;
|
||||
height:112rpx;
|
||||
overflow: hidden;
|
||||
border-radius: 10rpx;
|
||||
}
|
||||
.swiper-item .swiperimg{
|
||||
width:100%;
|
||||
|
||||
border-radius: 10rpx;
|
||||
height:110rpx;
|
||||
height:112rpx;
|
||||
}
|
||||
.mydoctor {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.titlebox .van-tab--active{
|
||||
font-size: 30rpx;
|
||||
}
|
||||
.titlebox .van-tabs__line{
|
||||
bottom:16rpx;
|
||||
}
|
||||
.titlebox .more{
|
||||
margin-right: 20rpx;
|
||||
display: flex;
|
||||
font-size: 28rpx;
|
||||
color: #666666;
|
||||
align-items: center;
|
||||
}
|
||||
.titlebox {
|
||||
margin-top: 10rpx;
|
||||
display: flex;
|
||||
padding: 20rpx 0;
|
||||
background-color: #fff;
|
||||
/* padding: 20rpx 0; */
|
||||
width: 100%;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
@@ -305,6 +369,10 @@
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.recommend{
|
||||
overflow: hidden;
|
||||
border-radius: 30rpx;
|
||||
}
|
||||
.service {
|
||||
height: 40rpx;
|
||||
border-radius: 20rpx;
|
||||
@@ -320,7 +388,7 @@
|
||||
.viewbox {
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
border-radius: 10rpx;
|
||||
margin-top: -20rpx;
|
||||
margin-bottom: 10rpx;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user