附近护理站

This commit is contained in:
闫晓茹 2022-10-25 08:58:53 +08:00
parent 7c83ac1eed
commit 0361e6caf9
6 changed files with 56 additions and 485 deletions

View File

@ -1,16 +1,11 @@
import request from "../request.js" import request from "../request.js"
// export function list() {
// return request({
// url: `/nurseApplet/system/patientInfo/list`,
// method: 'GET'
// })
// }
export function nearbyList(pageSize,pageNum,longitude, latitude, nurseStationType, nurseStationName) {
export function nearbyList(pageSize,pageNum,longitude, latitude) {
return request({ return request({
url: `/nurseApplet/nearbyNursingStation/nearbyList?pageSize=${pageSize}&pageNum=${pageNum}&homeLongitude=${longitude}&homeLatitude=${latitude}&nurseStationType=${nurseStationType}&nurseStationName=${nurseStationName}`, url: `/nurseApplet/nearbyNursingStation/nearbyList?pageSize=${pageSize}&pageNum=${pageNum}&homeLongitude=${longitude}&homeLatitude=${latitude}`,
method: 'GET' method: 'GET'
}) })
} }

View File

@ -10,6 +10,14 @@
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#ffffff" // "navigationBarBackgroundColor": "#ffffff" //
} }
},{
"path": "pages/nursestation/nursestation",
"style": {
"navigationBarTitleText": "护理站详情",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#ffffff"
}
},{ },{
"path": "pages/appointmenttime/appointmenttime", "path": "pages/appointmenttime/appointmenttime",
"style": { "style": {
@ -34,15 +42,7 @@
} }
}, },
{
"path": "pages/nursestation/nursestation",
"style": {
"navigationBarTitleText": "护理站详情",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#ffffff"
}
},

View File

@ -23,7 +23,7 @@
image { image {
width: 18rpx; width: 18rpx;
height: 27rpx; height: 27rpx;
margin-left:60%; margin-left:50%;
} }
} }
.item { .item {
@ -54,15 +54,15 @@
height: 40rpx; height: 40rpx;
background: #FFFFFF; background: #FFFFFF;
// margin-top: 10rpx; // margin-top: 10rpx;
position:fixed; // position:fixed;
bottom:0; // bottom:0;
display: flex; display: flex;
.prices { .prices {
font-size: 54rpx; font-size: 54rpx;
color: #D43953; color: #D43953;
// line-height: 73rpx; line-height: 73rpx;
margin-top: 5%; // margin-top: 5%;
} }
.xiugai { .xiugai {
width: 205rpx; width: 205rpx;

View File

@ -16,9 +16,10 @@
</view> </view>
<view class="selecttime" @tap='timeshow=true'> <view class="selecttime" @tap='timeshow=true'>
<span>时间</span> <span>时间</span>
<text v-if="usertime==''" style="color: black;">请选择时间</text> <text v-if="usertime==''" style="color: black;">请选择时间
<image src="../../static/jiantou.png"></image></text>
<text v-else style="color: black;">{{usertime}}</text> <text v-else style="color: black;">{{usertime}}</text>
<image src="../../static/jiantou.png"></image>
</view> </view>
</view> </view>
<view class="remarks"> <view class="remarks">
@ -65,7 +66,7 @@
submitAppointment submitAppointment
} from '@/api/appointmenttime/appointmenttime.js' } from '@/api/appointmenttime/appointmenttime.js'
import baseurl from '@/api/baseurl.js' import baseurl from '@/api/baseurl.js'
import upicker from '../picker/picker.vue' import upicker from './@/pages/u-picker/u-picker.vue'
export default { export default {
components: { components: {
upicker upicker
@ -173,206 +174,5 @@
} }
</script> </script>
<style lang="scss"> <style lang="scss">
.app { @import './appointmenttime.scss'
.money {
font-size: 32rpx;
color: #D43953;
margin-left: 90%;
}
font-size: 36rpx;
padding-top: 10rpx;
.user {
background: #FFFFFF;
width: 94%;
margin: 10rpx auto;
box-shadow: 0rpx 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03);
border-radius: 20rpx;
line-height: 93rpx;
.selecttime {
height: 93rpx;
margin-left: 3%;
text {
font-size: 34rpx;
color: #878987;
}
image {
width: 18rpx;
height: 27rpx;
margin-left: 50%;
}
}
.item {
width: 97%;
height: 93rpx;
border-bottom: 1rpx solid #D8D4D4;
margin-left: 3%;
}
}
.remarks {
width: 94%;
height: 382rpx;
margin: 10rpx auto;
padding: 3%;
font-size: 35rpx;
height: 96rpx;
background: #FFFFFF;
border-radius: 20rpx;
margin-top: 3%;
input {
margin-top: -6%;
margin-left: 15%;
}
}
.priceback {
width: 99%;
height: 141rpx;
background: #FFFFFF;
margin-top: 10%;
display: flex;
.prices {
font-size: 54rpx;
color: #D43953;
line-height: 73rpx;
margin-top: 5%;
}
.xiugai {
width: 205rpx;
height: 71rpx;
background: #E1AE3C;
border-radius: 26rpx;
margin-left: 35%;
margin-top: 5%;
line-height: 71rpx;
text-align: center;
color: #ffffff;
}
.queren {
width: 227rpx;
height: 71rpx;
background: #4C7BC9;
border-radius: 26rpx;
margin-top: 5%;
line-height: 71rpx;
text-align: center;
color: #ffffff;
}
}
//
.radio-content {
height: 80rpx;
line-height: 2rpx;
font-size: 34rpx;
.agreement {
font-size: 34rpx;
color: #878987;
margin-left: 14%;
}
.radio-right {
margin-left: 66rpx;
.radio-default {
border: 2rpx solid #0fbda6;
}
.radio {
width: 34rpx;
height: 34rpx;
border-radius: 70%;
border: 2rpx solid #178ffb;
margin: 6px 25px -10px -10px;
.radio-active {
width: 16rpx;
height: 16rpx;
border-radius: 50%;
background-color: #178ffb;
margin-left: 20%;
margin-top: 20%;
// margin: 0 auto;
}
}
}
}
/* 耗材包 */
.Consumablespackage {
width: 94%;
height: 188rpx;
;
margin: 10rpx auto;
padding: 3%;
font-size: 35rpx;
height: 188rpx;
background: #FFFFFF;
border-radius: 20rpx;
margin-top: 3%;
.detail {
width: 301rpx;
height: 31rpx;
line-height: 31rpx;
font-size: 33rpx;
color: #666666;
line-height: 31rpx;
margin-left: 20%;
}
}
/* 套餐 */
.Package {
width: 94%;
height: 243rpx;
;
margin: 10rpx auto;
padding: 3%;
font-size: 35rpx;
height: 243rpx;
background: #FFFFFF;
border-radius: 20rpx;
margin-top: 3%;
.detail {
width: 301rpx;
height: 31rpx;
line-height: 31rpx;
font-size: 33rpx;
color: #666666;
line-height: 31rpx;
margin-left: 20%;
}
}
.message {
width: 94%;
height: 96rpx;
background: white;
border-radius: 20rpx;
margin: 0 auto;
text-align: center;
line-height: 96rpx;
}
}
</style> </style>

View File

@ -97,17 +97,14 @@
margin-left: -3%; margin-left: -3%;
margin-top: 3%; margin-top: 3%;
.config { .config {
// display: flex; display: flex;
.measure { .measure {
background: #F6F6F6; background: #F6F6F6;
border-radius: 33rpx; border-radius: 33rpx;
width: 193rpx;
height: 67rpx;
text-align: center; text-align: center;
line-height: 50rpx; line-height: 50rpx;
// display: inline-block; // display: inline-block;
margin-left: 10%; margin-left: 10%;
// margin: 10rpx;
} }
} }
} }

View File

@ -84,7 +84,7 @@
servelist: [], // servelist: [], //
productlist: [], // productlist: [], //
stationid: '', //id stationid: '', //id
nurseStationId: 2, nurseStationId:'',
nurseStationLabelList: [], // nurseStationLabelList: [], //
nearbyNursingStationItemList: [], nearbyNursingStationItemList: [],
patientId: 46, patientId: 46,
@ -102,7 +102,9 @@
} }
}, },
onLoad() { onLoad(options) {
console.log(options)
this.list.stationId = options.stationId
this.getInfo(), this.getInfo(),
this.serveinfo(), this.serveinfo(),
this.productinfo() this.productinfo()
@ -145,261 +147,38 @@
} }
}, },
// gophone() { gophone() {
// var that = this var that = this
// uni.getSystemInfo({ uni.getSystemInfo({
// success: function(res) { success: function(res) {
// // console.log(res) // console.log(res)
// if (res.platform == 'ios') { if (res.platform == 'ios') {
// uni.makePhoneCall({ uni.makePhoneCall({
// phoneNumber: that.list.phone // phoneNumber: that.list.phone //
// }); });
// } else { } else {
// uni.showActionSheet({ uni.showActionSheet({
// itemList: ['', ], itemList: ['呼叫', ],
// 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.phone //
// }); });
// } }
// console.log('' + (res.tapIndex + 1) + ''); console.log('选中了第' + (res.tapIndex + 1) + '个按钮');
// }, },
// fail: function(res) { fail: function(res) {
// // console.log(res.errMsg); // console.log(res.errMsg);
// } }
// }); });
// } }
// } }
// }); });
// }, },
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.app { @import './nursestation.scss'
font-size: 36rpx;
padding-top: 10rpx;
.tive {
width: 94%;
background-color: #ffffff;
margin: 0 auto;
margin-top: 3%;
border-radius: 11px;
.item {
width: 99%;
height: 184rpx;
image {
width: 170rpx;
height: 170rpx;
margin-left: 3%;
}
.servicetime {
color: #999999;
line-height: 37rpx;
margin-left: 35%;
}
.appointment {
width: 125rpx;
height: 71rpx;
background: #4C7BC9;
border-radius: 26rpx;
float: right;
margin-top: -5%;
color: #ffffff;
text-align: center;
line-height: 71rpx;
}
.price {
color: red;
font-size: 32rpx;
margin-top: 3%;
margin-left: 35%;
}
.product {
margin-top: -26%;
margin-left: 28%;
}
.huanyao {
margin-left: 35%;
margin-top: -24%;
color: #000000;
.pingfen {
float: right;
}
}
}
.tab-box {
display: flex;
.tab-item {
flex-shrink: 0;
padding: 3%;
position: relative;
transition: all 0.2s linear;
font-size: 31rpx;
&::after {
transition: all 0.2s linear;
transform: translateX(-50%) scaleX(0);
content: '';
width: 50%;
position: absolute;
left: 50%;
bottom: 20rpx;
border-bottom: 6rpx solid #D43953;
border-radius: 4rpx;
}
&.active {
&::after {
content: '';
width: 50%;
position: absolute;
left: 50%;
transform: translateX(-50%) scaleX(1);
bottom: 20rpx;
border-bottom: 6rpx solid red;
}
}
}
}
}
.Nursestationconfiguration {
width: 94%;
height: 184rpx;
background: #FFFFFF;
border-radius: 20rpx;
margin: 0 auto;
.configuration {
font-size: 31rpx;
color: #333333;
line-height: 12rpx;
padding: 6%;
margin-left: -3%;
margin-top: 3%;
.config {
display: flex;
.measure {
background: #F6F6F6;
border-radius: 33rpx;
text-align: center;
line-height: 67rpx;
display: inline-block;
margin-left: 5%;
}
}
}
}
.detail {
position: relative;
width: 94%;
height: 443rpx;
margin: 0 auto;
background: #FFFFFF;
border-radius: 20rpx;
margin-top: 3%;
font-size: 31rpx;
padding: 3%;
.textInfo {
font-size: 29rpx;
text-indent: 2rem;
line-height: 42rpx;
color: #666666;
}
.Introduction {
font-size: 31rpx;
color: #333333;
line-height: 12rpx;
margin-left: -3%;
padding: 3%;
}
}
.righttext {
position: relative;
width: 94%;
height: 252rpx;
background-color: #ffffff;
border-radius: 20rpx;
margin: 10px auto;
.picture {
position: absolute;
width: 170rpx;
height: 170rpx;
margin-left: 5%;
margin-top: 5%;
}
.title {
margin-left: 35%;
line-height: 49px;
font-size: 33rpx;
}
.call {
display: flex;
.Navigation {
width: 103rpx;
height: 48rpx;
background: #00C176;
border-radius: 24px;
font-size: 21rpx;
color: #ffffff;
line-height: 48rpx;
margin-left: 5%;
text-align: center;
margin-top: 3%;
image {
width: 24rpx;
height: 24rpx;
}
}
.callme {
width: 149rpx;
height: 48rpx;
background: #D43953;
border-radius: 24px;
font-size: 21rpx;
color: #ffffff;
line-height: 48rpx;
margin-left: 35%;
margin-top: 3%;
text-align: center;
}
}
.address {
font-size: 25rpx;
margin-left: 35%;
color: #999999;
line-height: 37rpx;
}
}
}
</style> </style>