修改
This commit is contained in:
parent
cbeeea455f
commit
1139a0c4d8
11
pages.json
11
pages.json
@ -310,7 +310,16 @@
|
|||||||
"enablePullDownRefresh": false
|
"enablePullDownRefresh": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
,{
|
||||||
|
"path" : "doctordetails/doctordetails",
|
||||||
|
"style" :
|
||||||
|
{
|
||||||
|
"navigationBarTitleText": "医生详情",
|
||||||
|
"enablePullDownRefresh": false
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"root": "pagesC",
|
"root": "pagesC",
|
||||||
|
|||||||
@ -9,7 +9,7 @@
|
|||||||
图文问诊
|
图文问诊
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="item">
|
<view class="item" @tap='gomedicine'>
|
||||||
<image src="../../static/pagesB/zhuanjia.png" mode=""></image>
|
<image src="../../static/pagesB/zhuanjia.png" mode=""></image>
|
||||||
<view class="text">
|
<view class="text">
|
||||||
专家问诊
|
专家问诊
|
||||||
@ -19,7 +19,34 @@
|
|||||||
<view class="title">
|
<view class="title">
|
||||||
专家信息栏
|
专家信息栏
|
||||||
</view>
|
</view>
|
||||||
<u-tabs :list="tabList" :current="tabcurrent" @change="tabchange" active-color='#26A888'></u-tabs>
|
<u-tabs :list="tabList" :current="tabcurrent" @change="tabchange" active-color='#26A888'
|
||||||
|
:show-bar='false'></u-tabs>
|
||||||
|
<view class="list">
|
||||||
|
<view class="item">
|
||||||
|
<image src="../../static/messages.png" mode=""></image>
|
||||||
|
<view class="name">
|
||||||
|
张三
|
||||||
|
</view>
|
||||||
|
<view class="position">
|
||||||
|
主任医师
|
||||||
|
</view>
|
||||||
|
<view class="text">
|
||||||
|
山东大学齐鲁医院,主任医师, 从事甲状腺疾病等内分泌与代 谢病的诊治,擅长甲状腺结节 良恶性鉴。
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="item">
|
||||||
|
<image src="../../static/messages.png" mode=""></image>
|
||||||
|
<view class="name">
|
||||||
|
张三
|
||||||
|
</view>
|
||||||
|
<view class="position">
|
||||||
|
主任医师
|
||||||
|
</view>
|
||||||
|
<view class="text">
|
||||||
|
山东大学齐鲁医院,主任医师, 从事甲状腺疾病等内分泌与代 谢病的诊治,擅长甲状腺结节 良恶性鉴。
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
@ -36,6 +63,12 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
tabchange() {},
|
tabchange() {},
|
||||||
|
//齐鲁名医
|
||||||
|
gomedicine() {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: '/pagesB/medicine/medicine'
|
||||||
|
})
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@ -47,12 +80,71 @@
|
|||||||
|
|
||||||
.app {
|
.app {
|
||||||
|
|
||||||
|
|
||||||
.card {
|
.card {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
width: 94%;
|
width: 94%;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding-top: 35rpx;
|
padding-top: 35rpx;
|
||||||
|
padding-bottom: 200rpx;
|
||||||
|
border-radius: 0 0 10rpx 10rpx;
|
||||||
|
|
||||||
|
.list {
|
||||||
|
margin-top: 20rpx;
|
||||||
|
width: 100%;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-around;
|
||||||
|
|
||||||
|
.item {
|
||||||
|
width: 46%;
|
||||||
|
height: 382rpx;
|
||||||
|
background: #FFFFFF;
|
||||||
|
border: 1px solid #26A888;
|
||||||
|
border-radius: 5rpx;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
|
image {
|
||||||
|
position: absolute;
|
||||||
|
width: 100rpx;
|
||||||
|
top: 20rpx;
|
||||||
|
left: 20rpx;
|
||||||
|
height: 100rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.name {
|
||||||
|
position: absolute;
|
||||||
|
top: 40rpx;
|
||||||
|
left: 140rpx;
|
||||||
|
font-size: 26rpx;
|
||||||
|
font-weight: 400;
|
||||||
|
color: #000000;
|
||||||
|
}
|
||||||
|
|
||||||
|
.position {
|
||||||
|
position: absolute;
|
||||||
|
top: 84rpx;
|
||||||
|
left: 140rpx;
|
||||||
|
font-size: 22rpx;
|
||||||
|
color: #666666;
|
||||||
|
}
|
||||||
|
|
||||||
|
.text {
|
||||||
|
word-break: break-all;
|
||||||
|
width: 90%;
|
||||||
|
margin: 150rpx auto 0;
|
||||||
|
font-size: 20rpx;
|
||||||
|
color: #666666;
|
||||||
|
line-height: 33rpx;
|
||||||
|
text-overflow: -o-ellipsis-lastline;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
display: -webkit-box;
|
||||||
|
-webkit-line-clamp: 8; //行数需设置
|
||||||
|
line-clamp: 8;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
text-align: justify;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
::v-deep .u-tabs {
|
::v-deep .u-tabs {
|
||||||
padding-top: 30rpx;
|
padding-top: 30rpx;
|
||||||
|
|||||||
19
pagesB/doctordetails/doctordetails.vue
Normal file
19
pagesB/doctordetails/doctordetails.vue
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
<template>
|
||||||
|
<view>
|
||||||
|
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss">
|
||||||
|
|
||||||
|
</style>
|
||||||
@ -111,7 +111,7 @@
|
|||||||
|
|
||||||
.actives {
|
.actives {
|
||||||
width: 80%;
|
width: 80%;
|
||||||
color: red;
|
color:#26A888 ;
|
||||||
font-size: 34rpx;
|
font-size: 34rpx;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
@ -208,8 +208,8 @@
|
|||||||
right: 30rpx;
|
right: 30rpx;
|
||||||
width: 125rpx;
|
width: 125rpx;
|
||||||
height: 52rpx;
|
height: 52rpx;
|
||||||
background: #F44B2F;
|
background: #26A888;
|
||||||
border-radius: 26rpx;
|
border-radius: 5rpx;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
line-height: 52rpx;
|
line-height: 52rpx;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|||||||
@ -30,7 +30,8 @@
|
|||||||
<view class="righttabbar">
|
<view class="righttabbar">
|
||||||
<view class="productlist" @touchstart="start" @touchend="end" @touchmove="move"
|
<view class="productlist" @touchstart="start" @touchend="end" @touchmove="move"
|
||||||
v-if="HospitalPersonlist.length>0">
|
v-if="HospitalPersonlist.length>0">
|
||||||
<view class="content" v-for="(item,index) in HospitalPersonlist" :key="item.id">
|
<view class="content" v-for="(item,index) in HospitalPersonlist" :key="item.id"
|
||||||
|
@click.stop='godoctordetails'>
|
||||||
<image class="hospitalimage" v-if="item.personPictureUrl"
|
<image class="hospitalimage" v-if="item.personPictureUrl"
|
||||||
:src="baseurl+item.personPictureUrl" mode=""></image>
|
:src="baseurl+item.personPictureUrl" mode=""></image>
|
||||||
<image class="hospitalimage" v-else src="@/static/pagesB/yis.png" mode=""></image>
|
<image class="hospitalimage" v-else src="@/static/pagesB/yis.png" mode=""></image>
|
||||||
@ -44,7 +45,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="words">{{item.personIntroduce}}
|
<view class="words">{{item.personIntroduce}}
|
||||||
</view>
|
</view>
|
||||||
<view class="appointment" @tap="goappointment(item)">
|
<view class="appointment" @click.stop="goappointment(item)">
|
||||||
预约
|
预约
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -257,6 +258,12 @@
|
|||||||
url: '/pagesB/information/information'
|
url: '/pagesB/information/information'
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
//医生详情
|
||||||
|
godoctordetails() {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: '/pagesB/doctordetails/doctordetails'
|
||||||
|
})
|
||||||
|
},
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
this.DepartmentpageNum = 1
|
this.DepartmentpageNum = 1
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user