chenkainan 7 months ago
parent
commit
2f8b057dba
  1. 2
      pages/index/index.vue
  2. 8
      subPackages/order/detail.vue

2
pages/index/index.vue

@ -48,7 +48,7 @@
</view> </view>
<!-- 周边特惠活动 --> <!-- 周边特惠活动 -->
<view v-if="calendarItem"> <view v-if="calendarItem && calendarItem.id">
<image src="https://static.ticket.sz-trip.com/changshu/images/index/title2.png" mode="heightFix" class="title-img"></image> <image src="https://static.ticket.sz-trip.com/changshu/images/index/title2.png" mode="heightFix" class="title-img"></image>
<view class="calendar-item" @click="gotoWebUrl(calendarItem)"> <view class="calendar-item" @click="gotoWebUrl(calendarItem)">

8
subPackages/order/detail.vue

@ -572,7 +572,7 @@
}, },
'/api/order/applyRefund' '/api/order/applyRefund'
).then(res => { ).then(res => {
if (res.code == 1) { if (res.code == 200) {
uni.showToast({ uni.showToast({
title: '申请成功', title: '申请成功',
icon: 'success' icon: 'success'
@ -599,7 +599,7 @@
that.Post({ that.Post({
order_id: id order_id: id
}, '/api/order/closeOrder').then(res => { }, '/api/order/closeOrder').then(res => {
if (res.code == 1) { if (res.code == 200) {
uni.showToast({ uni.showToast({
title: '关闭成功', title: '关闭成功',
icon: 'success' icon: 'success'
@ -624,7 +624,7 @@
type: "miniprogram", type: "miniprogram",
platform: 'miniprogram' platform: 'miniprogram'
}, '/api/pay/unify').then(res => { }, '/api/pay/unify').then(res => {
if (res.code == 1) { if (res.code == 200) {
uni.requestPayment({ uni.requestPayment({
nonceStr: res.data.nonceStr, nonceStr: res.data.nonceStr,
package: res.data.package, package: res.data.package,
@ -668,7 +668,7 @@
this.Post({ this.Post({
order_id: this.info.order_id order_id: this.info.order_id
}, '/api/order/confirmPost').then(res => { }, '/api/order/confirmPost').then(res => {
if (res.code == 1) { if (res.code == 200) {
uni.showToast({ uni.showToast({
title: '确认收货成功', title: '确认收货成功',
icon: 'none' icon: 'none'

Loading…
Cancel
Save