1.优化合并2.0问题

yj-dev
杨杰 2 years ago
parent 3d8d3ce6e1
commit 94bd94d61d
  1. 2
      pages/tabBar/home/home.vue
  2. 8
      pages/tabBar/user/user.vue
  3. 2
      pages/user/news/news.vue
  4. 14
      pages/user/order_details/order_details.vue
  5. 1
      qianzhu-KFC/confirmOrder/confirmOrder.vue
  6. 8
      uni.scss

@ -32,7 +32,7 @@
</view>
</view>
<view v-if="isdisplay">
<image :src="imagewxUrl+imgadres5" class="width40w mart90" mode="widthFix"></image>
<image :src="imagewxUrl+imgadres5" class="widthw30 mart110" mode="widthFix"></image>
</view>
<!-- 顶部菜单 -->

@ -345,16 +345,16 @@
},
//
getUserOrderList() {
uni.showLoading({
title: '加载中...'
})
// uni.showLoading({
// title: '...'
// })
let params = {
status: 1,
pageNum: 1,
pageSize: 5
}
getUserOrderList(params).then(res => {
uni.hideLoading();
// uni.hideLoading();
if (res.return_code == '000000' && res.return_data.list != '') {
this.nopaylist = res.return_data.list;
this.timesettime(res.return_data.list[0].createTime);

@ -100,6 +100,8 @@
// #ifdef H5
this.headerTop = '44px';
// #endif
},
onShow() {
this.getDictionaryByCodeType();
},
methods: {

@ -7,7 +7,7 @@
{{countdownm}}:{{countdowns}}
</view>
<view class="width100 font13 fcor666 mart10">若超时未支付,订单将自动取消</view>
<view class="stubtn mart15" style="background-color: #0F8FE8;" @click="jumppay()">立即支付
<view class="stubtn mart15" style="background-color: #0F8FE8;" @click="toPay()">立即支付
</view>
</view>
<view class="width100 headsbg paddbotm15" v-if="recinfo.orderStatus != 1">
@ -718,11 +718,15 @@
} else {
payTypes = 2;
}
// uni.redirectTo({
// url: "/pages/pay/payment/payment?amount=" + this.recinfo.payPrice +
// '&paytype=' + payTypes + '&orderId=' + this.recinfo.id + '&couponId=' + this.recinfo
// .highChildOrderList[0].goodsId + '&typeaout=' + this.recinfo.highChildOrderList[0].ext1 +
// '&goodsType=' + this.recinfo.highChildOrderList[0].goodsType
// })
uni.redirectTo({
url: "/pages/pay/payment/payment?amount=" + this.recinfo.payPrice +
'&paytype=' + payTypes + '&orderId=' + this.recinfo.id + '&couponId=' + this.recinfo
.highChildOrderList[0].goodsId + '&typeaout=' + this.recinfo.highChildOrderList[0].ext1 +
'&goodsType=' + this.recinfo.highChildOrderList[0].goodsType
url: '/qianzhu-KFC/payment-method/payment-method?orderId=' + this.recinfo.id + '&amount=' + this.recinfo
.payPrice + '&productType=' + this.recinfo.productType
})
},
}

@ -891,7 +891,6 @@
"memDiscountId": this.memDiscountId,
"payPwd": this.PaymentPassword
}
console.log('======'+JSON.stringify(datas));
}
if (this.typeid == 2) {
datas = {

@ -413,6 +413,11 @@ $uni-font-size-paragraph:30upx;
margin-left: 3%;
}
.widthw30 {
width: 30%;
margin-left: 35%;
}
.width31{
width: 31%;
margin-right: auto;
@ -603,6 +608,9 @@ $uni-font-size-paragraph:30upx;
.mart90 {
margin-top: 90px;
}
.mart110 {
margin-top: 110px;
}
.mart80{
margin-top: 80px;

Loading…
Cancel
Save