This commit is contained in:
曹辉 2023-03-27 11:29:21 +08:00
parent 465aba910b
commit 597be6905d
8 changed files with 20 additions and 13 deletions

View File

@ -1,6 +1,6 @@
import request from "../request.js" import request from "../request.js"
//健康咨询 //齐鲁名医
export function selectDepartment(pageNum,pageSize) { export function selectDepartment(pageNum,pageSize) {
return request({ return request({
url: `/nurseApp/healthConsultation/selectDepartment?pageNum=${pageNum}&pageSize=${pageSize}`, url: `/nurseApp/healthConsultation/selectDepartment?pageNum=${pageNum}&pageSize=${pageSize}`,

View File

@ -48,7 +48,7 @@
this.getHeathHousing(); this.getHeathHousing();
}, },
methods: { methods: {
//item //item
gohealthitem(item) { gohealthitem(item) {
uni.navigateTo({ uni.navigateTo({
url: `/pages/Healthitem/Healthitem?item=${encodeURIComponent(JSON.stringify(item))}` url: `/pages/Healthitem/Healthitem?item=${encodeURIComponent(JSON.stringify(item))}`

View File

@ -37,8 +37,9 @@
<view class="detailtitle"> <view class="detailtitle">
<view class="Introduction">服务详情:</view> <view class="Introduction">服务详情:</view>
<!-- <u-parse :html="list.nurseItemContent"></u-parse> --> <!-- <u-parse :html="list.nurseItemContent"></u-parse> -->
<view class="textInfo" v-if="list.nurseItemContent" v-html="list.nurseItemContent"> <u-parse :html="list.nurseItemContent"></u-parse>
</view> <!-- <view class="textInfo" v-if="list.nurseItemContent" v-html="list.nurseItemContent">
</view> -->
</view> </view>
<view class="bottomcontent"> <view class="bottomcontent">
<view class="appoinprice" v-if="list.totalPrice"> <view class="appoinprice" v-if="list.totalPrice">

View File

@ -38,7 +38,7 @@
<view class="item" @tap="gomedicine"> <view class="item" @tap="gomedicine">
<image src="../../static/jkzx.png" mode=""></image> <image src="../../static/jkzx.png" mode=""></image>
<view class="title"> <view class="title">
健康咨询 齐鲁名医
</view> </view>
</view> </view>
<view class="item" @tap='godiseasemanagement'> <view class="item" @tap='godiseasemanagement'>
@ -162,13 +162,13 @@
ended() { ended() {
this.autoplay = true this.autoplay = true
}, },
//item //item
gohealthitem(item) { gohealthitem(item) {
uni.navigateTo({ uni.navigateTo({
url: `/pages/Healthitem/Healthitem?item=${encodeURIComponent(JSON.stringify(item))}` url: `/pages/Healthitem/Healthitem?item=${encodeURIComponent(JSON.stringify(item))}`
}) })
}, },
// //
getHeathHousing() { getHeathHousing() {
getHeathHousingList(this.pageNum, this.pageSize).then(res => { getHeathHousingList(this.pageNum, this.pageSize).then(res => {
if (res.rows) { if (res.rows) {
@ -205,7 +205,7 @@
url: '/pages/diseasemanagement/diseasemanagement' url: '/pages/diseasemanagement/diseasemanagement'
}) })
}, },
// //
gomedicine() { gomedicine() {
uni.navigateTo({ uni.navigateTo({
url: '/pages/medicine/medicine' url: '/pages/medicine/medicine'

View File

@ -49,7 +49,8 @@
.swiper { .swiper {
position: fixed; position: fixed;
top: 0; top: 0;
width: 100%; left: 2%;
width: 96%;
height: 380rpx; height: 380rpx;
z-index: 999; z-index: 999;
@ -76,7 +77,7 @@
} }
.hospital { .hospital {
width: 97%; width: 96%;
margin: 0 auto; margin: 0 auto;
height: 100%; height: 100%;
background-color: #fff; background-color: #fff;

View File

@ -4,7 +4,7 @@
<swiper :indicator-dots="false" indicator-color='#fff' indicator-active-color='#0086d6' :autoplay="autoplay" <swiper :indicator-dots="false" indicator-color='#fff' indicator-active-color='#0086d6' :autoplay="autoplay"
:interval="2000" :duration="1000" class="swiper-box" :circular='true' @change="swiperChange"> :interval="2000" :duration="1000" class="swiper-box" :circular='true' @change="swiperChange">
<swiper-item v-for="(item ,index) in swiperImgUrls" :key="index"> <swiper-item v-for="(item ,index) in swiperImgUrls" :key="index">
<view class="swiper-item" v-show="!splits(item)" wx-if="{item}"> <view class="swiper-item" v-show="!splits(item)" wx-if="{item}" @tap='goConsultationDetails'>
<image v-if="item" :src="item" mode="widthFix"></image> <image v-if="item" :src="item" mode="widthFix"></image>
</view> </view>
<view class="swiper-item" v-show="splits(item)" v-if="item"> <view class="swiper-item" v-show="splits(item)" v-if="item">
@ -158,7 +158,7 @@
this.selectHospitalPersonInfo(); this.selectHospitalPersonInfo();
} }
}, },
// //
selectDepartmentinfo() { selectDepartmentinfo() {
this.DepartmentpageNum = 1 this.DepartmentpageNum = 1
this.swiperImgUrls = [] this.swiperImgUrls = []
@ -257,6 +257,11 @@
url: '/pages/information/information' url: '/pages/information/information'
}) })
}, },
goConsultationDetails() {
uni.navigateTo({
url: '/pages/ConsultationDetails/ConsultationDetails'
})
},
}, },
onLoad() { onLoad() {
this.DepartmentpageNum = 1 this.DepartmentpageNum = 1

View File

@ -402,7 +402,7 @@
success: function(res) { success: function(res) {
if (res.tapIndex + 1 == 1) { if (res.tapIndex + 1 == 1) {
uni.makePhoneCall({ uni.makePhoneCall({
phoneNumber: that.list.phone // phoneNumber: that.list.dutyPhone //
}); });
} }
}, },

BIN
static/yuyue.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB