修改
This commit is contained in:
parent
5ed7a523b4
commit
c623d41da7
@ -1,202 +0,0 @@
|
|||||||
<template>
|
|
||||||
<view class="app">
|
|
||||||
<view class="record">
|
|
||||||
<view class="time">
|
|
||||||
<text>2022-10-11 15:44</text>
|
|
||||||
<text class="service">服务中</text>
|
|
||||||
</view>
|
|
||||||
<view class="recordinfo">
|
|
||||||
<view class="img">
|
|
||||||
</view>
|
|
||||||
<view class="texts">
|
|
||||||
<text class="name">某某某</text>
|
|
||||||
<view class="doctor">
|
|
||||||
<text>内科门诊-主任医师</text>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view class="Apayment">
|
|
||||||
<view class="pay">
|
|
||||||
<text class="money">实付款:</text>
|
|
||||||
<text class="price">¥28.0</text>
|
|
||||||
</view>
|
|
||||||
<view class="result">
|
|
||||||
查看结果
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view class="record">
|
|
||||||
<view class="time">
|
|
||||||
<text>2022-10-11 15:44</text>
|
|
||||||
<text class="service">服务中</text>
|
|
||||||
</view>
|
|
||||||
<view class="recordinfo">
|
|
||||||
<view class="img">
|
|
||||||
</view>
|
|
||||||
<view class="texts">
|
|
||||||
<text class="name">某某某</text>
|
|
||||||
<view class="doctor">
|
|
||||||
<text>内科门诊-主任医师</text>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view class="Apayment">
|
|
||||||
<view class="pay">
|
|
||||||
<text class="money">实付款:</text>
|
|
||||||
<text class="price">¥28.0</text>
|
|
||||||
</view>
|
|
||||||
<view class="result">
|
|
||||||
查看结果
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
data() {
|
|
||||||
return {
|
|
||||||
|
|
||||||
}
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
onShareAppMessage(res) {
|
|
||||||
let pages = getCurrentPages();
|
|
||||||
let url = pages[pages.length - 1].$page.fullPath
|
|
||||||
return {
|
|
||||||
title: '泉医到家',
|
|
||||||
path: url,
|
|
||||||
}
|
|
||||||
},
|
|
||||||
//2.分享到朋友圈
|
|
||||||
onShareTimeline(res) {
|
|
||||||
let pages = getCurrentPages();
|
|
||||||
let url = pages[pages.length - 1].$page.fullPath
|
|
||||||
return {
|
|
||||||
title: '泉医到家',
|
|
||||||
path: url,
|
|
||||||
}
|
|
||||||
},
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<style lang="scss">
|
|
||||||
.app {
|
|
||||||
background-color: #F4F5F7;
|
|
||||||
width: 100%;
|
|
||||||
position: relative;
|
|
||||||
padding: 4%;
|
|
||||||
|
|
||||||
.record {
|
|
||||||
width: 99%;
|
|
||||||
height: 427rpx;
|
|
||||||
background: #FFFFFF;
|
|
||||||
box-shadow: 0rpx 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03);
|
|
||||||
border-radius: 20rpx;
|
|
||||||
margin-bottom: 10rpx;
|
|
||||||
|
|
||||||
.time {
|
|
||||||
width: 90%;
|
|
||||||
height: 80rpx;
|
|
||||||
font-size: 30rpx;
|
|
||||||
margin: 0 auto;
|
|
||||||
color: #969394;
|
|
||||||
line-height: 80rpx;
|
|
||||||
border-bottom: 1rpx solid #D8D4D4;
|
|
||||||
|
|
||||||
.service {
|
|
||||||
height: 67rpx;
|
|
||||||
color: #4C7BC9;
|
|
||||||
line-height: 67rpx;
|
|
||||||
margin-left: 45%;
|
|
||||||
// float: left;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.recordinfo {
|
|
||||||
width: 90%;
|
|
||||||
height: 230rpx;
|
|
||||||
// background-color: red;
|
|
||||||
margin: 0 auto;
|
|
||||||
display: flex;
|
|
||||||
|
|
||||||
.img {
|
|
||||||
width: 169rpx;
|
|
||||||
height: 171rpx;
|
|
||||||
background: #BFBFBF;
|
|
||||||
margin-top: 3%;
|
|
||||||
border-radius: 25rpx;
|
|
||||||
}
|
|
||||||
|
|
||||||
.texts {
|
|
||||||
|
|
||||||
margin-top: 7%;
|
|
||||||
// width: 169rpx;
|
|
||||||
height: 171rpx;
|
|
||||||
margin-left: 6%;
|
|
||||||
|
|
||||||
// background: #BFBFBF;
|
|
||||||
.name {
|
|
||||||
height: 70rpx;
|
|
||||||
font-size: 38rpx;
|
|
||||||
|
|
||||||
|
|
||||||
color: #000000;
|
|
||||||
line-height: 70rpx;
|
|
||||||
}
|
|
||||||
|
|
||||||
.doctor {
|
|
||||||
height: 60rpx;
|
|
||||||
font-size: 35rpx;
|
|
||||||
color: #969394;
|
|
||||||
line-height: 60rpx;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.Apayment {
|
|
||||||
width: 90%;
|
|
||||||
margin: 0 auto;
|
|
||||||
// background-color: red;
|
|
||||||
display: flex;
|
|
||||||
|
|
||||||
.money {
|
|
||||||
|
|
||||||
height: 29rpx;
|
|
||||||
font-size: 30rpx;
|
|
||||||
color: #969394;
|
|
||||||
line-height: 29rpx;
|
|
||||||
// margin-top: -40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.price {
|
|
||||||
font-family: Adobe Heiti Std;
|
|
||||||
font-weight: normal;
|
|
||||||
line-height: 29rpx;
|
|
||||||
height: 29rpx;
|
|
||||||
font-size: 41rpx;
|
|
||||||
color: #000000;
|
|
||||||
line-height: 77rpx;
|
|
||||||
}
|
|
||||||
|
|
||||||
.result {
|
|
||||||
width: 217rpx;
|
|
||||||
height: 68rpx;
|
|
||||||
line-height: 68rpx;
|
|
||||||
background: #4C7BC9;
|
|
||||||
font-size: 32rpx;
|
|
||||||
border-radius: 26rpx;
|
|
||||||
color: #FFFFFF;
|
|
||||||
text-align: center;
|
|
||||||
margin-left: 30%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
@ -754,17 +754,19 @@
|
|||||||
// e.address = e.provinceName + e.cityName + e.regionName + e.streetName + e
|
// e.address = e.provinceName + e.cityName + e.regionName + e.streetName + e
|
||||||
// .receiveAddress
|
// .receiveAddress
|
||||||
// })
|
// })
|
||||||
var list = res.data.filter(e => e.defaultAddressFlag == 1)
|
if (res.data.length > 0) {
|
||||||
if (list.length >= 1) {
|
var list = res.data.filter(e => e.defaultAddressFlag == 1)
|
||||||
this.updata.receiver = list[0].receiveName
|
if (list.length >= 1) {
|
||||||
this.updata.receiveAddress = list[0].areaName + list[0].receiveAddress
|
this.updata.receiver = list[0].receiveName
|
||||||
this.updata.phone = list[0].receivePhone
|
this.updata.receiveAddress = list[0].areaName + list[0].receiveAddress
|
||||||
this.userid = list[0].id
|
this.updata.phone = list[0].receivePhone
|
||||||
} else {
|
this.userid = list[0].id
|
||||||
this.updata.receiver = res.data[0].receiveName
|
} else {
|
||||||
this.updata.receiveAddress = res.data[0].areaName + res.data[0].receiveAddress
|
this.updata.receiver = res.data[0].receiveName
|
||||||
this.updata.phone = res.data[0].receivePhone
|
this.updata.receiveAddress = res.data[0].areaName + res.data[0].receiveAddress
|
||||||
this.userid = res.data[0].id
|
this.updata.phone = res.data[0].receivePhone
|
||||||
|
this.userid = res.data[0].id
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@ -792,24 +794,26 @@
|
|||||||
that.goodsDetailsinfo(that.goodsInfoId, value)
|
that.goodsDetailsinfo(that.goodsInfoId, value)
|
||||||
goodPatientInfo(value).then(res => {
|
goodPatientInfo(value).then(res => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
var user = res.data.filter(e => e.id == that.userid)
|
if (res.data.length > 0) {
|
||||||
if (user.length >= 1) {
|
var user = res.data.filter(e => e.id == that.userid)
|
||||||
// user[0].address = user[0].provinceName + user[0].cityName + user[0].regionName + user[0]
|
if (user.length >= 1) {
|
||||||
// .streetName + user[0].receiveAddress
|
// user[0].address = user[0].provinceName + user[0].cityName + user[0].regionName + user[0]
|
||||||
that.updata.receiver = user[0].receiveName
|
// .streetName + user[0].receiveAddress
|
||||||
that.updata.receiveAddress = user[0].areaName + user[0].receiveAddress
|
that.updata.receiver = user[0].receiveName
|
||||||
that.updata.phone = user[0].receivePhone
|
that.updata.receiveAddress = user[0].areaName + user[0].receiveAddress
|
||||||
that.userid = user[0].id
|
that.updata.phone = user[0].receivePhone
|
||||||
} else {
|
that.userid = user[0].id
|
||||||
// res.data.forEach(e => {
|
} else {
|
||||||
// e.address = e.provinceName + e.cityName + e.regionName + e.streetName + e
|
// res.data.forEach(e => {
|
||||||
// .receiveAddress
|
// e.address = e.provinceName + e.cityName + e.regionName + e.streetName + e
|
||||||
// })
|
// .receiveAddress
|
||||||
that.updata.receiver = res.data[0].receiveName
|
// })
|
||||||
// this.updata.receiveAddress = res.data[0].address
|
that.updata.receiver = res.data[0].receiveName
|
||||||
that.updata.receiveAddress = res.data[0].areaName + res.data[0].receiveAddress
|
// this.updata.receiveAddress = res.data[0].address
|
||||||
that.updata.phone = res.data[0].receivePhone
|
that.updata.receiveAddress = res.data[0].areaName + res.data[0].receiveAddress
|
||||||
that.userid = res.data[0].id
|
that.updata.phone = res.data[0].receivePhone
|
||||||
|
that.userid = res.data[0].id
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@ -1,6 +1,23 @@
|
|||||||
.app {
|
.app {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
||||||
|
.noorder {
|
||||||
|
margin-top: 20%;
|
||||||
|
|
||||||
|
image {
|
||||||
|
display: block;
|
||||||
|
margin: 0 auto;
|
||||||
|
width: 200rpx;
|
||||||
|
height: 240rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
view {
|
||||||
|
margin-top: 100rpx;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 36rpx;
|
||||||
|
color: #BFBFBF;
|
||||||
|
}
|
||||||
|
}
|
||||||
.content {
|
.content {
|
||||||
width: 96%;
|
width: 96%;
|
||||||
margin: 20rpx auto 0;
|
margin: 20rpx auto 0;
|
||||||
|
|||||||
@ -31,7 +31,7 @@
|
|||||||
已过期
|
已过期
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="rollup">
|
<view class="rollup" v-if="couponlist.length>0">
|
||||||
<view class="item" v-for="(item,index) in couponlist" :key="index"
|
<view class="item" v-for="(item,index) in couponlist" :key="index"
|
||||||
:style="item.useStatus!='NOT_USED'?'height:180rpx':''">
|
:style="item.useStatus!='NOT_USED'?'height:180rpx':''">
|
||||||
<view class="top" :style="item.useStatus!='NOT_USED'?'background: #EFECEC;color: #4B4B4B;':''">
|
<view class="top" :style="item.useStatus!='NOT_USED'?'background: #EFECEC;color: #4B4B4B;':''">
|
||||||
@ -67,6 +67,12 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="noorder" v-else>
|
||||||
|
<image src="../../static/noorder.png" mode=""></image>
|
||||||
|
<view class="">
|
||||||
|
暂无可兑换商品
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<u-toast ref="uToast" />
|
<u-toast ref="uToast" />
|
||||||
</view>
|
</view>
|
||||||
@ -80,7 +86,7 @@
|
|||||||
return {
|
return {
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
couponlist: null,
|
couponlist: [],
|
||||||
total: 0,
|
total: 0,
|
||||||
couponstatus: '', //状态
|
couponstatus: '', //状态
|
||||||
patientId: null,
|
patientId: null,
|
||||||
|
|||||||
@ -3,7 +3,23 @@
|
|||||||
.masks {
|
.masks {
|
||||||
z-index: 999;
|
z-index: 999;
|
||||||
}
|
}
|
||||||
|
.noorder {
|
||||||
|
margin-top: 20%;
|
||||||
|
|
||||||
|
image {
|
||||||
|
display: block;
|
||||||
|
margin: 0 auto;
|
||||||
|
width: 200rpx;
|
||||||
|
height: 240rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
view {
|
||||||
|
margin-top: 100rpx;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 36rpx;
|
||||||
|
color: #BFBFBF;
|
||||||
|
}
|
||||||
|
}
|
||||||
.information {
|
.information {
|
||||||
width: 70%;
|
width: 70%;
|
||||||
height: 400rpx;
|
height: 400rpx;
|
||||||
|
|||||||
@ -24,7 +24,7 @@
|
|||||||
<view class="titles">
|
<view class="titles">
|
||||||
积分兑换
|
积分兑换
|
||||||
</view>
|
</view>
|
||||||
<view class="items">
|
<view class="items" v-if="goodslist.length>0">
|
||||||
<view class="item" v-for="(item,index) in goodslist" :key="index">
|
<view class="item" v-for="(item,index) in goodslist" :key="index">
|
||||||
<image :src="item.attributePitureUrl" mode=""></image>
|
<image :src="item.attributePitureUrl" mode=""></image>
|
||||||
<view class="title">
|
<view class="title">
|
||||||
@ -43,6 +43,12 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="noorder" v-else>
|
||||||
|
<image src="../../static/noorder.png" mode=""></image>
|
||||||
|
<view class="">
|
||||||
|
暂无优惠券
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
<u-mask :show="gainshow" @click="gainshow = false">
|
<u-mask :show="gainshow" @click="gainshow = false">
|
||||||
<view class="mask" @click.stop="">
|
<view class="mask" @click.stop="">
|
||||||
<image class="close" src="../../static/gb.png" mode="" @tap='gainshow=false'></image>
|
<image class="close" src="../../static/gb.png" mode="" @tap='gainshow=false'></image>
|
||||||
@ -212,7 +218,7 @@
|
|||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
goodstotal: 0,
|
goodstotal: 0,
|
||||||
goodslist: null,
|
goodslist: [],
|
||||||
goodsitem: null,
|
goodsitem: null,
|
||||||
userid: null,
|
userid: null,
|
||||||
updata: {
|
updata: {
|
||||||
@ -267,17 +273,19 @@
|
|||||||
that.updata.patientId = value
|
that.updata.patientId = value
|
||||||
goodPatientInfo(value).then(res => {
|
goodPatientInfo(value).then(res => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
var user = res.data.filter(e => e.id == that.userid)
|
if (res.data.length > 0) {
|
||||||
if (user.length >= 1) {
|
var user = res.data.filter(e => e.id == that.userid)
|
||||||
that.updata.receiver = user[0].receiveName
|
if (user.length >= 1) {
|
||||||
that.updata.receiveAddress = user[0].areaName + user[0].receiveAddress
|
that.updata.receiver = user[0].receiveName
|
||||||
that.updata.phone = user[0].receivePhone
|
that.updata.receiveAddress = user[0].areaName + user[0].receiveAddress
|
||||||
that.userid = user[0].id
|
that.updata.phone = user[0].receivePhone
|
||||||
} else {
|
that.userid = user[0].id
|
||||||
that.updata.receiver = res.data[0].receiveName
|
} else {
|
||||||
that.updata.receiveAddress = res.data[0].areaName + res.data[0].receiveAddress
|
that.updata.receiver = res.data[0].receiveName
|
||||||
that.updata.phone = res.data[0].receivePhone
|
that.updata.receiveAddress = res.data[0].areaName + res.data[0].receiveAddress
|
||||||
that.userid = res.data[0].id
|
that.updata.phone = res.data[0].receivePhone
|
||||||
|
that.userid = res.data[0].id
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@ -586,17 +594,19 @@
|
|||||||
// 收件人
|
// 收件人
|
||||||
goodsList() {
|
goodsList() {
|
||||||
goodPatientInfo(this.patientId).then(res => {
|
goodPatientInfo(this.patientId).then(res => {
|
||||||
var list = res.data.filter(e => e.defaultAddressFlag == 1)
|
if (res.data.length > 0) {
|
||||||
if (list.length >= 1) {
|
var list = res.data.filter(e => e.defaultAddressFlag == 1)
|
||||||
this.updata.receiver = list[0].receiveName
|
if (list.length >= 1) {
|
||||||
this.updata.receiveAddress = list[0].areaName + list[0].receiveAddress
|
this.updata.receiver = list[0].receiveName
|
||||||
this.updata.phone = list[0].receivePhone
|
this.updata.receiveAddress = list[0].areaName + list[0].receiveAddress
|
||||||
this.userid = list[0].id
|
this.updata.phone = list[0].receivePhone
|
||||||
} else {
|
this.userid = list[0].id
|
||||||
this.updata.receiver = res.data[0].receiveName
|
} else {
|
||||||
this.updata.receiveAddress = res.data[0].areaName + res.data[0].receiveAddress
|
this.updata.receiver = res.data[0].receiveName
|
||||||
this.updata.phone = res.data[0].receivePhone
|
this.updata.receiveAddress = res.data[0].areaName + res.data[0].receiveAddress
|
||||||
this.userid = res.data[0].id
|
this.updata.phone = res.data[0].receivePhone
|
||||||
|
this.userid = res.data[0].id
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@ -32,7 +32,7 @@
|
|||||||
已过期
|
已过期
|
||||||
</view> -->
|
</view> -->
|
||||||
</view>
|
</view>
|
||||||
<view class="rollup">
|
<view class="rollup" v-if="couponlist.length > 0">
|
||||||
<view class="item" v-for="(item,index) in couponlist" :key="index"
|
<view class="item" v-for="(item,index) in couponlist" :key="index"
|
||||||
:style="item.useStatus!='NOT_USED'?'height:180rpx':''">
|
:style="item.useStatus!='NOT_USED'?'height:180rpx':''">
|
||||||
<view class="top"
|
<view class="top"
|
||||||
@ -73,6 +73,12 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="noorder" v-else>
|
||||||
|
<image src="../../static/noorder.png" mode=""></image>
|
||||||
|
<view class="">
|
||||||
|
暂无
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<u-mask :show="usershow" class='mask'>
|
<u-mask :show="usershow" class='mask'>
|
||||||
<view class="information">
|
<view class="information">
|
||||||
@ -104,7 +110,7 @@
|
|||||||
usershow: false,
|
usershow: false,
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
couponlist: null,
|
couponlist: [],
|
||||||
total: 0,
|
total: 0,
|
||||||
couponstatus: '', //状态
|
couponstatus: '', //状态
|
||||||
patientId: null,
|
patientId: null,
|
||||||
@ -202,6 +208,24 @@
|
|||||||
.app {
|
.app {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
|
||||||
|
.noorder {
|
||||||
|
margin-top: 20%;
|
||||||
|
|
||||||
|
image {
|
||||||
|
display: block;
|
||||||
|
margin: 0 auto;
|
||||||
|
width: 200rpx;
|
||||||
|
height: 240rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
view {
|
||||||
|
margin-top: 100rpx;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 36rpx;
|
||||||
|
color: #BFBFBF;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.mask {
|
.mask {
|
||||||
.information {
|
.information {
|
||||||
width: 70%;
|
width: 70%;
|
||||||
|
|||||||
@ -110,7 +110,7 @@
|
|||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.app {
|
.app {
|
||||||
padding: 165rpx 0 0;
|
padding: 110rpx 0 0;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
|
||||||
.card {
|
.card {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user