细节修改

version/0412
fanfan 9 months ago
parent 70b448c6c1
commit 4faa31831e
  1. 18
      pages/news3/shopOrderDetails.vue
  2. 10
      pages/order/detail.vue
  3. 2
      pages/order/index.vue

@ -113,7 +113,7 @@
<text>联系客户</text>
</view>
<view class="btnItem" style="border-left:1px solid #F4F4F4"
@click="callStore(order.storeInfo.store_phone)">
@click="callStore(orderInfo.storeInfo.phone)">
<image :src="$picUrl+'/static/news3/kefu.png'" mode="widthFix"></image>
<text>联系商家</text>
</view>
@ -250,11 +250,13 @@
<script>
import * as newFunApi from '@/api/newFun'
import * as OrderApi from '@/api/order'
export default {
data() {
return {
status: 1,
orderInfo: '',
order_id:'',
audit_status: 20,
audit_notes: '',
deleteShow: false,
@ -262,14 +264,22 @@
isToggle: false,
refund_image_id: '',
refund_notes: '',
addressData: ''
addressData: '',
};
},
onLoad(option) {
this.orderInfo = JSON.parse(option.item)
console.log(this.orderInfo)
this.order_id = JSON.parse(option.item).order_id
this.getOrderDetail(this.order_id)
},
methods: {
//
getOrderDetail() {
const app = this
OrderApi.detail(this.order_id)
.then(result => {
this.orderInfo=result.data.order
})
},
//
callStore(phone) {
uni.makePhoneCall({

@ -56,10 +56,6 @@
<view class="peo">到店时间</view>
<view class="name">{{ order.to_store_time }}</view>
</view>
<view class="thr">
<view class="peo">营业时间</view>
<view class="name">{{ order.extract_shop.shop_hours }}</view>
</view>
<!-- <view class="thr">
<view class="peo">预计到店时间</view>
<view class="name">2023-12-20 09:15</view>
@ -210,7 +206,7 @@
{{order.pay_time}}
</view>
</view>
<view class="orderTitle">
<view class="orderTitle" v-if="order.receipt_time">
<view class="total">
期待配送时间
</view>
@ -394,7 +390,6 @@
//
order: {},
//
setting: {},
//
showQRCodePopup: false,
// url ()
@ -496,7 +491,6 @@
app.onExtractQRCode(result.data.order.order_id)
}
app.order = result.data.order
app.setting = result.data.setting
app.isLoading = false
})
// :
@ -1442,7 +1436,7 @@
.codeImg {
width: 394rpx;
height: 458rpx;
height: 394rpx;
border-radius: 0rpx 0rpx 0rpx 0rpx;
opacity: 1;
}

@ -923,7 +923,7 @@
.codeImg {
width: 394rpx;
height: 458rpx;
height: 394rpx;
border-radius: 0rpx 0rpx 0rpx 0rpx;
opacity: 1;
}

Loading…
Cancel
Save