优化上个提交中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"> <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> </div>
<!-- 结账 --> <!-- 结账 -->
@ -255,7 +255,7 @@ export default {
masterWay: "", // masterWay: "", //
pintuanFlage: true, // pintuanFlage: true, //
notSupportFreight: [], // notSupportFreight: [], //
notSupportFreightGoodsList:['以下商品超出配送范围:'], notSupportFreightGoodsList: ["以下商品超出配送范围:"],
}; };
}, },
filters: { filters: {
@ -533,10 +533,9 @@ export default {
if (res.data.result.notSupportFreight.length != 0) { if (res.data.result.notSupportFreight.length != 0) {
this.notSupportFreight = res.data.result.notSupportFreight; this.notSupportFreight = res.data.result.notSupportFreight;
res.data.result.notSupportFreight.forEach(item=>{ res.data.result.notSupportFreight.forEach((item) => {
this.notSupportFreightGoodsList[0]+=(item.goodsSku.goodsName) this.notSupportFreightGoodsList[0] += item.goodsSku.goodsName;
}) });
} }
}); });
}, },
@ -676,7 +675,11 @@ export default {
} }
.notSupportFreight { .notSupportFreight {
position: fixed; position: fixed;
bottom: calc(100rpx + env(safe-area-inset-bottom)) ;
// #ifdef H5
bottom: 100rpx; bottom: 100rpx;
// #endif
display: flex; display: flex;
align-items: center; align-items: center;
left: 0; left: 0;
@ -689,8 +692,8 @@ export default {
margin: 0 32rpx; margin: 0 32rpx;
} }
} }
/deep/ .u-notice-bar-wrap{ /deep/ .u-notice-bar-wrap {
width: 100%; width: 100% !important;
} }
.userClass { .userClass {

View File

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