1.修改问题

yj-dev
杨杰 3 years ago
parent 803eeccfaf
commit beed5488b4
  1. 4
      pages/qianZhuPay/qianZhuPay.vue
  2. 4
      pages/tabBar/home/home.vue
  3. 9
      pages/tabBar/order/webUrl/webUrl.vue
  4. 11
      pages/user/order_details/order_details.vue
  5. 2
      pages/user/order_list/order_list.vue

@ -56,7 +56,7 @@
})
uni.redirectTo({
url: '../tabBar/order/webUrl/webUrl?url=' + that
.orderInfoUrl+'&orderid='+that.orderNo
.orderInfoUrl+'&orderid='+that.orderNo+'&sour='+that.source
})
},
fail: function(err) {
@ -64,7 +64,7 @@
uni.hideLoading();
uni.redirectTo({
url: '../tabBar/order/webUrl/webUrl?url=' + that
.orderInfoUrl+'&orderid='+that.orderNo
.orderInfoUrl+'&orderid='+that.orderNo+'&sour='+that.source
})
},
});

@ -264,7 +264,7 @@
//
categoryList: [{
id: 1,
name: '油',
name: '在线加油',
img: 'user/home1.png',
src: '/pages/goods/refuel/refuel'
},
@ -717,7 +717,7 @@
},
//
toCategory(item) {
if (item.name == '油') {
if (item.name == '在线加油') {
uni.navigateTo({
url: item.src
})

@ -12,15 +12,20 @@
data() {
return {
url: '',
orderNo:''
orderNo:'',
sourType:''
}
},
onLoad(options) {
this.url = decodeURIComponent(options.url);
this.orderNo= options.orderid;
this.sourType = options.sour;
// console.log('========'+options.sour);
},
onUnload() {
this.cancelOrderByOrderNo();
// if(this.sourType != 'MOBILE'){
// this.cancelOrderByOrderNo();
// }
},
methods: {
//

@ -15,7 +15,8 @@
<view class="goods-info">
<view class="img">
<image :src="imageUrl+rec.goodsImg" v-if="rec.goodsType == 1"></image>
<image :src="rec.goodsImg" v-else></image>
<image :src="imagewxUrl+imgadres1" v-if="rec.goodsType == 6"></image>
<image :src="rec.goodsImg" v-if="rec.goodsType != 1 && rec.goodsType != 6"></image>
</view>
<view class="info">
<view class="title">{{rec.goodsName}}</view>
@ -210,7 +211,7 @@
</view>
</view> -->
<view class="width100 height60"></view>
<view class="footer" v-if="recinfo.orderStatus == 1">
<view class="footer" v-if="recinfo.orderStatus == 1 && recinfo.highChildOrderList[0].goodsType !=6 && recinfo.highChildOrderList[0].goodsType !=5 && recinfo.highChildOrderList[0].goodsType !=4">
<view class="settlement">
<view class="sum">合计:
<view class="money" v-if="recinfo.payType != 3">{{recinfo.payPrice}}</view>
@ -245,7 +246,9 @@
deduction: 0, //
recinfo: [],
orderId: '',
imageUrl: app.globalData.imgUrl
imageUrl: app.globalData.imgUrl,
imagewxUrl: app.globalData.imageWxImg,
imgadres1:'dhf.png',
};
},
@ -309,7 +312,7 @@
},
methods: {
toGoods(e, item) {
if (item != 2 && item != 4 && item != 5 && item != 6) {
if (item != 2 && item != 3 && item != 4 && item != 5 && item != 6) {
uni.navigateTo({
url: '../../goods/goods?id=' + e
});

@ -54,7 +54,7 @@
</view>
</view>
</view>
<view class="btns" v-if="row.orderStatus==1">
<view class="btns" v-if="(row.orderStatus==1 && row.highChildOrderList[0].goodsType !=6 && row.highChildOrderList[0].goodsType !=5 && row.highChildOrderList[0].goodsType !=4)">
<block>
<view class="default" @tap="cancelOrder(row.id)">取消订单</view>
<view class="pay" @tap="toPayment(row)">付款</view>

Loading…
Cancel
Save