Commit 408cc20d by wangzhihui

样式优化

1 parent 87fd0f75
......@@ -7,7 +7,7 @@ Component({
show: {
type: Boolean,
observer: function (n) {
console.log(n, 'show');
console.log(n, 'show',this.data.isFlag);
if (n) {
this.setData({
keyWord: '',
......@@ -95,7 +95,6 @@ Component({
} = this.data;
let result = goodsList[index].multipleSpecificationsGoods.specificationList.every(item => item.value)
let active = goodsList[index].active
console.log(active, goodsList[index])
//规格全部选中逻辑处理
if (result) {
......@@ -104,7 +103,6 @@ Component({
arr.push(spec.value)
})
let str = arr.join(';~;')
console.log(str)
goodsList[index].active = true
// strTemp用来存储上一次选中的值,判断规格是否重新选择 ,避免页面交互闪烁
// if (type && str != strTemp) {
......@@ -140,7 +138,8 @@ Component({
let chooseList = await this.getChooseList(false);
this.setData({
show: false,
goodsList
goodsList,
isFlag:false
}, () => {
let thisPage = wx.$router.getPageInstance();
let secondPage = thisPage.selectComponent(`#SecondStep`)
......@@ -281,7 +280,7 @@ Component({
} = this.data
if (show) {
wx.$util.showLoading()
console.log(222222)
// wx.showLoading('加载中...')
if (chooseGoodsList.length == 0) {
goodsList.forEach(e => {
e.active = false
......
......@@ -12,7 +12,6 @@
}
.box {
border-bottom: var(--fontSize2) solid #EBEDF0;
padding-left: var(--fontSize32);
}
......@@ -191,7 +190,11 @@
text-align: center;
color: #999;
}
.remind-text{
padding: var(--fontSize100);
text-align: center;
color: #999;
}
.childbox {
width: 100%;
display: flex;
......
......@@ -84,7 +84,7 @@
</block>
</block>
<view wx:if="{{!isFlag}}" class="remind-text">数据加载处理中,请耐心等待...</view>
</view>
<!-- </block> -->
</block>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!