优化上个提交中app以及小程序 的样式 问题

master
lemon橪 2021-07-01 15:46:42 +08:00
parent 765ad65b8f
commit 8ecc85a21c
2 changed files with 15 additions and 13 deletions

View File

@ -182,7 +182,7 @@
<!-- 配送地区没有提示 -->
<div class="notSupportFreight">
<u-notice-bar :volume-icon="false" mode="horizontal" :list="notSupportFreightGoodsList"></u-notice-bar>
<u-notice-bar style="width:100%" :volume-icon="false" mode="horizontal" :list="notSupportFreightGoodsList"></u-notice-bar>
</div>
<!-- 结账 -->
@ -255,7 +255,7 @@ export default {
masterWay: "", //
pintuanFlage: true, //
notSupportFreight: [], //
notSupportFreightGoodsList:['以下商品超出配送范围:'],
notSupportFreightGoodsList: ["以下商品超出配送范围:"],
};
},
filters: {
@ -533,10 +533,9 @@ export default {
if (res.data.result.notSupportFreight.length != 0) {
this.notSupportFreight = res.data.result.notSupportFreight;
res.data.result.notSupportFreight.forEach(item=>{
this.notSupportFreightGoodsList[0]+=(item.goodsSku.goodsName)
})
res.data.result.notSupportFreight.forEach((item) => {
this.notSupportFreightGoodsList[0] += item.goodsSku.goodsName;
});
}
});
},
@ -676,7 +675,11 @@ export default {
}
.notSupportFreight {
position: fixed;
bottom: calc(100rpx + env(safe-area-inset-bottom)) ;
// #ifdef H5
bottom: 100rpx;
// #endif
display: flex;
align-items: center;
left: 0;
@ -689,8 +692,8 @@ export default {
margin: 0 32rpx;
}
}
/deep/ .u-notice-bar-wrap{
width: 100%;
/deep/ .u-notice-bar-wrap {
width: 100% !important;
}
.userClass {

View File

@ -102,8 +102,7 @@ export default {
duration: 2000,
icon: "none",
});
this.flage = false;
this.codeFlag = true;
uni.navigateBack();
}
})
.catch((e) => {