优化上个提交中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: {
@ -532,11 +532,10 @@ 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;
@ -684,13 +687,13 @@ export default {
height: 100rpx;
width: 100%;
transition: 0.35s;
> .tips {
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) => {
@ -212,7 +211,7 @@ export default {
uni.hideLoading();
}, 2000);
}
if (!this.$u.test.mobile(this.codeForm.mobile)) {
uni.showToast({
title: "请输入正确手机号",