From 0b09de219e883d1b529aedfc3f2de2e64c3577e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com> Date: Thu, 30 Dec 2021 14:00:25 +0800 Subject: [PATCH 01/18] =?UTF-8?q?=E6=95=B4=E7=90=86=20docs=20=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/docs/zh-CN/components/skeleton.md | 3 +++ example/src/components/LayTableBox.vue | 6 +++--- example/src/plugin/common-plugins.ts | 2 +- example/src/plugin/create-anchor.ts | 9 +++------ example/src/plugin/create-block.ts | 7 ++----- example/src/plugin/create-comment.ts | 9 +++------ example/src/plugin/create-describe.ts | 9 +++------ example/src/plugin/create-table.ts | 9 +++------ example/src/plugin/create-title.ts | 11 ++++------- example/src/plugin/snippet.ts | 11 +++-------- example/src/router/zh-CN.ts | 2 +- 11 files changed, 29 insertions(+), 49 deletions(-) diff --git a/example/docs/zh-CN/components/skeleton.md b/example/docs/zh-CN/components/skeleton.md index 0ba342ae..fff07bf1 100644 --- a/example/docs/zh-CN/components/skeleton.md +++ b/example/docs/zh-CN/components/skeleton.md @@ -1,3 +1,6 @@ +::: anchor +::: + ::: title 基础使用 ::: diff --git a/example/src/components/LayTableBox.vue b/example/src/components/LayTableBox.vue index 00f0806e..bae6cef6 100644 --- a/example/src/components/LayTableBox.vue +++ b/example/src/components/LayTableBox.vue @@ -5,9 +5,9 @@ From fa94d75f0b70239244b5dacbace59c3329e41a19 Mon Sep 17 00:00:00 2001 From: sight <1453017105@qq.com> Date: Fri, 31 Dec 2021 00:47:28 +0800 Subject: [PATCH 03/18] =?UTF-8?q?fix(mdAnchor):=E6=8A=98=E5=8F=A0Anchor?= =?UTF-8?q?=E6=97=B6body=E5=AE=BD=E5=BA=A6=E8=87=AA=E9=80=82=E5=BA=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/src/components/LayAnchor.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/example/src/components/LayAnchor.vue b/example/src/components/LayAnchor.vue index 2fd424a8..7ea92c3f 100644 --- a/example/src/components/LayAnchor.vue +++ b/example/src/components/LayAnchor.vue @@ -67,6 +67,7 @@ const classAsideBtn = computed(() => [ const handlerBtnClick = () => { show.value = !show.value; iconType.value = show.value ? "layui-icon-right" : "layui-icon-left"; + scrollRefEl.value!.firstElementChild!.style.marginRight = show.value ? "180px" : "0px"; }; const handlerListItemClick = (index: number, id: string) => { From f8513ceca12be42d8bf38381807ed4a22ced90de Mon Sep 17 00:00:00 2001 From: sight <1453017105@qq.com> Date: Fri, 31 Dec 2021 09:00:45 +0800 Subject: [PATCH 04/18] =?UTF-8?q?fix(mdAnchor):body=E5=8F=98=E5=8C=96?= =?UTF-8?q?=E5=8A=A8=E7=94=BB=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/src/view/component.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/example/src/view/component.vue b/example/src/view/component.vue index 5443eac9..1d3f5206 100644 --- a/example/src/view/component.vue +++ b/example/src/view/component.vue @@ -37,7 +37,13 @@ -
+
From e22c5219806a2f741ecd7494238fb992c7e52981 Mon Sep 17 00:00:00 2001 From: sight <1453017105@qq.com> Date: Fri, 31 Dec 2021 19:03:11 +0800 Subject: [PATCH 05/18] =?UTF-8?q?fix(mdAnchor):=20=E6=8A=98=E5=8F=A0md?= =?UTF-8?q?=E7=9B=AE=E5=BD=95=E5=90=8E=E5=88=87=E6=8D=A2=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E7=BC=A9=E6=94=BE=E5=BC=82=E5=B8=B8=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/src/components/LayAnchor.vue | 76 +++++++++++++++++++++------- 1 file changed, 58 insertions(+), 18 deletions(-) diff --git a/example/src/components/LayAnchor.vue b/example/src/components/LayAnchor.vue index 7ea92c3f..e77b7dc5 100644 --- a/example/src/components/LayAnchor.vue +++ b/example/src/components/LayAnchor.vue @@ -33,7 +33,7 @@ From ab0014a556baa69287c0f2e04b99ad9303866a06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com> Date: Mon, 3 Jan 2022 00:04:05 +0800 Subject: [PATCH 10/18] =?UTF-8?q?=E4=BC=98=E5=8C=96=20anchor=20=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/src/components/LayAnchor.vue | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/example/src/components/LayAnchor.vue b/example/src/components/LayAnchor.vue index 3a0c06a2..d32891b6 100644 --- a/example/src/components/LayAnchor.vue +++ b/example/src/components/LayAnchor.vue @@ -206,14 +206,6 @@ const throttle = (func: Function, wait: number) => { border-radius: 2px; cursor: pointer; transition: all 0.1s cubic-bezier(0, 0, 1, 1); - &:hover { - background-color: #f6f6f6 !important; - color: #5fb878; - } - &:active { - background-color: #f6f6f6 !important; - color: #89d89f; - } } .lay-aside-list { position: relative; @@ -226,10 +218,16 @@ const throttle = (func: Function, wait: number) => { background-color: #f6f6f6 !important; color: #5fb878; } -} -.active { - background-color: #f6f6f6 !important; - color: #5fb878 !important; + &:active { + background-color: #f6f6f6 !important; + color: #89d89f; + } + &.active { + background-color: #f6f6f6 !important; + * { + color: #5fb878 !important; + } + } } .lay-aside-collapse-btn { From d3465cfae2372f86422a3e2908fb283e0e9e001e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com> Date: Mon, 3 Jan 2022 00:21:51 +0800 Subject: [PATCH 11/18] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example/docs/zh-CN/guide/changelog.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/example/docs/zh-CN/guide/changelog.md b/example/docs/zh-CN/guide/changelog.md index e78e4534..60dcfc21 100644 --- a/example/docs/zh-CN/guide/changelog.md +++ b/example/docs/zh-CN/guide/changelog.md @@ -19,8 +19,10 @@
  • [新增] skeleton 骨架屏组件。
  • [重构] tooltip 内部 popper 组件,支持移动到 tooltip 内部。
  • [增强] layer 部分函数 msg open confirm 等, content 支持 VNode 类型。
  • +
  • [增强] menu 菜单组件, 初步支持无限级嵌套。
  • [修复] layer.close layer.closeAll 函数无法触发 OutAnim 过度动画问题。
  • -
  • [升级] layer-vue 1.2.3。
  • +
  • [废弃] menu-child-item 组件, 使用 menu-item 替代。
  • +
  • [升级] layer-vue 1.2.4。
  • From 9432944fdffb566641796a9842f9482d78664c66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com> Date: Mon, 3 Jan 2022 00:23:09 +0800 Subject: [PATCH 12/18] next-version --- example/docs/zh-CN/guide/changelog.md | 2 +- example/src/layouts/Layout.vue | 2 +- example/src/view/index.vue | 6 +++--- package.json | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/example/docs/zh-CN/guide/changelog.md b/example/docs/zh-CN/guide/changelog.md index 60dcfc21..daf62e5b 100644 --- a/example/docs/zh-CN/guide/changelog.md +++ b/example/docs/zh-CN/guide/changelog.md @@ -12,7 +12,7 @@
      - +
    • 0.3.2 2022-01-03

        diff --git a/example/src/layouts/Layout.vue b/example/src/layouts/Layout.vue index a50c7634..b94a11b6 100644 --- a/example/src/layouts/Layout.vue +++ b/example/src/layouts/Layout.vue @@ -43,7 +43,7 @@
      • - 0.3.1 + 0.3.2
      diff --git a/example/src/view/index.vue b/example/src/view/index.vue index 604cf4d6..dd84852c 100644 --- a/example/src/view/index.vue +++ b/example/src/view/index.vue @@ -26,7 +26,7 @@ >
    - 当前版本:v0.3.1 + 当前版本:v0.3.2 更新日志 - 下载量:2324 + 下载量:3124
    @@ -44,7 +44,7 @@ rel="nofollow" class="site-star" > - Star 521 + Star 544 Date: Mon, 3 Jan 2022 01:23:18 +0800 Subject: [PATCH 13/18] =?UTF-8?q?=E5=8F=91=E5=B8=83=200.3.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 - src/css/layui.css | 8 ++++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index d09e4301..ad94b6b4 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,6 @@ "build:example": "vite build example", "lint:eslint": "eslint 'src/**/*.{vue,ts,tsx}' --fix", "lint:prettier": "prettier --write 'src/**/*'", - "publish": "npm run build && npm publish --access=public", "commit": "git cz" }, "dependencies": { diff --git a/src/css/layui.css b/src/css/layui.css index fba9708a..8600b0dd 100644 --- a/src/css/layui.css +++ b/src/css/layui.css @@ -2900,7 +2900,7 @@ body .layui-table-tips .layui-layer-content { left: 0; top: 0; width: 0; - height: 5px; + height: 3px; background-color: #5fb878; transition: all 0.2s; -webkit-transition: all 0.2s; @@ -3007,13 +3007,13 @@ body .layui-table-tips .layui-layer-content { .layui-nav-tree .layui-nav-item { display: block; width: 100%; - line-height: 40px; + line-height: 42px; } .layui-nav-tree .layui-nav-item a { position: relative; - height: 46px; - line-height: 46px; + height: 42px; + line-height: 42px; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; From 07a64cba8f5bcb62acd4d55ffb6ee9b97656f4d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com> Date: Mon, 3 Jan 2022 11:58:05 +0000 Subject: [PATCH 14/18] update README.md. --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2678c0a1..57780808 100644 --- a/README.md +++ b/README.md @@ -77,11 +77,13 @@ createApp(App).use(Layui).mount('#app') > 大概是因为 layui - vue 让开发者变得更懒,所以贡献者才这么少? > 好的,姑且就这样认为吧。 -[![Giteye chart](https://chart.giteye.net/gitee/layui-vue/layui-vue/DBC9Z6HQ.png)](https://giteye.net/chart/DBC9Z6HQ) +[![Giteye chart](https://images.gitee.com/uploads/images/2021/1223/004106_ca3f4b34_4835367.png)](https://giteye.net/chart/DBC9Z6HQ) ## 交流群 -![输入图片说明](https://images.gitee.com/uploads/images/2021/1008/090410_8b349271_4835367.png 'QQ图片20211008090242.png') +| QQ | 微信 | +|----|----| +| | | ## 相关 From 02bcf9c3443ad9178096de4360dbdc1e606506c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com> Date: Tue, 4 Jan 2022 05:22:08 +0000 Subject: [PATCH 15/18] update README.md. --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 57780808..1d3daf84 100644 --- a/README.md +++ b/README.md @@ -74,8 +74,7 @@ createApp(App).use(Layui).mount('#app') ### 贡献代码 -> 大概是因为 layui - vue 让开发者变得更懒,所以贡献者才这么少? -> 好的,姑且就这样认为吧。 +> 在人的尺度里,世界既无始也无终,唯一的信仰是,总有人认得你站在暴风雪里的样子。? [![Giteye chart](https://images.gitee.com/uploads/images/2021/1223/004106_ca3f4b34_4835367.png)](https://giteye.net/chart/DBC9Z6HQ) From 1595047437a78bfeadeaa61b7e86efe3cadd9656 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com> Date: Tue, 4 Jan 2022 05:51:30 +0000 Subject: [PATCH 16/18] update README.md. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1d3daf84..1036f3cd 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@

    - layui + layui

    @@ -74,7 +74,7 @@ createApp(App).use(Layui).mount('#app') ### 贡献代码 -> 在人的尺度里,世界既无始也无终,唯一的信仰是,总有人认得你站在暴风雪里的样子。? +> 在人的尺度里,世界既无始也无终,唯一的信仰是,总有人认得你站在暴风雪里的样子。 [![Giteye chart](https://images.gitee.com/uploads/images/2021/1223/004106_ca3f4b34_4835367.png)](https://giteye.net/chart/DBC9Z6HQ) From 7c5c066f0eefc6f75090a02fdc29c10d18d8896e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com> Date: Tue, 4 Jan 2022 06:27:04 +0000 Subject: [PATCH 17/18] update README.md. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1036f3cd..e921b1fc 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,7 @@ createApp(App).use(Layui).mount('#app') > 在人的尺度里,世界既无始也无终,唯一的信仰是,总有人认得你站在暴风雪里的样子。 -[![Giteye chart](https://images.gitee.com/uploads/images/2021/1223/004106_ca3f4b34_4835367.png)](https://giteye.net/chart/DBC9Z6HQ) +[![Giteye chart](https://chart.giteye.net/gitee/layui-vue/layui-vue/DBC9Z6HQ.png)](https://giteye.net/chart/DBC9Z6HQ) ## 交流群 From 726379b3e02f47f7ce616299a00853f5073b8b5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com> Date: Tue, 4 Jan 2022 09:04:16 +0000 Subject: [PATCH 18/18] update README.md. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e921b1fc..692557b6 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ createApp(App).use(Layui).mount('#app') ### 使用趋势 -[![Giteye chart](https://images.gitee.com/uploads/images/2021/1222/233241_e13a5449_4835367.png)](https://giteye.net/chart/5ZQ67WWS) +[![Giteye chart](https://chart.giteye.net/gitee/layui-vue/layui-vue/5ZQ67WWS.png)](https://giteye.net/chart/5ZQ67WWS) ### 贡献代码