Commit 90c3fa3c authored by 郭志伟's avatar 郭志伟

feat:(free-container): 更新自由容器功能

parent 4eb0d886
......@@ -12,6 +12,7 @@ export default class FreedomContainer extends Mixins(TransformStyleMixin, SaMixi
@Prop({type: Object, default: () => ({ child: [] })}) childItem;
@Prop({type: Object, default: () => ({})}) saInfo;
@Prop(String) link;
@Prop(String) backgroundImage;
mounted() {
......@@ -24,4 +25,5 @@ export default class FreedomContainer extends Mixins(TransformStyleMixin, SaMixi
// });
// }
}
}
\ No newline at end of file
<template>
<div class="freedom" v-track>
<div class="freedom" v-track="{ link }">
<div class="freedom-body">
<component :class="['freedom-body-item', { 'Fb-item_selected': curChildIndex === index }]" v-for="(item, index) in childItem.child" :style="transformStyle(item.commonStyle, 'container')" :is="item.name" :key="index" :sa-info="getSaInfo(item)" v-bind="item.props"></component>
</div>
......
......@@ -33,7 +33,7 @@ export default class Activity extends Mixins(TransformStyleMixin, SaMixin) {
get layout() {
if (!isApp && !isWxMp) {
this.pageData.elements = this.pageData.elements.filter(v => v.name != 'cs-search-bar');
this.pageData.elements = this.pageData.elements.filter(v => v.name !== 'cs-search-bar');
}
return this.pageData && this.pageData.elements.map(v => v.point) || [];
}
......
{
"api": {
"apiHost": "https://quantum-blocks-test1.liangkebang.net",
"h5Host": "https://quantum-h5-test1.liangkebang.net",
"opapiHost": "https://opapi-test1.liangkebang.net",
"passportHost": "https://passportapi-test1.liangkebang.net",
"kdspHost": "https://talos-test1.liangkebang.net",
"apiHost": "https://quantum-blocks-vcc2.liangkebang.net",
"h5Host": "https://quantum-h5-vcc2.liangkebang.net",
"opapiHost": "https://opapi-vcc2.liangkebang.net",
"passportHost": "https://passportapi-vcc2.liangkebang.net",
"kdspHost": "https://talos-vcc2.liangkebang.net",
"loginUrl": "",
"h5ShopHost": "https://tenet-test1.liangkebang.net/#"
"h5ShopHost": "https://tenet-vcc2.liangkebang.net/#"
},
"mysql": {
"low_code": {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment