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> </view>
<view v-if="isdisplay"> <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> </view>
<!-- 顶部菜单 --> <!-- 顶部菜单 -->

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

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

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

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

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

Loading…
Cancel
Save