From a74a80989e177f8c311302ac7cd100d74b86fe88 Mon Sep 17 00:00:00 2001 From: wenmine Date: Sat, 23 Dec 2023 15:34:37 +0800 Subject: [PATCH 1/9] =?UTF-8?q?fix(styles-spacing):=20=E5=A2=9E=E5=A4=A7?= =?UTF-8?q?=E7=89=A9=E6=96=99=E8=AE=BE=E7=BD=AE=E5=86=85=E5=A4=96=E8=BE=B9?= =?UTF-8?q?=E8=B7=9D=E6=97=B6=E7=82=B9=E5=87=BB=E5=8C=BA=E5=9F=9F=20#134?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../settings/styles/src/components/spacing/SpacingGroup.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/settings/styles/src/components/spacing/SpacingGroup.vue b/packages/settings/styles/src/components/spacing/SpacingGroup.vue index 57dc55861..9c0490200 100644 --- a/packages/settings/styles/src/components/spacing/SpacingGroup.vue +++ b/packages/settings/styles/src/components/spacing/SpacingGroup.vue @@ -554,7 +554,7 @@ export default { padding: 2px 4px; margin-left: -2px; border-radius: 2px; - max-width: 100%; + width: 100%; box-sizing: content-box; place-self: center; position: relative; From c89330778a041a9c4a3d791ed65126139eb0d725 Mon Sep 17 00:00:00 2001 From: wenmine Date: Fri, 29 Dec 2023 14:02:43 +0800 Subject: [PATCH 2/9] =?UTF-8?q?docs(readme):=20=E5=A2=9E=E5=8A=A0=E5=90=8E?= =?UTF-8?q?=E7=AB=AF=E7=9A=84=E5=90=AF=E5=8A=A8=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 11 +++++++++++ README.zh-CN.md | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/README.md b/README.md index c5d21f1a6..12a6dd01c 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,17 @@ $ pnpm install $ pnpm dev ``` +## Local development, directly connected to the local tiny-engine-webservice server + +1. Start [tiny-engine-data-center](https://github.com/opentiny/tiny-engine-data-center/blob/main/README.md) + +2. Start [tiny-engine-webservice](https://github.com/opentiny/tiny-engine-webservice/blob/main/README.md) + +3. Modify the origin value in `vite.config.js` in the `packages/design-core/` directory of the tiny-engine project to be the address port of your local webService project (the webService port defaults to 7011), such as: + +Modify port + + Open a browser: `http://localhost:8080/?type=app&id=918&tenant=1&pageid=NTJ4MjvqoVj8OVsc` `url search` Parameters: diff --git a/README.zh-CN.md b/README.zh-CN.md index 4ab41b55a..b7a4e6fc9 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -37,6 +37,17 @@ $ pnpm install $ pnpm dev ``` +### 本地开发,直连本地的tiny-engine-webservice服务端 + +1. 启动 [tiny-engine-data-center](https://github.com/opentiny/tiny-engine-data-center/blob/main/README.md) + +2. 启动 [tiny-engine-webservice](https://github.com/opentiny/tiny-engine-webservice/blob/main/README.md) + +3. 修改 tiny-engine 项目 `packages/design-core/` 目录下 `vite.config.js` 中origin的值为自己本地webService项目的地址端口(webService端口默认为7011),如: + +修改端口 + + 浏览器打开:`http://localhost:8080/?type=app&id=918&tenant=1&pageid=NTJ4MjvqoVj8OVsc` `url search`参数: From d754ab686df44c01a99f2d90b5dbd9dcea9a12b6 Mon Sep 17 00:00:00 2001 From: wenmine Date: Fri, 29 Dec 2023 14:15:24 +0800 Subject: [PATCH 3/9] =?UTF-8?q?docs(readme):=20=E5=A2=9E=E5=8A=A0=E5=90=8E?= =?UTF-8?q?=E7=AB=AF=E7=9A=84=E5=90=AF=E5=8A=A8=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- README.zh-CN.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 12a6dd01c..24f96c447 100644 --- a/README.md +++ b/README.md @@ -39,9 +39,9 @@ $ pnpm dev ## Local development, directly connected to the local tiny-engine-webservice server -1. Start [tiny-engine-data-center](https://github.com/opentiny/tiny-engine-data-center/blob/main/README.md) +1. Start [tiny-engine-data-center](https://github.com/opentiny/tiny-engine-data-center/blob/main/README.md){:target="_blank"} -2. Start [tiny-engine-webservice](https://github.com/opentiny/tiny-engine-webservice/blob/main/README.md) +2. Start [tiny-engine-webservice](https://github.com/opentiny/tiny-engine-webservice/blob/main/README.md){:target="_blank"} 3. Modify the origin value in `vite.config.js` in the `packages/design-core/` directory of the tiny-engine project to be the address port of your local webService project (the webService port defaults to 7011), such as: diff --git a/README.zh-CN.md b/README.zh-CN.md index b7a4e6fc9..3b99a29d6 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -39,9 +39,9 @@ $ pnpm dev ### 本地开发,直连本地的tiny-engine-webservice服务端 -1. 启动 [tiny-engine-data-center](https://github.com/opentiny/tiny-engine-data-center/blob/main/README.md) +1. 启动 [tiny-engine-data-center](https://github.com/opentiny/tiny-engine-data-center/blob/main/README.md){:target="_blank"} -2. 启动 [tiny-engine-webservice](https://github.com/opentiny/tiny-engine-webservice/blob/main/README.md) +2. 启动 [tiny-engine-webservice](https://github.com/opentiny/tiny-engine-webservice/blob/main/README.md){:target="_blank"} 3. 修改 tiny-engine 项目 `packages/design-core/` 目录下 `vite.config.js` 中origin的值为自己本地webService项目的地址端口(webService端口默认为7011),如: From 7d03c917c8fc79f5f5dcc102c191b4ea585910c2 Mon Sep 17 00:00:00 2001 From: wenmine Date: Fri, 29 Dec 2023 14:16:23 +0800 Subject: [PATCH 4/9] =?UTF-8?q?docs(readme):=20=E5=A2=9E=E5=8A=A0=E5=90=8E?= =?UTF-8?q?=E7=AB=AF=E7=9A=84=E5=90=AF=E5=8A=A8=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- README.zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 24f96c447..6987ddb63 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ $ pnpm dev 3. Modify the origin value in `vite.config.js` in the `packages/design-core/` directory of the tiny-engine project to be the address port of your local webService project (the webService port defaults to 7011), such as: -Modify port +Modify port Open a browser: `http://localhost:8080/?type=app&id=918&tenant=1&pageid=NTJ4MjvqoVj8OVsc` diff --git a/README.zh-CN.md b/README.zh-CN.md index 3b99a29d6..dd3cc63a1 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -45,7 +45,7 @@ $ pnpm dev 3. 修改 tiny-engine 项目 `packages/design-core/` 目录下 `vite.config.js` 中origin的值为自己本地webService项目的地址端口(webService端口默认为7011),如: -修改端口 +修改端口 浏览器打开:`http://localhost:8080/?type=app&id=918&tenant=1&pageid=NTJ4MjvqoVj8OVsc` From cbe301fc1b10bb0d20419d70ce1c983e59f8f892 Mon Sep 17 00:00:00 2001 From: wenmine Date: Fri, 29 Dec 2023 14:20:16 +0800 Subject: [PATCH 5/9] =?UTF-8?q?docs(readme):=20=E5=A2=9E=E5=8A=A0=E5=90=8E?= =?UTF-8?q?=E7=AB=AF=E7=9A=84=E5=90=AF=E5=8A=A8=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- README.zh-CN.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6987ddb63..6be8856db 100644 --- a/README.md +++ b/README.md @@ -39,9 +39,9 @@ $ pnpm dev ## Local development, directly connected to the local tiny-engine-webservice server -1. Start [tiny-engine-data-center](https://github.com/opentiny/tiny-engine-data-center/blob/main/README.md){:target="_blank"} +1. Start tiny-engine-data-center -2. Start [tiny-engine-webservice](https://github.com/opentiny/tiny-engine-webservice/blob/main/README.md){:target="_blank"} +2. Start tiny-engine-webservice 3. Modify the origin value in `vite.config.js` in the `packages/design-core/` directory of the tiny-engine project to be the address port of your local webService project (the webService port defaults to 7011), such as: diff --git a/README.zh-CN.md b/README.zh-CN.md index dd3cc63a1..fd489450e 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -39,9 +39,9 @@ $ pnpm dev ### 本地开发,直连本地的tiny-engine-webservice服务端 -1. 启动 [tiny-engine-data-center](https://github.com/opentiny/tiny-engine-data-center/blob/main/README.md){:target="_blank"} +1. 启动 tiny-engine-data-center -2. 启动 [tiny-engine-webservice](https://github.com/opentiny/tiny-engine-webservice/blob/main/README.md){:target="_blank"} +2. 启动 tiny-engine-webservice 3. 修改 tiny-engine 项目 `packages/design-core/` 目录下 `vite.config.js` 中origin的值为自己本地webService项目的地址端口(webService端口默认为7011),如: From 02c0b7c6ad5809a7e27bdc0b5f8875f493ddf181 Mon Sep 17 00:00:00 2001 From: wenmine Date: Fri, 29 Dec 2023 16:16:34 +0800 Subject: [PATCH 6/9] =?UTF-8?q?docs(readme):=20=E6=9B=B4=E6=96=B0=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.zh-CN.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.zh-CN.md b/README.zh-CN.md index fd489450e..64edd8144 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -45,7 +45,7 @@ $ pnpm dev 3. 修改 tiny-engine 项目 `packages/design-core/` 目录下 `vite.config.js` 中origin的值为自己本地webService项目的地址端口(webService端口默认为7011),如: -修改端口 +修改端口 浏览器打开:`http://localhost:8080/?type=app&id=918&tenant=1&pageid=NTJ4MjvqoVj8OVsc` From 0af8986d5c1a41ec34b0b79223972a4b0622dfb1 Mon Sep 17 00:00:00 2001 From: wenmine Date: Fri, 29 Dec 2023 16:22:10 +0800 Subject: [PATCH 7/9] =?UTF-8?q?docs(readme):=20=E6=9B=B4=E6=96=B0=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6be8856db..fbf83a6f3 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ $ pnpm dev 3. Modify the origin value in `vite.config.js` in the `packages/design-core/` directory of the tiny-engine project to be the address port of your local webService project (the webService port defaults to 7011), such as: -Modify port +Modify port Open a browser: `http://localhost:8080/?type=app&id=918&tenant=1&pageid=NTJ4MjvqoVj8OVsc` From c003ce8d3dbc00a480d3514a4e3717d43c696ea2 Mon Sep 17 00:00:00 2001 From: wenmine Date: Thu, 11 Jan 2024 14:57:06 +0800 Subject: [PATCH 8/9] =?UTF-8?q?fix(styles-spacing):=20=E5=A2=9E=E5=A4=A7?= =?UTF-8?q?=E7=89=A9=E6=96=99=E8=AE=BE=E7=BD=AE=E5=86=85=E5=A4=96=E8=BE=B9?= =?UTF-8?q?=E8=B7=9D=E6=97=B6=E7=82=B9=E5=87=BB=E5=8C=BA=E5=9F=9F=20#134?= =?UTF-8?q?=20review?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../styles/src/components/spacing/SpacingGroup.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/settings/styles/src/components/spacing/SpacingGroup.vue b/packages/settings/styles/src/components/spacing/SpacingGroup.vue index 9c0490200..a090acc37 100644 --- a/packages/settings/styles/src/components/spacing/SpacingGroup.vue +++ b/packages/settings/styles/src/components/spacing/SpacingGroup.vue @@ -19,6 +19,7 @@ aria-label="Margin top button" class="tb-path-color" style="cursor: n-resize" + @click="clickMargin(SPACING_PROPERTY.MarginTop, $event)" > @@ -39,6 +40,7 @@ aria-label="Margin right button" class="lr-path-color" style="cursor: e-resize" + @click="clickMargin(SPACING_PROPERTY.MarginRight, $event)" > @@ -59,6 +61,7 @@ aria-label="Margin bottom button" class="tb-path-color" style="cursor: s-resize" + @click="clickMargin(SPACING_PROPERTY.MarginBottom, $event)" > @@ -79,6 +82,7 @@ aria-label="Margin left button" class="lr-path-color" style="cursor: w-resize" + @click="clickMargin(SPACING_PROPERTY.MarginLeft, $event)" > @@ -203,6 +207,7 @@ aria-label="Padding top button" class="tb-path-color" style="cursor: s-resize" + @click="clickPadding(SPACING_PROPERTY.PaddingTop, $event)" > @@ -223,6 +228,7 @@ aria-label="Padding right button" class="lr-path-color" style="cursor: w-resize" + @click="clickPadding(SPACING_PROPERTY.PaddingRight, $event)" > @@ -243,6 +249,7 @@ aria-label="Padding bottom button" class="tb-path-color" style="cursor: n-resize" + @click="clickPadding(SPACING_PROPERTY.PaddingBottom, $event)" > @@ -263,6 +270,7 @@ aria-label="Padding left button" class="lr-path-color" style="cursor: e-resize" + @click="clickPadding(SPACING_PROPERTY.PaddingLeft, $event)" > @@ -554,7 +562,7 @@ export default { padding: 2px 4px; margin-left: -2px; border-radius: 2px; - width: 100%; + max-width: 100%; box-sizing: content-box; place-self: center; position: relative; From 0507480361866a796d10845f68392db20eca7150 Mon Sep 17 00:00:00 2001 From: wenmine Date: Thu, 11 Jan 2024 20:58:12 +0800 Subject: [PATCH 9/9] =?UTF-8?q?fix(styles-spacing):=20=E5=A2=9E=E5=A4=A7?= =?UTF-8?q?=E7=89=A9=E6=96=99=E8=AE=BE=E7=BD=AE=E5=86=85=E5=A4=96=E8=BE=B9?= =?UTF-8?q?=E8=B7=9D=E6=97=B6=E7=82=B9=E5=87=BB=E5=8C=BA=E5=9F=9F=20#134?= =?UTF-8?q?=20review?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/spacing/SpacingGroup.vue | 20 +++---------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/packages/settings/styles/src/components/spacing/SpacingGroup.vue b/packages/settings/styles/src/components/spacing/SpacingGroup.vue index a090acc37..9379bcee4 100644 --- a/packages/settings/styles/src/components/spacing/SpacingGroup.vue +++ b/packages/settings/styles/src/components/spacing/SpacingGroup.vue @@ -5,7 +5,6 @@ @@ -26,7 +24,6 @@ @@ -47,7 +43,6 @@ @@ -68,7 +62,6 @@ @@ -193,7 +185,6 @@ @@ -214,7 +204,6 @@ @@ -235,7 +223,6 @@ @@ -256,7 +242,6 @@ @@ -545,7 +529,7 @@ export default { } .spacing-edit { - cursor: default; + cursor: pointer; user-select: none; overflow: hidden; text-overflow: ellipsis; @@ -608,6 +592,7 @@ export default { } .lr-path-color { + cursor: pointer; color: var(--ti-lowcode-spacing-lr-color); &:hover { color: var(--ti-lowcode-spacing-lr-hover-color); @@ -615,6 +600,7 @@ export default { } .tb-path-color { + cursor: pointer; color: var(--ti-lowcode-spacing-tb-color); &:hover { color: var(--ti-lowcode-spacing-tb-hover-color);