附近护理站
This commit is contained in:
parent
7c83ac1eed
commit
0361e6caf9
@ -1,16 +1,11 @@
|
||||
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({
|
||||
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'
|
||||
})
|
||||
}
|
||||
|
||||
18
pages.json
18
pages.json
@ -10,6 +10,14 @@
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarBackgroundColor": "#ffffff" //背景颜色
|
||||
}
|
||||
},{
|
||||
"path": "pages/nursestation/nursestation",
|
||||
"style": {
|
||||
"navigationBarTitleText": "护理站详情",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarBackgroundColor": "#ffffff"
|
||||
}
|
||||
|
||||
},{
|
||||
"path": "pages/appointmenttime/appointmenttime",
|
||||
"style": {
|
||||
@ -34,15 +42,7 @@
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"path": "pages/nursestation/nursestation",
|
||||
"style": {
|
||||
"navigationBarTitleText": "护理站详情",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarBackgroundColor": "#ffffff"
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
image {
|
||||
width: 18rpx;
|
||||
height: 27rpx;
|
||||
margin-left:60%;
|
||||
margin-left:50%;
|
||||
}
|
||||
}
|
||||
.item {
|
||||
@ -54,15 +54,15 @@
|
||||
height: 40rpx;
|
||||
background: #FFFFFF;
|
||||
// margin-top: 10rpx;
|
||||
position:fixed;
|
||||
bottom:0;
|
||||
// position:fixed;
|
||||
// bottom:0;
|
||||
display: flex;
|
||||
.prices {
|
||||
font-size: 54rpx;
|
||||
color: #D43953;
|
||||
|
||||
// line-height: 73rpx;
|
||||
margin-top: 5%;
|
||||
line-height: 73rpx;
|
||||
// margin-top: 5%;
|
||||
}
|
||||
.xiugai {
|
||||
width: 205rpx;
|
||||
|
||||
@ -16,9 +16,10 @@
|
||||
</view>
|
||||
<view class="selecttime" @tap='timeshow=true'>
|
||||
<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>
|
||||
<image src="../../static/jiantou.png"></image>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
<view class="remarks">
|
||||
@ -65,7 +66,7 @@
|
||||
submitAppointment
|
||||
} from '@/api/appointmenttime/appointmenttime.js'
|
||||
import baseurl from '@/api/baseurl.js'
|
||||
import upicker from '../picker/picker.vue'
|
||||
import upicker from './@/pages/u-picker/u-picker.vue'
|
||||
export default {
|
||||
components: {
|
||||
upicker
|
||||
@ -173,206 +174,5 @@
|
||||
}
|
||||
</script>
|
||||
<style lang="scss">
|
||||
.app {
|
||||
.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;
|
||||
}
|
||||
}
|
||||
@import './appointmenttime.scss'
|
||||
</style>
|
||||
|
||||
@ -97,17 +97,14 @@
|
||||
margin-left: -3%;
|
||||
margin-top: 3%;
|
||||
.config {
|
||||
// display: flex;
|
||||
display: flex;
|
||||
.measure {
|
||||
background: #F6F6F6;
|
||||
border-radius: 33rpx;
|
||||
width: 193rpx;
|
||||
height: 67rpx;
|
||||
text-align: center;
|
||||
line-height: 50rpx;
|
||||
// display: inline-block;
|
||||
margin-left: 10%;
|
||||
// margin: 10rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -84,7 +84,7 @@
|
||||
servelist: [], //服务项目
|
||||
productlist: [], //产品
|
||||
stationid: '', //护理站id
|
||||
nurseStationId: 2,
|
||||
nurseStationId:'',
|
||||
nurseStationLabelList: [], //护理站配置
|
||||
nearbyNursingStationItemList: [],
|
||||
patientId: 46,
|
||||
@ -102,7 +102,9 @@
|
||||
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
onLoad(options) {
|
||||
console.log(options)
|
||||
this.list.stationId = options.stationId
|
||||
this.getInfo(),
|
||||
this.serveinfo(),
|
||||
this.productinfo()
|
||||
@ -145,261 +147,38 @@
|
||||
}
|
||||
},
|
||||
|
||||
// gophone() {
|
||||
// var that = this
|
||||
// uni.getSystemInfo({
|
||||
// success: function(res) {
|
||||
// // console.log(res)
|
||||
// if (res.platform == 'ios') {
|
||||
// uni.makePhoneCall({
|
||||
// phoneNumber: that.list.phone //仅为示例
|
||||
// });
|
||||
// } else {
|
||||
// uni.showActionSheet({
|
||||
// itemList: ['呼叫', ],
|
||||
// success: function(res) {
|
||||
// if (res.tapIndex + 1 == 1) {
|
||||
// uni.makePhoneCall({
|
||||
// phoneNumber: that.list.phone //仅为示例
|
||||
// });
|
||||
// }
|
||||
// console.log('选中了第' + (res.tapIndex + 1) + '个按钮');
|
||||
// },
|
||||
// fail: function(res) {
|
||||
// // console.log(res.errMsg);
|
||||
// }
|
||||
// });
|
||||
// }
|
||||
// }
|
||||
// });
|
||||
gophone() {
|
||||
var that = this
|
||||
uni.getSystemInfo({
|
||||
success: function(res) {
|
||||
// console.log(res)
|
||||
if (res.platform == 'ios') {
|
||||
uni.makePhoneCall({
|
||||
phoneNumber: that.list.phone //仅为示例
|
||||
});
|
||||
} else {
|
||||
uni.showActionSheet({
|
||||
itemList: ['呼叫', ],
|
||||
success: function(res) {
|
||||
if (res.tapIndex + 1 == 1) {
|
||||
uni.makePhoneCall({
|
||||
phoneNumber: that.list.phone //仅为示例
|
||||
});
|
||||
}
|
||||
console.log('选中了第' + (res.tapIndex + 1) + '个按钮');
|
||||
},
|
||||
fail: function(res) {
|
||||
// console.log(res.errMsg);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// },
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.app {
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@import './nursestation.scss'
|
||||
</style>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user