From 5ccd308d86d63f05ad65ab20306b5102b3b2b629 Mon Sep 17 00:00:00 2001 From: DvShu Date: Wed, 17 Apr 2024 08:50:45 +0000 Subject: [PATCH] deploy: eb0739816da129400460bfce9868ba90c6a8994b --- 404.html | 2 +- ....md.CU02nADO.js => components_directives.md.BeK8bMCp.js} | 2 +- ...DO.lean.js => components_directives.md.BeK8bMCp.lean.js} | 0 components/Polygon.html | 2 +- components/button.html | 2 +- components/card.html | 2 +- components/container.html | 2 +- components/directives.html | 6 +++--- components/icon.html | 2 +- components/image.html | 2 +- components/input.html | 2 +- components/message.html | 2 +- components/qrcode.html | 2 +- components/tooltip.html | 2 +- css-util.html | 2 +- hashmap.json | 2 +- index.html | 2 +- reset.html | 2 +- usage.html | 2 +- 19 files changed, 20 insertions(+), 20 deletions(-) rename assets/{components_directives.md.CU02nADO.js => components_directives.md.BeK8bMCp.js} (94%) rename assets/{components_directives.md.CU02nADO.lean.js => components_directives.md.BeK8bMCp.lean.js} (100%) diff --git a/404.html b/404.html index 55f6e6b2..83d48f23 100644 --- a/404.html +++ b/404.html @@ -16,7 +16,7 @@
Skip to content

404

PAGE NOT FOUND

But if you don't change your direction, and if you keep looking, you may end up where you are heading.

Released under the MulanPSL2 License.

- + \ No newline at end of file diff --git a/assets/components_directives.md.CU02nADO.js b/assets/components_directives.md.BeK8bMCp.js similarity index 94% rename from assets/components_directives.md.CU02nADO.js rename to assets/components_directives.md.BeK8bMCp.js index cf4e42a4..dda02525 100644 --- a/assets/components_directives.md.CU02nADO.js +++ b/assets/components_directives.md.BeK8bMCp.js @@ -1 +1 @@ -import{x as s,c as i,o as a,a9 as e}from"./chunks/framework.frWttwNL.js";const u=JSON.parse('{"title":"Directives 指令","description":"","frontmatter":{},"headers":[],"relativePath":"components/directives.md","filePath":"components/directives.md","lastUpdated":1713175101000}'),t={name:"components/directives.md"},n=e('

Directives 指令

提供了一些常用的自定义指令

1. vClickoutside

点击元素外事件, 常用于需要点击元素外,关闭某个弹窗; 例如: SelectTooltip

ts
function handleOutside() {\n  console.log('点击了元素外');\n}
template
<nt-input placeholder="输入过滤" v-clickoutside="handleOutside"></nt-input>
',5),l=[n];function p(d,h,r,c,o,k){return a(),i("div",null,l)}const g=s(t,[["render",p]]);export{u as __pageData,g as default}; +import{x as s,c as i,o as a,a9 as e}from"./chunks/framework.frWttwNL.js";const u=JSON.parse('{"title":"Directives 指令","description":"","frontmatter":{},"headers":[],"relativePath":"components/directives.md","filePath":"components/directives.md","lastUpdated":1713175101000}'),t={name:"components/directives.md"},n=e('

Directives 指令

提供了一些常用的自定义指令

1. vClickoutside

点击元素外事件, 常用于需要点击元素外,关闭某个弹窗; 例如: SelectTooltip

ts
function handleOutside() {\n  console.log('点击了元素外');\n}
template
<nt-input placeholder="输入过滤" v-clickoutside="handleOutside"></nt-input>
',5),l=[n];function p(d,h,r,c,o,k){return a(),i("div",null,l)}const g=s(t,[["render",p]]);export{u as __pageData,g as default}; diff --git a/assets/components_directives.md.CU02nADO.lean.js b/assets/components_directives.md.BeK8bMCp.lean.js similarity index 100% rename from assets/components_directives.md.CU02nADO.lean.js rename to assets/components_directives.md.BeK8bMCp.lean.js diff --git a/components/Polygon.html b/components/Polygon.html index 81021962..730a33cc 100644 --- a/components/Polygon.html +++ b/components/Polygon.html @@ -19,7 +19,7 @@
Skip to content

Released under the MulanPSL2 License.

- + \ No newline at end of file diff --git a/components/button.html b/components/button.html index 9cb8b450..b7f42d6b 100644 --- a/components/button.html +++ b/components/button.html @@ -19,7 +19,7 @@
Skip to content

Released under the MulanPSL2 License.

- + \ No newline at end of file diff --git a/components/card.html b/components/card.html index 26637332..d60e6f5a 100644 --- a/components/card.html +++ b/components/card.html @@ -19,7 +19,7 @@
Skip to content

Released under the MulanPSL2 License.

- + \ No newline at end of file diff --git a/components/container.html b/components/container.html index a07aaab4..a9903a11 100644 --- a/components/container.html +++ b/components/container.html @@ -19,7 +19,7 @@
Skip to content

Released under the MulanPSL2 License.

- + \ No newline at end of file diff --git a/components/directives.html b/components/directives.html index 115a6359..c720b5ab 100644 --- a/components/directives.html +++ b/components/directives.html @@ -12,16 +12,16 @@ - + -
Skip to content

Released under the MulanPSL2 License.

- + \ No newline at end of file diff --git a/components/image.html b/components/image.html index a820fba9..51b14d1b 100644 --- a/components/image.html +++ b/components/image.html @@ -19,7 +19,7 @@
Skip to content

Released under the MulanPSL2 License.

- + \ No newline at end of file diff --git a/components/input.html b/components/input.html index 439078ca..c7882fb3 100644 --- a/components/input.html +++ b/components/input.html @@ -19,7 +19,7 @@
Skip to content

Released under the MulanPSL2 License.

- + \ No newline at end of file diff --git a/components/message.html b/components/message.html index 13c14195..17a552d2 100644 --- a/components/message.html +++ b/components/message.html @@ -19,7 +19,7 @@
Skip to content

Released under the MulanPSL2 License.

- + \ No newline at end of file diff --git a/components/qrcode.html b/components/qrcode.html index 2ffb07ed..d0c0560a 100644 --- a/components/qrcode.html +++ b/components/qrcode.html @@ -19,7 +19,7 @@
Skip to content

Released under the MulanPSL2 License.

- + \ No newline at end of file diff --git a/components/tooltip.html b/components/tooltip.html index d6f6ba19..065f15e8 100644 --- a/components/tooltip.html +++ b/components/tooltip.html @@ -19,7 +19,7 @@
Skip to content

Released under the MulanPSL2 License.

- + \ No newline at end of file diff --git a/css-util.html b/css-util.html index 33fba3a4..972ae435 100644 --- a/css-util.html +++ b/css-util.html @@ -19,7 +19,7 @@
Skip to content

Released under the MulanPSL2 License.

- + \ No newline at end of file diff --git a/hashmap.json b/hashmap.json index bded8669..3f0a4bd7 100644 --- a/hashmap.json +++ b/hashmap.json @@ -1 +1 @@ -{"components_directives.md":"CU02nADO","components_image.md":"M5U9z6dg","components_icon.md":"BmPFGDS2","components_container.md":"DFK0UL_Y","components_message.md":"DugwUyse","components_button.md":"CCEoX63m","components_qrcode.md":"Dvc7pc4P","components_polygon.md":"Dd_pZq4z","css-util.md":"7NqqV1I1","components_input.md":"CrCUYUDz","index.md":"CPTGM_Q4","reset.md":"DrQySwz5","usage.md":"E2hxx1we","components_tooltip.md":"BjbDtZPD","components_card.md":"Dxbu6iR_"} +{"components_polygon.md":"Dd_pZq4z","components_button.md":"CCEoX63m","components_card.md":"Dxbu6iR_","components_input.md":"CrCUYUDz","reset.md":"DrQySwz5","components_icon.md":"BmPFGDS2","components_message.md":"DugwUyse","components_container.md":"DFK0UL_Y","components_tooltip.md":"BjbDtZPD","components_qrcode.md":"Dvc7pc4P","components_image.md":"M5U9z6dg","index.md":"CPTGM_Q4","css-util.md":"7NqqV1I1","components_directives.md":"BeK8bMCp","usage.md":"E2hxx1we"} diff --git a/index.html b/index.html index 6a818d1e..77d14ee9 100644 --- a/index.html +++ b/index.html @@ -19,7 +19,7 @@
Skip to content

NeatUi

Vue3 的 UI 组件库

轻量、样式可控、TypeScript

Released under the MulanPSL2 License.

- + \ No newline at end of file diff --git a/reset.html b/reset.html index 40bc0303..dd9762f6 100644 --- a/reset.html +++ b/reset.html @@ -67,7 +67,7 @@ line-height: 1.4; color: #333; } - + \ No newline at end of file diff --git a/usage.html b/usage.html index a1de9354..85f1b925 100644 --- a/usage.html +++ b/usage.html @@ -53,7 +53,7 @@ }

通过上面就能修改,当然也能在侧边栏的样式的地方,手动覆盖变量也能实现

修改组件样式

组件所有的样式都基本只有一层,所以如果要修改样式,在需要套一个层级就能修改

比如想修改 Button 样式, 只需要给根节点添加一个样式,例如: #app;然后就能修改样式,如下:

css
#app .nt-button {
   background-color: red;
 }

浏览器兼容性

所有的组件尽量保证 ios 能够兼容到 11

- + \ No newline at end of file