This commit is contained in:
2023-10-08 14:51:36 +08:00
parent 51e37c57b6
commit 3d5b6c998e
6 changed files with 253 additions and 65 deletions

View File

@ -309,7 +309,6 @@
"navigationBarTitleText": "医生详情", "navigationBarTitleText": "医生详情",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, { }, {
"path": "ExpertlookOrder/ExpertlookOrder", "path": "ExpertlookOrder/ExpertlookOrder",
"style": { "style": {
@ -322,7 +321,6 @@
"navigationBarTitleText": "待咨询", "navigationBarTitleText": "待咨询",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, { }, {
"path": "cancel/cancel", "path": "cancel/cancel",
"style": { "style": {
@ -336,17 +334,26 @@
"navigationBarTitleText": "积分商城", "navigationBarTitleText": "积分商城",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, {
"path": "imagetextConsultation/imagetextConsultation",
"style": {
"navigationBarTitleText": "图文问诊",
"enablePullDownRefresh": false
}
}, {
"path": "createnewconsultation/createnewconsultation",
"style": {
"navigationBarTitleText": "新建图文咨询",
"enablePullDownRefresh": false
}
}, {
"path": "screeningResult/screeningResult",
"style": {
"navigationBarTitleText": "筛查结果",
"enablePullDownRefresh": false
}
} }
,{ ]
"path" : "screeningResult/screeningResult",
"style" :
{
"navigationBarTitleText": "筛查结果",
"enablePullDownRefresh": false
}
}
]
}, { }, {
"root": "pagesC", "root": "pagesC",
"pages": [{ "pages": [{
@ -395,49 +402,40 @@
} }
}, },
{ {
"path": "servicerecord/servicerecord", "path": "servicerecord/servicerecord",
"style": { "style": {
"navigationBarTitleText": "服务记录", "navigationBarTitleText": "服务记录",
"enablePullDownRefresh": false "enablePullDownRefresh": false
}
} }
,{ }, {
"path" : "Myappointment/Myappointment", "path": "Myappointment/Myappointment",
"style" : "style": {
{ "navigationBarTitleText": "我的预约",
"navigationBarTitleText": "我的预约", "enablePullDownRefresh": false
"enablePullDownRefresh": false }
} },
{
} "path": "healthtest/healthtest",
,{ "style": {
"path" : "healthtest/healthtest", "navigationBarTitleText": "健康自评",
"style" : "enablePullDownRefresh": false
{ }
"navigationBarTitleText": "健康自评", },
"enablePullDownRefresh": false {
} "path": "Physicalexamination/Physicalexamination",
"style": {
} "navigationBarTitleText": "体征检测",
,{ "enablePullDownRefresh": false
"path" : "Physicalexamination/Physicalexamination", }
"style" : },
{ {
"navigationBarTitleText": "体征检测", "path": "Mysigning/Mysigning",
"enablePullDownRefresh": false "style": {
} "navigationBarTitleText": "我的签约",
"enablePullDownRefresh": false
} }
,{ }
"path" : "Mysigning/Mysigning", ]
"style" :
{
"navigationBarTitleText": "我的签约",
"enablePullDownRefresh": false
}
}
]
}], }],
"globalStyle": { "globalStyle": {
"navigationBarTextStyle": "white", "navigationBarTextStyle": "white",

View File

@ -9,7 +9,6 @@
请拍摄本人头像 请拍摄本人头像
</view> </view>
</view> </view>
<view class="contentV"> <view class="contentV">
<view class="mark"></view> <view class="mark"></view>
<image v-if="tempImg" mode="widthFix" :src="tempImg" /> <image v-if="tempImg" mode="widthFix" :src="tempImg" />
@ -17,7 +16,6 @@
flash="off" resolution='high' /> flash="off" resolution='high' />
<view v-show="!tempImg && tipsText" class="tipV">{{ tipsText }}</view> <view v-show="!tempImg && tipsText" class="tipV">{{ tipsText }}</view>
</view> </view>
<view class="footerV"> <view class="footerV">
<view style="width: 100%;"> <view style="width: 100%;">
<view v-if="!tempImg" style="width: 100%;"> <view v-if="!tempImg" style="width: 100%;">
@ -159,7 +157,6 @@
if (this.tipsText != "" && this.tipsText != "请拍照") { if (this.tipsText != "" && this.tipsText != "请拍照") {
return; return;
} }
uni.getSetting({ uni.getSetting({
success: (res) => { success: (res) => {
if (!res.authSetting['scope.camera']) { if (!res.authSetting['scope.camera']) {

View File

@ -3,7 +3,7 @@
<image src="../../static/pages/wenzhenbanner.png" mode="" class="banner"></image> <image src="../../static/pages/wenzhenbanner.png" mode="" class="banner"></image>
<view class="card"> <view class="card">
<view class="topbar"> <view class="topbar">
<view class="item"> <view class="item" @tap='goimagetextConsultation'>
<image src="../../static/pagesB/tuwen.png" mode=""></image> <image src="../../static/pagesB/tuwen.png" mode=""></image>
<view class="text"> <view class="text">
图文问诊 图文问诊
@ -22,7 +22,7 @@
<u-tabs :list="tabList" :current="tabcurrent" @change="tabchange" active-color='#26A888' <u-tabs :list="tabList" :current="tabcurrent" @change="tabchange" active-color='#26A888'
:show-bar='false'></u-tabs> :show-bar='false'></u-tabs>
<view class="list"> <view class="list">
<view class="item"> <view class="item" @tap="godoctordetails">
<image src="../../static/messages.png" mode=""></image> <image src="../../static/messages.png" mode=""></image>
<view class="name"> <view class="name">
张三 张三
@ -34,7 +34,7 @@
山东大学齐鲁医院主任医师 从事甲状腺疾病等内分泌与代 谢病的诊治擅长甲状腺结节 良恶性鉴 山东大学齐鲁医院主任医师 从事甲状腺疾病等内分泌与代 谢病的诊治擅长甲状腺结节 良恶性鉴
</view> </view>
</view> </view>
<view class="item"> <view class="item" @tap="godoctordetails">
<image src="../../static/messages.png" mode=""></image> <image src="../../static/messages.png" mode=""></image>
<view class="name"> <view class="name">
张三 张三
@ -63,12 +63,24 @@
}, },
methods: { methods: {
tabchange() {}, tabchange() {},
// //
gomedicine() { gomedicine() {
uni.navigateTo({ uni.navigateTo({
url: '/pagesB/medicine/medicine' url: '/pagesB/medicine/medicine'
}) })
}, },
//
goimagetextConsultation() {
uni.navigateTo({
url: '/pagesB/imagetextConsultation/imagetextConsultation'
})
},
//
godoctordetails() {
uni.navigateTo({
url: '/pagesB/doctordetails/doctordetails'
})
},
} }
} }
</script> </script>

View File

@ -0,0 +1,19 @@
<template>
<view class="app">
</view>
</template>
<script>
export default {
data() {
return {
};
}
}
</script>
<style lang="scss">
</style>

View File

@ -0,0 +1,162 @@
<template>
<view class="app">
<image src="../../static/pagesB/xinjianwenzhen.png" mode="" @tap='gocreatenewconsultation'></image>
<view class="title">
<view class="text" v-for='(item,index) in titlelist' :key='index'
:class="titletext==item.text?'Selectedtext':''" @tap='selecttitltext(item)'>
{{item.text}}
</view>
</view>
<view class="list">
<view class="item">
<view class="time">
2023-12-12 12:12
</view>
<image src="../../static/pagesB/Behave.png" mode=""></image>
<view class="name">
张三
</view>
<view class="text">
你好请问今天下午方便吗
</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
titletext: '本周全部',
titlelist: [{
text: '本周全部',
},
{
text: '已解答',
},
{
text: '未解答',
},
],
};
},
methods: {
//
selecttitltext(item) {
this.titletext = item.text
},
//
gocreatenewconsultation() {
uni.navigateTo({
url: "/pagesB/createnewconsultation/createnewconsultation"
})
},
}
}
</script>
<style lang="scss">
page {
background-color: #F4F5F7;
}
.app {
width: 96%;
margin: 20rpx auto;
padding: 20rpx 0;
background: #FFFFFF;
box-shadow: 0rpx 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03);
border-radius: 5rpx;
.list {
width: 94%;
margin: 0 auto;
.item {
width: 100%;
position: relative;
height: 300rpx;
background: #F6F6F6;
border-radius: 5rpx;
.text {
position: absolute;
left: 190rpx;
top: 180rpx;
font-size: 28rpx;
font-weight: 400;
color: #5F5F5F;
padding-right: 20rpx;
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
line-clamp: 2;
-webkit-box-orient: vertical;
white-space: normal;
word-break: break-all;
}
.name {
position: absolute;
left: 190rpx;
top: 120rpx;
font-size: 32rpx;
font-weight: 500;
color: #000000;
}
.time {
width: 100%;
padding-left: 20rpx;
height: 80rpx;
line-height: 80rpx;
border-bottom: 2rpx solid #DADADA;
font-size: 26rpx;
font-weight: 400;
color: #5F5F5F;
}
image {
position: absolute;
left: 20rpx;
top: 110rpx;
width: 150rpx;
height: 150rpx;
}
}
}
.title {
text-align: center;
width: 94%;
margin: 30rpx auto;
display: flex;
.text {
margin-right: 20rpx;
height: 70rpx;
line-height: 70rpx;
background: #FFFFFF;
border: 1px solid #26A888;
border-radius: 5rpx;
width: 25%;
color: #26A888;
}
.Selectedtext {
color: #fff;
background: #26A888 !important;
}
}
image {
width: 94%;
display: block;
margin: 0 auto;
height: 130rpx;
}
}
</style>

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB