修改购物车页面布局
This commit is contained in:
parent
0fb88da5c2
commit
cc9eee696a
@ -512,6 +512,19 @@ image {
|
|||||||
margin-top: 26rpx;
|
margin-top: 26rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.car_right2 {
|
||||||
|
width: 470rpx;
|
||||||
|
height: 70rpx;
|
||||||
|
background: #ffb1a5;
|
||||||
|
border-radius: 100rpx 100rpx 100rpx 100rpx;
|
||||||
|
font-size: 36rpx;
|
||||||
|
color: #FFFFFF;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
margin-top: 26rpx;
|
||||||
|
}
|
||||||
|
|
||||||
.cars {
|
.cars {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|||||||
@ -123,7 +123,7 @@
|
|||||||
<h3 class="GoodsMsg">商品详情</h3>
|
<h3 class="GoodsMsg">商品详情</h3>
|
||||||
|
|
||||||
<view class="Msg_Item">
|
<view class="Msg_Item">
|
||||||
<view class="Msg_ItemTit">商品编号</view>
|
<view class="Msg_ItemTit">货号</view>
|
||||||
<view class="Msg_ItemCon" @click="copys(currentGG.goods_no)">
|
<view class="Msg_ItemCon" @click="copys(currentGG.goods_no)">
|
||||||
{{ currentGG.goods_no }}
|
{{ currentGG.goods_no }}
|
||||||
<image src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/shop_copy.png"></image>
|
<image src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/shop_copy.png"></image>
|
||||||
@ -173,7 +173,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="car_right" v-if="info.commodity_goods_info_list[currentGGIndex].total_stock < 1" @click="addCar">
|
<view class="car_right2" v-if="info.commodity_goods_info_list[currentGGIndex].total_stock < 1">
|
||||||
已售罄
|
已售罄
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|||||||
@ -1,3 +1,8 @@
|
|||||||
|
.main {
|
||||||
|
height: 77vh;
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.searchBox {
|
.searchBox {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@ -76,13 +81,13 @@
|
|||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
}
|
}
|
||||||
|
|
||||||
.goodsItem_supplier{
|
.goodsItem_supplier {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin: 20rpx;
|
margin: 20rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.goodsItem_tit{
|
.goodsItem_tit {
|
||||||
font-size: 35rpx;
|
font-size: 35rpx;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -161,11 +161,6 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<view class="footer">
|
<view class="footer">
|
||||||
<view class="footer_left">
|
<view class="footer_left">
|
||||||
<view class="footer_all" @click="allChecked">
|
<view class="footer_all" @click="allChecked">
|
||||||
@ -269,7 +264,6 @@ export default {
|
|||||||
// 结算
|
// 结算
|
||||||
submitOrder() {
|
submitOrder() {
|
||||||
let arr = [];
|
let arr = [];
|
||||||
console.log("🚀 ~ submitOrder ~ this.shopCarList:", this.shopCarList)
|
|
||||||
// 收集包邮购物车中选中的商品
|
// 收集包邮购物车中选中的商品
|
||||||
this.shopCarList.forEach((item) => {
|
this.shopCarList.forEach((item) => {
|
||||||
item.commodity_cart_and_goods_model.forEach((ite) => {
|
item.commodity_cart_and_goods_model.forEach((ite) => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user