@@ -189,6 +189,7 @@
.product-item{
display: flex;
width: 100%;
+ margin-bottom: 20rpx;
.text{
flex: 1;
@@ -1555,10 +1555,12 @@
.dianpu {
width: 32rpx;
+ height: 32rpx;
}
.zhankai {
width: 20rpx;
+ height: 20rpx;
.storeName {
@@ -453,6 +453,7 @@ onLoad((options) => {
});
onShow(() => {
+ console.log('appStore.cartRefreshFlag',appStore.cartRefreshFlag)
// 隐藏原生 tabBar
uni.hideTabBar();
if(appStore.cartRefreshFlag){
@@ -740,6 +740,7 @@ function handleFaceDetect() {
.vip-tag {
width: 100rpx;
+ height: 36rpx;
margin-left: 16rpx;
@@ -828,6 +828,7 @@ function computedPrice() {
// 调用创建订单API
orderCreate(data)
.then((res) => {
+ appStore.SET_CART_REFRESH(true)
// 订单创建成功
// 调用支付流程,传入订单号和成功提示
getOrderPay(res.data.orderNo, "支付成功");