修改
This commit is contained in:
parent
71d59faed3
commit
a5e712afd2
@ -42,7 +42,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
goodsOrder
|
goodsOrder
|
||||||
} from '@/api/CommodityOrder/index.js'
|
} from '@/api/pagesB/CommodityOrder/index.js'
|
||||||
import baseurl from '@/api/baseurl.js'
|
import baseurl from '@/api/baseurl.js'
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
|
|||||||
@ -49,7 +49,7 @@
|
|||||||
import {
|
import {
|
||||||
refundReason,
|
refundReason,
|
||||||
refund
|
refund
|
||||||
} from '@/api/Applforrefund/index.js'
|
} from '@/api/pagesB/Applforrefund/index.js'
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="number">1000
|
<view class="number">1000
|
||||||
</view>
|
</view>
|
||||||
<view class="PointsMall">
|
<view class="PointsMall" @tap="gomodify">
|
||||||
积分商城
|
积分商城
|
||||||
</view>
|
</view>
|
||||||
<view class="Exchangerecords">
|
<view class="Exchangerecords">
|
||||||
@ -50,10 +50,14 @@
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
gomodify() {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: '/pagesB/modify/modify'
|
||||||
|
})
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
@import './Behaviorpoints.scss'
|
@import './Behaviorpoints.scss'
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -53,7 +53,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<u-mask :show="buyshow" @click="buyshow = false" class='mask'>
|
<u-mask :show="buyshow" @click="buyshow = false" class='mask'>
|
||||||
<view class="PurchasePage" @click.stop=''>
|
<view class="PurchasePage" @click.stop=''>
|
||||||
<image class="close" src="../../static/gb.png" mode="" @tap='buyshow=false'></image>
|
<image class="close" src="../../static/pagesB/gb.png" mode="" @tap='buyshow=false'></image>
|
||||||
</image>
|
</image>
|
||||||
<view class="topcontent" style="width: 96%;height: 300rpx;">
|
<view class="topcontent" style="width: 96%;height: 300rpx;">
|
||||||
<view class="image">
|
<view class="image">
|
||||||
@ -79,7 +79,7 @@
|
|||||||
@scrolltolower="lower" @scroll="scroll">
|
@scrolltolower="lower" @scroll="scroll">
|
||||||
<view class="bodys" @tap='upaddress()'>
|
<view class="bodys" @tap='upaddress()'>
|
||||||
<view class="addressinfo">
|
<view class="addressinfo">
|
||||||
<image src="../../static/locatinsmall.png" mode=""></image>
|
<image src="../../static/pagesB/locatinsmall.png" mode=""></image>
|
||||||
<span v-if="loginFlag">
|
<span v-if="loginFlag">
|
||||||
<view class="namephone" v-if='userid'>
|
<view class="namephone" v-if='userid'>
|
||||||
{{updata.receiver}},{{updata.phone}}
|
{{updata.receiver}},{{updata.phone}}
|
||||||
@ -149,7 +149,7 @@
|
|||||||
支付方式
|
支付方式
|
||||||
</view>
|
</view>
|
||||||
<view class="chat">
|
<view class="chat">
|
||||||
<image src="/static/chat.png" mode=""></image>
|
<image src="/static/pagesB/chat.png" mode=""></image>
|
||||||
<span>微信支付</span>
|
<span>微信支付</span>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -164,7 +164,7 @@
|
|||||||
<u-toast ref="uToast" />
|
<u-toast ref="uToast" />
|
||||||
<u-mask :show="usershow" class='mask'>
|
<u-mask :show="usershow" class='mask'>
|
||||||
<view class="information">
|
<view class="information">
|
||||||
<image src="../../static/information.png" mode=""></image>
|
<image src="../../static/pagesB/information.png" mode=""></image>
|
||||||
<view class="title">
|
<view class="title">
|
||||||
请完善个人信息
|
请完善个人信息
|
||||||
</view>
|
</view>
|
||||||
@ -178,7 +178,7 @@
|
|||||||
</u-mask>
|
</u-mask>
|
||||||
<u-mask :show="couponshow" class='mask' @click="couponshow = false">
|
<u-mask :show="couponshow" class='mask' @click="couponshow = false">
|
||||||
<view class="couponmask" @click.stop=''>
|
<view class="couponmask" @click.stop=''>
|
||||||
<image class="close" src="../../static/gb.png" mode="" @tap='couponshow=false'></image>
|
<image class="close" src="../../static/pagesB/gb.png" mode="" @tap='couponshow=false'></image>
|
||||||
</image>
|
</image>
|
||||||
<view class="titles">
|
<view class="titles">
|
||||||
选择优惠券
|
选择优惠券
|
||||||
@ -255,18 +255,18 @@
|
|||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
goodsDetails
|
goodsDetails
|
||||||
} from '@/api/CommodityDetails/CommodityDetails.js'
|
} from '@/api/pagesB/CommodityDetails/CommodityDetails.js'
|
||||||
import {
|
import {
|
||||||
AppIdentification
|
AppIdentification
|
||||||
} from '@/api/AppIdentification/index.js'
|
} from '@/api/pageB/AppIdentification/index.js'
|
||||||
import {
|
import {
|
||||||
goodPatientInfo
|
goodPatientInfo
|
||||||
} from '@/api/modifyAddress/modifyAddress.js';
|
} from '@/api/pageB/modifyAddress/modifyAddress.js';
|
||||||
import baseurl from '@/api/baseurl.js'
|
import baseurl from '@/api/baseurl.js'
|
||||||
import {
|
import {
|
||||||
addStationGoodsOrder,
|
addStationGoodsOrder,
|
||||||
appletGoodsOrderPay
|
appletGoodsOrderPay
|
||||||
} from '@/api/confirmOrder/index.js'
|
} from '@/api/pageB/confirmOrder/index.js'
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@ -302,7 +302,7 @@
|
|||||||
goodsAttributeContent: '', //商品属性
|
goodsAttributeContent: '', //商品属性
|
||||||
giveIntegral: 0, //赠送积分
|
giveIntegral: 0, //赠送积分
|
||||||
transportPrice: 0.00, //运费
|
transportPrice: 0.00, //运费
|
||||||
discountPrice: 0.00, //优惠
|
discountPrice: 0.00, //优惠
|
||||||
buySource: '', //下单来源 '护理站:NURSE_STATION,商城:SHOPPING_MALL'
|
buySource: '', //下单来源 '护理站:NURSE_STATION,商城:SHOPPING_MALL'
|
||||||
orderChannel: 'WECHAT_APPLET', //下单方式 手机App:MOBILE_APP,微信小程序:WECHAT_APPLET,支付宝小程序:ALI_PAY_APPLET'
|
orderChannel: 'WECHAT_APPLET', //下单方式 手机App:MOBILE_APP,微信小程序:WECHAT_APPLET,支付宝小程序:ALI_PAY_APPLET'
|
||||||
receiver: null, //收货人
|
receiver: null, //收货人
|
||||||
@ -698,20 +698,20 @@
|
|||||||
upaddress() {
|
upaddress() {
|
||||||
if (this.loginFlag) {
|
if (this.loginFlag) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/modifyAddress/modifyAddress?updata=${JSON.stringify(this.updata)}`
|
url: `/pagesB/modifyAddress/modifyAddress?updata=${JSON.stringify(this.updata)}`
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
const value = uni.getStorageSync('openid');
|
const value = uni.getStorageSync('openid');
|
||||||
const value2 = uni.getStorageSync('patientId');
|
const value2 = uni.getStorageSync('patientId');
|
||||||
if (value && value2) {
|
if (value && value2) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/information/information'
|
url: '/pagesB/information/information'
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.$refs.uToast.show({
|
this.$refs.uToast.show({
|
||||||
title: '未登录,请先登录',
|
title: '未登录,请先登录',
|
||||||
type: 'error',
|
type: 'error',
|
||||||
url: '/pages/login/login'
|
url: '/pagesB/login/login'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -835,4 +835,4 @@
|
|||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
@import "./CommodityDetailsstyle.scss";
|
@import "./CommodityDetailsstyle.scss";
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -26,7 +26,7 @@
|
|||||||
<view class="detailslist">
|
<view class="detailslist">
|
||||||
<image :src="baseurl+item.personPictureUrl" mode=""
|
<image :src="baseurl+item.personPictureUrl" mode=""
|
||||||
v-if="item.orderType =='HEALTH_CONSULTATION'&&item.personPictureUrl"></image>
|
v-if="item.orderType =='HEALTH_CONSULTATION'&&item.personPictureUrl"></image>
|
||||||
<image src="@/static/yis.png" mode=""
|
<image src="@/static/pagesB/yis.png" mode=""
|
||||||
v-if="item.orderType =='HEALTH_CONSULTATION'&&!item.personPictureUrl"></image>
|
v-if="item.orderType =='HEALTH_CONSULTATION'&&!item.personPictureUrl"></image>
|
||||||
<image :src="baseurl+item.attributePitureUrl" mode=""
|
<image :src="baseurl+item.attributePitureUrl" mode=""
|
||||||
v-if="item.orderType !='HEALTH_CONSULTATION'"></image>
|
v-if="item.orderType !='HEALTH_CONSULTATION'"></image>
|
||||||
@ -112,11 +112,11 @@
|
|||||||
import {
|
import {
|
||||||
ssgoodsOrder,
|
ssgoodsOrder,
|
||||||
confirmReceipt
|
confirmReceipt
|
||||||
} from '@/api/CommodityOrder/index.js'
|
} from '@/api/pagesB/CommodityOrder/index.js'
|
||||||
import baseurl from '@/api/baseurl.js'
|
import baseurl from '@/api/baseurl.js'
|
||||||
import {
|
import {
|
||||||
appletGoodsOrderPay
|
appletGoodsOrderPay
|
||||||
} from '@/api/confirmOrder/index.js'
|
} from '@/api/pageB/confirmOrder/index.js'
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@ -141,7 +141,7 @@
|
|||||||
//查看评价
|
//查看评价
|
||||||
golookrate(item) {
|
golookrate(item) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/lookrate/lookrate?item=${JSON.stringify(item)}`
|
url: `/pagesB/lookrate/lookrate?item=${JSON.stringify(item)}`
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
//收货
|
//收货
|
||||||
@ -157,7 +157,7 @@
|
|||||||
uni.setStorageSync("Refresh", 'Refresh')
|
uni.setStorageSync("Refresh", 'Refresh')
|
||||||
setTimeout(e => {
|
setTimeout(e => {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/goodsorderRate/goodsorderRate?item=${JSON.stringify(this.orderNoitem)}&delta=${1}`
|
url: `/pagesB/goodsorderRate/goodsorderRate?item=${JSON.stringify(this.orderNoitem)}&delta=${1}`
|
||||||
})
|
})
|
||||||
// uni.navigateTo({
|
// uni.navigateTo({
|
||||||
// url: `/pages/orderDetails/orderDetails?goodsOrderId=${this.orderNoitem.goodsOrderId}`
|
// url: `/pages/orderDetails/orderDetails?goodsOrderId=${this.orderNoitem.goodsOrderId}`
|
||||||
@ -199,7 +199,7 @@
|
|||||||
title: '支付成功',
|
title: '支付成功',
|
||||||
type: 'success',
|
type: 'success',
|
||||||
duration: 1500,
|
duration: 1500,
|
||||||
url: `/pages/paysuccess/paysuccess?delta=${1}`
|
url: `/pagesB/paysuccess/paysuccess?delta=${1}`
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
fail: function(err) {
|
fail: function(err) {
|
||||||
@ -222,19 +222,19 @@
|
|||||||
//物流页面
|
//物流页面
|
||||||
gologistics(item) {
|
gologistics(item) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/logistics/logistics?item=${JSON.stringify(item)}`
|
url: `/pagesB/logistics/logistics?item=${JSON.stringify(item)}`
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
//评价
|
//评价
|
||||||
rate(item) {
|
rate(item) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/goodsorderRate/goodsorderRate?item=${JSON.stringify(item)}&delta=${1}`
|
url: `/pagesB/goodsorderRate/goodsorderRate?item=${JSON.stringify(item)}&delta=${1}`
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
//订单详情页面
|
//订单详情页面
|
||||||
goorderdetails(item) {
|
goorderdetails(item) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/orderDetails/orderDetails?goodsOrderId=${item.goodsOrderId}`
|
url: `/pagesB/orderDetails/orderDetails?goodsOrderId=${item.goodsOrderId}`
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
//商品订单请求
|
//商品订单请求
|
||||||
|
|||||||
@ -133,7 +133,7 @@
|
|||||||
getAppPatientList,
|
getAppPatientList,
|
||||||
submitAppointment,
|
submitAppointment,
|
||||||
appletAppointmentOrderPay
|
appletAppointmentOrderPay
|
||||||
} from '@/api/appointmenttime/appointmenttime.js'
|
} from '@/api/pagesB/appointmenttime/appointmenttime.js'
|
||||||
import baseurl from '@/api/baseurl.js'
|
import baseurl from '@/api/baseurl.js'
|
||||||
import appointmenttext from '../../components/appointmenttimetext.vue'
|
import appointmenttext from '../../components/appointmenttimetext.vue'
|
||||||
import tabs from '../utabs/u-tabs.vue'
|
import tabs from '../utabs/u-tabs.vue'
|
||||||
@ -344,7 +344,7 @@
|
|||||||
}
|
}
|
||||||
that.timer = setTimeout(e => {
|
that.timer = setTimeout(e => {
|
||||||
uni.redirectTo({
|
uni.redirectTo({
|
||||||
url: `/pages/Nursingstationserviceorder/Nursingstationserviceorder`
|
url: `/pagesB/Nursingstationserviceorder/Nursingstationserviceorder`
|
||||||
// url: `/pages/ServiceDetails/ServiceDetails?orderNo=${obj.orderNo}`
|
// url: `/pages/ServiceDetails/ServiceDetails?orderNo=${obj.orderNo}`
|
||||||
})
|
})
|
||||||
}, 1500)
|
}, 1500)
|
||||||
@ -360,7 +360,7 @@
|
|||||||
}
|
}
|
||||||
that.timer = setTimeout(e => {
|
that.timer = setTimeout(e => {
|
||||||
uni.redirectTo({
|
uni.redirectTo({
|
||||||
url: `/pages/ServiceDetails/ServiceDetails?orderNo=${obj.orderNo}`
|
url: `/pagesB/ServiceDetails/ServiceDetails?orderNo=${obj.orderNo}`
|
||||||
})
|
})
|
||||||
}, 1500)
|
}, 1500)
|
||||||
}
|
}
|
||||||
@ -476,7 +476,7 @@
|
|||||||
checkboxGroupChange(e) {},
|
checkboxGroupChange(e) {},
|
||||||
goaddress() {
|
goaddress() {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/modifyAddress/modifyAddress?updata=${JSON.stringify(this.orderlist)}`
|
url: `/pagesB/modifyAddress/modifyAddress?updata=${JSON.stringify(this.orderlist)}`
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@ -17,7 +17,7 @@
|
|||||||
import baseurl from '@/api/baseurl.js'
|
import baseurl from '@/api/baseurl.js'
|
||||||
import {
|
import {
|
||||||
cancellationOrder
|
cancellationOrder
|
||||||
} from '@/api/cancelorder/cancelorder.js'
|
} from '@/api/pagesB/cancelorder/cancelorder.js'
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@ -61,7 +61,7 @@
|
|||||||
import {
|
import {
|
||||||
goodsList,
|
goodsList,
|
||||||
getGoodsCategoryNameList
|
getGoodsCategoryNameList
|
||||||
} from '@/api/ProductList/ProductList.js';
|
} from '@/api/pagesB/ProductList/ProductList.js';
|
||||||
import baseurl from '@/api/baseurl.js'
|
import baseurl from '@/api/baseurl.js'
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
@ -104,7 +104,7 @@
|
|||||||
const value3 = uni.getStorageSync('Refresh');
|
const value3 = uni.getStorageSync('Refresh');
|
||||||
if (value) {} else {
|
if (value) {} else {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/login/login'
|
url: '/pagesB/login/login'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
if (value3) {
|
if (value3) {
|
||||||
@ -205,7 +205,7 @@
|
|||||||
//跳转详情页
|
//跳转详情页
|
||||||
goCommodityDetails(item) {
|
goCommodityDetails(item) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/CommodityDetails/CommodityDetails?goodsPrice=${item.goodsPrice}&goodsInfoId=${item.goodsInfoId}&buySource=${'SHOPPING_MALL'}&goodsAttributeId=${item.goodsAttributeId}`
|
url: `/pagesB/CommodityDetails/CommodityDetails?goodsPrice=${item.goodsPrice}&goodsInfoId=${item.goodsInfoId}&buySource=${'SHOPPING_MALL'}&goodsAttributeId=${item.goodsAttributeId}`
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@ -52,7 +52,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
queryLogistics
|
queryLogistics
|
||||||
} from '@/api/logistics/index.js'
|
} from '@/api/pagesB/logistics/index.js'
|
||||||
import baseurl from '../../api/baseurl';
|
import baseurl from '../../api/baseurl';
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
|
|||||||
@ -46,7 +46,7 @@
|
|||||||
<script>
|
<script>
|
||||||
import {
|
import {
|
||||||
lookrate
|
lookrate
|
||||||
} from '@/api/lookrate/index.js'
|
} from '@/api/pagesB/lookrate/index.js'
|
||||||
import baseurl from '@/api/baseurl.js'
|
import baseurl from '@/api/baseurl.js'
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
|
|||||||
@ -79,7 +79,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<u-mask :show="usershow" class='mask'>
|
<u-mask :show="usershow" class='mask'>
|
||||||
<view class="information">
|
<view class="information">
|
||||||
<image src="../../static/information.png" mode=""></image>
|
<image src="../../static/pagesB/information.png" mode=""></image>
|
||||||
<view class="title">
|
<view class="title">
|
||||||
请完善个人信息
|
请完善个人信息
|
||||||
</view>
|
</view>
|
||||||
@ -98,10 +98,10 @@
|
|||||||
import {
|
import {
|
||||||
couponByUseStatus,
|
couponByUseStatus,
|
||||||
insertCouponReceive
|
insertCouponReceive
|
||||||
} from '@/api/materialbenefits/index.js'
|
} from '@/api/pagesB/materialbenefits/index.js'
|
||||||
import {
|
import {
|
||||||
AppIdentification
|
AppIdentification
|
||||||
} from '@/api/AppIdentification/index.js'
|
} from '@/api/pagesB/AppIdentification/index.js'
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
@ -148,7 +148,7 @@
|
|||||||
title: '请先登录',
|
title: '请先登录',
|
||||||
type: 'error',
|
type: 'error',
|
||||||
duration: '2000',
|
duration: '2000',
|
||||||
url: '/pages/login/login'
|
url: '/pagesB/login/login'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@ -157,7 +157,7 @@
|
|||||||
title: '请先登录',
|
title: '请先登录',
|
||||||
type: 'error',
|
type: 'error',
|
||||||
duration: '2000',
|
duration: '2000',
|
||||||
url: '/pages/login/login'
|
url: '/pagesB/login/login'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -182,12 +182,12 @@
|
|||||||
goinformation(item) {
|
goinformation(item) {
|
||||||
this.usershow = false
|
this.usershow = false
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/information/information?couponId=${this.item.couponId}`
|
url: `/pagesB/information/information?couponId=${this.item.couponId}`
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
goshoping() {
|
goshoping() {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/shopping/shopping'
|
url: '/pagesB/shopping/shopping'
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user