Browse Source

修改患者端首页样式调整

master
zq 4 months ago
parent
commit
ae4548cd03
  1. 47
      pages.json
  2. 25
      pages/index/index.vue

47
pages.json

@ -1,29 +1,26 @@
{
"pages": [
{
"pages": [{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "就诊人"
}
},
{
"path": "pages/visitors_new/visitors_new",
"style" :
{
"style": {
"navigationBarTitleText": "就诊人"
}
},
{
"path": "pages/waiting_method/waiting_method",
"style" :
{
"style": {
"navigationBarTitleText": "候诊方式",
"enablePullDownRefresh": false
}
},
{
"path": "pages/prebook_list/prebook_list",
"style" :
{
"style": {
"navigationBarTitleText": "就诊记录",
"enablePullDownRefresh": false
}
@ -31,24 +28,21 @@
{
"path": "pages/book_detail/book_detail",
"style" :
{
"style": {
"navigationBarTitleText": "预约详情",
"enablePullDownRefresh": false
}
},
{
"path": "pages/user_modify/user_modify",
"style" :
{
"style": {
"navigationBarTitleText": "修改资料",
"enablePullDownRefresh": false
}
},
{
"path": "pages/usercenter/usercenter",
"style" :
{
"style": {
"navigationBarTitleText": "我的",
"enablePullDownRefresh": false
}
@ -56,48 +50,37 @@
},
{
"path": "pages/modify_visitor/modify_visitor",
"style" :
{
"style": {
"navigationBarTitleText": "就诊人信息",
"enablePullDownRefresh": false
}
},
{
"path": "pages/prebook/prebook",
"style" :
{
"style": {
"navigationBarTitleText": "预约就诊",
"enablePullDownRefresh": false
}
},
{
"path": "pages/visitors/visitors",
"style" :
{
"style": {
"navigationBarTitleText": "选择就诊人",
"enablePullDownRefresh": false
}
},
{
"path" : "pages/visitors_new/visitors_new",
"style" :
{
"navigationBarTitleText" : ""
}
},
{
"path": "pages/visit_detail/visit_detail",
"style" :
{
"style": {
"navigationBarTitleText": "就诊详情"
}
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8",
"navigationStyle":"custom"
"navigationBarTitleText": "",
"navigationBarBackgroundColor": "#FFFFFF",
"backgroundColor": "#FFFFFF"
},
"uniIdRouter": {}
}

25
pages/index/index.vue

@ -14,6 +14,7 @@
</view>
<img class="right" :src="doctorInfo.doctor_info.avator" alt="" @click="enlargePicture(doctorInfo.doctor_info.avator)" v-if="doctorInfo.doctor_info.avator">
</view>
<view class="block desc-wrapper" v-if="doctorInfo.doctor_info.doctor_detail">
<view class="title-wrapper flex">
<view class="title">
@ -41,7 +42,7 @@
<view class="top flex">
<view class="left">
<view class="title flex">
<text class="over2 PfScMedium">{{item.hospital_name}}
<text class="over2 PfScMedium hospital_name">{{item.hospital_name}}
<!-- {{item.depart_name}} -->
<!-- {{item.depart_name}} -->
<!-- 科室 -->
@ -80,7 +81,7 @@
<uni-collapse ref="collapse" v-model="collapseValue[key]" @change="changeCollapse" class="notice-collapse" v-if="item.notice">
<uni-collapse-item title="就诊须知">
<view class=" content" >
<text class="text" v-html="item.notice"></text>
<view class="text" v-html="item.notice"></view>
</view>
</uni-collapse-item>
</uni-collapse>
@ -106,8 +107,7 @@
</view>
</view>
<pre-book-list class="preg-books" :dataList="recentAppoint" :topnopadding="true" v-if="this.doctorInfo && !this.doctorInfo.is_all_card"></pre-book-list>
<tabbar current="1" leftButtonText="主页" v-if="this.doctorInfo && !this.doctorInfo.is_all_card"></tabbar>
<tabbar current="1" leftButtonText="主页" v-if="!this.doctorInfo.is_all_card"></tabbar>
</view>
</template>
@ -363,10 +363,11 @@
overflow: hidden;
margin-top: 31rpx;
& view:first-of-type{
color: #000000;
letter-spacing: 1rpx;
color: #333;
letter-spacing: 1.32rpx;
margin-right: 27rpx;
max-width: 250rpx;
font-weight: 500;
}
& view:last-of-type{
view{
@ -387,7 +388,7 @@
width: 480rpx;
line-height: 40rpx;
font-size: 28rpx;
color: #38503F;
color: #666666;
margin-top: 21rpx;
}
}
@ -417,6 +418,7 @@
// height: auto;
overflow-y: auto;
max-height: 200rpx;
color: #666666;
}
}
.title-wrapper{
@ -462,6 +464,11 @@
flex-wrap: wrap;
column-gap: 20rpx;
row-gap: 12rpx;
.hospital_name{
color: #333;
font-size: 32rpx;
}
img{
width: 20rpx;
height: 32rpx;
@ -487,7 +494,7 @@
line-height: 40rpx;
font-size: 28rpx;
color: #949699;
margin-top: 14rpx;
margin-top: 22rpx;
}
}
.right{
@ -529,6 +536,7 @@
line-height: 39rpx;
color: #666666;
margin-top: 22rpx;
margin-bottom: 24rpx;
word-break: break-all;
}
.notice-collapse {
@ -596,6 +604,7 @@
.bot{
margin-top: 16rpx;
font-size: 32rpx;
}
}
}

Loading…
Cancel
Save