Commit 983ffb7c by 胡悦

Merge branch 'SAAS+V4.45' of http://192.168.3.233:8090/glsx/gl_tape into SAAS+V4.45

2 parents d54f1930 73705778
......@@ -36,7 +36,7 @@
@click="close"
>取消</view>
<view
class="btn"
:class="['btn',{disabled:component_chooseList.length == 0}]"
@click="choose"
>确定</view>
</view>
......@@ -105,6 +105,7 @@ export default {
return component_chooseList.findIndex(e => e.labelId == item.labelId) != -1
},
choose () {
if (this.component_chooseList.length == 0) return
this.$emit('select', this.component_chooseList)
this.close();
}
......@@ -186,5 +187,8 @@ export default {
background: #dae9ff;
color: #2c66f7;
}
.disabled {
background-image: linear-gradient(0deg, #2c66f799 0%, #48a6ff99 100%);
}
}
</style>
\ No newline at end of file
......@@ -267,7 +267,13 @@ export default {
this.formObject.map(e => {
if (e.required) {
if (!this.formData[e.key]) throw false
if (!all && e.key == 'phoneNumber' && !phoneRex.test(this.formData[e.key])) throw false
if (!all && e.key == 'phoneNumber' && !phoneRex.test(this.formData[e.key])) {
uni.showToast({
title: "请输入正确的车主电话",
icon: "none",
});
throw false
}
}
})
} catch (error) {
......
......@@ -465,7 +465,7 @@ export default {
}
}
.record-list {
height: calc(100% - 240rpx);
height: calc(100% - 242rpx);
position: relative;
z-index: 4;
}
......
......@@ -424,7 +424,7 @@ export default {
}
}
.record-content {
padding: 96rpx 0;
padding: 96rpx 0 80rpx;
.data-container {
background: #ffffff;
border-radius: 48rpx;
......@@ -479,12 +479,12 @@ export default {
}
}
.record-list {
height: calc(100% - 248rpx);
height: calc(100% - 242rpx);
position: relative;
z-index: 4;
}
.type-1 {
height: calc(100% - 128rpx);
height: calc(100% - 126rpx);
margin-top: -48rpx;
.list {
padding-top: 48rpx;
......
......@@ -234,10 +234,14 @@ export default {
.then((res) => {
this.$store.dispatch("setEmployeeList", res);
});
uni.showLoading({
mask: true
})
/**获取车型素材配置 */
uni.$api.boutiqueApi.getBoutiqueMaterialConfig({
merchantId: shopMerchantId
}).then(({ materials, hidePackage }) => {
uni.hideLoading()
let boutiqueMediaConfig = {
M5: [],
M7: [],
......@@ -260,6 +264,12 @@ export default {
e.configList = boutiqueMediaConfig[e.title]
})
this.$store.state.user.boutiqueMediaConfig = boutiqueMediaConfig
}).catch(error => {
uni.hideLoading()
uni.showToast({
title: error,
icon: 'none',
});
})
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!