订单商品处理,商品列表头部图片处理

This commit is contained in:
GaoHao 2024-08-03 16:57:50 +08:00
parent 5fb9871900
commit 35d4304410
3 changed files with 16 additions and 11 deletions

View File

@ -61,7 +61,7 @@ export default {
return uni.api.get("/groupOrderInfo/list", data);
},
orderorderInfo(data) { //订单回显
return uni.api.get("/order/orderInfo", data);
return uni.api.get("/order/orderInfo", data ,false);
},
groupOrderInfoDetail(data) { //订单回显
return uni.api.get("/groupOrderInfo/get", data);

View File

@ -267,8 +267,12 @@
}, 1000)
break;
case 'addcart':
if (this.listinfoid) {
this.orderorderInfo()
} else {
this.listinfo.details = msg.data;
this.listinfo.payAmount = msg.amount;
}
break;
}
this.$set(this, 'cartLists', msg)

View File

@ -10,7 +10,7 @@
<view class="top--panel">
<navseat :opacity='opacity' :titleshow='true'></navseat>
<!-- 顶部面板可添加所需要放在页面顶部的内容代码比如banner图 -->
<image class="panelimgbackground" :src="shopInfo.storeInfo.coverImg" mode="aspectFill">
<image class="panelimgbackground" :src="shopInfo.storeInfo.coverImg||'https://czg-qr-order.oss-cn-beijing.aliyuncs.com/shopDetails/topBanner.png'" mode="aspectFill">
</image>
<view class="panelone">
{{ shopInfo.storeInfo.shopName }}
@ -922,17 +922,16 @@
}
.top--panel {
padding: 0 20rpx;
// padding: 0 20rpx;
background-color: #fff;
.panelimgbackground {
width: 382rpx;
margin: 82rpx auto 0 auto;
height: 158rpx;
width: 100%;
height: 272rpx;
}
.panelone {
margin-top: 32rpx;
padding: 20rpx 20rpx 0 20rpx;
font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: 500;
font-size: 32rpx;
@ -940,6 +939,7 @@
}
.paneltow {
padding: 0 20rpx;
margin-top: 16rpx;
font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: 400;
@ -954,7 +954,7 @@
font-weight: 400;
font-size: 24rpx;
color: #999999;
padding: 0 20rpx;
.paneltheretext {
font-family: Source Han Sans CN, Source Han Sans CN;
font-weight: 400;
@ -977,11 +977,12 @@
font-weight: bold;
font-size: 32rpx;
color: #333333;
padding: 0 20rpx;
}
.panelfive {
width: 100%;
padding: 0 20rpx;
.panelfive_list {
display: flex;
}