nubomed-ui 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- package/.env.bi +13 -0
- package/.env.terminal +13 -0
- package/.vscode/extensions.json +3 -0
- package/README.md +17 -0
- package/index.html +13 -0
- package/nubomed-ui/nubomed-ui.es.js +2005 -0
- package/nubomed-ui/nubomed-ui.umd.js +1 -0
- package/nubomed-ui/style.css +1 -0
- package/package.json +19 -7
- package/src/App.vue +31 -0
- package/src/bi-demos/Header.vue +29 -0
- package/src/bi-demos/Table.vue +69 -0
- package/src/bi-demos/index.vue +132 -0
- package/src/bi-packages/components/Box/images/corner-error.png +0 -0
- package/src/bi-packages/components/Box/images/corner-warning.png +0 -0
- package/src/bi-packages/components/Box/images/corner.png +0 -0
- package/src/bi-packages/components/Box/index.scss +86 -0
- package/src/bi-packages/components/Box/index.vue +53 -0
- package/src/bi-packages/components/Carousel/CarouselItem.vue +0 -0
- package/src/bi-packages/components/Carousel/index.vue +0 -0
- package/src/bi-packages/components/Header/images/left-bg.png +0 -0
- package/src/bi-packages/components/Header/images/logo.png +0 -0
- package/src/bi-packages/components/Header/images/right-bg.png +0 -0
- package/src/bi-packages/components/Header/index.scss +50 -0
- package/src/bi-packages/components/Header/index.vue +54 -0
- package/src/bi-packages/components/Table/TableColgroup.vue +43 -0
- package/src/bi-packages/components/Table/index copy.vue +107 -0
- package/src/bi-packages/components/Table/index.scss +118 -0
- package/src/bi-packages/components/Table/index.vue +108 -0
- package/src/bi-packages/components/TableColumn/index.scss +7 -0
- package/src/bi-packages/components/TableColumn/index.vue +60 -0
- package/src/bi-packages/fonts/OPPOSans-B.ttf +0 -0
- package/src/bi-packages/fonts/OPPOSans-M.ttf +0 -0
- package/src/bi-packages/fonts/font.scss +11 -0
- package/src/bi-packages/iconfont-svg/demo.css +539 -0
- package/src/bi-packages/iconfont-svg/demo_index.html +4811 -0
- package/src/bi-packages/iconfont-svg/iconfont.css +819 -0
- package/src/bi-packages/iconfont-svg/iconfont.js +1 -0
- package/src/bi-packages/iconfont-svg/iconfont.json +1416 -0
- package/src/bi-packages/iconfont-svg/iconfont.ttf +0 -0
- package/src/bi-packages/iconfont-svg/iconfont.woff +0 -0
- package/src/bi-packages/iconfont-svg/iconfont.woff2 +0 -0
- package/src/bi-packages/index.js +34 -0
- package/src/bi-packages/styles/mixin.scss +12 -0
- package/src/bi-packages/styles/var.scss +11 -0
- package/src/demos/ActionBar.vue +59 -0
- package/src/demos/Badge.vue +28 -0
- package/src/demos/Button copy.vue +302 -0
- package/src/demos/Button.vue +116 -0
- package/src/demos/ButtonGroup.vue +40 -0
- package/src/demos/Check.vue +29 -0
- package/src/demos/Dialog.vue +255 -0
- package/src/demos/Empty.vue +38 -0
- package/src/demos/FooterMenu.vue +49 -0
- package/src/demos/Header.vue +71 -0
- package/src/demos/Icons.vue +314 -0
- package/src/demos/Input.vue +87 -0
- package/src/demos/InputKeyboard.vue +30 -0
- package/src/demos/InputNumber.vue +34 -0
- package/src/demos/LeftMenu.vue +128 -0
- package/src/demos/Menus.vue +106 -0
- package/src/demos/OpenCabinetBall.vue +37 -0
- package/src/demos/Statusbar.vue +146 -0
- package/src/demos/Steps.vue +45 -0
- package/src/demos/Tost.vue +35 -0
- package/src/demos/button/button.md +19 -0
- package/src/demos/data/terList.json +145 -0
- package/src/demos/images/cabinets/H3000-D.png +0 -0
- package/src/demos/images/cabinets/H3000-R.png +0 -0
- package/src/demos/images/cabinets/H3000-Rh.png +0 -0
- package/src/demos/images/cabinets/H3000-Rh2.png +0 -0
- package/src/demos/images/cabinets/H3010-R.png +0 -0
- package/src/demos/index.vue +348 -0
- package/src/docs/icons/Icon.vue +72 -0
- package/src/docs/icons/icon.md +21 -0
- package/src/docs/index.html +15 -0
- package/src/docs/index.vue +301 -0
- package/src/main.js +23 -0
- package/src/packages/components/ActionBar/images/error.png +0 -0
- package/src/packages/components/ActionBar/images/loading.gif +0 -0
- package/src/packages/components/ActionBar/images/success.png +0 -0
- package/src/packages/components/ActionBar/images/warning.png +0 -0
- package/src/packages/components/ActionBar/images/warning_yellow.png +0 -0
- package/src/packages/components/ActionBar/index.scss +81 -0
- package/src/packages/components/ActionBar/index.vue +100 -0
- package/src/packages/components/Badge/index.scss +50 -0
- package/src/packages/components/Badge/index.vue +75 -0
- package/src/packages/components/Button/index.scss +241 -0
- package/src/packages/components/Button/index.vue +111 -0
- package/src/packages/components/ButtonGroup/index.scss +54 -0
- package/src/packages/components/ButtonGroup/index.vue +75 -0
- package/src/packages/components/Check/Cate.vue +138 -0
- package/src/packages/components/Check/index.scss +47 -0
- package/src/packages/components/Check/index.vue +105 -0
- package/src/packages/components/Dialog/images/error.png +0 -0
- package/src/packages/components/Dialog/images/success.png +0 -0
- package/src/packages/components/Dialog/images/warning-red.png +0 -0
- package/src/packages/components/Dialog/images/warning-yellow.png +0 -0
- package/src/packages/components/Dialog/index.scss +154 -0
- package/src/packages/components/Dialog/index.vue +305 -0
- package/src/packages/components/Empty/images/empty-abnormal.png +0 -0
- package/src/packages/components/Empty/images/empty-data.png +0 -0
- package/src/packages/components/Empty/images/empty-search.png +0 -0
- package/src/packages/components/Empty/index.vue +68 -0
- package/src/packages/components/Form/FormItem.vue +73 -0
- package/src/packages/components/Form/index.vue +76 -0
- package/src/packages/components/Icon/index.vue +30 -0
- package/src/packages/components/Input/index.scss +184 -0
- package/src/packages/components/Input/index.vue +189 -0
- package/src/packages/components/InputKeyboard/index.scss +63 -0
- package/src/packages/components/InputKeyboard/index.vue +117 -0
- package/src/packages/components/InputNumber/index.scss +103 -0
- package/src/packages/components/InputNumber/index.vue +160 -0
- package/src/packages/components/Menu/index.scss +559 -0
- package/src/packages/components/Menu/index.vue +211 -0
- package/src/packages/components/OpenCabinetBall/CabinetStatus.vue +94 -0
- package/src/packages/components/OpenCabinetBall/index.scss +204 -0
- package/src/packages/components/OpenCabinetBall/index.vue +113 -0
- package/src/packages/components/Statusbar/CabinetList.vue +125 -0
- package/src/packages/components/Statusbar/CabinetListStatus.vue +75 -0
- package/src/packages/components/Statusbar/CabinetListTempHum.vue +108 -0
- package/src/packages/components/Statusbar/index.scss +205 -0
- package/src/packages/components/Statusbar/index.vue +83 -0
- package/src/packages/components/Steps/index.scss +104 -0
- package/src/packages/components/Steps/index.vue +66 -0
- package/src/packages/components/SvgIcon/index.vue +41 -0
- package/src/packages/components/Toast/index.vue +72 -0
- package/src/packages/fonts/OPPOSans-B.ttf +0 -0
- package/src/packages/fonts/OPPOSans-M.ttf +0 -0
- package/src/packages/fonts/font.scss +11 -0
- package/src/packages/iconfont-svg/demo.css +539 -0
- package/src/packages/iconfont-svg/demo_index.html +4811 -0
- package/src/packages/iconfont-svg/iconfont.css +819 -0
- package/src/packages/iconfont-svg/iconfont.js +1 -0
- package/src/packages/iconfont-svg/iconfont.json +1416 -0
- package/src/packages/iconfont-svg/iconfont.ttf +0 -0
- package/src/packages/iconfont-svg/iconfont.woff +0 -0
- package/src/packages/iconfont-svg/iconfont.woff2 +0 -0
- package/src/packages/index.js +64 -0
- package/src/packages/styles/var.scss +24 -0
- package/src/utils/create.js +48 -0
- package/src/utils/index.js +13 -0
- package/src/utils/validate.js +3 -0
- package/vite.config.js +47 -0
- package/nubomed-ui.es.js +0 -152
- package/nubomed-ui.umd.js +0 -1
- package/style.css +0 -1
@@ -0,0 +1,314 @@
|
|
1
|
+
<template>
|
2
|
+
<div>
|
3
|
+
<div class="demo-box">
|
4
|
+
<div class="demo-box-title">
|
5
|
+
<span class="demo-box-title-name">图标 - 常用</span>
|
6
|
+
</div>
|
7
|
+
<div class="demo-box-content">
|
8
|
+
<ul>
|
9
|
+
<li><nb-icon icon="connect" /><span>connect</span></li>
|
10
|
+
<li><nb-icon icon="connect-error" /><span>connect-error</span></li>
|
11
|
+
<li><nb-icon icon="wifi-online" /><span>wifi-online</span></li>
|
12
|
+
<li><nb-icon icon="wifi-offline" /><span>wifi-offline</span></li>
|
13
|
+
<li><nb-icon icon="network-4G" /><span>network-4G</span></li>
|
14
|
+
<li><nb-icon icon="network-5G" /><span>network-5G</span></li>
|
15
|
+
<li><nb-icon icon="network-null" /><span>network-null</span></li>
|
16
|
+
</ul>
|
17
|
+
<ul>
|
18
|
+
<li><nb-icon icon="back" /><span>back</span></li>
|
19
|
+
<li><nb-icon icon="logout" /><span>logout</span></li>
|
20
|
+
<li><nb-icon icon="go-filled" /><span>go-filled</span></li>
|
21
|
+
<li><nb-icon icon="loading" /><span>loading</span></li>
|
22
|
+
<li><nb-icon icon="refresh" /><span>refresh</span></li>
|
23
|
+
</ul>
|
24
|
+
<ul>
|
25
|
+
<li><nb-icon icon="door-closed" /><span>door-closed</span></li>
|
26
|
+
<li><nb-icon icon="door-opened" /><span>door-opened</span></li>
|
27
|
+
<li><nb-icon icon="lock" /><span>lock</span></li>
|
28
|
+
<li><nb-icon icon="unlock" /><span>unlock</span></li>
|
29
|
+
<li><nb-icon icon="unlock-filled" /><span>unlock-filled</span></li>
|
30
|
+
<li><nb-icon icon="lock-filled-bottom" /><span>lock-filled-bottom</span></li>
|
31
|
+
</ul>
|
32
|
+
<ul>
|
33
|
+
<li><nb-icon icon="delete" /><span>delete</span></li>
|
34
|
+
<li><nb-icon icon="delete-filled" /><span>delete-filled</span></li>
|
35
|
+
<li><nb-icon icon="nail" /><span>nail</span></li>
|
36
|
+
<li><nb-icon icon="nail-filled" /><span>nail-filled</span></li>
|
37
|
+
<li><nb-icon icon="print" /><span>print</span></li>
|
38
|
+
<li><nb-icon icon="print-filled" /><span>print-filled</span></li>
|
39
|
+
<li><nb-icon icon="copy" /><span>copy</span></li>
|
40
|
+
<li><nb-icon icon="shutdown" /><span>shutdown</span></li>
|
41
|
+
<li><nb-icon icon="recovery" /><span>recovery</span></li>
|
42
|
+
|
43
|
+
<li><nb-icon icon="drug" /><span>drug</span></li>
|
44
|
+
<li><nb-icon icon="syringe" /><span>syringe</span></li>
|
45
|
+
<li><nb-icon icon="single-branch" /><span>single-branch</span></li>
|
46
|
+
|
47
|
+
<li><nb-icon icon="split" /><span>split</span></li>
|
48
|
+
<li><nb-icon icon="note" /><span>note</span></li>
|
49
|
+
<li><nb-icon icon="warning-filled" /><span>warning-filled</span></li>
|
50
|
+
<li><nb-icon icon="voice-no-filled" /><span>voice-no-filled</span></li>
|
51
|
+
<li><nb-icon icon="voice-filled" /><span>voice-filled</span></li>
|
52
|
+
<li><nb-icon icon="relate" /><span>relate</span></li>
|
53
|
+
<li><nb-icon icon="anesthesiologist" /><span>anesthesiologist</span></li>
|
54
|
+
<li><nb-icon icon="stop" /><span>stop</span></li>
|
55
|
+
<li><nb-icon icon="clear-filled" /><span>clear-filled</span></li>
|
56
|
+
<li><nb-icon icon="rfid" /><span>rfid</span></li>
|
57
|
+
<li><nb-icon icon="bell-filled" /><span>bell-filled</span></li>
|
58
|
+
</ul>
|
59
|
+
<ul>
|
60
|
+
<li><nb-icon icon="battery-low" /><span>battery-low</span></li>
|
61
|
+
<li><nb-icon icon="battery-full" /><span>battery-full</span></li>
|
62
|
+
<li><nb-icon icon="battery-null" /><span>battery-null</span></li>
|
63
|
+
<li><nb-icon icon="battery-charging" /><span>battery-charging</span></li>
|
64
|
+
</ul>
|
65
|
+
</div>
|
66
|
+
</div>
|
67
|
+
<div class="demo-box">
|
68
|
+
<div class="demo-box-title">
|
69
|
+
<span class="demo-box-title-name">图标 - 箭头</span>
|
70
|
+
</div>
|
71
|
+
<div class="demo-box-content">
|
72
|
+
<ul>
|
73
|
+
<li><nb-icon icon="arrow-left" /><span>arrow-left</span></li>
|
74
|
+
<li><nb-icon icon="arrow-right" /><span>arrow-right</span></li>
|
75
|
+
<li><nb-icon icon="arrow-down" /><span>arrow-down</span></li>
|
76
|
+
<li><nb-icon icon="arrow-down" /><span>arrow-down</span></li>
|
77
|
+
|
78
|
+
<li><nb-icon icon="caret-up" /><span>caret-up</span></li>
|
79
|
+
<li><nb-icon icon="caret-up-expand" /><span>caret-up-expand</span></li>
|
80
|
+
<li><nb-icon icon="caret-down" /><span>caret-down</span></li>
|
81
|
+
<li><nb-icon icon="caret-down-expand" /><span>caret-down-expand</span></li>
|
82
|
+
<li><nb-icon icon="caret-right" /><span>caret-right</span></li>
|
83
|
+
<li><nb-icon icon="caret-right-expand" /><span>caret-right-expand</span></li>
|
84
|
+
<li><nb-icon icon="caret-left-expand" /><span>caret-left-expand</span></li>
|
85
|
+
|
86
|
+
<li><nb-icon icon="square-left" /><span>square-left</span></li>
|
87
|
+
<li><nb-icon icon="square-down" /><span>square-down</span></li>
|
88
|
+
<li><nb-icon icon="double-arrow-left" /><span>double-arrow-left</span></li>
|
89
|
+
<li><nb-icon icon="double-arrow-right" /><span>double-arrow-right</span></li>
|
90
|
+
|
91
|
+
<li><nb-icon icon="center-alignment" /><span>center-alignment</span></li>
|
92
|
+
<li><nb-icon icon="right-alignment" /><span>right-alignment</span></li>
|
93
|
+
<li><nb-icon icon="left-alignment" /><span>left-alignment</span></li>
|
94
|
+
<li><nb-icon icon="double-caret" /><span>double-caret</span></li>
|
95
|
+
<li><nb-icon icon="sort-down" /><span>sort-down</span></li>
|
96
|
+
<li><nb-icon icon="switch" /><span>switch</span></li>
|
97
|
+
<li><nb-icon icon="switch-square-filled" /><span>switch-square-filled</span></li>
|
98
|
+
</ul>
|
99
|
+
</div>
|
100
|
+
</div>
|
101
|
+
<div class="demo-box">
|
102
|
+
<div class="demo-box-title">
|
103
|
+
<span class="demo-box-title-name">图标 - 温湿度</span>
|
104
|
+
</div>
|
105
|
+
<div class="demo-box-content">
|
106
|
+
<ul>
|
107
|
+
<li><nb-icon icon="humidity" /><span>humidity</span></li>
|
108
|
+
<li><nb-icon icon="humidity-normal" /><span>humidity-normal</span></li>
|
109
|
+
<li><nb-icon icon="humidity-abnormal" /><span>humidity-abnormal</span></li>
|
110
|
+
<li><nb-icon icon="temperature" /><span>temperature</span></li>
|
111
|
+
<li><nb-icon icon="temperature-normal" /><span>temperature-normal</span></li>
|
112
|
+
<li><nb-icon icon="temperature-abnormal" /><span>temperature-abnormal</span></li>
|
113
|
+
</ul>
|
114
|
+
</div>
|
115
|
+
</div>
|
116
|
+
<div class="demo-box">
|
117
|
+
<div class="demo-box-title">
|
118
|
+
<span class="demo-box-title-name">图标 - 表单</span>
|
119
|
+
</div>
|
120
|
+
<div class="demo-box-content">
|
121
|
+
<ul>
|
122
|
+
<li><nb-icon icon="computer" /><span>computer</span></li>
|
123
|
+
<li><nb-icon icon="face" /><span>face</span></li>
|
124
|
+
<li><nb-icon icon="account" /><span>account</span></li>
|
125
|
+
<li><nb-icon icon="password" /><span>password</span></li>
|
126
|
+
<li><nb-icon icon="eye-open" /><span>eye-open</span></li>
|
127
|
+
<li><nb-icon icon="eye-close" /><span>eye-close</span></li>
|
128
|
+
</ul>
|
129
|
+
<ul>
|
130
|
+
<li><nb-icon icon="radio-unselected" /><span>radio-unselected</span></li>
|
131
|
+
<li><nb-icon icon="radio-selected" /><span>radio-selected</span></li>
|
132
|
+
<li><nb-icon icon="checkbox-indeterminate" /><span>checkbox-indeterminate</span></li>
|
133
|
+
<li><nb-icon icon="checkbox-null" /><span>checkbox-null</span></li>
|
134
|
+
<li><nb-icon icon="checkbox-filled" /><span>checkbox-filled</span></li>
|
135
|
+
<li><nb-icon icon="checkbox-checked" /><span>checkbox-checked</span></li>
|
136
|
+
<li><nb-icon icon="calendar" /><span>calendar</span></li>
|
137
|
+
</ul>
|
138
|
+
<ul>
|
139
|
+
<li><nb-icon icon="keyboard" /><span>keyboard</span></li>
|
140
|
+
<li><nb-icon icon="caps" /><span>caps</span></li>
|
141
|
+
<li><nb-icon icon="caps-filled" /><span>caps-filled</span></li>
|
142
|
+
<li><nb-icon icon="import-file-filled" /><span>import-file-filled</span></li>
|
143
|
+
<li><nb-icon icon="export-file-filled" /><span>export-file-filled</span></li>
|
144
|
+
<li><nb-icon icon="import" /><span>import</span></li>
|
145
|
+
<li><nb-icon icon="download" /><span>download</span></li>
|
146
|
+
<li><nb-icon icon="download-filled" /><span>download-filled</span></li>
|
147
|
+
<li><nb-icon icon="check" /><span>check</span></li>
|
148
|
+
<li><nb-icon icon="circle-check-filled" /><span>circle-check-filled</span></li>
|
149
|
+
<li><nb-icon icon="close" /><span>close</span></li>
|
150
|
+
<li><nb-icon icon="circle-close" /><span>circle-close</span></li>
|
151
|
+
<li><nb-icon icon="circle-close-filled" /><span>circle-close-filled</span></li>
|
152
|
+
<li><nb-icon icon="remove-filled" /><span>remove-filled</span></li>
|
153
|
+
<li><nb-icon icon="multiple-choice" /><span>multiple-choice</span></li>
|
154
|
+
<li><nb-icon icon="search" /><span>search</span></li>
|
155
|
+
<li><nb-icon icon="plus" /><span>plus</span></li>
|
156
|
+
<li><nb-icon icon="circle-plus" /><span>circle-plus</span></li>
|
157
|
+
<li><nb-icon icon="circle-plus-filled" /><span>circle-plus-filled</span></li>
|
158
|
+
<li><nb-icon icon="checked-corner-bottom" /><span>checked-corner-bottom</span></li>
|
159
|
+
<li><nb-icon icon="checked-corner-top" /><span>checked-corner-top</span></li>
|
160
|
+
<li><nb-icon icon="minus" /><span>minus</span></li>
|
161
|
+
</ul>
|
162
|
+
</div>
|
163
|
+
</div>
|
164
|
+
<div class="demo-box">
|
165
|
+
<div class="demo-box-title">
|
166
|
+
<span class="demo-box-title-name">图标 - 性别</span>
|
167
|
+
</div>
|
168
|
+
<div class="demo-box-content">
|
169
|
+
<ul>
|
170
|
+
<li><nb-icon icon="female" /><span>female</span></li>
|
171
|
+
<li><nb-icon icon="female-filled" /><span>female-filled</span></li>
|
172
|
+
<li><nb-icon icon="male" /><span>male</span></li>
|
173
|
+
<li><nb-icon icon="male-filled" /><span>male-filled</span></li>
|
174
|
+
<li><nb-icon icon="man" /><span>man</span></li>
|
175
|
+
<li><nb-icon icon="man-filled" /><span>man-filled</span></li>
|
176
|
+
<li><nb-icon icon="women" /><span>women</span></li>
|
177
|
+
<li><nb-icon icon="women-filled" /><span>women-filled</span></li>
|
178
|
+
<li><nb-icon icon="children" /><span>children</span></li>
|
179
|
+
<li><nb-icon icon="children-filled" /><span>children-filled</span></li>
|
180
|
+
<li><nb-icon icon="children-blue" /><span>children-blue</span></li>
|
181
|
+
<li><nb-icon icon="unknown-sex" /><span>unknown-sex</span></li>
|
182
|
+
<li><nb-icon icon="unknown-sex-filled" /><span>unknown-sex-filled</span></li>
|
183
|
+
</ul>
|
184
|
+
</div>
|
185
|
+
</div>
|
186
|
+
<div class="demo-box">
|
187
|
+
<div class="demo-box-title">
|
188
|
+
<span class="demo-box-title-name">图标 - 菜单</span>
|
189
|
+
</div>
|
190
|
+
<div class="demo-box-content">
|
191
|
+
<ul>
|
192
|
+
<li><nb-icon icon="menu-user" /><span>menu-user</span></li>
|
193
|
+
<li><nb-icon icon="menu-card" /><span>menu-card</span></li>
|
194
|
+
<li><nb-icon icon="menu-fingerprint" /><span>menu-fingerprint</span></li>
|
195
|
+
<li><nb-icon icon="menu-update" /><span>menu-update</span></li>
|
196
|
+
<li><nb-icon icon="menu-face" /><span>menu-face</span></li>
|
197
|
+
</ul>
|
198
|
+
<ul>
|
199
|
+
<li><nb-icon icon="menu-setting" /><span>menu-setting</span></li>
|
200
|
+
<li><nb-icon icon="menu-calibration" /><span>menu-calibration</span></li>
|
201
|
+
<li><nb-icon icon="menu-control" /><span>menu-control</span></li>
|
202
|
+
<li><nb-icon icon="menu-anti-theft" /><span>menu-anti-theft</span></li>
|
203
|
+
<li><nb-icon icon="menu-uv" /><span>menu-uv</span></li>
|
204
|
+
<li><nb-icon icon="menu-notice-setting" /><span>menu-notice-setting</span></li>
|
205
|
+
<li><nb-icon icon="menu-about" /><span>menu-about</span></li>
|
206
|
+
</ul>
|
207
|
+
<ul>
|
208
|
+
<li><nb-icon icon="menu-notice" /><span>menu-notice</span></li>
|
209
|
+
<li><nb-icon icon="menu-dull-warning" /><span>menu-dull-warning</span></li>
|
210
|
+
<li><nb-icon icon="menu-expiry-warning" /><span>menu-expiry-warning</span></li>
|
211
|
+
</ul>
|
212
|
+
<ul>
|
213
|
+
<li><nb-icon icon="menu-stock" /><span>menu-stock</span></li>
|
214
|
+
<li><nb-icon icon="menu-in-store" /><span>menu-in-store</span></li>
|
215
|
+
<li><nb-icon icon="menu-out-stock" /><span>menu-out-stock</span></li>
|
216
|
+
<li><nb-icon icon="menu-take-back" /><span>menu-take-back</span></li>
|
217
|
+
<li><nb-icon icon="menu-back" /><span>menu-back</span></li>
|
218
|
+
<li><nb-icon icon="menu-take" /><span>menu-take</span></li>
|
219
|
+
</ul>
|
220
|
+
<ul>
|
221
|
+
<li><nb-icon icon="menu-temp-hum" /><span>menu-temp-hum</span></li>
|
222
|
+
<li><nb-icon icon="menu-system-log" /><span>menu-system-log</span></li>
|
223
|
+
<li><nb-icon icon="menu-user-log" /><span>menu-user-log</span></li>
|
224
|
+
<li><nb-icon icon="menu-network-log" /><span>menu-network-log</span></li>
|
225
|
+
<li><nb-icon icon="menu-video" /><span>menu-video</span></li>
|
226
|
+
</ul>
|
227
|
+
<ul>
|
228
|
+
<li><nb-icon icon="menu-billed" /><span>menu-billed</span></li>
|
229
|
+
<li><nb-icon icon="menu-revoke-billing" /><span>menu-revoke-billing</span></li>
|
230
|
+
<li><nb-icon icon="menu-consume" /><span>menu-consume</span></li>
|
231
|
+
<li><nb-icon icon="menu-revoke-consume" /><span>menu-revoke-consume</span></li>
|
232
|
+
<li><nb-icon icon="menu-book" /><span>menu-book</span></li>
|
233
|
+
|
234
|
+
<li><nb-icon icon="menu-consumable" /><span>menu-consumable</span></li>
|
235
|
+
<li><nb-icon icon="menu-overdue" /><span>menu-overdue</span></li>
|
236
|
+
<li><nb-icon icon="menu-return-loss" /><span>menu-return-loss</span></li>
|
237
|
+
|
238
|
+
<li><nb-icon icon="menu-trace-operator" /><span>menu-trace-operator</span></li>
|
239
|
+
<li><nb-icon icon="menu-trace-goods" /><span>menu-trace-goods</span></li>
|
240
|
+
<li><nb-icon icon="menu-trace-stock" /><span>menu-trace-stock</span></li>
|
241
|
+
|
242
|
+
<li><nb-icon icon="menu-recovery" /><span>menu-recovery</span></li>
|
243
|
+
<li><nb-icon icon="menu-urgent-take" /><span>menu-urgent-take</span></li>
|
244
|
+
<li><nb-icon icon="menu-empty-bottle-recycling" /><span>menu-empty-bottle-recycling</span></li>
|
245
|
+
<li><nb-icon icon="menu-empty-bottle-take" /><span>menu-empty-bottle-take</span></li>
|
246
|
+
|
247
|
+
<li><nb-icon icon="menu-inventory" /><span>menu-inventory</span></li>
|
248
|
+
<li><nb-icon icon="menu-inventory-filled" /><span>menu-inventory-filled</span></li>
|
249
|
+
<li><nb-icon icon="menu-checked-filled" /><span>menu-checked-filled</span></li>
|
250
|
+
<li><nb-icon icon="menu-checked" /><span>menu-checked</span></li>
|
251
|
+
|
252
|
+
<li><nb-icon icon="menu-take-no-back" /><span>menu-take-no-back</span></li>
|
253
|
+
<li><nb-icon icon="menu-apply" /><span>menu-apply</span></li>
|
254
|
+
<li><nb-icon icon="menu-scrap" /><span>menu-scrap</span></li>
|
255
|
+
<li><nb-icon icon="menu-take-plus" /><span>menu-take-plus</span></li>
|
256
|
+
<li><nb-icon icon="menu-unknown" /><span>menu-unknown</span></li>
|
257
|
+
<li><nb-icon icon="menu-rescue" /><span>menu-rescue</span></li>
|
258
|
+
<li><nb-icon icon="menu-exchange" /><span>menu-exchange</span></li>
|
259
|
+
<li><nb-icon icon="menu-list-abnormal" /><span>menu-list-abnormal</span></li>
|
260
|
+
<li><nb-icon icon="menu-list-query" /><span>menu-list-query</span></li>
|
261
|
+
<li><nb-icon icon="menu-storeroom-receive" /><span>menu-storeroom-receive</span></li>
|
262
|
+
<li><nb-icon icon="menu-storeroom-check" /><span>menu-storeroom-check</span></li>
|
263
|
+
<li><nb-icon icon="menu-storeroom-grant" /><span>menu-storeroom-grant</span></li>
|
264
|
+
</ul>
|
265
|
+
<ul>
|
266
|
+
<li><nb-icon icon="menu-info" /><span>menu-info</span></li>
|
267
|
+
<li><nb-icon icon="menu-help" /><span>menu-help</span></li>
|
268
|
+
<li><nb-icon icon="menu-phone" /><span>menu-phone</span></li>
|
269
|
+
</ul>
|
270
|
+
</div>
|
271
|
+
</div>
|
272
|
+
</div>
|
273
|
+
</template>
|
274
|
+
|
275
|
+
<script setup>
|
276
|
+
</script>
|
277
|
+
|
278
|
+
<style lang="scss" scoped>
|
279
|
+
.demo-box-content {
|
280
|
+
ul + ul {
|
281
|
+
margin-top: 20px;
|
282
|
+
}
|
283
|
+
ul {
|
284
|
+
display: flex;
|
285
|
+
align-items: center;
|
286
|
+
flex-wrap: wrap;
|
287
|
+
border-top: 1px solid #dcdfe6;
|
288
|
+
border-left: 1px solid #dcdfe6;
|
289
|
+
li {
|
290
|
+
width: 150px;
|
291
|
+
height: 120px;
|
292
|
+
display: flex;
|
293
|
+
flex-direction: column;
|
294
|
+
justify-content: center;
|
295
|
+
border-right: 1px solid #dcdfe6;
|
296
|
+
border-bottom: 1px solid #dcdfe6;
|
297
|
+
align-items: center;
|
298
|
+
.nb-icon {
|
299
|
+
width: 40px;
|
300
|
+
height: 40px;
|
301
|
+
color: #a21313;
|
302
|
+
}
|
303
|
+
span {
|
304
|
+
font-size: 20px;
|
305
|
+
text-align: center;
|
306
|
+
margin-top: 5px;
|
307
|
+
word-break: keep-all;
|
308
|
+
line-height: 1;
|
309
|
+
height: 40px;
|
310
|
+
}
|
311
|
+
}
|
312
|
+
}
|
313
|
+
}
|
314
|
+
</style>
|
@@ -0,0 +1,87 @@
|
|
1
|
+
<!--
|
2
|
+
* @Author: chenghuan.dong
|
3
|
+
* @Date: 2023-06-28 14:08:20
|
4
|
+
* @LastEditors: chenghuan.dong
|
5
|
+
* @LastEditTime: 2023-06-29 19:18:06
|
6
|
+
* @Description: 文本输入框
|
7
|
+
-->
|
8
|
+
<template>
|
9
|
+
<div>
|
10
|
+
<div class="demo-box">
|
11
|
+
<div class="demo-box-title">
|
12
|
+
<span class="demo-box-title-name">文本输入框:大尺寸(高度80px,宽度480px)</span>
|
13
|
+
<span class="demo-box-title-desc">一般用在弹窗、个人中心、登录页</span>
|
14
|
+
</div>
|
15
|
+
<div class="demo-box-content">
|
16
|
+
<nb-input v-model="largeInputValue" size="large" placeholder="请输入" />
|
17
|
+
<nb-input v-model="largeInputValue" size="large" prefixIcon="account" placeholder="请输入账号" />
|
18
|
+
<nb-input
|
19
|
+
v-model="largeInputValue"
|
20
|
+
size="large"
|
21
|
+
prefixIcon="password"
|
22
|
+
placeholder="请输入密码"
|
23
|
+
type="password"
|
24
|
+
show-password
|
25
|
+
/>
|
26
|
+
<nb-input v-model="largeInputValue" size="large" prefixIcon="search" placeholder="请输入" />
|
27
|
+
<nb-input v-model="largeInputValue" size="large" placeholder="请输入" :clearable="false">
|
28
|
+
<template #prefix><svg-icon icon="refresh" /></template>
|
29
|
+
</nb-input>
|
30
|
+
<nb-input v-model="largeInputValue" size="large" placeholder="请输入" disabled />
|
31
|
+
</div>
|
32
|
+
<div class="demo-box-content">
|
33
|
+
<div style="background-color: #181D41">
|
34
|
+
<nb-input
|
35
|
+
v-model="largeInputValue"
|
36
|
+
size="large"
|
37
|
+
prefixIcon="account"
|
38
|
+
placeholder="请输入账号"
|
39
|
+
effect="dark"
|
40
|
+
/>
|
41
|
+
<nb-input
|
42
|
+
v-model="largeInputValue"
|
43
|
+
size="large"
|
44
|
+
prefixIcon="password"
|
45
|
+
placeholder="请输入密码"
|
46
|
+
type="password"
|
47
|
+
show-password
|
48
|
+
effect="dark"
|
49
|
+
/>
|
50
|
+
</div>
|
51
|
+
</div>
|
52
|
+
</div>
|
53
|
+
<div class="demo-box">
|
54
|
+
<div class="demo-box-title">
|
55
|
+
<span class="demo-box-title-name">文本输入框:中尺寸(高度64px,宽度400px)</span>
|
56
|
+
<span class="demo-box-title-desc">一般用在列表筛选等</span>
|
57
|
+
</div>
|
58
|
+
<div class="demo-box-content">
|
59
|
+
<nb-input v-model="largeInputValue" size="large" placeholder="请输入" />
|
60
|
+
<nb-input v-model="largeInputValue" size="large" prefixIcon="search" placeholder="请输入" />
|
61
|
+
</div>
|
62
|
+
</div>
|
63
|
+
<div class="demo-box">
|
64
|
+
<div class="demo-box-title">
|
65
|
+
<span class="demo-box-title-name">文本输入框:小尺寸(高度56px,宽度240px)</span>
|
66
|
+
<span class="demo-box-title-desc">一般用在正文、列表内</span>
|
67
|
+
</div>
|
68
|
+
<div class="demo-box-content">
|
69
|
+
<nb-input v-model="largeInputValue" size="small" placeholder="请输入" />
|
70
|
+
<nb-input v-model="largeInputValue" size="small" prefixIcon="search" placeholder="请输入" />
|
71
|
+
</div>
|
72
|
+
</div>
|
73
|
+
</div>
|
74
|
+
</template>
|
75
|
+
|
76
|
+
<script setup>
|
77
|
+
import { ref } from 'vue'
|
78
|
+
const largeInputValue = ref()
|
79
|
+
</script>
|
80
|
+
|
81
|
+
<style lang="scss" scoped>
|
82
|
+
.demo-box-content {
|
83
|
+
.nb-input {
|
84
|
+
margin: 20px 10px;
|
85
|
+
}
|
86
|
+
}
|
87
|
+
</style>
|
@@ -0,0 +1,30 @@
|
|
1
|
+
<!--
|
2
|
+
* @Author: chenghuan.dong
|
3
|
+
* @Date: 2023-07-25 15:11:57
|
4
|
+
* @LastEditors: chenghuan.dong
|
5
|
+
* @LastEditTime: 2023-07-25 17:52:27
|
6
|
+
* @Description:
|
7
|
+
-->
|
8
|
+
<template>
|
9
|
+
<div>
|
10
|
+
<div class="demo-box">
|
11
|
+
<div class="demo-box-title">
|
12
|
+
<span class="demo-box-title-name">输入框键盘(宽度310px)</span>
|
13
|
+
<span class="demo-box-title-desc">支持数字和字母切换</span>
|
14
|
+
</div>
|
15
|
+
<div class="demo-box-content">
|
16
|
+
<nb-input-keyboard @search="handleSearch" />
|
17
|
+
</div>
|
18
|
+
</div>
|
19
|
+
</div>
|
20
|
+
</template>
|
21
|
+
|
22
|
+
<script setup>
|
23
|
+
|
24
|
+
const handleSearch = (val) => {
|
25
|
+
console.log('输入值', val)
|
26
|
+
}
|
27
|
+
</script>
|
28
|
+
|
29
|
+
<style lang="scss" scoped>
|
30
|
+
</style>
|
@@ -0,0 +1,34 @@
|
|
1
|
+
<!--
|
2
|
+
* @Author: chenghuan.dong
|
3
|
+
* @Date: 2023-07-25 14:21:33
|
4
|
+
* @LastEditors: chenghuan.dong
|
5
|
+
* @LastEditTime: 2023-07-25 16:42:28
|
6
|
+
* @Description:
|
7
|
+
-->
|
8
|
+
<template>
|
9
|
+
<div>
|
10
|
+
<div class="demo-box">
|
11
|
+
<div class="demo-box-title">
|
12
|
+
<span class="demo-box-title-name">Input Number 数字器(宽度148px,高度48px)</span>
|
13
|
+
</div>
|
14
|
+
<div class="demo-box-content">
|
15
|
+
<nb-input-number v-model="inputValue" />
|
16
|
+
<nb-input-number v-model="inputValue2" min="0" max="3" />
|
17
|
+
<nb-input-number v-model="inputValue2" color="#0066E0" />
|
18
|
+
<nb-input-number v-model="inputValue2" color="#E52D3E" />
|
19
|
+
</div>
|
20
|
+
</div>
|
21
|
+
</div>
|
22
|
+
</template>
|
23
|
+
|
24
|
+
<script setup>
|
25
|
+
import { ref } from 'vue'
|
26
|
+
const inputValue = ref()
|
27
|
+
const inputValue2 = ref(2)
|
28
|
+
</script>
|
29
|
+
|
30
|
+
<style lang="scss" scoped>
|
31
|
+
.demo-box-content {
|
32
|
+
.nb-input-number{margin: 0 30px 30px 0;}
|
33
|
+
}
|
34
|
+
</style>
|
@@ -0,0 +1,128 @@
|
|
1
|
+
<!--
|
2
|
+
* @Author: chenghuan.dong
|
3
|
+
* @Date: 2023-07-04 20:47:56
|
4
|
+
* @LastEditors: chenghuan.dong
|
5
|
+
* @LastEditTime: 2023-07-25 15:26:19
|
6
|
+
* @Description:
|
7
|
+
-->
|
8
|
+
<template>
|
9
|
+
<div>
|
10
|
+
<div class="demo-box">
|
11
|
+
<div class="demo-box-title">
|
12
|
+
<span class="demo-box-title-name">侧边栏(宽度360px)</span>
|
13
|
+
<span class="demo-box-title-desc">支持分组</span>
|
14
|
+
</div>
|
15
|
+
<div class="demo-box-content">
|
16
|
+
<nb-menu position="left" :data="menus" :active="activeMenu" @change="handleChangeMenu" />
|
17
|
+
<nb-menu position="left" :data="menus" :active="activeMenu" @change="handleChangeMenu">
|
18
|
+
<template #header>
|
19
|
+
<div class="user">
|
20
|
+
<div class="user__avatar">A</div>
|
21
|
+
<div class="user__name">管理员</div>
|
22
|
+
</div>
|
23
|
+
</template>
|
24
|
+
</nb-menu>
|
25
|
+
<nb-menu position="left" title="上架单号" :data="orderList" :active="activeOrder" @change="handleChangeOrder" />
|
26
|
+
<nb-menu position="left" :data="checkList" :active="activeCate" @change="handleChangeCate" />
|
27
|
+
</div>
|
28
|
+
</div>
|
29
|
+
</div>
|
30
|
+
</template>
|
31
|
+
|
32
|
+
<script setup>
|
33
|
+
import { ref } from "vue";
|
34
|
+
|
35
|
+
const menus = ref([
|
36
|
+
[
|
37
|
+
{ text: "修改密码", value: '修改密码', icon: "menu-update", showArrow: true },
|
38
|
+
{ text: "工卡绑定", value: '工卡绑定', icon: "menu-card", showArrow: true },
|
39
|
+
{ text: "指纹绑定", value: '指纹绑定', icon: "menu-fingerprint", showArrow: true },
|
40
|
+
{ text: "人脸绑定", value: '人脸绑定', icon: "menu-face", showArrow: true },
|
41
|
+
{ text: "取用未归还记录", value: '取用未归还记录', icon: "menu-take-back", showArrow: true },
|
42
|
+
],
|
43
|
+
[
|
44
|
+
{ text: "温湿度异常", value: '温湿度异常', icon: "menu-temp-hum", badge: 999, showArrow: true },
|
45
|
+
{
|
46
|
+
text: "Abnormal Temperature and Humidity Level", value: 'Abnormal Temperature and Humidity Level',
|
47
|
+
icon: "menu-temp-hum",
|
48
|
+
badge: 999,
|
49
|
+
showArrow: true,
|
50
|
+
},
|
51
|
+
],
|
52
|
+
]);
|
53
|
+
const activeMenu = ref('修改密码')
|
54
|
+
const handleChangeMenu = (item) => {
|
55
|
+
activeMenu.value = item.value
|
56
|
+
}
|
57
|
+
|
58
|
+
// 单据
|
59
|
+
const orderList = ref([])
|
60
|
+
for (let i = 0; i < 5; i++) {
|
61
|
+
orderList.value.push({
|
62
|
+
text: '2023…145' + i, value: '20214522551456' + i, icon: 'menu-take-back', count: 888
|
63
|
+
})
|
64
|
+
}
|
65
|
+
const activeOrder = ref(orderList.value[0].value)
|
66
|
+
const handleChangeOrder = (item) => {
|
67
|
+
activeOrder.value = item.value
|
68
|
+
}
|
69
|
+
|
70
|
+
// 检测分类
|
71
|
+
const checkList = ref([])
|
72
|
+
checkList.value.push({
|
73
|
+
text: '异常入库', value: '异常入库', icon: 'menu-in-store', count: 888, abnormal: true
|
74
|
+
})
|
75
|
+
checkList.value.push({
|
76
|
+
text: 'Abnormal Stock out', value: 'Abnormal Stock out', icon: 'menu-out-stock', count: 888, abnormal: true
|
77
|
+
})
|
78
|
+
checkList.value.push({
|
79
|
+
text: '库位调整', value: '库位调整', icon: 'menu-exchange', count: 5
|
80
|
+
})
|
81
|
+
for (let i = 0; i < 5; i++) {
|
82
|
+
checkList.value.push({
|
83
|
+
text: '2023…145' + i, value: '20214522551456' + i, icon: 'menu-take-back', count: 888
|
84
|
+
})
|
85
|
+
}
|
86
|
+
const activeCate = ref(checkList.value[0].value)
|
87
|
+
const handleChangeCate = (item) => {
|
88
|
+
activeCate.value = item.value
|
89
|
+
}
|
90
|
+
|
91
|
+
</script>
|
92
|
+
|
93
|
+
<style lang="scss" scoped>
|
94
|
+
.demo-box-content {
|
95
|
+
height: 900px;
|
96
|
+
display: flex;
|
97
|
+
|
98
|
+
.nb-menu {
|
99
|
+
margin-right: 30px;
|
100
|
+
}
|
101
|
+
}
|
102
|
+
|
103
|
+
.user {
|
104
|
+
display: flex;
|
105
|
+
flex-direction: column;
|
106
|
+
align-content: center;
|
107
|
+
align-items: center;
|
108
|
+
margin: 16px 0 24px;
|
109
|
+
|
110
|
+
&__avatar {
|
111
|
+
width: 112px;
|
112
|
+
height: 112px;
|
113
|
+
background: #00a572;
|
114
|
+
font-size: 50px;
|
115
|
+
color: #fff;
|
116
|
+
text-align: center;
|
117
|
+
line-height: 112px;
|
118
|
+
border-radius: 50%;
|
119
|
+
margin-top: 40px;
|
120
|
+
}
|
121
|
+
|
122
|
+
&__name {
|
123
|
+
font-size: 28px;
|
124
|
+
line-height: 42px;
|
125
|
+
margin-top: 16px;
|
126
|
+
text-align: center;
|
127
|
+
}
|
128
|
+
}</style>
|