Commit d9c95bd1 authored by 郭志伟's avatar 郭志伟

feat(editor): 调整配置

parent 2b7518f9
......@@ -35,6 +35,11 @@ export default class DynamicPageForm extends Mixins(ContextMenuMixin) {
name: '返回顶部',
type: 'checkbox'
},
{
key: 'showShopCart',
name: '购物车',
type: 'checkbox'
},
{
key: 'showPageBottomTip',
name: '底部提示',
......
......@@ -15,7 +15,13 @@ export default class OperationPanel extends Mixins(TransformStyleMixin) {
@Prop(Boolean) isDraging;
@Prop(Boolean) isDragIn;
bottomInfo: object = {};
bottomInfo: object = {
x: 0,
y: 0,
w: 375,
h: 60,
i: 'page-bottom-top'
};
get layout() {
return this.pageData.elements.map(v => v.point);
......@@ -28,7 +34,7 @@ export default class OperationPanel extends Mixins(TransformStyleMixin) {
this.bottomInfo = {
x: 0,
y: 0,
w: 0,
w: 375,
h: 60,
i: 'page-bottom-top'
};
......
......@@ -11,7 +11,7 @@
:is-mirrored="false"
:vertical-compact="true"
:use-css-transforms="true"
:style="transformStyle(pageData.commonrtyle)"
:style="transformStyle(pageData.commonStyle)"
@click.native.stop="toggle(false)"
>
<grid-item @click.native.stop="handleElementClick(index, null)" v-for="(item, index) in pageData.elements"
......
......@@ -83,6 +83,13 @@ export const defaultState = {
},
props: {
showBackTop: true,
showShopCart: true,
backTopAttachInfo: [
{
icon: 'shopping-cart-o',
url: 'xyqb://shoppingCartTab'
}
],
showPageBottomTip: true,
pageBottomTxt: '没有更多啦~',
pageBottomColor: '#fff'
......
......@@ -1491,9 +1491,9 @@
"integrity": "sha512-uOCUKu5mvX3PWee+7ZFXQSNIR1V5SN2JVE2yANmW9/wQOgpEct291gXGok8VMw0009HlTWB4JATURPwyOP2DFg=="
},
"@qg/cherry-ui": {
"version": "2.21.1-beta3",
"resolved": "http://npmprivate.quantgroups.com/@qg%2fcherry-ui/-/cherry-ui-2.21.1-beta3.tgz",
"integrity": "sha512-g68YD+vfJW/gbYrjotv6h0a4CpcEdHoYPjkMU8yRjk8WZUVQDic+9paOorD5W6YwrXBKaKkgo5w3ZFVT5SYsEA==",
"version": "2.21.1-beta4",
"resolved": "http://npmprivate.quantgroups.com/@qg%2fcherry-ui/-/cherry-ui-2.21.1-beta4.tgz",
"integrity": "sha512-xLnvEA1PZWmBWQZX/sVgm3dv+tBvyBEZFdNFmXBe66Qd+TeL6p2dNKhDS0q+uP0O2XEP38rsv2hk3MMCddpQ2w==",
"requires": {
"@popperjs/core": "^2.5.4",
"vue-lazyload": "^1.3.3",
......@@ -1501,12 +1501,12 @@
}
},
"@qg/citrus-ui": {
"version": "0.1.15-beta1",
"resolved": "http://npmprivate.quantgroups.com/@qg%2fcitrus-ui/-/citrus-ui-0.1.15-beta1.tgz",
"integrity": "sha512-jDJewXlIFFlxcBPyFwq7ypB0XFXJ62b8Cqb2FU7APOTH8+WkOqGq2MNC2dIdffIw6LX3E2UzRA2M6dZV7tRZ0Q==",
"version": "0.1.15-beta2",
"resolved": "http://npmprivate.quantgroups.com/@qg%2fcitrus-ui/-/citrus-ui-0.1.15-beta2.tgz",
"integrity": "sha512-DBEhmaQFZAxSFDu9I6534BFByDvk7NMtBrDuFBvRm6DurIdxZrDk9WpnySgUiWymhWUKzoisR265EYXeOaYBiQ==",
"requires": {
"@better-scroll/core": "^2.1.1",
"@qg/cherry-ui": "^2.21.1-beta3",
"@qg/cherry-ui": "^2.21.1-beta4",
"@qg/js-bridge": "^1.1.11",
"axios": "^0.21.1",
"intersection-observer": "^0.12.0",
......
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