From a426780c660ac3a7b490e219e827fc069612505e Mon Sep 17 00:00:00 2001 From: DvShu Date: Wed, 26 Jun 2024 04:27:57 +0000 Subject: [PATCH] deploy: 7f35732d23ae4bed7899e7c57d6f4c15bee1a550 --- 404.html | 2 +- ....md.__XnMcLP.js => components_directives.md.-OUstw5I.js} | 2 +- ...LP.lean.js => components_directives.md.-OUstw5I.lean.js} | 2 +- components/button.html | 2 +- components/card.html | 2 +- components/checkbox.html | 2 +- components/collapse.html | 2 +- components/container.html | 2 +- components/descriptionpanel.html | 2 +- components/directives.html | 6 +++--- components/form.html | 2 +- components/icon.html | 2 +- components/image.html | 2 +- components/input.html | 2 +- components/loadingbar.html | 2 +- components/message.html | 2 +- components/polygon.html | 2 +- components/progress.html | 2 +- components/qrcode.html | 2 +- components/radio.html | 2 +- components/shadow.html | 2 +- components/switch.html | 2 +- components/table.html | 2 +- components/tooltip.html | 2 +- css-util.html | 2 +- hashmap.json | 2 +- index.html | 2 +- reset.html | 2 +- usage.html | 2 +- 29 files changed, 31 insertions(+), 31 deletions(-) rename assets/{components_directives.md.__XnMcLP.js => components_directives.md.-OUstw5I.js} (91%) rename assets/{components_directives.md.__XnMcLP.lean.js => components_directives.md.-OUstw5I.lean.js} (71%) diff --git a/404.html b/404.html index 4f76e818..c344b254 100644 --- a/404.html +++ b/404.html @@ -16,7 +16,7 @@
- + \ No newline at end of file diff --git a/assets/components_directives.md.__XnMcLP.js b/assets/components_directives.md.-OUstw5I.js similarity index 91% rename from assets/components_directives.md.__XnMcLP.js rename to assets/components_directives.md.-OUstw5I.js index 4a2785d9..3dd44b2b 100644 --- a/assets/components_directives.md.__XnMcLP.js +++ b/assets/components_directives.md.-OUstw5I.js @@ -1 +1 @@ -import{_ as s,c as i,o as a,ab as e}from"./chunks/framework.C7U4UM-I.js";const u=JSON.parse('{"title":"Directives 指令","description":"","frontmatter":{},"headers":[],"relativePath":"components/directives.md","filePath":"components/directives.md","lastUpdated":1713346936000}'),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,k,o){return a(),i("div",null,l)}const v=s(t,[["render",p]]);export{u as __pageData,v as default}; +import{_ as s,c as i,o as a,ab as e}from"./chunks/framework.C7U4UM-I.js";const u=JSON.parse('{"title":"Directives 指令","description":"","frontmatter":{},"headers":[],"relativePath":"components/directives.md","filePath":"components/directives.md","lastUpdated":1713346936000}'),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.__XnMcLP.lean.js b/assets/components_directives.md.-OUstw5I.lean.js similarity index 71% rename from assets/components_directives.md.__XnMcLP.lean.js rename to assets/components_directives.md.-OUstw5I.lean.js index be1a5fac..6b36c5a2 100644 --- a/assets/components_directives.md.__XnMcLP.lean.js +++ b/assets/components_directives.md.-OUstw5I.lean.js @@ -1 +1 @@ -import{_ as s,c as i,o as a,ab as e}from"./chunks/framework.C7U4UM-I.js";const u=JSON.parse('{"title":"Directives 指令","description":"","frontmatter":{},"headers":[],"relativePath":"components/directives.md","filePath":"components/directives.md","lastUpdated":1713346936000}'),t={name:"components/directives.md"},n=e("",5),l=[n];function p(d,h,r,c,k,o){return a(),i("div",null,l)}const v=s(t,[["render",p]]);export{u as __pageData,v as default}; +import{_ as s,c as i,o as a,ab as e}from"./chunks/framework.C7U4UM-I.js";const u=JSON.parse('{"title":"Directives 指令","description":"","frontmatter":{},"headers":[],"relativePath":"components/directives.md","filePath":"components/directives.md","lastUpdated":1713346936000}'),t={name:"components/directives.md"},n=e("",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/components/button.html b/components/button.html index 4dca4580..7c93fa42 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 c79f30aa..b92d7446 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/checkbox.html b/components/checkbox.html index f8be75f9..47766eb2 100644 --- a/components/checkbox.html +++ b/components/checkbox.html @@ -19,7 +19,7 @@
Skip to content

Released under the MulanPSL2 License.

- + \ No newline at end of file diff --git a/components/collapse.html b/components/collapse.html index f69b876d..3672ca75 100644 --- a/components/collapse.html +++ b/components/collapse.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 edc4bcda..b606101d 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/descriptionpanel.html b/components/descriptionpanel.html index 3d8a8895..392e7306 100644 --- a/components/descriptionpanel.html +++ b/components/descriptionpanel.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 803df673..c7dd6d35 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 692ac8ca..279a68b0 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 77f87384..5ac74540 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/loadingbar.html b/components/loadingbar.html index f3ead948..3b51c202 100644 --- a/components/loadingbar.html +++ b/components/loadingbar.html @@ -19,7 +19,7 @@
- + \ No newline at end of file diff --git a/components/message.html b/components/message.html index 416ad8b5..25d03e6a 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/polygon.html b/components/polygon.html index 68022ed1..2849e3d6 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/progress.html b/components/progress.html index 3ec27803..aaadf3ad 100644 --- a/components/progress.html +++ b/components/progress.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 c092366a..b136bbab 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/radio.html b/components/radio.html index 381af158..71ca966d 100644 --- a/components/radio.html +++ b/components/radio.html @@ -19,7 +19,7 @@
Skip to content

Released under the MulanPSL2 License.

- + \ No newline at end of file diff --git a/components/shadow.html b/components/shadow.html index fce6b351..9f6036e0 100644 --- a/components/shadow.html +++ b/components/shadow.html @@ -23,7 +23,7 @@ Hello World!!! </div> </nt-shadow>

API

Shadow Props

参数说明类型默认值
shadow-class传递给 shadow 主体的样式,而不是顶层样式string-
transparentshadow 的背景是否是透明booleanfalse

Shadow Events

事件说明
shadow-click点击 shadow 触发
- + \ No newline at end of file diff --git a/components/switch.html b/components/switch.html index e437daec..1e8686e1 100644 --- a/components/switch.html +++ b/components/switch.html @@ -19,7 +19,7 @@
Skip to content

Released under the MulanPSL2 License.

- + \ No newline at end of file diff --git a/components/table.html b/components/table.html index f880225e..76f315ad 100644 --- a/components/table.html +++ b/components/table.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 512b1690..a5efc241 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 4258ee49..0ef0e110 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 f01daecc..2472d747 100644 --- a/hashmap.json +++ b/hashmap.json @@ -1 +1 @@ -{"components_directives.md":"__XnMcLP","components_radio.md":"C4sThkUP","components_card.md":"Cgel1r32","components_polygon.md":"D5-9yTM1","index.md":"C05ljYNd","reset.md":"Dnj3_xWx","components_message.md":"1Trr0cbl","usage.md":"Cug2Ogk4","components_container.md":"D7SLhhA2","components_collapse.md":"CpuxJvYo","components_table.md":"BG07or0O","components_checkbox.md":"BFfgfae1","css-util.md":"CJ2HzhPC","components_shadow.md":"B7WvgiVQ","components_button.md":"Aljphioz","components_qrcode.md":"soKueIMF","components_icon.md":"C7NN4rZ6","components_input.md":"BnnXG-JT","components_progress.md":"CsEn_otC","components_loadingbar.md":"BO2j4a--","components_image.md":"cxRDRMPp","components_tooltip.md":"BC2asy7B","components_switch.md":"C0gIhBmv","components_descriptionpanel.md":"B_KFwhul","components_form.md":"i4Wbb2QN"} +{"reset.md":"Dnj3_xWx","css-util.md":"CJ2HzhPC","components_descriptionpanel.md":"B_KFwhul","components_directives.md":"-OUstw5I","components_progress.md":"CsEn_otC","components_loadingbar.md":"BO2j4a--","components_image.md":"cxRDRMPp","components_button.md":"Aljphioz","components_radio.md":"C4sThkUP","components_card.md":"Cgel1r32","index.md":"C05ljYNd","usage.md":"Cug2Ogk4","components_container.md":"D7SLhhA2","components_input.md":"BnnXG-JT","components_checkbox.md":"BFfgfae1","components_switch.md":"C0gIhBmv","components_tooltip.md":"BC2asy7B","components_polygon.md":"D5-9yTM1","components_shadow.md":"B7WvgiVQ","components_form.md":"i4Wbb2QN","components_icon.md":"C7NN4rZ6","components_qrcode.md":"soKueIMF","components_collapse.md":"CpuxJvYo","components_message.md":"1Trr0cbl","components_table.md":"BG07or0O"} diff --git a/index.html b/index.html index 94e7cd6c..eba8ecbd 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 bd065a14..f58dc91e 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 bfa23e0c..b3883294 100644 --- a/usage.html +++ b/usage.html @@ -57,7 +57,7 @@ }

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

修改组件样式

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

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

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

浏览器兼容性

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

- + \ No newline at end of file