Browse Source

修改患者端首页样式调整

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

103
pages.json

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

27
pages/index/index.vue

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

Loading…
Cancel
Save