Compare commits
5 Commits
05610c5137
...
79292aa1f3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
79292aa1f3 | ||
|
|
29a85527ef | ||
|
|
3a19012532 | ||
|
|
af5dc6d4a8 | ||
|
|
2844894d03 |
@ -185,23 +185,30 @@
|
|||||||
|
|
||||||
/* 购物车按钮 */
|
/* 购物车按钮 */
|
||||||
.shop_car {
|
.shop_car {
|
||||||
width: 140rpx;
|
width: 80rpx;
|
||||||
height: 140rpx;
|
height: 80rpx;
|
||||||
position: fixed;
|
position: absolute;
|
||||||
right: 33rpx;
|
bottom: 150rpx;
|
||||||
bottom: 80rpx;
|
right: 30rpx;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
|
border-radius: 50%;
|
||||||
|
background-color: #ffffff;
|
||||||
|
padding: 10rpx;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.shop_car image {
|
.shop_car image {
|
||||||
width: 100%;
|
width: 60rpx;
|
||||||
height: 100%;
|
height: 60rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.u-badge {
|
.u-badge {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
right: 0rpx;
|
||||||
top: -10rpx;
|
top: -6rpx;
|
||||||
|
z-index: 11;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 规格标签样式 */
|
/* 规格标签样式 */
|
||||||
|
|||||||
@ -34,7 +34,7 @@
|
|||||||
<!-- 购物车按钮 -->
|
<!-- 购物车按钮 -->
|
||||||
<view class="shop_car" @click="shopCar">
|
<view class="shop_car" @click="shopCar">
|
||||||
<u-badge numberType="limit" type="error" max="99" :value="carNum"></u-badge>
|
<u-badge numberType="limit" type="error" max="99" :value="carNum"></u-badge>
|
||||||
<image src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/shop_car_num.png"></image>
|
<image src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/page_user_Group_1564.png"></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@ -811,7 +811,7 @@ export default {
|
|||||||
order_cate: 1,
|
order_cate: 1,
|
||||||
goods_list: [{
|
goods_list: [{
|
||||||
supplier_id: this.info.supplier_id,
|
supplier_id: this.info.supplier_id,
|
||||||
supplier_name: this.currentGG.supplier_name || '',
|
supplier_name: this.info.merchant_info.merchant_name || '',
|
||||||
is_same_day: this.currentGG.is_same_day,
|
is_same_day: this.currentGG.is_same_day,
|
||||||
receiving_name: this.defAddress.name,
|
receiving_name: this.defAddress.name,
|
||||||
receiving_phone: this.defAddress.phone,
|
receiving_phone: this.defAddress.phone,
|
||||||
|
|||||||
@ -206,23 +206,30 @@
|
|||||||
|
|
||||||
/* 购物车按钮 */
|
/* 购物车按钮 */
|
||||||
.shop_car {
|
.shop_car {
|
||||||
width: 140rpx;
|
width: 80rpx;
|
||||||
height: 140rpx;
|
height: 80rpx;
|
||||||
position: fixed;
|
position: absolute;
|
||||||
right: 33rpx;
|
bottom: 150rpx;
|
||||||
bottom: 80rpx;
|
right: 30rpx;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
|
border-radius: 50%;
|
||||||
|
background-color: #ffffff;
|
||||||
|
padding: 10rpx;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.shop_car image {
|
.shop_car image {
|
||||||
width: 100%;
|
width: 60rpx;
|
||||||
height: 100%;
|
height: 60rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.u-badge {
|
.u-badge {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
right: 0rpx;
|
||||||
top: -10rpx;
|
top: -6rpx;
|
||||||
|
z-index: 11;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 规格标签样式 */
|
/* 规格标签样式 */
|
||||||
|
|||||||
@ -100,7 +100,7 @@
|
|||||||
<!-- 购物车按钮 -->
|
<!-- 购物车按钮 -->
|
||||||
<view class="shop_car" @click="shopCar">
|
<view class="shop_car" @click="shopCar">
|
||||||
<u-badge numberType="limit" type="error" max="99" :value="carNum"></u-badge>
|
<u-badge numberType="limit" type="error" max="99" :value="carNum"></u-badge>
|
||||||
<image src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/shop_car_num.png"></image>
|
<image src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/page_user_Group_1564.png"></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@ -577,24 +577,29 @@ page {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.shop_car {
|
.shop_car {
|
||||||
width: 140rpx;
|
width: 80rpx;
|
||||||
height: 140rpx;
|
height: 80rpx;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 100rpx;
|
bottom: 150rpx;
|
||||||
right: 10rpx;
|
right: 30rpx;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
|
border-radius: 50%;
|
||||||
|
background-color: #ffffff;
|
||||||
|
padding: 10rpx;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.shop_car image {
|
.shop_car image {
|
||||||
width: 100%;
|
width: 60rpx;
|
||||||
height: 100%;
|
height: 60rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.u-badge {
|
.u-badge {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 70rpx;
|
right: 0rpx;
|
||||||
/* 调整角标位置,使其在隐藏状态下也能看到 */
|
top: -6rpx;
|
||||||
top: -10rpx;
|
|
||||||
z-index: 11;
|
z-index: 11;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -210,7 +210,7 @@
|
|||||||
|
|
||||||
<view class="shop_car" @click="shopCar">
|
<view class="shop_car" @click="shopCar">
|
||||||
<u-badge numberType="limit" type="error" max="99" :value="carNum"></u-badge>
|
<u-badge numberType="limit" type="error" max="99" :value="carNum"></u-badge>
|
||||||
<image src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/shop_car_num.png"></image>
|
<image src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/page_user_Group_1564.png"></image>
|
||||||
<!-- <image src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/shop_car_empty.png"></image> -->
|
<!-- <image src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/property-img-file/shop_car_empty.png"></image> -->
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@ -376,6 +376,13 @@ export default {
|
|||||||
that.imgList6 = []
|
that.imgList6 = []
|
||||||
that.confirmClassify = ''
|
that.confirmClassify = ''
|
||||||
NavgateTo("../sucess/index")
|
NavgateTo("../sucess/index")
|
||||||
|
}).catch(res => {
|
||||||
|
if(res.message.includes("agent_nil")) {
|
||||||
|
uni.showToast({
|
||||||
|
title: '未找到对应的代理商信息',
|
||||||
|
icon: 'none',
|
||||||
|
});
|
||||||
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user