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. 13
      pages/user/order_details/order_details.vue
  5. 2
      pages/user/order_list/order_list.vue

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

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

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

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

@ -54,7 +54,7 @@
</view> </view>
</view> </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> <block>
<view class="default" @tap="cancelOrder(row.id)">取消订单</view> <view class="default" @tap="cancelOrder(row.id)">取消订单</view>
<view class="pay" @tap="toPayment(row)">付款</view> <view class="pay" @tap="toPayment(row)">付款</view>

Loading…
Cancel
Save