@nutui/nutui 4.0.0-beta.2 → 4.0.0-beta.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (549) hide show
  1. package/README.md +1 -1
  2. package/dist/nutui.es.js +227 -103
  3. package/dist/nutui.umd.js +7 -0
  4. package/dist/packages/_es/ActionSheet.js +4 -14
  5. package/dist/packages/_es/Address.js +7 -9
  6. package/dist/packages/_es/AddressList.js +156 -233
  7. package/dist/packages/_es/Animate.js +2 -7
  8. package/dist/packages/_es/Audio.js +10 -9
  9. package/dist/packages/_es/AudioOperate.js +3 -7
  10. package/dist/packages/_es/Avatar.js +4 -7
  11. package/dist/packages/_es/AvatarGroup.js +3 -7
  12. package/dist/packages/_es/Backtop.js +3 -8
  13. package/dist/packages/_es/Badge.js +2 -7
  14. package/dist/packages/_es/Barrage.js +31 -54
  15. package/dist/packages/_es/Button.js +2 -7
  16. package/dist/packages/_es/Calendar.js +6 -11
  17. package/dist/packages/_es/CalendarItem.js +5 -10
  18. package/dist/packages/_es/Card.js +9 -21
  19. package/dist/packages/_es/Cascader.js +17 -11
  20. package/dist/packages/_es/Category.js +4 -7
  21. package/dist/packages/_es/CategoryPane.js +5 -7
  22. package/dist/packages/_es/Cell.js +5 -9
  23. package/dist/packages/_es/CellGroup.js +2 -7
  24. package/dist/packages/_es/Checkbox.js +2 -7
  25. package/dist/packages/_es/CheckboxGroup.js +2 -7
  26. package/dist/packages/_es/CircleProgress.js +2 -7
  27. package/dist/packages/_es/Col.js +2 -7
  28. package/dist/packages/_es/Collapse.js +9 -14
  29. package/dist/packages/_es/CollapseItem.js +7 -11
  30. package/dist/packages/_es/Comment.js +21 -23
  31. package/dist/packages/_es/ConfigProvider.js +38 -11
  32. package/dist/packages/_es/Countdown.js +10 -7
  33. package/dist/packages/_es/Countup.js +22 -12
  34. package/dist/packages/_es/DatePicker.js +6 -9
  35. package/dist/packages/_es/Dialog.js +23 -30
  36. package/dist/packages/_es/Divider.js +2 -7
  37. package/dist/packages/_es/Drag.js +3 -8
  38. package/dist/packages/_es/Ecard.js +3 -8
  39. package/dist/packages/_es/Elevator.js +3 -8
  40. package/dist/packages/_es/Ellipsis.js +4 -7
  41. package/dist/packages/_es/Empty.js +5 -7
  42. package/dist/packages/_es/FixedNav.js +2 -7
  43. package/dist/packages/_es/Form.js +2 -7
  44. package/dist/packages/_es/FormItem.js +4 -9
  45. package/dist/packages/_es/Grid.js +3 -8
  46. package/dist/packages/_es/GridItem.js +6 -10
  47. package/dist/packages/_es/Image.js +3 -8
  48. package/dist/packages/_es/ImagePreview.js +23 -32
  49. package/dist/packages/_es/Indicator.js +2 -7
  50. package/dist/packages/_es/InfiniteLoading.js +4 -17
  51. package/dist/packages/_es/Input.js +32 -36
  52. package/dist/packages/_es/InputNumber.js +4 -9
  53. package/dist/packages/_es/Invoice.js +9 -12
  54. package/dist/packages/_es/Layout.js +1 -6
  55. package/dist/packages/_es/List.js +3 -9
  56. package/dist/packages/_es/Menu.js +3 -8
  57. package/dist/packages/_es/MenuItem.js +3 -8
  58. package/dist/packages/_es/Navbar.js +8 -7
  59. package/dist/packages/_es/Noticebar.js +17 -17
  60. package/dist/packages/_es/Notify.js +11 -13
  61. package/dist/packages/_es/NumberKeyboard.js +5 -10
  62. package/dist/packages/_es/Overlay.js +3 -8
  63. package/dist/packages/_es/Pagination.js +2 -7
  64. package/dist/packages/_es/Picker.js +8 -10
  65. package/dist/packages/_es/Popover.js +5 -11
  66. package/dist/packages/_es/Popup.js +3 -8
  67. package/dist/packages/_es/Price.js +3 -8
  68. package/dist/packages/_es/Progress.js +40 -42
  69. package/dist/packages/_es/PullRefresh.js +15 -23
  70. package/dist/packages/_es/Radio.js +3 -8
  71. package/dist/packages/_es/RadioGroup.js +2 -7
  72. package/dist/packages/_es/Range.js +4 -9
  73. package/dist/packages/_es/Rate.js +22 -26
  74. package/dist/packages/_es/Row.js +2 -7
  75. package/dist/packages/_es/Searchbar.js +7 -11
  76. package/dist/packages/_es/ShortPassword.js +14 -18
  77. package/dist/packages/_es/SideNavbar.js +2 -7
  78. package/dist/packages/_es/SideNavbarItem.js +2 -7
  79. package/dist/packages/_es/Signature.js +14 -8
  80. package/dist/packages/_es/Skeleton.js +14 -11
  81. package/dist/packages/_es/Sku.js +28 -9
  82. package/dist/packages/_es/Step.js +2 -7
  83. package/dist/packages/_es/Steps.js +1 -6
  84. package/dist/packages/_es/Sticky.js +3 -8
  85. package/dist/packages/_es/SubSideNavbar.js +7 -10
  86. package/dist/packages/_es/Swipe.js +5 -10
  87. package/dist/packages/_es/Swiper.js +59 -125
  88. package/dist/packages/_es/SwiperItem.js +3 -8
  89. package/dist/packages/_es/Switch.js +6 -8
  90. package/dist/packages/_es/TabPane.js +4 -9
  91. package/dist/packages/_es/Tabbar.js +2 -7
  92. package/dist/packages/_es/TabbarItem.js +17 -32
  93. package/dist/packages/_es/Table.js +92 -100
  94. package/dist/packages/_es/Tabs.js +20 -23
  95. package/dist/packages/_es/Tag.js +2 -7
  96. package/dist/packages/_es/Textarea.js +3 -7
  97. package/dist/packages/_es/TimeDetail.js +2 -11
  98. package/dist/packages/_es/TimePannel.js +2 -7
  99. package/dist/packages/_es/TimeSelect.js +4 -9
  100. package/dist/packages/_es/Toast.js +17 -16
  101. package/dist/packages/_es/Tour.js +11 -15
  102. package/dist/packages/_es/TrendArrow.js +2 -7
  103. package/dist/packages/_es/Uploader.js +22 -24
  104. package/dist/packages/_es/Video.js +20 -7
  105. package/dist/packages/_es/Watermark.js +2 -7
  106. package/dist/packages/_es/{_plugin-vue_export-helper-6eba1fc2.js → _plugin-vue_export-helper-cc2b3d55.js} +0 -5
  107. package/dist/packages/_es/{common-7e43c968.js → common-b9a5e726.js} +10 -7
  108. package/dist/packages/_es/{component-1a609d46.js → component-81a4c1d0.js} +0 -5
  109. package/dist/packages/_es/{index-84decee6.js → index-29892cda.js} +0 -5
  110. package/dist/packages/_es/{index-80fa48bb.js → index-43c34ac6.js} +0 -5
  111. package/dist/packages/_es/{index-0a179fe8.js → index-54d03fc1.js} +0 -5
  112. package/dist/packages/_es/{index-ea36cedc.js → index-79c5dc33.js} +0 -5
  113. package/dist/packages/_es/{index-0bea707c.js → index-7a7385e4.js} +0 -5
  114. package/dist/packages/_es/{index-db2c2975.js → index-af79da1a.js} +14 -9
  115. package/dist/packages/_es/{index-4ccf62e1.js → index-f3a722c9.js} +42 -10
  116. package/dist/packages/_es/{index.vue_vue_type_script_lang-20115c0e.js → index.vue_vue_type_script_lang-22dfc112.js} +2 -6
  117. package/dist/packages/_es/{index.vue_vue_type_script_lang-7c0c1b1c.js → index.vue_vue_type_script_lang-442e4704.js} +3 -7
  118. package/dist/packages/_es/{index.vue_vue_type_script_lang-2e585483.js → index.vue_vue_type_script_lang-cc5c4086.js} +2 -7
  119. package/dist/packages/_es/{interceptor-0a3b15e4.js → interceptor-956b24fc.js} +1 -6
  120. package/dist/packages/_es/{mountComponent-add1c908.js → mountComponent-1ece4110.js} +1 -6
  121. package/dist/packages/_es/pxCheck-c6b9f6b7.js +6 -0
  122. package/dist/packages/_es/{raf-7bf556c1.js → raf-729dad54.js} +0 -5
  123. package/dist/packages/_es/{renderIcon-ff803dcd.js → renderIcon-3d0fd47c.js} +0 -5
  124. package/dist/packages/actionsheet/index.mjs +3 -1
  125. package/dist/packages/actionsheet/style.mjs +3 -2
  126. package/dist/packages/address/index.mjs +3 -1
  127. package/dist/packages/address/style.mjs +4 -3
  128. package/dist/packages/addresslist/index.mjs +3 -1
  129. package/dist/packages/addresslist/index.scss +14 -3
  130. package/dist/packages/addresslist/style.mjs +3 -1
  131. package/dist/packages/animate/index.mjs +3 -1
  132. package/dist/packages/animate/style.mjs +1 -0
  133. package/dist/packages/audio/index.mjs +3 -1
  134. package/dist/packages/audio/index.scss +1 -1
  135. package/dist/packages/audio/style.mjs +2 -1
  136. package/dist/packages/audiooperate/index.mjs +3 -1
  137. package/dist/packages/audiooperate/style.mjs +2 -1
  138. package/dist/packages/avatar/index.mjs +3 -1
  139. package/dist/packages/avatar/index.scss +3 -1
  140. package/dist/packages/avatar/style.mjs +1 -0
  141. package/dist/packages/avatargroup/index.mjs +3 -1
  142. package/dist/packages/avatargroup/index.scss +1 -1
  143. package/dist/packages/avatargroup/style.mjs +1 -0
  144. package/dist/packages/backtop/index.mjs +3 -1
  145. package/dist/packages/backtop/style.mjs +1 -0
  146. package/dist/packages/badge/index.mjs +3 -1
  147. package/dist/packages/badge/index.scss +7 -3
  148. package/dist/packages/badge/style.mjs +1 -0
  149. package/dist/packages/barrage/index.mjs +3 -1
  150. package/dist/packages/barrage/index.scss +17 -1
  151. package/dist/packages/barrage/style.mjs +1 -0
  152. package/dist/packages/button/index.mjs +3 -1
  153. package/dist/packages/button/index.scss +63 -1
  154. package/dist/packages/button/style.mjs +1 -0
  155. package/dist/packages/calendar/index.mjs +3 -1
  156. package/dist/packages/calendar/index.scss +14 -5
  157. package/dist/packages/calendar/style.mjs +4 -3
  158. package/dist/packages/calendaritem/index.mjs +3 -1
  159. package/dist/packages/calendaritem/style.mjs +1 -0
  160. package/dist/packages/card/index.mjs +3 -1
  161. package/dist/packages/card/style.mjs +3 -2
  162. package/dist/packages/cascader/index.mjs +3 -1
  163. package/dist/packages/cascader/style.mjs +6 -5
  164. package/dist/packages/category/index.mjs +3 -1
  165. package/dist/packages/category/style.mjs +1 -0
  166. package/dist/packages/categorypane/index.mjs +3 -1
  167. package/dist/packages/categorypane/style.mjs +1 -0
  168. package/dist/packages/cell/index.mjs +3 -1
  169. package/dist/packages/cell/index.scss +5 -1
  170. package/dist/packages/cell/style.mjs +1 -0
  171. package/dist/packages/cellgroup/index.mjs +3 -1
  172. package/dist/packages/cellgroup/style.mjs +1 -0
  173. package/dist/packages/checkbox/index.mjs +3 -1
  174. package/dist/packages/checkbox/style.mjs +1 -0
  175. package/dist/packages/checkboxgroup/index.mjs +3 -1
  176. package/dist/packages/checkboxgroup/style.mjs +1 -0
  177. package/dist/packages/circleprogress/index.mjs +3 -1
  178. package/dist/packages/circleprogress/style.mjs +1 -0
  179. package/dist/packages/col/index.mjs +3 -1
  180. package/dist/packages/col/style.mjs +1 -0
  181. package/dist/packages/collapse/index.mjs +3 -1
  182. package/dist/packages/collapse/style.mjs +1 -0
  183. package/dist/packages/collapseitem/index.mjs +3 -1
  184. package/dist/packages/collapseitem/style.mjs +1 -0
  185. package/dist/packages/comment/index.mjs +3 -1
  186. package/dist/packages/comment/index.scss +12 -7
  187. package/dist/packages/comment/style.mjs +2 -1
  188. package/dist/packages/configprovider/index.mjs +3 -1
  189. package/dist/packages/configprovider/style.mjs +1 -0
  190. package/dist/packages/countdown/index.mjs +3 -1
  191. package/dist/packages/countdown/style.mjs +1 -0
  192. package/dist/packages/countup/index.mjs +3 -1
  193. package/dist/packages/countup/style.mjs +1 -0
  194. package/dist/packages/datepicker/index.mjs +3 -1
  195. package/dist/packages/datepicker/style.mjs +4 -3
  196. package/dist/packages/dialog/index.mjs +5 -2
  197. package/dist/packages/dialog/style.mjs +4 -3
  198. package/dist/packages/divider/index.mjs +3 -1
  199. package/dist/packages/divider/style.mjs +1 -0
  200. package/dist/packages/drag/index.mjs +3 -1
  201. package/dist/packages/drag/style.mjs +1 -0
  202. package/dist/packages/ecard/index.mjs +3 -1
  203. package/dist/packages/ecard/index.scss +4 -0
  204. package/dist/packages/ecard/style.mjs +2 -1
  205. package/dist/packages/elevator/index.mjs +3 -1
  206. package/dist/packages/elevator/index.scss +14 -0
  207. package/dist/packages/elevator/style.mjs +1 -0
  208. package/dist/packages/ellipsis/index.mjs +3 -1
  209. package/dist/packages/ellipsis/style.mjs +1 -0
  210. package/dist/packages/empty/index.mjs +3 -1
  211. package/dist/packages/empty/style.mjs +1 -0
  212. package/dist/packages/fixednav/index.mjs +3 -1
  213. package/dist/packages/fixednav/style.mjs +2 -1
  214. package/dist/packages/form/index.mjs +3 -1
  215. package/dist/packages/form/style.mjs +2 -1
  216. package/dist/packages/formitem/index.mjs +3 -1
  217. package/dist/packages/formitem/style.mjs +2 -1
  218. package/dist/packages/grid/index.mjs +3 -1
  219. package/dist/packages/grid/style.mjs +1 -0
  220. package/dist/packages/griditem/index.mjs +3 -1
  221. package/dist/packages/griditem/style.mjs +1 -0
  222. package/dist/packages/icon/style.mjs +1 -0
  223. package/dist/packages/image/index.mjs +3 -1
  224. package/dist/packages/image/style.mjs +1 -0
  225. package/dist/packages/imagepreview/index.mjs +5 -2
  226. package/dist/packages/imagepreview/style.mjs +6 -5
  227. package/dist/packages/indicator/index.mjs +3 -1
  228. package/dist/packages/indicator/index.scss +4 -4
  229. package/dist/packages/indicator/style.mjs +1 -0
  230. package/dist/packages/infiniteloading/index.mjs +3 -1
  231. package/dist/packages/infiniteloading/style.mjs +1 -0
  232. package/dist/packages/input/index.mjs +3 -1
  233. package/dist/packages/input/index.scss +6 -2
  234. package/dist/packages/input/style.mjs +1 -0
  235. package/dist/packages/inputnumber/index.mjs +3 -1
  236. package/dist/packages/inputnumber/index.scss +0 -2
  237. package/dist/packages/inputnumber/style.mjs +1 -0
  238. package/dist/packages/invoice/index.mjs +3 -1
  239. package/dist/packages/invoice/style.mjs +8 -7
  240. package/dist/packages/layout/index.mjs +3 -1
  241. package/dist/packages/layout/style.mjs +1 -0
  242. package/dist/packages/list/index.mjs +3 -1
  243. package/dist/packages/list/style.mjs +1 -0
  244. package/dist/packages/locale/lang/baseLang-0bdc6353.js +5 -0
  245. package/dist/packages/locale/lang/en-US.js +1 -6
  246. package/dist/packages/locale/lang/id-ID.js +1 -6
  247. package/dist/packages/locale/lang/index.js +1 -6
  248. package/dist/packages/locale/lang/zh-CN.js +2 -7
  249. package/dist/packages/locale/lang/zh-TW.js +1 -6
  250. package/dist/packages/menu/index.mjs +3 -1
  251. package/dist/packages/menu/style.mjs +1 -0
  252. package/dist/packages/menuitem/index.mjs +3 -1
  253. package/dist/packages/menuitem/style.mjs +3 -2
  254. package/dist/packages/navbar/index.mjs +3 -1
  255. package/dist/packages/navbar/style.mjs +1 -0
  256. package/dist/packages/noticebar/index.mjs +3 -1
  257. package/dist/packages/noticebar/index.scss +4 -1
  258. package/dist/packages/noticebar/style.mjs +1 -0
  259. package/dist/packages/notify/index.mjs +5 -2
  260. package/dist/packages/notify/style.mjs +3 -2
  261. package/dist/packages/numberkeyboard/index.mjs +3 -1
  262. package/dist/packages/numberkeyboard/index.scss +3 -0
  263. package/dist/packages/numberkeyboard/style.mjs +3 -2
  264. package/dist/packages/overlay/index.mjs +3 -1
  265. package/dist/packages/overlay/style.mjs +1 -0
  266. package/dist/packages/pagination/index.mjs +3 -1
  267. package/dist/packages/pagination/style.mjs +1 -0
  268. package/dist/packages/picker/index.mjs +3 -1
  269. package/dist/packages/picker/style.mjs +3 -2
  270. package/dist/packages/popover/index.mjs +3 -1
  271. package/dist/packages/popover/index.scss +1 -1
  272. package/dist/packages/popover/style.mjs +3 -2
  273. package/dist/packages/popup/index.mjs +3 -1
  274. package/dist/packages/popup/style.mjs +2 -1
  275. package/dist/packages/price/index.mjs +3 -1
  276. package/dist/packages/price/style.mjs +1 -0
  277. package/dist/packages/progress/index.mjs +3 -1
  278. package/dist/packages/progress/index.scss +8 -6
  279. package/dist/packages/progress/style.mjs +1 -0
  280. package/dist/packages/pullrefresh/index.mjs +3 -1
  281. package/dist/packages/pullrefresh/index.scss +4 -3
  282. package/dist/packages/pullrefresh/style.mjs +1 -0
  283. package/dist/packages/radio/index.mjs +3 -1
  284. package/dist/packages/radio/index.scss +14 -2
  285. package/dist/packages/radio/style.mjs +1 -0
  286. package/dist/packages/radiogroup/index.mjs +3 -1
  287. package/dist/packages/radiogroup/style.mjs +1 -0
  288. package/dist/packages/range/index.mjs +3 -1
  289. package/dist/packages/range/index.scss +6 -3
  290. package/dist/packages/range/style.mjs +1 -0
  291. package/dist/packages/rate/index.mjs +3 -1
  292. package/dist/packages/rate/index.scss +4 -4
  293. package/dist/packages/rate/style.mjs +1 -0
  294. package/dist/packages/row/index.mjs +3 -1
  295. package/dist/packages/row/style.mjs +1 -0
  296. package/dist/packages/searchbar/index.mjs +3 -1
  297. package/dist/packages/searchbar/index.scss +4 -8
  298. package/dist/packages/searchbar/style.mjs +1 -0
  299. package/dist/packages/shortpassword/index.mjs +3 -1
  300. package/dist/packages/shortpassword/style.mjs +3 -2
  301. package/dist/packages/sidenavbar/index.mjs +3 -1
  302. package/dist/packages/sidenavbar/style.mjs +1 -0
  303. package/dist/packages/sidenavbaritem/index.mjs +3 -1
  304. package/dist/packages/sidenavbaritem/style.mjs +1 -0
  305. package/dist/packages/signature/index.mjs +3 -1
  306. package/dist/packages/signature/index.scss +2 -2
  307. package/dist/packages/signature/style.mjs +2 -1
  308. package/dist/packages/skeleton/index.mjs +3 -1
  309. package/dist/packages/skeleton/style.mjs +2 -1
  310. package/dist/packages/sku/index.mjs +3 -1
  311. package/dist/packages/sku/index.scss +16 -2
  312. package/dist/packages/sku/style.mjs +5 -4
  313. package/dist/packages/step/index.mjs +3 -1
  314. package/dist/packages/step/index.scss +1 -9
  315. package/dist/packages/step/style.mjs +1 -0
  316. package/dist/packages/steps/index.mjs +3 -1
  317. package/dist/packages/steps/style.mjs +1 -0
  318. package/dist/packages/sticky/index.mjs +3 -1
  319. package/dist/packages/sticky/index.scss +2 -0
  320. package/dist/packages/sticky/style.mjs +1 -0
  321. package/dist/packages/subsidenavbar/index.mjs +3 -1
  322. package/dist/packages/subsidenavbar/style.mjs +1 -0
  323. package/dist/packages/swipe/index.mjs +3 -1
  324. package/dist/packages/swipe/style.mjs +1 -0
  325. package/dist/packages/swiper/index.mjs +3 -1
  326. package/dist/packages/swiper/style.mjs +1 -0
  327. package/dist/packages/swiperitem/index.mjs +3 -1
  328. package/dist/packages/swiperitem/style.mjs +1 -0
  329. package/dist/packages/switch/index.mjs +3 -1
  330. package/dist/packages/switch/index.scss +7 -0
  331. package/dist/packages/switch/style.mjs +1 -0
  332. package/dist/packages/tabbar/index.mjs +3 -1
  333. package/dist/packages/tabbar/style.mjs +1 -0
  334. package/dist/packages/tabbaritem/index.mjs +3 -1
  335. package/dist/packages/tabbaritem/index.scss +4 -0
  336. package/dist/packages/tabbaritem/style.mjs +2 -1
  337. package/dist/packages/table/index.mjs +3 -1
  338. package/dist/packages/table/style.mjs +1 -0
  339. package/dist/packages/tabpane/index.mjs +3 -1
  340. package/dist/packages/tabpane/style.mjs +1 -0
  341. package/dist/packages/tabs/index.mjs +3 -1
  342. package/dist/packages/tabs/style.mjs +2 -1
  343. package/dist/packages/tag/index.mjs +3 -1
  344. package/dist/packages/tag/style.mjs +1 -0
  345. package/dist/packages/textarea/index.mjs +3 -1
  346. package/dist/packages/textarea/index.scss +7 -1
  347. package/dist/packages/textarea/style.mjs +1 -0
  348. package/dist/packages/timedetail/index.mjs +3 -1
  349. package/dist/packages/timedetail/index.scss +14 -6
  350. package/dist/packages/timedetail/style.mjs +1 -0
  351. package/dist/packages/timepannel/index.mjs +3 -1
  352. package/dist/packages/timepannel/style.mjs +1 -0
  353. package/dist/packages/timeselect/index.mjs +3 -1
  354. package/dist/packages/timeselect/style.mjs +3 -2
  355. package/dist/packages/toast/index.mjs +5 -2
  356. package/dist/packages/toast/style.mjs +1 -0
  357. package/dist/packages/tour/index.mjs +3 -1
  358. package/dist/packages/tour/style.mjs +4 -3
  359. package/dist/packages/trendarrow/index.mjs +3 -1
  360. package/dist/packages/trendarrow/style.mjs +1 -0
  361. package/dist/packages/uploader/index.mjs +3 -1
  362. package/dist/packages/uploader/index.scss +19 -14
  363. package/dist/packages/uploader/style.mjs +3 -2
  364. package/dist/packages/video/index.mjs +3 -1
  365. package/dist/packages/video/style.mjs +1 -0
  366. package/dist/packages/watermark/index.mjs +3 -1
  367. package/dist/packages/watermark/style.mjs +1 -0
  368. package/dist/smartips/web-types.json +731 -812
  369. package/dist/style.css +1 -19
  370. package/dist/style.js +4 -0
  371. package/dist/styles/reset.css +3 -0
  372. package/dist/styles/themes/default.scss +54 -55
  373. package/dist/styles/themes/jdb.scss +54 -55
  374. package/dist/styles/themes/jddkh.scss +54 -55
  375. package/dist/styles/themes/jdt.scss +54 -55
  376. package/dist/styles/variables-jdb.scss +5 -10
  377. package/dist/styles/variables-jddkh.scss +5 -9
  378. package/dist/styles/variables-jdt.scss +6 -10
  379. package/dist/styles/variables.scss +14 -21
  380. package/dist/types/__VUE/actionsheet/index.vue.d.ts +18 -9
  381. package/dist/types/__VUE/address/index.vue.d.ts +18 -0
  382. package/dist/types/__VUE/addresslist/components/GeneralShell.vue.d.ts +23 -7
  383. package/dist/types/__VUE/addresslist/components/ItemContents.vue.d.ts +2 -2
  384. package/dist/types/__VUE/addresslist/index.vue.d.ts +6 -6
  385. package/dist/types/__VUE/barrage/index.vue.d.ts +2 -5
  386. package/dist/types/__VUE/card/index.vue.d.ts +0 -21
  387. package/dist/types/__VUE/cascader/cascader-item.vue.d.ts +2 -2
  388. package/dist/types/__VUE/cascader/index.vue.d.ts +18 -0
  389. package/dist/types/__VUE/cascader/types.d.ts +1 -1
  390. package/dist/types/__VUE/cell/index.vue.d.ts +1 -1
  391. package/dist/types/__VUE/collapse/index.vue.d.ts +5 -5
  392. package/dist/types/__VUE/comment/components/CmtBottom.vue.d.ts +2 -2
  393. package/dist/types/__VUE/comment/index.vue.d.ts +4 -4
  394. package/dist/types/__VUE/configprovider/index.vue.d.ts +3 -2
  395. package/dist/types/__VUE/countup/index.vue.d.ts +2 -2
  396. package/dist/types/__VUE/dialog/index.d.ts +9 -9
  397. package/dist/types/__VUE/dialog/index.vue.d.ts +18 -0
  398. package/dist/types/__VUE/divider/index.vue.d.ts +1 -1
  399. package/dist/types/__VUE/ellipsis/index.vue.d.ts +1 -1
  400. package/dist/types/__VUE/icon/index.vue.d.ts +1 -0
  401. package/dist/types/__VUE/imagepreview/index.d.ts +12 -12
  402. package/dist/types/__VUE/imagepreview/index.vue.d.ts +0 -9
  403. package/dist/types/__VUE/infiniteloading/index.vue.d.ts +0 -18
  404. package/dist/types/__VUE/input/index.vue.d.ts +7 -40
  405. package/dist/types/__VUE/inputnumber/index.vue.d.ts +1 -1
  406. package/dist/types/__VUE/noticebar/index.vue.d.ts +2 -12
  407. package/dist/types/__VUE/notify/index.d.ts +3 -3
  408. package/dist/types/__VUE/popover/index.vue.d.ts +1 -10
  409. package/dist/types/__VUE/popup/common.d.ts +8 -0
  410. package/dist/types/__VUE/popup/index.vue.d.ts +18 -0
  411. package/dist/types/__VUE/popup/props.d.ts +8 -0
  412. package/dist/types/__VUE/progress/index.vue.d.ts +1 -0
  413. package/dist/types/__VUE/pullrefresh/index.vue.d.ts +0 -9
  414. package/dist/types/__VUE/rate/index.vue.d.ts +16 -10
  415. package/dist/types/__VUE/searchbar/index.vue.d.ts +2 -2
  416. package/dist/types/__VUE/shortpassword/index.vue.d.ts +1 -1
  417. package/dist/types/__VUE/skeleton/index.vue.d.ts +1 -1
  418. package/dist/types/__VUE/sku/index.vue.d.ts +18 -0
  419. package/dist/types/__VUE/steps/index.vue.d.ts +1 -1
  420. package/dist/types/__VUE/swiper/index.vue.d.ts +9 -17
  421. package/dist/types/__VUE/tabbaritem/index.vue.d.ts +0 -1
  422. package/dist/types/__VUE/table/common.d.ts +9 -9
  423. package/dist/types/__VUE/table/index.vue.d.ts +13 -11
  424. package/dist/types/__VUE/table/renderColumn.d.ts +9 -9
  425. package/dist/types/__VUE/tabs/index.vue.d.ts +1 -1
  426. package/dist/types/__VUE/textarea/index.vue.d.ts +1 -1
  427. package/dist/types/__VUE/timedetail/index.vue.d.ts +0 -9
  428. package/dist/types/__VUE/toast/index.d.ts +3 -3
  429. package/dist/types/__VUE/tour/index.vue.d.ts +10 -10
  430. package/dist/types/index.d.ts +10 -7
  431. package/package.json +13 -133
  432. package/dist/nutui.umd.cjs +0 -20061
  433. package/dist/packages/_es/Icon.js +0 -12
  434. package/dist/packages/_es/index.vue_vue_type_script_lang-b8ddf362.js +0 -12
  435. package/dist/packages/_es/pxCheck-9763aaae.js +0 -11
  436. package/dist/packages/_es/style.css +0 -16
  437. package/dist/packages/actionsheet/style.cjs +0 -3
  438. package/dist/packages/address/style.cjs +0 -4
  439. package/dist/packages/addresslist/style.cjs +0 -2
  440. package/dist/packages/animate/style.cjs +0 -1
  441. package/dist/packages/audio/style.cjs +0 -2
  442. package/dist/packages/audiooperate/style.cjs +0 -2
  443. package/dist/packages/avatar/style.cjs +0 -1
  444. package/dist/packages/avatargroup/style.cjs +0 -1
  445. package/dist/packages/backtop/style.cjs +0 -1
  446. package/dist/packages/badge/style.cjs +0 -1
  447. package/dist/packages/barrage/style.cjs +0 -1
  448. package/dist/packages/button/style.cjs +0 -1
  449. package/dist/packages/calendar/style.cjs +0 -4
  450. package/dist/packages/calendaritem/style.cjs +0 -1
  451. package/dist/packages/card/style.cjs +0 -3
  452. package/dist/packages/cascader/style.cjs +0 -6
  453. package/dist/packages/category/style.cjs +0 -1
  454. package/dist/packages/categorypane/style.cjs +0 -1
  455. package/dist/packages/cell/style.cjs +0 -1
  456. package/dist/packages/cellgroup/style.cjs +0 -1
  457. package/dist/packages/checkbox/style.cjs +0 -1
  458. package/dist/packages/checkboxgroup/style.cjs +0 -1
  459. package/dist/packages/circleprogress/style.cjs +0 -1
  460. package/dist/packages/col/style.cjs +0 -1
  461. package/dist/packages/collapse/style.cjs +0 -1
  462. package/dist/packages/collapseitem/style.cjs +0 -1
  463. package/dist/packages/comment/style.cjs +0 -2
  464. package/dist/packages/configprovider/style.cjs +0 -1
  465. package/dist/packages/countdown/style.cjs +0 -1
  466. package/dist/packages/countup/style.cjs +0 -1
  467. package/dist/packages/datepicker/style.cjs +0 -4
  468. package/dist/packages/dialog/style.cjs +0 -4
  469. package/dist/packages/divider/style.cjs +0 -1
  470. package/dist/packages/drag/style.cjs +0 -1
  471. package/dist/packages/ecard/style.cjs +0 -2
  472. package/dist/packages/elevator/style.cjs +0 -1
  473. package/dist/packages/ellipsis/style.cjs +0 -1
  474. package/dist/packages/empty/style.cjs +0 -1
  475. package/dist/packages/fixednav/style.cjs +0 -2
  476. package/dist/packages/form/style.cjs +0 -2
  477. package/dist/packages/formitem/style.cjs +0 -2
  478. package/dist/packages/grid/style.cjs +0 -1
  479. package/dist/packages/griditem/style.cjs +0 -1
  480. package/dist/packages/icon/index.mjs +0 -2
  481. package/dist/packages/icon/style.cjs +0 -1
  482. package/dist/packages/image/style.cjs +0 -1
  483. package/dist/packages/imagepreview/style.cjs +0 -6
  484. package/dist/packages/indicator/style.cjs +0 -1
  485. package/dist/packages/infiniteloading/style.cjs +0 -1
  486. package/dist/packages/input/style.cjs +0 -1
  487. package/dist/packages/inputnumber/style.cjs +0 -1
  488. package/dist/packages/invoice/style.cjs +0 -8
  489. package/dist/packages/layout/style.cjs +0 -1
  490. package/dist/packages/list/style.cjs +0 -1
  491. package/dist/packages/locale/lang/baseLang-d7024f23.js +0 -10
  492. package/dist/packages/menu/style.cjs +0 -1
  493. package/dist/packages/menuitem/style.cjs +0 -3
  494. package/dist/packages/navbar/style.cjs +0 -1
  495. package/dist/packages/noticebar/style.cjs +0 -1
  496. package/dist/packages/notify/style.cjs +0 -3
  497. package/dist/packages/numberkeyboard/style.cjs +0 -3
  498. package/dist/packages/overlay/style.cjs +0 -1
  499. package/dist/packages/pagination/style.cjs +0 -1
  500. package/dist/packages/picker/style.cjs +0 -3
  501. package/dist/packages/popover/style.cjs +0 -3
  502. package/dist/packages/popup/style.cjs +0 -2
  503. package/dist/packages/price/style.cjs +0 -1
  504. package/dist/packages/progress/style.cjs +0 -1
  505. package/dist/packages/pullrefresh/style.cjs +0 -1
  506. package/dist/packages/radio/style.cjs +0 -1
  507. package/dist/packages/radiogroup/style.cjs +0 -1
  508. package/dist/packages/range/style.cjs +0 -1
  509. package/dist/packages/rate/style.cjs +0 -1
  510. package/dist/packages/row/style.cjs +0 -1
  511. package/dist/packages/searchbar/style.cjs +0 -1
  512. package/dist/packages/shortpassword/style.cjs +0 -3
  513. package/dist/packages/sidenavbar/style.cjs +0 -1
  514. package/dist/packages/sidenavbaritem/style.cjs +0 -1
  515. package/dist/packages/signature/style.cjs +0 -2
  516. package/dist/packages/skeleton/style.cjs +0 -2
  517. package/dist/packages/sku/style.cjs +0 -5
  518. package/dist/packages/step/style.cjs +0 -1
  519. package/dist/packages/steps/style.cjs +0 -1
  520. package/dist/packages/sticky/style.cjs +0 -1
  521. package/dist/packages/subsidenavbar/style.cjs +0 -1
  522. package/dist/packages/swipe/style.cjs +0 -1
  523. package/dist/packages/swiper/style.cjs +0 -1
  524. package/dist/packages/swiperitem/style.cjs +0 -1
  525. package/dist/packages/switch/style.cjs +0 -1
  526. package/dist/packages/tabbar/style.cjs +0 -1
  527. package/dist/packages/tabbaritem/style.cjs +0 -2
  528. package/dist/packages/table/style.cjs +0 -1
  529. package/dist/packages/tabpane/style.cjs +0 -1
  530. package/dist/packages/tabs/style.cjs +0 -2
  531. package/dist/packages/tag/style.cjs +0 -1
  532. package/dist/packages/textarea/style.cjs +0 -1
  533. package/dist/packages/timedetail/style.cjs +0 -1
  534. package/dist/packages/timepannel/style.cjs +0 -1
  535. package/dist/packages/timeselect/style.cjs +0 -3
  536. package/dist/packages/toast/style.cjs +0 -1
  537. package/dist/packages/tour/style.cjs +0 -4
  538. package/dist/packages/trendarrow/style.cjs +0 -1
  539. package/dist/packages/uploader/style.cjs +0 -3
  540. package/dist/packages/video/style.cjs +0 -1
  541. package/dist/packages/watermark/style.cjs +0 -1
  542. package/dist/smartips/attributes.json +0 -2810
  543. package/dist/smartips/tags.json +0 -1047
  544. package/dist/styles/theme-deafult.scss +0 -920
  545. package/dist/styles/theme-jdt.scss +0 -898
  546. package/dist/styles/variables-var.scss +0 -854
  547. package/dist/types/__VUE/addresslist/components/SwipeShell.vue.d.ts +0 -26
  548. package/dist/types/__VUE/configprovider/common.d.ts +0 -20
  549. package/dist/types/__VUE/swiper/use-touch.d.ts +0 -16
@@ -1,2810 +0,0 @@
1
- {
2
- "nut-actionsheet/v-model:visible": {
3
- "type": "boolean",
4
- "description": "属性说明:是否展示动作面板,默认值:false"
5
- },
6
- "nut-actionsheet/menu-items": {
7
- "type": "array",
8
- "description": "属性说明:列表项,默认值:[ ]"
9
- },
10
- "nut-actionsheet/option-tag": {
11
- "type": "string",
12
- "description": "属性说明:设置列表项标题展示使用参数,默认值:'name'"
13
- },
14
- "nut-actionsheet/option-sub-tag": {
15
- "type": "string",
16
- "description": "属性说明:设置列表项二级标题展示使用参数,默认值:'subname'"
17
- },
18
- "nut-actionsheet/choose-tag-value": {
19
- "type": "string",
20
- "description": "属性说明:设置选中项的值,和'option-tag'的值对应,默认值:''"
21
- },
22
- "nut-actionsheet/color": {
23
- "type": "string",
24
- "description": "属性说明:选中项颜色,当 choose-tag-value == option-tag的值 生效,默认值:'#ee0a24'"
25
- },
26
- "nut-actionsheet/title": {
27
- "type": "string",
28
- "description": "属性说明:设置列表项标题,默认值:''"
29
- },
30
- "nut-actionsheet/description": {
31
- "type": "string",
32
- "description": "属性说明:设置列表项副标题/描述,默认值:''"
33
- },
34
- "nut-actionsheet/cancel-txt": {
35
- "type": "string",
36
- "description": "属性说明:取消文案,默认值:'取消'"
37
- },
38
- "nut-actionsheet/close-abled": {
39
- "type": "boolean",
40
- "description": "属性说明:遮罩层是否可关闭,默认值:true"
41
- },
42
- "nut-address/v-model:visible": {
43
- "type": "string",
44
- "description": "属性说明:是否打开地址选择,默认值:''"
45
- },
46
- "nut-address/type": {
47
- "type": "string",
48
- "description": "属性说明:地址选择类型 exist/custom/custom2,默认值:'custom'"
49
- },
50
- "nut-address/province": {
51
- "type": "array",
52
- "description": "属性说明:省,每个省的对象中,必须有 name 字段,如果类型选择 custom2,必须指定 title 字段为首字母,默认值:[]"
53
- },
54
- "nut-address/city": {
55
- "type": "array",
56
- "description": "属性说明:市,每个市的对象中,必须有 name 字段,如果类型选择 custom2,必须指定 title 字段为首字母,默认值:[]"
57
- },
58
- "nut-address/country": {
59
- "type": "array",
60
- "description": "属性说明:县,每个县的对象中,必须有 name 字段,如果类型选择 custom2,必须指定 title 字段为首字母,默认值:[]"
61
- },
62
- "nut-address/town": {
63
- "type": "array",
64
- "description": "属性说明:乡/镇,每个乡/镇的对象中,必须有 name 字段,如果类型选择 custom2,必须指定 title 字段为首字母,默认值:[]"
65
- },
66
- "nut-address/height": {
67
- "type": "string、number",
68
- "description": "属性说明:弹层中内容容器的高度,仅在type=\"custom2\"时有效,默认值:'200px'"
69
- },
70
- "nut-address/exist-address": {
71
- "type": "array",
72
- "description": "属性说明:已存在地址列表,每个地址对象中,必传值provinceName、cityName、countyName、townName、addressDetail、selectedAddress(字段解释见下),默认值:[]"
73
- },
74
- "nut-address/is-show-custom-address": {
75
- "type": "boolean",
76
- "description": "属性说明:是否可以切换自定义地址选择,type=‘exist’ 时生效,默认值:true"
77
- },
78
- "nut-address/custom-address-title": {
79
- "type": "string",
80
- "description": "属性说明:自定义地址选择文案,type='custom' 时生效,默认值:'请选择所在地区'"
81
- },
82
- "nut-address/exist-address-title": {
83
- "type": "string",
84
- "description": "属性说明:已有地址文案 ,type=‘exist’ 时生效,默认值:'配送至'"
85
- },
86
- "nut-address/custom-and-exist-title": {
87
- "type": "string",
88
- "description": "属性说明:自定义地址与已有地址切换按钮文案 ,type=‘exist’ 时生效,默认值:'选择其他地址'"
89
- },
90
- "nut-address/columns-placeholder": {
91
- "type": "string",
92
- "description": "属性说明:列提示文字,默认值:Array"
93
- },
94
- "nut-address/lock-scroll": {
95
- "type": "boolean",
96
- "description": "属性说明:背景是否锁定,默认值:`true`"
97
- },
98
- "nut-addresslist/data": {
99
- "type": "array",
100
- "description": "属性说明:地址数组,默认值:-"
101
- },
102
- "nut-addresslist/long-press": {
103
- "type": "boolean",
104
- "description": "属性说明:长按功能,默认值:false"
105
- },
106
- "nut-addresslist/swipe-edition": {
107
- "type": "boolean",
108
- "description": "属性说明:右滑功能,默认值:false"
109
- },
110
- "nut-addresslist/show-bottom-button": {
111
- "type": "boolean",
112
- "description": "属性说明:是否展示底部按钮,默认值:true"
113
- },
114
- "nut-animate/type": {
115
- "type": "string",
116
- "description": "属性说明:动画类型,见下方type值说明,默认值:-"
117
- },
118
- "nut-animate/action": {
119
- "type": "string",
120
- "description": "属性说明:触发方式,'initial'--初始化执行; 'click'--点击执行,默认值:'initial'"
121
- },
122
- "nut-animate/loop": {
123
- "type": "boolean",
124
- "description": "属性说明:是否循环执行。true-循环执行;false-执行一次,默认值:false"
125
- },
126
- "nut-audio/url": {
127
- "type": "string",
128
- "description": "属性说明:语音播放的连接,默认值:''"
129
- },
130
- "nut-audio/muted": {
131
- "type": "boolean",
132
- "description": "属性说明:是否静音,默认值:false"
133
- },
134
- "nut-audio/autoplay": {
135
- "type": "boolean",
136
- "description": "属性说明:是否自动播放,默认值:false"
137
- },
138
- "nut-audio/loop": {
139
- "type": "boolean",
140
- "description": "属性说明:是否循环播放,默认值:false"
141
- },
142
- "nut-audio/preload": {
143
- "type": "string",
144
- "description": "属性说明:是否预加载语音,默认值:'auto'"
145
- },
146
- "nut-audio/type": {
147
- "type": "string",
148
- "description": "属性说明:展示形式,可选值:controls 控制面板 progress 进度条 icon 图标 none 自定义,默认值:'progress'"
149
- },
150
- "nut-audiooperate/type": {
151
- "type": "string",
152
- "description": "属性说明:展示的形式 back倒退 play开始 or暂停 forward快进 mute静音,默认值:`play`"
153
- },
154
- "nut-avatar/size": {
155
- "type": "string | number",
156
- "description": "属性说明:头像的大小,可选值为:`large`、`normal`、`small`,支持输入数字,默认值:normal"
157
- },
158
- "nut-avatar/shape": {
159
- "type": "string",
160
- "description": "属性说明:头像的形状,可选值为:`square`、`round `,默认值:round"
161
- },
162
- "nut-avatar/color": {
163
- "type": "string",
164
- "description": "属性说明:字体颜色,默认值:#666"
165
- },
166
- "nut-avatar/bg-color": {
167
- "type": "string",
168
- "description": "属性说明:背景色,默认值:#eee"
169
- },
170
- "nut-backtop/el-id": {
171
- "type": "string",
172
- "description": "属性说明:获取监听元素的父级元素,默认值:-"
173
- },
174
- "nut-backtop/bottom": {
175
- "type": "number",
176
- "description": "属性说明:距离页面底部距离,默认值:`20`"
177
- },
178
- "nut-backtop/right": {
179
- "type": "number",
180
- "description": "属性说明:距离页面右侧距离,默认值:`10`"
181
- },
182
- "nut-backtop/distance": {
183
- "type": "number",
184
- "description": "属性说明:页面垂直滚动多高后出现,默认值:`200`"
185
- },
186
- "nut-backtop/z-index": {
187
- "type": "number",
188
- "description": "属性说明:设置组件页面层级,默认值:`10`"
189
- },
190
- "nut-backtop/is-animation": {
191
- "type": "boolean",
192
- "description": "属性说明:是否有动画,和duration参数互斥,默认值:`true`"
193
- },
194
- "nut-backtop/duration": {
195
- "type": "number",
196
- "description": "属性说明:设置动画持续时间,默认值:`1000`"
197
- },
198
- "nut-badge/value": {
199
- "type": "string",
200
- "description": "属性说明:显示的内容,默认值:-"
201
- },
202
- "nut-badge/max": {
203
- "type": "number",
204
- "description": "属性说明:value 为数值时,最大值,默认值:`10000`"
205
- },
206
- "nut-badge/z-index": {
207
- "type": "number",
208
- "description": "属性说明:徽标的 z-index 值,默认值:`10`"
209
- },
210
- "nut-badge/dot": {
211
- "type": "boolean",
212
- "description": "属性说明:是否为小点,默认值:`false`"
213
- },
214
- "nut-badge/hidden": {
215
- "type": "boolean",
216
- "description": "属性说明:是否隐藏,默认值:`false`"
217
- },
218
- "nut-badge/top": {
219
- "type": "number",
220
- "description": "属性说明:上下偏移量,支持单位设置,可设置为:5px 等,默认值:`0`"
221
- },
222
- "nut-badge/right": {
223
- "type": "number",
224
- "description": "属性说明:左右偏移量,支持单位设置,可设置为:5px 等,默认值:`0`"
225
- },
226
- "nut-badge/color": {
227
- "type": "string",
228
- "description": "属性说明:徽标背景颜色,默认值:`#fa2c19`"
229
- },
230
- "nut-barrage/danmu": {
231
- "type": "array",
232
- "description": "属性说明:弹幕列表数据,默认值:[]"
233
- },
234
- "nut-barrage/frequency": {
235
- "type": "number",
236
- "description": "属性说明:可视区域内每个弹幕出现的时间间隔,默认值:500"
237
- },
238
- "nut-barrage/speeds": {
239
- "type": "number",
240
- "description": "属性说明:每个弹幕的滚动时间,默认值:2000"
241
- },
242
- "nut-barrage/rows": {
243
- "type": "number",
244
- "description": "属性说明:弹幕行数,分几行展示,默认值:1"
245
- },
246
- "nut-barrage/top": {
247
- "type": "number",
248
- "description": "属性说明:弹幕垂直距离,默认值:10"
249
- },
250
- "nut-barrage/loop": {
251
- "type": "boolean",
252
- "description": "属性说明:是否循环播放,默认值:true"
253
- },
254
- "nut-button/type": {
255
- "type": "string",
256
- "description": "属性说明:类型,可选值为 `primary` `info` `warning` `danger` `success`,默认值:`default`"
257
- },
258
- "nut-button/size": {
259
- "type": "string",
260
- "description": "属性说明:尺寸,可选值为 `large` `small` `mini`,默认值:`normal`"
261
- },
262
- "nut-button/shape": {
263
- "type": "string",
264
- "description": "属性说明:形状,可选值为 `square`,默认值:`round`"
265
- },
266
- "nut-button/color": {
267
- "type": "string",
268
- "description": "属性说明:按钮颜色,支持传入 linear-gradient 渐变色,默认值:-"
269
- },
270
- "nut-button/plain": {
271
- "type": "boolean",
272
- "description": "属性说明:是否为朴素按钮,默认值:`false`"
273
- },
274
- "nut-button/disabled": {
275
- "type": "boolean",
276
- "description": "属性说明:是否禁用按钮,默认值:`false`"
277
- },
278
- "nut-button/block": {
279
- "type": "boolean",
280
- "description": "属性说明:是否为块级元素,默认值:`false`"
281
- },
282
- "nut-button/loading": {
283
- "type": "boolean",
284
- "description": "属性说明:按钮 loading 状态,默认值:`false`"
285
- },
286
- "nut-calendar/v-model:visible": {
287
- "type": "boolean",
288
- "description": "属性说明:是否可见,默认值:false"
289
- },
290
- "nut-calendar/type": {
291
- "type": "string",
292
- "description": "属性说明:类型,日期单择'one',区间选择'range',日期多选'multiple',默认值:'one'"
293
- },
294
- "nut-calendar/poppable": {
295
- "type": "boolean",
296
- "description": "属性说明:是否弹窗状态展示,默认值:true"
297
- },
298
- "nut-calendar/is-auto-back-fill": {
299
- "type": "boolean",
300
- "description": "属性说明:自动回填,默认值:false"
301
- },
302
- "nut-calendar/title": {
303
- "type": "string",
304
- "description": "属性说明:显示标题,默认值:‘日期选择’"
305
- },
306
- "nut-calendar/default-value": {
307
- "type": "string 、 array",
308
- "description": "属性说明:默认值,单个日期选择 String,其他为 Array,默认值:null"
309
- },
310
- "nut-calendar/start-date": {
311
- "type": "string",
312
- "description": "属性说明:开始日期,默认值:今天"
313
- },
314
- "nut-calendar/end-date": {
315
- "type": "string",
316
- "description": "属性说明:结束日期,默认值:距离今天 365 天"
317
- },
318
- "nut-calendar/show-today": {
319
- "type": "boolean",
320
- "description": "属性说明:是否展示今天标记,默认值:true"
321
- },
322
- "nut-calendar/start-text": {
323
- "type": "string",
324
- "description": "属性说明:范围选择,开始信息文案,默认值:’开始‘"
325
- },
326
- "nut-calendar/end-text": {
327
- "type": "string",
328
- "description": "属性说明:范围选择,结束信息文案,默认值:‘结束’"
329
- },
330
- "nut-calendar/confirm-text": {
331
- "type": "string",
332
- "description": "属性说明:底部确认按钮文案,默认值:’确认‘"
333
- },
334
- "nut-calendar/show-title": {
335
- "type": "boolean",
336
- "description": "属性说明:是否在展示日历标题,默认值:true"
337
- },
338
- "nut-calendar/show-sub-title": {
339
- "type": "boolean",
340
- "description": "属性说明:是否展示日期标题,默认值:true"
341
- },
342
- "nut-calendar/to-date-animation": {
343
- "type": "boolean",
344
- "description": "属性说明:是否启动滚动动画,默认值:true"
345
- },
346
- "nut-calendar/first-day-of-week": {
347
- "type": "0-6",
348
- "description": "属性说明:设置周起始日,默认值:0"
349
- },
350
- "nut-card/img-url": {
351
- "type": "string",
352
- "description": "属性说明:左侧图片Url,默认值:-"
353
- },
354
- "nut-card/title": {
355
- "type": "string",
356
- "description": "属性说明:标题,默认值:-"
357
- },
358
- "nut-card/price": {
359
- "type": "string",
360
- "description": "属性说明:商品价格,默认值:-"
361
- },
362
- "nut-card/vip-price": {
363
- "type": "string",
364
- "description": "属性说明:会员价格,默认值:-"
365
- },
366
- "nut-card/shop-desc": {
367
- "type": "string",
368
- "description": "属性说明:店铺介绍,默认值:-"
369
- },
370
- "nut-card/delivery": {
371
- "type": "string",
372
- "description": "属性说明:配送方式,默认值:-"
373
- },
374
- "nut-card/shop-name": {
375
- "type": "string",
376
- "description": "属性说明:店铺名称,默认值:-"
377
- },
378
- "nut-card/is-need-price": {
379
- "type": "boolean",
380
- "description": "属性说明:是否需要价格展示,默认值:true"
381
- },
382
- "nut-cascader/v-model": {
383
- "type": "array",
384
- "description": "属性说明:选中值,双向绑定,默认值:-"
385
- },
386
- "nut-cascader/options": {
387
- "type": "array",
388
- "description": "属性说明:级联数据,默认值:-"
389
- },
390
- "nut-cascader/lazy": {
391
- "type": "boolean",
392
- "description": "属性说明:是否开启动态加载,默认值:-"
393
- },
394
- "nut-cascader/lazy-load": {
395
- "type": "function",
396
- "description": "属性说明:动态加载回调,开启动态加载时生效,默认值:-"
397
- },
398
- "nut-cascader/value-key": {
399
- "type": "string",
400
- "description": "属性说明:自定义`options`结构中`value`的字段,默认值:-"
401
- },
402
- "nut-cascader/text-key": {
403
- "type": "string",
404
- "description": "属性说明:自定义`options`结构中`text`的字段,默认值:-"
405
- },
406
- "nut-cascader/children-key": {
407
- "type": "string",
408
- "description": "属性说明:自定义`options`结构中`children`的字段,默认值:-"
409
- },
410
- "nut-cascader/convert-config": {
411
- "type": "object",
412
- "description": "属性说明:当options为可转换为树形结构的扁平结构时,配置转换规则,默认值:-"
413
- },
414
- "nut-cascader/title": {
415
- "type": "string",
416
- "description": "属性说明:标题,默认值:''"
417
- },
418
- "nut-cascader/close-icon-position": {
419
- "type": "string",
420
- "description": "属性说明:取消按钮位置,继承 Popup 组件,默认值:\"top-right\""
421
- },
422
- "nut-cascader/close-icon": {
423
- "type": "string",
424
- "description": "属性说明:自定义关闭按钮,继承 Popup 组件,默认值:\"close\""
425
- },
426
- "nut-cascader/closeable": {
427
- "type": "boolean",
428
- "description": "属性说明:是否显示关闭按钮,继承 Popup 组件,默认值:true"
429
- },
430
- "nut-cascader/poppable": {
431
- "type": "boolean",
432
- "description": "属性说明:是否需要弹层展示(设置为false后,title失效),默认值:true"
433
- },
434
- "nut-category/type": {
435
- "type": "string",
436
- "description": "属性说明:分类模式:`classify`,`text`,`custom`,默认值:classify"
437
- },
438
- "nut-category/category": {
439
- "type": "array",
440
- "description": "属性说明:左侧导航栏数据列表,默认值:[]"
441
- },
442
- "nut-cell/title": {
443
- "type": "string",
444
- "description": "属性说明:分组标题,默认值:-"
445
- },
446
- "nut-cell/desc": {
447
- "type": "string",
448
- "description": "属性说明:分组描述,默认值:-"
449
- },
450
- "nut-checkbox/v-model": {
451
- "type": "boolean",
452
- "description": "属性说明:是否处于选中状态,默认值:`false`"
453
- },
454
- "nut-checkbox/disabled": {
455
- "type": "boolean",
456
- "description": "属性说明:是否禁用选择,默认值:`false`"
457
- },
458
- "nut-checkbox/text-position": {
459
- "type": "string",
460
- "description": "属性说明:文本所在的位置,可选值:`left`,`right`,默认值:`right`"
461
- },
462
- "nut-checkbox/icon-size": {
463
- "type": "string、number",
464
- "description": "属性说明:[图标尺寸](#/zh-CN/component/icon),默认值:`18`"
465
- },
466
- "nut-checkbox/label": {
467
- "type": "string",
468
- "description": "属性说明:复选框的文本内容,默认值:-"
469
- },
470
- "nut-checkbox/indeterminate": {
471
- "type": "boolean",
472
- "description": "属性说明:当前是否支持半选状态,一般用在全选操作中,默认值:`false`"
473
- },
474
- "nut-circleprogress/progress": {
475
- "type": "number,string",
476
- "description": "属性说明:百分比,默认值:必传项,无默认值"
477
- },
478
- "nut-circleprogress/stroke-width": {
479
- "type": "number,string",
480
- "description": "属性说明:圆弧的宽度,默认值:5"
481
- },
482
- "nut-circleprogress/radius": {
483
- "type": "number,string",
484
- "description": "属性说明:半径,默认值:50"
485
- },
486
- "nut-circleprogress/color": {
487
- "type": "string , object",
488
- "description": "属性说明:圆环进度条颜色,默认值:'#fa2c19'"
489
- },
490
- "nut-circleprogress/path-color": {
491
- "type": "string",
492
- "description": "属性说明:圆环轨道颜色,默认值:'#d9d9d9'"
493
- },
494
- "nut-circleprogress/stroke-linecap": {
495
- "type": "string",
496
- "description": "属性说明:圆环进度条端点形状可选值为 square butt,默认值:'round'"
497
- },
498
- "nut-circleprogress/clockwise": {
499
- "type": "boolean",
500
- "description": "属性说明:是否顺时针展示,默认值:true"
501
- },
502
- "nut-collapse/v-model": {
503
- "type": "手风琴模式:string | number<br>非手风琴模式:(string | number)[]",
504
- "description": "属性说明:当前展开面板的 name,默认值:-"
505
- },
506
- "nut-collapse/accordion": {
507
- "type": "_boolean_",
508
- "description": "属性说明:是否开启手风琴模式,默认值:`false`"
509
- },
510
- "nut-comment/header-type": {
511
- "type": "string",
512
- "description": "属性说明:头部样式展示类型,可选: default,complex,默认值:default"
513
- },
514
- "nut-comment/images-rows": {
515
- "type": "string",
516
- "description": "属性说明:评论图片展示行数,可选: one,multi,默认值:one"
517
- },
518
- "nut-comment/ellipsis": {
519
- "type": "[string,number]",
520
- "description": "属性说明:设置评论内容省略行数,默认值:2"
521
- },
522
- "nut-comment/videos": {
523
- "type": "array",
524
- "description": "属性说明:视频信息,默认值:[]"
525
- },
526
- "nut-comment/images": {
527
- "type": "array",
528
- "description": "属性说明:图片信息,默认值:[]"
529
- },
530
- "nut-comment/info": {
531
- "type": "object",
532
- "description": "属性说明:评论详情,默认值:{}"
533
- },
534
- "nut-comment/follow": {
535
- "type": "object",
536
- "description": "属性说明:追评内容,默认值:{}"
537
- },
538
- "nut-comment/operation": {
539
- "type": "array",
540
- "description": "属性说明:配置底部按钮,默认值:[\"replay\", \"like\", \"more\"]"
541
- },
542
- "nut-configprovider/theme": {
543
- "type": "string",
544
- "description": "属性说明:主题风格,设置为 `dark` 来开启深色模式,全局生效,默认值:-"
545
- },
546
- "nut-configprovider/tag": {
547
- "type": "string",
548
- "description": "属性说明:根节点对应的 HTML 标签名,默认值:div"
549
- },
550
- "nut-countdown/v-model": {
551
- "type": "object",
552
- "description": "属性说明:当前时间,自定义展示内容时生效,默认值:{}"
553
- },
554
- "nut-countdown/start-time": {
555
- "type": "string, number",
556
- "description": "属性说明:开始时间,默认值:Date.now()"
557
- },
558
- "nut-countdown/end-time": {
559
- "type": "string, number",
560
- "description": "属性说明:结束时间,默认值:Date.now()"
561
- },
562
- "nut-countdown/format": {
563
- "type": "string",
564
- "description": "属性说明:时间格式,默认值:HH:mm:ss"
565
- },
566
- "nut-countdown/millisecond": {
567
- "type": "boolean",
568
- "description": "属性说明:是否开启毫秒级渲染,默认值:false"
569
- },
570
- "nut-countdown/auto-start": {
571
- "type": "boolean",
572
- "description": "属性说明:是否自动开始倒计时,默认值:true"
573
- },
574
- "nut-countdown/time": {
575
- "type": "string,number",
576
- "description": "属性说明:倒计时显示时间,单位是毫秒。autoStart 为 false 时生效,默认值:0"
577
- },
578
- "nut-countdown/paused": {
579
- "type": "boolean",
580
- "description": "属性说明:是否暂停,默认值:false"
581
- },
582
- "nut-countup/init-num": {
583
- "type": "number",
584
- "description": "属性说明:初始数字,默认值:0"
585
- },
586
- "nut-countup/end-num": {
587
- "type": "number",
588
- "description": "属性说明:结束数字,默认值:0"
589
- },
590
- "nut-countup/speed": {
591
- "type": "number",
592
- "description": "属性说明:间隔数字,目前仅支持基本用法,默认值:1"
593
- },
594
- "nut-countup/to-fixed": {
595
- "type": "number",
596
- "description": "属性说明:保留小数点后几位,默认值:以传入的数字为准"
597
- },
598
- "nut-countup/start-flag": {
599
- "type": "boolean",
600
- "description": "属性说明:触发数字滚动的标识,默认值:true"
601
- },
602
- "nut-countup/during": {
603
- "type": "number",
604
- "description": "属性说明:滚动一次运行时间,默认值:1000"
605
- },
606
- "nut-countup/num-width": {
607
- "type": "number",
608
- "description": "属性说明:数字宽度,常用于自定义无缝滚动,默认值:20"
609
- },
610
- "nut-countup/num-height": {
611
- "type": "number",
612
- "description": "属性说明:数字高度,常用于自定义无缝滚动(抽奖功能必传),默认值:20"
613
- },
614
- "nut-countup/scrolling": {
615
- "type": "boolean",
616
- "description": "属性说明:用于数字滚动展示,默认值:false"
617
- },
618
- "nut-countup/custom": {
619
- "type": "boolean",
620
- "description": "属性说明:用于自定义图片数字滚动,默认值:false"
621
- },
622
- "nut-countup/custom-change-num": {
623
- "type": "number",
624
- "description": "属性说明:要变化的数字(用于自定义图片,initNum\\endNum在此无效),默认值:1"
625
- },
626
- "nut-countup/custom-bg-img": {
627
- "type": "-",
628
- "description": "属性说明:自定义图片(建议使用雪碧图实现,使用抽奖功能必须使用雪碧图),默认值:-"
629
- },
630
- "nut-countup/custom-spac-num": {
631
- "type": "number",
632
- "description": "属性说明:图片中数字之间可能会存在间距,默认值:0"
633
- },
634
- "nut-countup/type": {
635
- "type": "string",
636
- "description": "属性说明:使用抽奖功能必传“machine”,默认值:''"
637
- },
638
- "nut-countup/machine-prize-num": {
639
- "type": "number",
640
- "description": "属性说明:奖品个数,一共多少个奖品,必传,默认值:4"
641
- },
642
- "nut-countup/machine-num": {
643
- "type": "number",
644
- "description": "属性说明:抽奖位,即滚动几个,必传,默认值:3"
645
- },
646
- "nut-countup/machine-prize-level": {
647
- "type": "number",
648
- "description": "属性说明:中奖图标,图标在雪碧图中的位置,默认值:0"
649
- },
650
- "nut-countup/machine-turn-more": {
651
- "type": "number",
652
- "description": "属性说明:滚动圈数,默认值:0"
653
- },
654
- "nut-datepicker/v-model": {
655
- "type": "date",
656
- "description": "属性说明:初始值,默认值:`null`"
657
- },
658
- "nut-datepicker/type": {
659
- "type": "string",
660
- "description": "属性说明:时间类型,可选值 date time year-month month-day datehour,默认值:`'date'`"
661
- },
662
- "nut-datepicker/minute-step": {
663
- "type": "number",
664
- "description": "属性说明:分钟步进值,默认值:`1`"
665
- },
666
- "nut-datepicker/is-show-chinese": {
667
- "type": "boolean",
668
- "description": "属性说明:每列是否展示中文,默认值:`false`"
669
- },
670
- "nut-datepicker/min-date": {
671
- "type": "date",
672
- "description": "属性说明:开始日期,默认值:`十年前`"
673
- },
674
- "nut-datepicker/max-date": {
675
- "type": "date",
676
- "description": "属性说明:结束日期,默认值:`十年后`"
677
- },
678
- "nut-datepicker/formatter": {
679
- "type": "(type: string, option: pickeroption) => pickeroption",
680
- "description": "属性说明:选项格式化函数,默认值:"
681
- },
682
- "nut-datepicker/filter": {
683
- "type": "(type: string, option: pickeroption) => pickeroption[]",
684
- "description": "属性说明:选项过滤函数,默认值:"
685
- },
686
- "nut-datepicker/title": {
687
- "type": "string",
688
- "description": "属性说明:设置标题,默认值:`null`"
689
- },
690
- "nut-datepicker/ok-text": {
691
- "type": "string",
692
- "description": "属性说明:确定按钮文案,默认值:确定"
693
- },
694
- "nut-datepicker/cancel-text": {
695
- "type": "string",
696
- "description": "属性说明:取消按钮文案,默认值:取消"
697
- },
698
- "nut-datepicker/three-dimensional": {
699
- "type": "boolean",
700
- "description": "属性说明:是否开启3D效果,默认值:true"
701
- },
702
- "nut-datepicker/swipe-duration": {
703
- "type": "number、string",
704
- "description": "属性说明:惯性滚动时长,默认值:1000"
705
- },
706
- "nut-datepicker/visible-option-num": {
707
- "type": "number | string",
708
- "description": "属性说明:可见的选项个数,默认值:7"
709
- },
710
- "nut-datepicker/option-height": {
711
- "type": "number | string",
712
- "description": "属性说明:选项高度,默认值:36"
713
- },
714
- "nut-datepicker/show-toolbar": {
715
- "type": "boolean",
716
- "description": "属性说明:是否显示顶部导航,默认值:true"
717
- },
718
- "nut-dialog/title": {
719
- "type": "string",
720
- "description": "属性说明:标题,默认值:-"
721
- },
722
- "nut-dialog/id": {
723
- "type": "string/number",
724
- "description": "属性说明:标识符,相同时共用一个实例,默认为多个实例,默认值:new Date().getTime()"
725
- },
726
- "nut-dialog/content": {
727
- "type": "string/vnode",
728
- "description": "属性说明:内容,支持HTML和组件,默认值:-"
729
- },
730
- "nut-dialog/teleport": {
731
- "type": "string",
732
- "description": "属性说明:指定挂载节点,默认值:\"body\""
733
- },
734
- "nut-dialog/closeOnClickOverlay": {
735
- "type": "boolean",
736
- "description": "属性说明:点击蒙层是否关闭对话框,默认值:false"
737
- },
738
- "nut-dialog/noFooter": {
739
- "type": "boolean",
740
- "description": "属性说明:是否隐藏底部按钮栏,默认值:false"
741
- },
742
- "nut-dialog/noOkBtn": {
743
- "type": "boolean",
744
- "description": "属性说明:是否隐藏确定按钮,默认值:false"
745
- },
746
- "nut-dialog/noCancelBtn": {
747
- "type": "boolean",
748
- "description": "属性说明:是否隐藏取消按钮,默认值:false"
749
- },
750
- "nut-dialog/cancelText": {
751
- "type": "string",
752
- "description": "属性说明:取消按钮文案,默认值:”取消“"
753
- },
754
- "nut-dialog/okText": {
755
- "type": "string",
756
- "description": "属性说明:确定按钮文案,默认值:”确定“"
757
- },
758
- "nut-dialog/cancelAutoClose": {
759
- "type": "boolean",
760
- "description": "属性说明:取消按钮是否默认关闭弹窗,默认值:true"
761
- },
762
- "nut-dialog/textAlign": {
763
- "type": "string",
764
- "description": "属性说明:文字对齐方向,可选值同css的text-align,默认值:\"center\""
765
- },
766
- "nut-dialog/closeOnPopstate": {
767
- "type": "boolean",
768
- "description": "属性说明:是否在页面回退时自动关闭,默认值:false"
769
- },
770
- "nut-dialog/customClass": {
771
- "type": "string",
772
- "description": "属性说明:自定义class,默认值:"
773
- },
774
- "nut-dialog/overlayClass": {
775
- "type": "string",
776
- "description": "属性说明:自定义遮罩类名,默认值:-"
777
- },
778
- "nut-dialog/overlayStyle": {
779
- "type": "cssproperties",
780
- "description": "属性说明:自定义遮罩样式,默认值:-"
781
- },
782
- "nut-dialog/popClass": {
783
- "type": "string",
784
- "description": "属性说明:自定义popup弹框类名,默认值:-"
785
- },
786
- "nut-dialog/popStyle": {
787
- "type": "cssproperties",
788
- "description": "属性说明:自定义popup弹框样式,默认值:-"
789
- },
790
- "nut-dialog/onUpdate": {
791
- "type": "boolean",
792
- "description": "属性说明:更新,默认值:false"
793
- },
794
- "nut-dialog/onOk": {
795
- "type": "function",
796
- "description": "属性说明:确定按钮回调,默认值:-"
797
- },
798
- "nut-dialog/onCancel": {
799
- "type": "function",
800
- "description": "属性说明:取消按钮回调,默认值:-"
801
- },
802
- "nut-dialog/onOpened": {
803
- "type": "function",
804
- "description": "属性说明:打开弹框后回调,默认值:-"
805
- },
806
- "nut-dialog/onClosed": {
807
- "type": "function",
808
- "description": "属性说明:关闭弹框后回调,默认值:-"
809
- },
810
- "nut-dialog/beforeClose": {
811
- "type": "function(action: string)",
812
- "description": "属性说明:关闭前的回调函数,返回 `false` 可阻止关闭,支持返回 `Promise`,默认值:-"
813
- },
814
- "nut-divider/dashed": {
815
- "type": "boolean",
816
- "description": "属性说明:是否使用虚线,默认值:false"
817
- },
818
- "nut-divider/hairline": {
819
- "type": "boolean",
820
- "description": "属性说明:是否使用 0.5px 线,默认值:true"
821
- },
822
- "nut-divider/content-position": {
823
- "type": "string",
824
- "description": "属性说明:内容位置,可选值为left right,默认值:center"
825
- },
826
- "nut-divider/direction": {
827
- "type": "string",
828
- "description": "属性说明:水平还是垂直类型,默认值:'horizontal'"
829
- },
830
- "nut-drag/attract": {
831
- "type": "boolean",
832
- "description": "属性说明:是否开启自动吸边,默认值:false"
833
- },
834
- "nut-drag/direction": {
835
- "type": "string",
836
- "description": "属性说明:拖拽元素的拖拽方向限制,**x**/**y**/**all**三选一,默认值:'all'"
837
- },
838
- "nut-drag/boundary": {
839
- "type": "object",
840
- "description": "属性说明:拖拽元素的拖拽边界,默认值:{top: 0,left: 0,right: 0,bottom: 0}"
841
- },
842
- "nut-ecard/modelValue": {
843
- "type": "number",
844
- "description": "属性说明:购买电子卡所需价钱,默认值:0"
845
- },
846
- "nut-ecard/choose-text": {
847
- "type": "string",
848
- "description": "属性说明:选择面值文案,默认值:请选择电子卡面值"
849
- },
850
- "nut-ecard/other-value-text": {
851
- "type": "string",
852
- "description": "属性说明:其他面值文案,默认值:其他面值"
853
- },
854
- "nut-ecard/data-list": {
855
- "type": "array",
856
- "description": "属性说明:电子卡面值列表,默认值:[]"
857
- },
858
- "nut-ecard/card-amount-min": {
859
- "type": "number",
860
- "description": "属性说明:其它面值最小值,默认值:1"
861
- },
862
- "nut-ecard/card-amount-max": {
863
- "type": "number",
864
- "description": "属性说明:其他面值最大值,默认值:9999"
865
- },
866
- "nut-ecard/card-buy-min": {
867
- "type": "number",
868
- "description": "属性说明:购买数量最小值,默认值:9999"
869
- },
870
- "nut-ecard/card-buy-max": {
871
- "type": "number",
872
- "description": "属性说明:购买数量最大值,默认值:9999"
873
- },
874
- "nut-ecard/placeholder": {
875
- "type": "string",
876
- "description": "属性说明:其他面值默认提示语,默认值:请输入1-5000整数"
877
- },
878
- "nut-ecard/suffix": {
879
- "type": "string",
880
- "description": "属性说明:符号标示,默认值:¥"
881
- },
882
- "nut-elevator/height": {
883
- "type": "number、string",
884
- "description": "属性说明:电梯区域的高度,默认值:`200px`"
885
- },
886
- "nut-elevator/accept-key": {
887
- "type": "string",
888
- "description": "属性说明:索引 key 值,默认值:`title`"
889
- },
890
- "nut-elevator/index-list": {
891
- "type": "array(item需包含 id、name属性, name支持传入 html 结构)",
892
- "description": "属性说明:索引列表,默认值:`[{id: 0, name: ''}]`"
893
- },
894
- "nut-elevator/is-sticky": {
895
- "type": "boolean",
896
- "description": "属性说明:索引是否吸顶,默认值:`false`"
897
- },
898
- "nut-elevator/space-height": {
899
- "type": "number",
900
- "description": "属性说明:右侧锚点的上下间距,默认值:`23`"
901
- },
902
- "nut-elevator/title-height": {
903
- "type": "number",
904
- "description": "属性说明:左侧索引的高度,默认值:`35`"
905
- },
906
- "nut-ellipsis/content": {
907
- "type": "string",
908
- "description": "属性说明:文本内容,默认值:-"
909
- },
910
- "nut-ellipsis/direction": {
911
- "type": "'start'",
912
- "description": "属性说明:省略位置,默认值:'end'"
913
- },
914
- "nut-ellipsis/rows": {
915
- "type": "number",
916
- "description": "属性说明:展示几行,默认值:1"
917
- },
918
- "nut-ellipsis/expand-text": {
919
- "type": "string",
920
- "description": "属性说明:展开操作的文案,默认值:''"
921
- },
922
- "nut-ellipsis/collapse-text": {
923
- "type": "string",
924
- "description": "属性说明:收起操作的文案,默认值:''"
925
- },
926
- "nut-ellipsis/symbol": {
927
- "type": "string",
928
- "description": "属性说明:省略的符号,默认值:'...'"
929
- },
930
- "nut-ellipsis/line-height": {
931
- "type": "string、number",
932
- "description": "属性说明:容器的行高,默认值:20"
933
- },
934
- "nut-empty/image": {
935
- "type": "string",
936
- "description": "属性说明:图片类型,可选值为 error network search,支持传入图片 URL,默认值:empty"
937
- },
938
- "nut-empty/image-size": {
939
- "type": "number | string",
940
- "description": "属性说明:图片大小,Number 类型单位为 px,默认值:-"
941
- },
942
- "nut-empty/description": {
943
- "type": "string",
944
- "description": "属性说明:图片下方的描述文字,默认值:无内容"
945
- },
946
- "nut-fixednav/visible": {
947
- "type": "boolean",
948
- "description": "属性说明:是否打开,默认值:false"
949
- },
950
- "nut-fixednav/nav-list": {
951
- "type": "array",
952
- "description": "属性说明:悬浮列表内容数据,默认值:[]"
953
- },
954
- "nut-fixednav/active-color": {
955
- "type": "string",
956
- "description": "属性说明:选中按钮文案颜色,默认值:#fa2c19 默认集成主题色"
957
- },
958
- "nut-fixednav/active-text": {
959
- "type": "string",
960
- "description": "属性说明:收起列表按钮文案,默认值:收起导航"
961
- },
962
- "nut-fixednav/un-active-text": {
963
- "type": "string",
964
- "description": "属性说明:展开列表按钮文案,默认值:快速导航"
965
- },
966
- "nut-fixednav/type": {
967
- "type": "string",
968
- "description": "属性说明:导航方向,可选值 left right,默认值:right"
969
- },
970
- "nut-fixednav/overlay": {
971
- "type": "boolean",
972
- "description": "属性说明:展开时是否显示遮罩,默认值:true"
973
- },
974
- "nut-fixednav/position": {
975
- "type": "object",
976
- "description": "属性说明:fixed 垂直位置,默认值:{top: 'auto',bottom: 'auto'}"
977
- },
978
- "nut-form/model-value": {
979
- "type": "object",
980
- "description": "属性说明:表单数据对象(使用表单校验时,_必填_),默认值:"
981
- },
982
- "nut-form/rules": {
983
- "type": "{ prop: formitemrule[] }",
984
- "description": "属性说明:统一配置每个 FormItem 的 rules,默认值:{}"
985
- },
986
- "nut-grid/column-num": {
987
- "type": "number | string",
988
- "description": "属性说明:列数,默认值:`4`"
989
- },
990
- "nut-grid/border": {
991
- "type": "boolean",
992
- "description": "属性说明:是否显示边框,默认值:`true`"
993
- },
994
- "nut-grid/gutter": {
995
- "type": "number | string",
996
- "description": "属性说明:格子之间的间距,默认单位为`px`,默认值:`0`"
997
- },
998
- "nut-grid/center": {
999
- "type": "boolean",
1000
- "description": "属性说明:是否将格子内容居中显示,默认值:`true`"
1001
- },
1002
- "nut-grid/square": {
1003
- "type": "boolean",
1004
- "description": "属性说明:是否将格子固定为正方形,默认值:`false`"
1005
- },
1006
- "nut-grid/reverse": {
1007
- "type": "boolean",
1008
- "description": "属性说明:内容翻转,默认值:`false`"
1009
- },
1010
- "nut-grid/direction": {
1011
- "type": "string",
1012
- "description": "属性说明:格子内容排列的方向,可选值为 `horizontal`,默认值:`vertical`"
1013
- },
1014
- "nut-grid/clickable": {
1015
- "type": "boolean",
1016
- "description": "属性说明:是否开启格子点击反馈,默认值:`false`"
1017
- },
1018
- "nut-icon/name": {
1019
- "type": "string",
1020
- "description": "属性说明:图标名称或图片链接,默认值:-"
1021
- },
1022
- "nut-icon/color": {
1023
- "type": "string",
1024
- "description": "属性说明:图标颜色,默认值:-"
1025
- },
1026
- "nut-icon/width": {
1027
- "type": "string or number",
1028
- "description": "属性说明:图标大小,如 `20px` `2em` `2rem`,默认值:-"
1029
- },
1030
- "nut-icon/height": {
1031
- "type": "string or number",
1032
- "description": "属性说明:图标大小,如 `20px` `2em` `2rem`,默认值:-"
1033
- },
1034
- "nut-image/src": {
1035
- "type": "string",
1036
- "description": "属性说明:图片链接,默认值:-"
1037
- },
1038
- "nut-image/fit": {
1039
- "type": "imagefit",
1040
- "description": "属性说明:图片填充模式,等同于原生的 object-fit 属性,默认值:'fill'"
1041
- },
1042
- "nut-image/position": {
1043
- "type": "imageposition",
1044
- "description": "属性说明:图片位置,等同于原生的 object-position 属性,默认值:'center'"
1045
- },
1046
- "nut-image/alt": {
1047
- "type": "string",
1048
- "description": "属性说明:替代文本,默认值:-"
1049
- },
1050
- "nut-image/width": {
1051
- "type": "string",
1052
- "description": "属性说明:宽度,默认单位`px`,默认值:-"
1053
- },
1054
- "nut-image/height": {
1055
- "type": "string",
1056
- "description": "属性说明:高度,默认单位`px`,默认值:-"
1057
- },
1058
- "nut-image/round": {
1059
- "type": "boolean",
1060
- "description": "属性说明:是否显示为圆角,默认值:false"
1061
- },
1062
- "nut-image/radius": {
1063
- "type": "string | numer",
1064
- "description": "属性说明:圆角大小,默认值:-"
1065
- },
1066
- "nut-image/show-error": {
1067
- "type": "boolean",
1068
- "description": "属性说明:是否展示图片加载失败,默认值:false"
1069
- },
1070
- "nut-image/show-loading": {
1071
- "type": "boolean",
1072
- "description": "属性说明:是否展示加载中图片,默认值:true"
1073
- },
1074
- "nut-imagepreview/show": {
1075
- "type": "boolean",
1076
- "description": "属性说明:是否展示预览图片,默认值:false"
1077
- },
1078
- "nut-imagepreview/videos": {
1079
- "type": "videoarray[]",
1080
- "description": "属性说明:预览的视频数组(视频自动放到图片之前、taro场景暂不支持),默认值:[]"
1081
- },
1082
- "nut-imagepreview/images": {
1083
- "type": "imagearray[]",
1084
- "description": "属性说明:预览图片数组,默认值:[]"
1085
- },
1086
- "nut-imagepreview/autoplay": {
1087
- "type": "number、string",
1088
- "description": "属性说明:自动轮播时长,0表示不会自动轮播,默认值:3000"
1089
- },
1090
- "nut-imagepreview/init-no": {
1091
- "type": "number",
1092
- "description": "属性说明:初始页码,默认值:1"
1093
- },
1094
- "nut-imagepreview/pagination-visible": {
1095
- "type": "boolean",
1096
- "description": "属性说明:分页指示器是否展示,默认值:false"
1097
- },
1098
- "nut-imagepreview/pagination-color": {
1099
- "type": "string",
1100
- "description": "属性说明:分页指示器选中的颜色,默认值:'#fff'"
1101
- },
1102
- "nut-imagepreview/content-close": {
1103
- "type": "boolean",
1104
- "description": "属性说明:点击图片可以退出预览,默认值:false"
1105
- },
1106
- "nut-imagepreview/show-index": {
1107
- "type": "boolean",
1108
- "description": "属性说明:是否显示页码,默认值:true"
1109
- },
1110
- "nut-imagepreview/closeable": {
1111
- "type": "boolean",
1112
- "description": "属性说明:是否显示关闭图标,默认值:false"
1113
- },
1114
- "nut-imagepreview/close-icon-position": {
1115
- "type": "string",
1116
- "description": "属性说明:关闭图标位置,可选值:top-left,默认值:‘top-right’"
1117
- },
1118
- "nut-imagepreview/before-close": {
1119
- "type": "(active: number) => boolean",
1120
- "description": "属性说明:关闭前的回调函数,返回 false 可阻止关闭,支持返回 Promise,默认值:Promise<`boolean`>"
1121
- },
1122
- "nut-imagepreview/max-zoom": {
1123
- "type": "number",
1124
- "description": "属性说明:手势缩放时,最大缩放比例`小程序暂不支持`,默认值:3"
1125
- },
1126
- "nut-imagepreview/min-zoom": {
1127
- "type": "number",
1128
- "description": "属性说明:手势缩放时,最小缩放比例`小程序暂不支持`,默认值:1/3"
1129
- },
1130
- "nut-imagepreview/is-Loop": {
1131
- "type": "boolean",
1132
- "description": "属性说明:是否循环播放,默认值:`true`"
1133
- },
1134
- "nut-indicator/current": {
1135
- "type": "number",
1136
- "description": "属性说明:当前步骤,默认值:1"
1137
- },
1138
- "nut-indicator/size": {
1139
- "type": "number",
1140
- "description": "属性说明:步骤长度,默认值:3"
1141
- },
1142
- "nut-indicator/block": {
1143
- "type": "boolean",
1144
- "description": "属性说明:是否启用块级布局,默认值:false"
1145
- },
1146
- "nut-indicator/align": {
1147
- "type": "string",
1148
- "description": "属性说明:对齐方式,仅在block为true时生效, 可选值 'left', 'right', 'center',默认值:left"
1149
- },
1150
- "nut-indicator/fill-zero": {
1151
- "type": "boolean",
1152
- "description": "属性说明:单数前面是否补0,默认值:true"
1153
- },
1154
- "nut-infiniteloading/v-model": {
1155
- "type": "boolean",
1156
- "description": "属性说明:是否触发滚动加载,默认值:`false`"
1157
- },
1158
- "nut-infiniteloading/has-more": {
1159
- "type": "boolean",
1160
- "description": "属性说明:是否还有更多数据,默认值:`true`"
1161
- },
1162
- "nut-infiniteloading/threshold": {
1163
- "type": "number",
1164
- "description": "属性说明:滚动条与底部距离小于 threshold 时触发 loadMore 事件,默认值:`200`"
1165
- },
1166
- "nut-infiniteloading/use-capture": {
1167
- "type": "boolean",
1168
- "description": "属性说明:是否使用捕获模式 true 捕获 false 冒泡,默认值:`false`"
1169
- },
1170
- "nut-infiniteloading/load-more-txt": {
1171
- "type": "string",
1172
- "description": "属性说明:“没有更多数”据展示文案,默认值:`'哎呀,这里是底部了啦'`"
1173
- },
1174
- "nut-infiniteloading/load-txt": {
1175
- "type": "string",
1176
- "description": "属性说明:上拉加载提示文案,默认值:`加载中...`"
1177
- },
1178
- "nut-input/v-model": {
1179
- "type": "string",
1180
- "description": "属性说明:输入值,双向绑定,默认值:-"
1181
- },
1182
- "nut-input/type": {
1183
- "type": "string",
1184
- "description": "属性说明:输入框类型,支持原生 `input` 标签的所有 `type` 属性,另外还支持 `number` `digit`,默认值:`text`"
1185
- },
1186
- "nut-input/placeholder": {
1187
- "type": "string",
1188
- "description": "属性说明:输入框为空时占位符,默认值:-"
1189
- },
1190
- "nut-input/input-align": {
1191
- "type": "string",
1192
- "description": "属性说明:输入框内容对齐方式,可选值 `left`、`center`、`right`,默认值:`left`"
1193
- },
1194
- "nut-input/border": {
1195
- "type": "boolean",
1196
- "description": "属性说明:是否显示下边框,默认值:`true`"
1197
- },
1198
- "nut-input/disabled": {
1199
- "type": "boolean",
1200
- "description": "属性说明:是否禁用,默认值:`false`"
1201
- },
1202
- "nut-input/readonly": {
1203
- "type": "boolean",
1204
- "description": "属性说明:是否只读,默认值:`false`"
1205
- },
1206
- "nut-input/autofocus": {
1207
- "type": "boolean",
1208
- "description": "属性说明:是否自动获得焦点,iOS 系统不支持该属性,默认值:`false`"
1209
- },
1210
- "nut-input/max-length": {
1211
- "type": "string、number",
1212
- "description": "属性说明:限制最长输入字符,默认值:-"
1213
- },
1214
- "nut-input/clearable": {
1215
- "type": "boolean",
1216
- "description": "属性说明:展示清除 Icon,默认值:`false`"
1217
- },
1218
- "nut-input/clear-size": {
1219
- "type": "string",
1220
- "description": "属性说明:清除图标的 `font-size` 大小,默认值:`14`"
1221
- },
1222
- "nut-input/show-word-limit": {
1223
- "type": "boolean",
1224
- "description": "属性说明:是否显示限制最长输入字符,需要设置 `max-length` 属性,默认值:`false`"
1225
- },
1226
- "nut-input/error": {
1227
- "type": "boolean",
1228
- "description": "属性说明:是否标红,默认值:`false`"
1229
- },
1230
- "nut-input/formatter": {
1231
- "type": "`(val: string) => string`",
1232
- "description": "属性说明:输入内容格式化函数,默认值:-"
1233
- },
1234
- "nut-input/format-trigger": {
1235
- "type": "string",
1236
- "description": "属性说明:格式化函数触发的时机,可选值为 `onChange`、`onBlur`,默认值:-"
1237
- },
1238
- "nut-input/confirm-type": {
1239
- "type": "string",
1240
- "description": "属性说明:键盘右下角按钮的文字,仅在`type='text'`时生效,可选值 `send`:发送、`search`:搜索、`next`:下一个、`go`:前往、`done`:完成,默认值:`done`"
1241
- },
1242
- "nut-inputnumber/v-model": {
1243
- "type": "string、number",
1244
- "description": "属性说明:初始值,默认值:-"
1245
- },
1246
- "nut-inputnumber/input-width": {
1247
- "type": "string",
1248
- "description": "属性说明:输入框宽度,默认值:`40px`"
1249
- },
1250
- "nut-inputnumber/button-size": {
1251
- "type": "string",
1252
- "description": "属性说明:操作符+、-尺寸,默认值:`20px`"
1253
- },
1254
- "nut-inputnumber/min": {
1255
- "type": "string、number",
1256
- "description": "属性说明:最小值限制,默认值:`1`"
1257
- },
1258
- "nut-inputnumber/max": {
1259
- "type": "string、number",
1260
- "description": "属性说明:最大值限制,默认值:`9999`"
1261
- },
1262
- "nut-inputnumber/step": {
1263
- "type": "string、number",
1264
- "description": "属性说明:步长,默认值:`1`"
1265
- },
1266
- "nut-inputnumber/decimal-places": {
1267
- "type": "string、number",
1268
- "description": "属性说明:设置保留的小数位,默认值:`0`"
1269
- },
1270
- "nut-inputnumber/disabled": {
1271
- "type": "boolean",
1272
- "description": "属性说明:禁用所有功能,默认值:false"
1273
- },
1274
- "nut-inputnumber/readonly": {
1275
- "type": "boolean",
1276
- "description": "属性说明:只读状态禁用输入框操作行为,默认值:false"
1277
- },
1278
- "nut-invoice/data": {
1279
- "type": "array",
1280
- "description": "属性说明:发票数据,默认值:-"
1281
- },
1282
- "nut-invoice/form-value": {
1283
- "type": "object",
1284
- "description": "属性说明:表单数据对象(使用表单校验时,_必填_),默认值:-"
1285
- },
1286
- "nut-invoice/submit": {
1287
- "type": "boolean",
1288
- "description": "属性说明:是否显示提交按钮,默认值:true"
1289
- },
1290
- "nut-layout/type": {
1291
- "type": "string",
1292
- "description": "属性说明:布局方式,可选值为flex,默认值:-"
1293
- },
1294
- "nut-layout/gutter": {
1295
- "type": "string、number",
1296
- "description": "属性说明:列元素之间的间距(单位为px),默认值:-"
1297
- },
1298
- "nut-layout/justify": {
1299
- "type": "string",
1300
- "description": "属性说明:Flex 主轴对齐方式,可选值为 start end center space-around space-between space-evenly,默认值:start"
1301
- },
1302
- "nut-layout/align": {
1303
- "type": "string",
1304
- "description": "属性说明:Flex 交叉轴对齐方式,可选值为 flex-start center flex-end,默认值:flex-start"
1305
- },
1306
- "nut-layout/flex-wrap": {
1307
- "type": "string",
1308
- "description": "属性说明:Flex是否换行,可选值为 nowrap wrap reverse,默认值:nowrap"
1309
- },
1310
- "nut-list/height": {
1311
- "type": "number",
1312
- "description": "属性说明:列表项的高度,默认值:`50`"
1313
- },
1314
- "nut-list/list-data": {
1315
- "type": "any[]",
1316
- "description": "属性说明:列表数据,默认值:`[]`"
1317
- },
1318
- "nut-list/container-height": {
1319
- "type": "number",
1320
- "description": "属性说明:容器高度(最大值不能超过可视区),默认值:`可视区高度`"
1321
- },
1322
- "nut-menu/active-color": {
1323
- "type": "string",
1324
- "description": "属性说明:选项的选中态图标颜色,默认值:#F2270C"
1325
- },
1326
- "nut-menu/close-on-click-overlay": {
1327
- "type": "boolean",
1328
- "description": "属性说明:是否在点击遮罩层后关闭菜单,默认值:true"
1329
- },
1330
- "nut-menu/scroll-fixed": {
1331
- "type": "boolean、string、number",
1332
- "description": "属性说明:滚动后是否固定,可设置固定位置,默认值:false"
1333
- },
1334
- "nut-menu/title-class": {
1335
- "type": "string",
1336
- "description": "属性说明:自定义标题样式类,默认值:-"
1337
- },
1338
- "nut-menu/lock-scroll": {
1339
- "type": "boolean",
1340
- "description": "属性说明:背景是否锁定,默认值:true"
1341
- },
1342
- "nut-navbar/title": {
1343
- "type": "string",
1344
- "description": "属性说明:标题名称,默认值:-"
1345
- },
1346
- "nut-navbar/left-text": {
1347
- "type": "string",
1348
- "description": "属性说明:左侧文案,默认值:-"
1349
- },
1350
- "nut-navbar/desc": {
1351
- "type": "string",
1352
- "description": "属性说明:右侧描述,默认值:-"
1353
- },
1354
- "nut-navbar/left-show": {
1355
- "type": "boolean",
1356
- "description": "属性说明:是否展示左侧箭头,默认值:false"
1357
- },
1358
- "nut-navbar/title-icon": {
1359
- "type": "boolean",
1360
- "description": "属性说明:标题中是否展示icon,默认值:false"
1361
- },
1362
- "nut-navbar/border": {
1363
- "type": "boolean",
1364
- "description": "属性说明:是否显示下边框,默认值:false"
1365
- },
1366
- "nut-navbar/fixed": {
1367
- "type": "boolean",
1368
- "description": "属性说明:是否固定到顶部,默认值:false"
1369
- },
1370
- "nut-navbar/placeholder": {
1371
- "type": "boolean",
1372
- "description": "属性说明:固定在顶部时,是否在标签位置生成一个等高的占位元素,默认值:false"
1373
- },
1374
- "nut-navbar/safe-area-inset-top": {
1375
- "type": "boolean",
1376
- "description": "属性说明:是否开启顶部安全区适配,默认值:false"
1377
- },
1378
- "nut-navbar/z-index": {
1379
- "type": "number | string",
1380
- "description": "属性说明:导航栏 z-index,默认值:-"
1381
- },
1382
- "nut-noticebar/direction": {
1383
- "type": "string",
1384
- "description": "属性说明:滚动的方向,可选 across、vertical,默认值:across"
1385
- },
1386
- "nut-noticebar/text": {
1387
- "type": "string",
1388
- "description": "属性说明:提示的信息,默认值:空"
1389
- },
1390
- "nut-noticebar/close-mode": {
1391
- "type": "boolean",
1392
- "description": "属性说明:是否启用关闭模式,默认值:false"
1393
- },
1394
- "nut-noticebar/left-icon": {
1395
- "type": "string",
1396
- "description": "属性说明:close为没有左边icon,其他为自定义的图片链接,没有为默认图片,默认值:空"
1397
- },
1398
- "nut-noticebar/right-icon": {
1399
- "type": "string",
1400
- "description": "属性说明:closeMode 模式下,默认为 ‘close’,其他模式下,没有为默认图片,默认值:空"
1401
- },
1402
- "nut-noticebar/color": {
1403
- "type": "string",
1404
- "description": "属性说明:导航栏的文字颜色,默认值:空"
1405
- },
1406
- "nut-noticebar/background": {
1407
- "type": "string",
1408
- "description": "属性说明:导航栏的背景颜色,默认值:空"
1409
- },
1410
- "nut-noticebar/delay": {
1411
- "type": "string/number",
1412
- "description": "属性说明:延时多少秒,默认值:1"
1413
- },
1414
- "nut-noticebar/scrollable": {
1415
- "type": "boolean",
1416
- "description": "属性说明:是否可以滚动,默认值:true"
1417
- },
1418
- "nut-noticebar/speed": {
1419
- "type": "number",
1420
- "description": "属性说明:滚动速率 (px/s),默认值:50"
1421
- },
1422
- "nut-noticebar/wrapable": {
1423
- "type": "boolean",
1424
- "description": "属性说明:是否开启文本换行,默认值:false"
1425
- },
1426
- "nut-notify/type": {
1427
- "type": "string",
1428
- "description": "属性说明:提示的信息类型(primary,success ,danger,warning),默认值:'danger'"
1429
- },
1430
- "nut-notify/message": {
1431
- "type": "boolean",
1432
- "description": "属性说明:展示文案,支持通过\\n换行,默认值:false"
1433
- },
1434
- "nut-notify/duration": {
1435
- "type": "number",
1436
- "description": "属性说明:展示时长(ms),值为 0 时,notify 不会消失,默认值:3000"
1437
- },
1438
- "nut-notify/color": {
1439
- "type": "string",
1440
- "description": "属性说明:字体颜色,默认值:空"
1441
- },
1442
- "nut-notify/background": {
1443
- "type": "string",
1444
- "description": "属性说明:背景颜色,默认值:空"
1445
- },
1446
- "nut-notify/class-name": {
1447
- "type": "string/number",
1448
- "description": "属性说明:自定义类名,默认值:1"
1449
- },
1450
- "nut-notify/position": {
1451
- "type": "string",
1452
- "description": "属性说明:自定义位置,默认值:'top'"
1453
- },
1454
- "nut-numberkeyboard/v-model:visible": {
1455
- "type": "boolean",
1456
- "description": "属性说明:是否显示键盘,默认值:false"
1457
- },
1458
- "nut-numberkeyboard/v-model": {
1459
- "type": "string",
1460
- "description": "属性说明:当前输入值,默认值:-"
1461
- },
1462
- "nut-numberkeyboard/title": {
1463
- "type": "string",
1464
- "description": "属性说明:键盘标题,默认值:-"
1465
- },
1466
- "nut-numberkeyboard/type": {
1467
- "type": "string",
1468
- "description": "属性说明:键盘模式,默认值:`default`:默认样式<br>`rightColumn`:带右侧栏"
1469
- },
1470
- "nut-numberkeyboard/random-keys": {
1471
- "type": "boolean",
1472
- "description": "属性说明:随机数,默认值:false"
1473
- },
1474
- "nut-numberkeyboard/custom-key": {
1475
- "type": "string []",
1476
- "description": "属性说明:自定义键盘额外的键,默认值:数组形式最多支持添加2个,超出默认取前2项"
1477
- },
1478
- "nut-numberkeyboard/overlay": {
1479
- "type": "boolean",
1480
- "description": "属性说明:是否显示遮罩,默认值:true"
1481
- },
1482
- "nut-numberkeyboard/maxlength": {
1483
- "type": "number | string",
1484
- "description": "属性说明:输入值最大长度,结合 v-model 使用,默认值:6"
1485
- },
1486
- "nut-numberkeyboard/confirm-text": {
1487
- "type": "string",
1488
- "description": "属性说明:自定义完成按钮文字,如\"支付\",\"下一步\",\"提交\"等,默认值:完成"
1489
- },
1490
- "nut-numberkeyboard/pop-class": {
1491
- "type": "string",
1492
- "description": "属性说明:自定义弹框类名,默认值:-"
1493
- },
1494
- "nut-overlay/v-model:visible": {
1495
- "type": "boolean",
1496
- "description": "属性说明:控制遮罩的显示/隐藏,默认值:`false`"
1497
- },
1498
- "nut-overlay/z-index": {
1499
- "type": "string, number",
1500
- "description": "属性说明:自定义遮罩层级,默认值:`2000`"
1501
- },
1502
- "nut-overlay/duration": {
1503
- "type": "string, string",
1504
- "description": "属性说明:显示/隐藏的动画时长,单位秒,默认值:`0.3`"
1505
- },
1506
- "nut-overlay/overlay-class": {
1507
- "type": "string",
1508
- "description": "属性说明:自定义遮罩类名,默认值:-"
1509
- },
1510
- "nut-overlay/overlay-style": {
1511
- "type": "cssproperties",
1512
- "description": "属性说明:自定义遮罩样式,默认值:-"
1513
- },
1514
- "nut-overlay/lock-scroll": {
1515
- "type": "boolean",
1516
- "description": "属性说明:遮罩显示时的背景是否锁定,默认值:`false`"
1517
- },
1518
- "nut-overlay/close-on-click-overlay": {
1519
- "type": "boolean",
1520
- "description": "属性说明:点击遮罩时是否关闭,如果设置 `false`,那么 `click`事件将失效,默认值:`true`"
1521
- },
1522
- "nut-pagination/v-model": {
1523
- "type": "number",
1524
- "description": "属性说明:当前页码,默认值:1"
1525
- },
1526
- "nut-pagination/mode": {
1527
- "type": "string",
1528
- "description": "属性说明:显示模式,可选值为 simple,默认值:multi"
1529
- },
1530
- "nut-pagination/prev-text": {
1531
- "type": "string",
1532
- "description": "属性说明:上一页按钮文字,默认值:上一页"
1533
- },
1534
- "nut-pagination/next-text": {
1535
- "type": "string",
1536
- "description": "属性说明:下一页按钮文字,默认值:下一页"
1537
- },
1538
- "nut-pagination/page-count": {
1539
- "type": "string,number",
1540
- "description": "属性说明:总页数,默认值:传入/根据页数计算"
1541
- },
1542
- "nut-pagination/total-items": {
1543
- "type": "string,number",
1544
- "description": "属性说明:总记录数,默认值:0"
1545
- },
1546
- "nut-pagination/items-per-page": {
1547
- "type": "string,number",
1548
- "description": "属性说明:每页记录数,默认值:10"
1549
- },
1550
- "nut-pagination/show-page-size": {
1551
- "type": "string,number",
1552
- "description": "属性说明:显示的页码个数,默认值:5"
1553
- },
1554
- "nut-pagination/force-ellipses": {
1555
- "type": "boolean",
1556
- "description": "属性说明:是否显示省略号,默认值:false"
1557
- },
1558
- "nut-picker/v-model:value": {
1559
- "type": "array",
1560
- "description": "属性说明:默认选中项,默认值:[]"
1561
- },
1562
- "nut-picker/columns": {
1563
- "type": "array",
1564
- "description": "属性说明:对象数组,配置每一列显示的数据,默认值:-"
1565
- },
1566
- "nut-picker/title": {
1567
- "type": "string",
1568
- "description": "属性说明:设置标题,默认值:-"
1569
- },
1570
- "nut-picker/cancel-text": {
1571
- "type": "string",
1572
- "description": "属性说明:取消按钮文案,默认值:取消"
1573
- },
1574
- "nut-picker/ok-text": {
1575
- "type": "string",
1576
- "description": "属性说明:确定按钮文案,默认值:确定"
1577
- },
1578
- "nut-picker/three-dimensional": {
1579
- "type": "boolean",
1580
- "description": "属性说明:是否开启3D效果,默认值:true"
1581
- },
1582
- "nut-picker/swipe-duration": {
1583
- "type": "number、string",
1584
- "description": "属性说明:惯性滚动时长,默认值:1000"
1585
- },
1586
- "nut-picker/safe-area-inset-bottom": {
1587
- "type": "boolean",
1588
- "description": "属性说明:是否开启 iphone 系列全面屏底部安全区适配,仅当 `position` 为 `bottom` 时有效,默认值:`false`"
1589
- },
1590
- "nut-picker/visible-option-num": {
1591
- "type": "number | string",
1592
- "description": "属性说明:可见的选项个数,默认值:7"
1593
- },
1594
- "nut-picker/option-height": {
1595
- "type": "number | string",
1596
- "description": "属性说明:选项高度,默认值:36"
1597
- },
1598
- "nut-picker/show-toolbar": {
1599
- "type": "boolean",
1600
- "description": "属性说明:是否显示顶部导航,默认值:true"
1601
- },
1602
- "nut-popover/list": {
1603
- "type": "list[]",
1604
- "description": "属性说明:选项列表,默认值:[]"
1605
- },
1606
- "nut-popover/visible": {
1607
- "type": "boolean",
1608
- "description": "属性说明:是否展示气泡弹出层,默认值:false"
1609
- },
1610
- "nut-popover/theme": {
1611
- "type": "string",
1612
- "description": "属性说明:主题风格,可选值为 dark,默认值:`light`"
1613
- },
1614
- "nut-popover/location": {
1615
- "type": "string",
1616
- "description": "属性说明:弹出位置,默认值:`bottom`"
1617
- },
1618
- "nut-popover/offset": {
1619
- "type": "[number, number]",
1620
- "description": "属性说明:出现位置的偏移量,默认值:[0, 12]"
1621
- },
1622
- "nut-popover/show-arrow": {
1623
- "type": "boolean",
1624
- "description": "属性说明:是否显示小箭头,默认值:true"
1625
- },
1626
- "nut-popover/custom-class": {
1627
- "type": "string",
1628
- "description": "属性说明:自定义 class 值,默认值:''"
1629
- },
1630
- "nut-popover/duration": {
1631
- "type": "[number, number]",
1632
- "description": "属性说明:动画时长,默认值:0.3"
1633
- },
1634
- "nut-popover/iconPrefix": {
1635
- "type": "string",
1636
- "description": "属性说明:图标自定义类值,等同于 Icon 组件的[ class-prefix 属性](https://nutui.jd.com/#/zh-CN/component/icon),默认值:'nut-icon''"
1637
- },
1638
- "nut-popover/overlay": {
1639
- "type": "boolean",
1640
- "description": "属性说明:是否显示遮罩层,默认值:false"
1641
- },
1642
- "nut-popover/overlay-class": {
1643
- "type": "string",
1644
- "description": "属性说明:自定义遮罩层类名,默认值:''"
1645
- },
1646
- "nut-popover/overlay-style": {
1647
- "type": "string",
1648
- "description": "属性说明:自定义遮罩层样式,默认值:''"
1649
- },
1650
- "nut-popover/close-on-click-overlay": {
1651
- "type": "boolean",
1652
- "description": "属性说明:是否在点击遮罩层后关闭菜单,默认值:true"
1653
- },
1654
- "nut-popover/close-on-click-action": {
1655
- "type": "boolean",
1656
- "description": "属性说明:是否在点击选项后关闭,默认值:true"
1657
- },
1658
- "nut-popover/close-on-click-outside": {
1659
- "type": "boolean",
1660
- "description": "属性说明:是否在点击外部元素后关闭菜单,默认值:true"
1661
- },
1662
- "nut-popover/bg-color": {
1663
- "type": "string",
1664
- "description": "属性说明:自定义背景色,默认值:-"
1665
- },
1666
- "nut-popover/target-id": {
1667
- "type": "string",
1668
- "description": "属性说明:自定义目标元素 id,默认值:-"
1669
- },
1670
- "nut-popover/arrow-offset": {
1671
- "type": "number",
1672
- "description": "属性说明:小箭头的偏移量,默认值:0"
1673
- },
1674
- "nut-popup/v-model:visible": {
1675
- "type": "boolean",
1676
- "description": "属性说明:控制当前组件显示/隐藏,默认值:`false`"
1677
- },
1678
- "nut-popup/z-index": {
1679
- "type": "string、number",
1680
- "description": "属性说明:遮罩层级,默认值:`2000`"
1681
- },
1682
- "nut-popup/duration": {
1683
- "type": "string、number",
1684
- "description": "属性说明:组件显示/隐藏的动画时长,单位秒,默认值:`0.3`"
1685
- },
1686
- "nut-popup/lock-scroll": {
1687
- "type": "boolean",
1688
- "description": "属性说明:背景是否锁定,默认值:`true`"
1689
- },
1690
- "nut-popup/overlay": {
1691
- "type": "boolean",
1692
- "description": "属性说明:是否显示遮罩,默认值:`true`"
1693
- },
1694
- "nut-popup/close-on-click-overlay": {
1695
- "type": "boolean",
1696
- "description": "属性说明:是否点击遮罩关闭,默认值:`true`"
1697
- },
1698
- "nut-popup/position": {
1699
- "type": "string",
1700
- "description": "属性说明:弹出位置(top,bottom,left,right,center),默认值:`\"center\"`"
1701
- },
1702
- "nut-popup/transition": {
1703
- "type": "string",
1704
- "description": "属性说明:动画名,默认值:-"
1705
- },
1706
- "nut-popup/style": {
1707
- "type": "cssproperties",
1708
- "description": "属性说明:自定义弹框样式,默认值:-"
1709
- },
1710
- "nut-popup/pop-class": {
1711
- "type": "string",
1712
- "description": "属性说明:自定义弹框类名,默认值:-"
1713
- },
1714
- "nut-popup/closeable": {
1715
- "type": "boolean",
1716
- "description": "属性说明:是否显示关闭按钮,默认值:`false`"
1717
- },
1718
- "nut-popup/close-icon-position": {
1719
- "type": "string",
1720
- "description": "属性说明:关闭按钮位置(top-left,top-right,bottom-left,bottom-right),默认值:`\"top-right\"`"
1721
- },
1722
- "nut-popup/destroy-on-close": {
1723
- "type": "boolean",
1724
- "description": "属性说明:弹层关闭后 `slot`内容会不会清空,默认值:`true`"
1725
- },
1726
- "nut-popup/round": {
1727
- "type": "boolean",
1728
- "description": "属性说明:是否显示圆角,默认值:`false`"
1729
- },
1730
- "nut-popup/teleport": {
1731
- "type": "string",
1732
- "description": "属性说明:指定挂载节点,默认值:`\"body\"`"
1733
- },
1734
- "nut-popup/teleport-disable": {
1735
- "type": "boolean",
1736
- "description": "属性说明:是否允许挂载节点,默认值:`false`"
1737
- },
1738
- "nut-popup/safe-area-inset-bottom": {
1739
- "type": "boolean",
1740
- "description": "属性说明:是否开启 iphone 系列全面屏底部安全区适配,仅当 `position` 为 `bottom` 时有效,默认值:`false`"
1741
- },
1742
- "nut-price/price": {
1743
- "type": "number | string",
1744
- "description": "属性说明:价格数量,默认值:0"
1745
- },
1746
- "nut-price/need-symbol": {
1747
- "type": "boolean",
1748
- "description": "属性说明:是否需要加上 symbol 符号,默认值:true"
1749
- },
1750
- "nut-price/symbol": {
1751
- "type": "string",
1752
- "description": "属性说明:符号类型,默认值:&yen;"
1753
- },
1754
- "nut-price/decimal-digits": {
1755
- "type": "number",
1756
- "description": "属性说明:小数位位数,默认值:2"
1757
- },
1758
- "nut-price/thousands": {
1759
- "type": "boolean",
1760
- "description": "属性说明:是否按照千分号形式显示,默认值:false"
1761
- },
1762
- "nut-price/position": {
1763
- "type": "string",
1764
- "description": "属性说明:符号显示在价格前或者后,`before`、`after`,默认值:before"
1765
- },
1766
- "nut-price/size": {
1767
- "type": "string",
1768
- "description": "属性说明:价格尺寸,`large`、`normal`、`small`,默认值:large"
1769
- },
1770
- "nut-progress/percentage": {
1771
- "type": "number",
1772
- "description": "属性说明:百分比,默认值:0"
1773
- },
1774
- "nut-progress/is-show-percentage": {
1775
- "type": "boolean",
1776
- "description": "属性说明:是否需要展示百分号,默认值:true"
1777
- },
1778
- "nut-progress/stroke-color": {
1779
- "type": "string",
1780
- "description": "属性说明:进度条背景色,默认值:#f30"
1781
- },
1782
- "nut-progress/stroke-width": {
1783
- "type": "string",
1784
- "description": "属性说明:进度条宽度,默认值:''"
1785
- },
1786
- "nut-progress/size": {
1787
- "type": "string",
1788
- "description": "属性说明:进度条及文字尺寸,可选值small/base/large,默认值:-"
1789
- },
1790
- "nut-progress/show-text": {
1791
- "type": "boolean",
1792
- "description": "属性说明:是否显示进度条文字内容,默认值:true"
1793
- },
1794
- "nut-progress/text-inside": {
1795
- "type": "boolean",
1796
- "description": "属性说明:进度条文字显示位置(false:外显,true:内显),默认值:false"
1797
- },
1798
- "nut-progress/text-color": {
1799
- "type": "string",
1800
- "description": "属性说明:进度条文字颜色设置,默认值:#333"
1801
- },
1802
- "nut-progress/text-background": {
1803
- "type": "string",
1804
- "description": "属性说明:进度条文字背景颜色设置,默认值:同进度条颜色"
1805
- },
1806
- "nut-progress/status": {
1807
- "type": "string",
1808
- "description": "属性说明:进度条当前状态,active(展示动画效果)/icon(展示icon标签),默认值:text"
1809
- },
1810
- "nut-pullrefresh/v-model": {
1811
- "type": "boolean",
1812
- "description": "属性说明:是否触发下拉刷新,默认值:`false`"
1813
- },
1814
- "nut-pullrefresh/pull-distance": {
1815
- "type": "number | string",
1816
- "description": "属性说明:触发下拉刷新的距离,默认值:`50`"
1817
- },
1818
- "nut-pullrefresh/head-height": {
1819
- "type": "number | string",
1820
- "description": "属性说明:顶部内容高度,默认值:`50`"
1821
- },
1822
- "nut-pullrefresh/loading-icon": {
1823
- "type": "string",
1824
- "description": "属性说明:加载中状态时,loading 图标。为空表示去掉,默认值:`loading`"
1825
- },
1826
- "nut-pullrefresh/pulling-txt": {
1827
- "type": "string",
1828
- "description": "属性说明:下拉过程提示文案,默认值:`下拉刷新`"
1829
- },
1830
- "nut-pullrefresh/loosing-txt": {
1831
- "type": "string",
1832
- "description": "属性说明:释放过程提示文案,默认值:`释放刷新`"
1833
- },
1834
- "nut-pullrefresh/loading-txt": {
1835
- "type": "string",
1836
- "description": "属性说明:加载过程提示文案,默认值:`加载中...`"
1837
- },
1838
- "nut-pullrefresh/complete-txt": {
1839
- "type": "string",
1840
- "description": "属性说明:刷新成功提示文案,默认值:''"
1841
- },
1842
- "nut-pullrefresh/duration": {
1843
- "type": "number",
1844
- "description": "属性说明:动画加载时长,默认值:0.3"
1845
- },
1846
- "nut-radio/disabled": {
1847
- "type": "boolean",
1848
- "description": "属性说明:是否禁用选择,默认值:`false`"
1849
- },
1850
- "nut-radio/icon-size": {
1851
- "type": "string、number",
1852
- "description": "属性说明:[图标尺寸](#/zh-CN/component/icon),默认值:`18`"
1853
- },
1854
- "nut-radio/label": {
1855
- "type": "string、number、boolean",
1856
- "description": "属性说明:单选框标识,默认值:-"
1857
- },
1858
- "nut-radio/shape": {
1859
- "type": "string",
1860
- "description": "属性说明:形状,可选值为 button、round,默认值:round"
1861
- },
1862
- "nut-range/v-model": {
1863
- "type": "number、number[]",
1864
- "description": "属性说明:当前进度百分比,默认值:`0`"
1865
- },
1866
- "nut-range/range": {
1867
- "type": "boolean",
1868
- "description": "属性说明:是否开启双滑块模式,默认值:`false`"
1869
- },
1870
- "nut-range/max": {
1871
- "type": "number、string",
1872
- "description": "属性说明:最大值,默认值:`100`"
1873
- },
1874
- "nut-range/min": {
1875
- "type": "number、string",
1876
- "description": "属性说明:最小值,默认值:`0`"
1877
- },
1878
- "nut-range/step": {
1879
- "type": "number、string",
1880
- "description": "属性说明:步长,默认值:`1`"
1881
- },
1882
- "nut-range/disabled": {
1883
- "type": "boolean",
1884
- "description": "属性说明:是否禁用滑块,默认值:`false`"
1885
- },
1886
- "nut-range/vertical": {
1887
- "type": "boolean",
1888
- "description": "属性说明:是否竖向展示,默认值:`false`"
1889
- },
1890
- "nut-range/hidden-range": {
1891
- "type": "boolean",
1892
- "description": "属性说明:是否隐藏范围值,默认值:`false`"
1893
- },
1894
- "nut-range/hidden-tag": {
1895
- "type": "boolean",
1896
- "description": "属性说明:是否隐藏标签,默认值:`false`"
1897
- },
1898
- "nut-range/active-color": {
1899
- "type": "string",
1900
- "description": "属性说明:进度条激活态颜色,默认值:`rgba(250, 44, 25, 1)`"
1901
- },
1902
- "nut-range/inactive-color": {
1903
- "type": "string",
1904
- "description": "属性说明:进度条非激活态颜色,默认值:`rgba(255, 163, 154, 1)`"
1905
- },
1906
- "nut-range/button-color": {
1907
- "type": "string",
1908
- "description": "属性说明:按钮颜色,默认值:`rgba(250, 44, 25, 1)`"
1909
- },
1910
- "nut-range/marks": {
1911
- "type": "object{key:number}",
1912
- "description": "属性说明:刻度标示,默认值:{}"
1913
- },
1914
- "nut-rate/v-model": {
1915
- "type": "number",
1916
- "description": "属性说明:当前 star 数,可使用 v-model 双向绑定数据,默认值:-"
1917
- },
1918
- "nut-rate/count": {
1919
- "type": "number",
1920
- "description": "属性说明:star 总数,默认值:5"
1921
- },
1922
- "nut-rate/active-color": {
1923
- "type": "string",
1924
- "description": "属性说明:图标选中颜色,默认值:#fa200c"
1925
- },
1926
- "nut-rate/void-color": {
1927
- "type": "string",
1928
- "description": "属性说明:图标未选中颜色,默认值:#ccc"
1929
- },
1930
- "nut-rate/allow-half": {
1931
- "type": "boolean",
1932
- "description": "属性说明:是否半星,默认值:false"
1933
- },
1934
- "nut-rate/readonly": {
1935
- "type": "boolean",
1936
- "description": "属性说明:是否只读,默认值:false"
1937
- },
1938
- "nut-rate/disabled": {
1939
- "type": "boolean",
1940
- "description": "属性说明:是否禁用,默认值:false"
1941
- },
1942
- "nut-rate/spacing": {
1943
- "type": "number",
1944
- "description": "属性说明:间距,默认值:20"
1945
- },
1946
- "nut-rate/touchable": {
1947
- "type": "boolean",
1948
- "description": "属性说明:是否可以通过滑动手势选择评分,默认值:true"
1949
- },
1950
- "nut-searchbar/v-model": {
1951
- "type": "number / string",
1952
- "description": "属性说明:当前输入的值,默认值:''"
1953
- },
1954
- "nut-searchbar/label": {
1955
- "type": "string",
1956
- "description": "属性说明:搜索框左侧文本,默认值:''"
1957
- },
1958
- "nut-searchbar/shape": {
1959
- "type": "string",
1960
- "description": "属性说明:搜索框形状,可选值为 round,默认值:square"
1961
- },
1962
- "nut-searchbar/max-length": {
1963
- "type": "[number,string]",
1964
- "description": "属性说明:最大输入长度,默认值:'9999'"
1965
- },
1966
- "nut-searchbar/input-type": {
1967
- "type": "string",
1968
- "description": "属性说明:输入框类型,默认值:'text'"
1969
- },
1970
- "nut-searchbar/placeholder": {
1971
- "type": "string",
1972
- "description": "属性说明:输入框默认暗纹,默认值:'请输入'"
1973
- },
1974
- "nut-searchbar/clearable": {
1975
- "type": "boolean",
1976
- "description": "属性说明:是否展示清除按钮,默认值:true"
1977
- },
1978
- "nut-searchbar/clear-icon": {
1979
- "type": "string",
1980
- "description": "属性说明:自定义清除按钮图标,默认值:\"circle-close\""
1981
- },
1982
- "nut-searchbar/background": {
1983
- "type": "string",
1984
- "description": "属性说明:输入框外部背景,默认值:'#fff'"
1985
- },
1986
- "nut-searchbar/input-background": {
1987
- "type": "string",
1988
- "description": "属性说明:输入框内部背景,默认值:'#f7f7f7'"
1989
- },
1990
- "nut-searchbar/autofocus": {
1991
- "type": "boolean",
1992
- "description": "属性说明:是否自动聚焦,默认值:false"
1993
- },
1994
- "nut-searchbar/focus-style": {
1995
- "type": "object",
1996
- "description": "属性说明:聚焦时搜索框样式,默认值:-"
1997
- },
1998
- "nut-searchbar/disabled": {
1999
- "type": "boolean",
2000
- "description": "属性说明:是否禁用输入框,默认值:false"
2001
- },
2002
- "nut-searchbar/readonly": {
2003
- "type": "boolean",
2004
- "description": "属性说明:输入框只读,默认值:false"
2005
- },
2006
- "nut-searchbar/input-align": {
2007
- "type": "string",
2008
- "description": "属性说明:对齐方式,可选`center` `right`,默认值:`left`"
2009
- },
2010
- "nut-shortpassword/v-model": {
2011
- "type": "string",
2012
- "description": "属性说明:密码初始值,默认值:"
2013
- },
2014
- "nut-shortpassword/v-model:visible": {
2015
- "type": "boolean",
2016
- "description": "属性说明:是否展示短密码框,默认值:false"
2017
- },
2018
- "nut-shortpassword/title": {
2019
- "type": "string",
2020
- "description": "属性说明:标题,默认值:请输入密码"
2021
- },
2022
- "nut-shortpassword/desc": {
2023
- "type": "string",
2024
- "description": "属性说明:密码框描述,默认值:您使用了虚拟资产,请进行验证"
2025
- },
2026
- "nut-shortpassword/tips": {
2027
- "type": "string",
2028
- "description": "属性说明:提示语,默认值:忘记密码"
2029
- },
2030
- "nut-shortpassword/close-on-click-overlay": {
2031
- "type": "boolean",
2032
- "description": "属性说明:是否点击遮罩关闭,默认值:true"
2033
- },
2034
- "nut-shortpassword/length": {
2035
- "type": "string、number",
2036
- "description": "属性说明:密码长度,取值为4~6,默认值:6"
2037
- },
2038
- "nut-shortpassword/error-msg": {
2039
- "type": "string",
2040
- "description": "属性说明:错误信息提示,默认值:''"
2041
- },
2042
- "nut-sidenavbar/offset": {
2043
- "type": "number、string",
2044
- "description": "属性说明:导航缩进宽度,默认值:`15`"
2045
- },
2046
- "nut-signature/custom-class": {
2047
- "type": "string",
2048
- "description": "属性说明:自定义class,默认值:-"
2049
- },
2050
- "nut-signature/line-width": {
2051
- "type": "number",
2052
- "description": "属性说明:线条的宽度,默认值:3"
2053
- },
2054
- "nut-signature/stroke-style": {
2055
- "type": "string",
2056
- "description": "属性说明:绘图笔触颜色,默认值:'#000'"
2057
- },
2058
- "nut-signature/type": {
2059
- "type": "string",
2060
- "description": "属性说明:图片格式,默认值:'png'"
2061
- },
2062
- "nut-signature/un-support-tpl": {
2063
- "type": "string",
2064
- "description": "属性说明:不支持Canvas情况下的展示文案,默认值:'对不起,当前浏览器不支持Canvas,无法使用本控件!'"
2065
- },
2066
- "nut-skeleton/loading": {
2067
- "type": "boolean",
2068
- "description": "属性说明:是否显示骨架屏,默认值:`true`"
2069
- },
2070
- "nut-skeleton/width": {
2071
- "type": "string",
2072
- "description": "属性说明:每行宽度,默认值:`default`"
2073
- },
2074
- "nut-skeleton/height": {
2075
- "type": "string",
2076
- "description": "属性说明:每行高度,默认值:`100px`"
2077
- },
2078
- "nut-skeleton/animated": {
2079
- "type": "boolean",
2080
- "description": "属性说明:是否开启骨架屏动画,默认值:`false`"
2081
- },
2082
- "nut-skeleton/avatar": {
2083
- "type": "boolean",
2084
- "description": "属性说明:是否显示头像,默认值:`false`"
2085
- },
2086
- "nut-skeleton/avatar-shape": {
2087
- "type": "string",
2088
- "description": "属性说明:头像形状:正方形/圆形,默认值:`round`"
2089
- },
2090
- "nut-skeleton/avatar-size": {
2091
- "type": "string",
2092
- "description": "属性说明:头像大小,默认值:`50px`"
2093
- },
2094
- "nut-skeleton/round": {
2095
- "type": "boolean",
2096
- "description": "属性说明:标题/段落是否采用圆角风格,默认值:`false`"
2097
- },
2098
- "nut-skeleton/row": {
2099
- "type": "string",
2100
- "description": "属性说明:设置段落行数,默认值:`1`"
2101
- },
2102
- "nut-skeleton/title": {
2103
- "type": "boolean",
2104
- "description": "属性说明:是否显示段落标题,默认值:`true`"
2105
- },
2106
- "nut-sku/v-model:visible": {
2107
- "type": "boolean",
2108
- "description": "属性说明:是否显示商品规格弹框,默认值:false"
2109
- },
2110
- "nut-sku/sku": {
2111
- "type": "array",
2112
- "description": "属性说明:商品 sku 数据,默认值:[]"
2113
- },
2114
- "nut-sku/goods": {
2115
- "type": "object",
2116
- "description": "属性说明:商品信息,默认值:-"
2117
- },
2118
- "nut-sku/stepper-max": {
2119
- "type": "[string, number]",
2120
- "description": "属性说明:设置 inputNumber 最大值,默认值:99999"
2121
- },
2122
- "nut-sku/stepper-min": {
2123
- "type": "[string, number]",
2124
- "description": "属性说明:设置 inputNumber 最小值,默认值:1"
2125
- },
2126
- "nut-sku/btn-options": {
2127
- "type": "array",
2128
- "description": "属性说明:底部按钮设置。['confirm','buy','cart' ] 分别对应确定、立即购买、加入购物车,默认值:['confirm']"
2129
- },
2130
- "nut-sku/btn-extra-text": {
2131
- "type": "string",
2132
- "description": "属性说明:按钮上部添加文案,默认为空,有值时显示,默认值:-"
2133
- },
2134
- "nut-sku/stepper-title": {
2135
- "type": "string",
2136
- "description": "属性说明:数量选择组件左侧文案,默认值:'购买数量'"
2137
- },
2138
- "nut-sku/stepper-extra-text": {
2139
- "type": "[function, false]",
2140
- "description": "属性说明:inputNumber 与标题之间的文案,默认值:false"
2141
- },
2142
- "nut-sku/buy-text": {
2143
- "type": "string",
2144
- "description": "属性说明:立即购买按钮文案,默认值:立即购买"
2145
- },
2146
- "nut-sku/add-cart-text": {
2147
- "type": "string",
2148
- "description": "属性说明:加入购物车按钮文案,默认值:加入购物车"
2149
- },
2150
- "nut-sku/confirm-text": {
2151
- "type": "string",
2152
- "description": "属性说明:确定按钮文案,默认值:确定"
2153
- },
2154
- "nut-steps/direction": {
2155
- "type": "string",
2156
- "description": "属性说明:显示方向,`horizontal`,`vertical`,默认值:`horizontal`"
2157
- },
2158
- "nut-steps/current": {
2159
- "type": "number、string",
2160
- "description": "属性说明:当前所在的步骤,默认值:`0`"
2161
- },
2162
- "nut-steps/progress-dot": {
2163
- "type": "boolean",
2164
- "description": "属性说明:点状步骤条,默认值:`false`"
2165
- },
2166
- "nut-sticky/position": {
2167
- "type": "string",
2168
- "description": "属性说明:吸附位置(`top`、`bottom`),默认值:`top`"
2169
- },
2170
- "nut-sticky/top": {
2171
- "type": "number",
2172
- "description": "属性说明:吸顶距离,默认值:`0`"
2173
- },
2174
- "nut-sticky/bottom": {
2175
- "type": "number",
2176
- "description": "属性说明:吸底距离,默认值:`0`"
2177
- },
2178
- "nut-sticky/container": {
2179
- "type": "element",
2180
- "description": "属性说明:容器的 `HTML` 节点,默认值:-"
2181
- },
2182
- "nut-sticky/z-index": {
2183
- "type": "number",
2184
- "description": "属性说明:吸附时的层级,默认值:`2000`"
2185
- },
2186
- "nut-swipe/name": {
2187
- "type": "string",
2188
- "description": "属性说明:唯一标识,默认值:-"
2189
- },
2190
- "nut-swipe/disabled": {
2191
- "type": "string",
2192
- "description": "属性说明:是否禁用滑动,默认值:false"
2193
- },
2194
- "nut-swipe/touch-move-prevent-default": {
2195
- "type": "boolean",
2196
- "description": "属性说明:是否阻止滑动事件行为,默认值:false"
2197
- },
2198
- "nut-swipe/touch-move-stop-propagation": {
2199
- "type": "boolean",
2200
- "description": "属性说明:是否阻止滑动事件冒泡,默认值:false"
2201
- },
2202
- "nut-swiper/width": {
2203
- "type": "number、string",
2204
- "description": "属性说明:轮播卡片的宽度,默认值:window.innerWidth"
2205
- },
2206
- "nut-swiper/height": {
2207
- "type": "string、number",
2208
- "description": "属性说明:轮播卡片的高度,默认值:0"
2209
- },
2210
- "nut-swiper/direction": {
2211
- "type": "string",
2212
- "description": "属性说明:轮播方向,可选值`horizontal`,`vertical`,默认值:'horizontal'"
2213
- },
2214
- "nut-swiper/pagination-visible": {
2215
- "type": "boolean",
2216
- "description": "属性说明:分页指示器是否展示,默认值:false"
2217
- },
2218
- "nut-swiper/pagination-color": {
2219
- "type": "string",
2220
- "description": "属性说明:分页指示器选中的颜色,默认值:'#fff'"
2221
- },
2222
- "nut-swiper/loop": {
2223
- "type": "boolean",
2224
- "description": "属性说明:是否循环轮播,默认值:true"
2225
- },
2226
- "nut-swiper/duration": {
2227
- "type": "number、string",
2228
- "description": "属性说明:动画时长(单位是ms),默认值:500"
2229
- },
2230
- "nut-swiper/auto-play": {
2231
- "type": "number、string",
2232
- "description": "属性说明:自动轮播时长,0表示不会自动轮播,默认值:0"
2233
- },
2234
- "nut-swiper/init-page": {
2235
- "type": "number、string",
2236
- "description": "属性说明:初始化索引值,默认值:0"
2237
- },
2238
- "nut-swiper/touchable": {
2239
- "type": "boolean",
2240
- "description": "属性说明:是否可触摸滑动,默认值:true"
2241
- },
2242
- "nut-swiper/is-preventDefault": {
2243
- "type": "boolean",
2244
- "description": "属性说明:滑动过程中是否禁用默认事件,默认值:true"
2245
- },
2246
- "nut-swiper/is-stopPropagation": {
2247
- "type": "boolean",
2248
- "description": "属性说明:滑动过程中是否禁止冒泡,默认值:true"
2249
- },
2250
- "nut-swiper/is-center": {
2251
- "type": "boolean",
2252
- "description": "属性说明:是否居中展示,必须传对应的`width` 和 `height`,默认值:false"
2253
- },
2254
- "nut-switch/v-model": {
2255
- "type": "boolean | string | number",
2256
- "description": "属性说明:开关状态,默认值:`false`"
2257
- },
2258
- "nut-switch/disable": {
2259
- "type": "boolean",
2260
- "description": "属性说明:禁用状态,默认值:`false`"
2261
- },
2262
- "nut-switch/loading": {
2263
- "type": "boolean",
2264
- "description": "属性说明:加载状态,默认值:`false`"
2265
- },
2266
- "nut-switch/active-color": {
2267
- "type": "string",
2268
- "description": "属性说明:打开时的背景颜色,默认值:`#fa2c19`"
2269
- },
2270
- "nut-switch/inactive-color": {
2271
- "type": "string",
2272
- "description": "属性说明:关闭时的背景颜色,默认值:`#ebebeb`"
2273
- },
2274
- "nut-switch/active-text": {
2275
- "type": "string",
2276
- "description": "属性说明:打开时文字描述,默认值:-"
2277
- },
2278
- "nut-switch/inactive-text": {
2279
- "type": "string",
2280
- "description": "属性说明:关闭时文字描述,默认值:-"
2281
- },
2282
- "nut-switch/active-value": {
2283
- "type": "boolean | string | number",
2284
- "description": "属性说明:打开时组件的值,默认值:`true`"
2285
- },
2286
- "nut-switch/inactive-value": {
2287
- "type": "boolean | string | number",
2288
- "description": "属性说明:关闭组件的值,默认值:`false`"
2289
- },
2290
- "nut-tabbar/v-model": {
2291
- "type": "number",
2292
- "description": "属性说明:选中标签的索引值或者名称,默认值:0"
2293
- },
2294
- "nut-tabbar/bottom": {
2295
- "type": "boolean",
2296
- "description": "属性说明:是否固定在页面底部,默认值:false"
2297
- },
2298
- "nut-tabbar/unactive-color": {
2299
- "type": "string",
2300
- "description": "属性说明:icon未激活的颜色,默认值:#7d7e80"
2301
- },
2302
- "nut-tabbar/active-color": {
2303
- "type": "string",
2304
- "description": "属性说明:icon激活的颜色,默认值:#1989fa"
2305
- },
2306
- "nut-tabbar/safe-area-inset-bottom": {
2307
- "type": "boolean",
2308
- "description": "属性说明:是否开启iphone系列全面屏底部安全区适配,默认值:false"
2309
- },
2310
- "nut-tabbar/placeholder ": {
2311
- "type": "boolean",
2312
- "description": "属性说明:固定在底部时,是否在标签位置生成一个等高的占位元素,默认值:false"
2313
- },
2314
- "nut-table/bordered": {
2315
- "type": "boolean",
2316
- "description": "属性说明:是否显示边框,默认值:`true`"
2317
- },
2318
- "nut-table/columns": {
2319
- "type": "tablecolumnprops[]",
2320
- "description": "属性说明:表头数据,默认值:`[]`"
2321
- },
2322
- "nut-table/data": {
2323
- "type": "object[]",
2324
- "description": "属性说明:表格数据,默认值:`[]`"
2325
- },
2326
- "nut-table/summary": {
2327
- "type": "function",
2328
- "description": "属性说明:是否显示简介,默认值:-"
2329
- },
2330
- "nut-table/striped": {
2331
- "type": "boolean",
2332
- "description": "属性说明:条纹是否明暗交替,默认值:`false`"
2333
- },
2334
- "nut-tabs/v-model": {
2335
- "type": "number,string",
2336
- "description": "属性说明:绑定当前选中标签的标识符,默认值:0"
2337
- },
2338
- "nut-tabs/color": {
2339
- "type": "string",
2340
- "description": "属性说明:标签选中色,默认值:#1a1a1a"
2341
- },
2342
- "nut-tabs/background": {
2343
- "type": "string",
2344
- "description": "属性说明:标签栏背景颜色,默认值:#f5f5f5"
2345
- },
2346
- "nut-tabs/direction": {
2347
- "type": "string",
2348
- "description": "属性说明:使用横纵方向 可选值 horizontal、vertical,默认值:horizontal"
2349
- },
2350
- "nut-tabs/type": {
2351
- "type": "string",
2352
- "description": "属性说明:选中底部展示样式 可选值 line、smile,默认值:line"
2353
- },
2354
- "nut-tabs/title-scroll": {
2355
- "type": "boolean",
2356
- "description": "属性说明:标签栏是否可以滚动,默认值:false"
2357
- },
2358
- "nut-tabs/ellipsis": {
2359
- "type": "boolean",
2360
- "description": "属性说明:是否省略过长的标题文字,默认值:true"
2361
- },
2362
- "nut-tabs/animated-time": {
2363
- "type": "number,string",
2364
- "description": "属性说明:切换动画时长,单位 ms 0 代表无动画,默认值:300"
2365
- },
2366
- "nut-tabs/title-gutter": {
2367
- "type": "number,string",
2368
- "description": "属性说明:标签间隙,默认值:0"
2369
- },
2370
- "nut-tabs/size": {
2371
- "type": "string",
2372
- "description": "属性说明:标签栏字体尺寸大小 可选值 large normal small,默认值:normal"
2373
- },
2374
- "nut-tabs/auto-height": {
2375
- "type": "boolean",
2376
- "description": "属性说明:自动高度。设置为 true 时,nut-tabs 和 nut-tabs__content 会随着当前 nut-tab-pane 的高度而发生变化。,默认值:false"
2377
- },
2378
- "nut-tabs/sticky": {
2379
- "type": "boolean",
2380
- "description": "属性说明:是否使用粘性布局,默认值:false"
2381
- },
2382
- "nut-tabs/top": {
2383
- "type": "number",
2384
- "description": "属性说明:粘性布局下的吸顶距离,默认值:0"
2385
- },
2386
- "nut-tag/type": {
2387
- "type": "string",
2388
- "description": "属性说明:标签类型,可选值为primary success danger warning,默认值:`default`"
2389
- },
2390
- "nut-tag/color": {
2391
- "type": "string",
2392
- "description": "属性说明:标签颜色,默认值:-"
2393
- },
2394
- "nut-tag/text-color": {
2395
- "type": "string",
2396
- "description": "属性说明:文本颜色,优先级高于color属性,默认值:`white`"
2397
- },
2398
- "nut-tag/plain": {
2399
- "type": "boolean",
2400
- "description": "属性说明:是否为空心样式,默认值:`false`"
2401
- },
2402
- "nut-tag/round": {
2403
- "type": "boolean",
2404
- "description": "属性说明:是否为圆角样式,默认值:`false`"
2405
- },
2406
- "nut-tag/mark": {
2407
- "type": "boolean",
2408
- "description": "属性说明:是否为标记样式,默认值:`false`"
2409
- },
2410
- "nut-tag/closeable": {
2411
- "type": "boolean",
2412
- "description": "属性说明:是否为可关闭标签,默认值:`false`"
2413
- },
2414
- "nut-textarea/v-model": {
2415
- "type": "string",
2416
- "description": "属性说明:输入值,支持双向绑定,默认值:-"
2417
- },
2418
- "nut-textarea/placeholder": {
2419
- "type": "string",
2420
- "description": "属性说明:设置占位提示文字,默认值:`'请输入内容'`"
2421
- },
2422
- "nut-textarea/max-length": {
2423
- "type": "string、number",
2424
- "description": "属性说明:限制最长输入字符,默认值:-"
2425
- },
2426
- "nut-textarea/rows": {
2427
- "type": "string、number",
2428
- "description": "属性说明:textarea的高度,优先级高于autosize属性 `仅支持 H5`,默认值:`2`"
2429
- },
2430
- "nut-textarea/limit-show": {
2431
- "type": "boolean",
2432
- "description": "属性说明:textarea是否展示输入字符。须配合`max-length`使用,默认值:`false`"
2433
- },
2434
- "nut-textarea/autosize": {
2435
- "type": "boolean 、{maxheight?: number; minheight?: number}",
2436
- "description": "属性说明:是否自适应内容高度,也可传入对象, 如 { maxHeight: 200, minHeight: 100 },单位为px,默认值:`false`"
2437
- },
2438
- "nut-textarea/text-align": {
2439
- "type": "string",
2440
- "description": "属性说明:文本位置,可选值`left`,`center`,`right`,默认值:`left`"
2441
- },
2442
- "nut-textarea/readonly": {
2443
- "type": "boolean",
2444
- "description": "属性说明:只读属性,默认值:`false`"
2445
- },
2446
- "nut-textarea/disabled": {
2447
- "type": "boolean",
2448
- "description": "属性说明:禁用属性,默认值:`false`"
2449
- },
2450
- "nut-textarea/autofocus": {
2451
- "type": "boolean",
2452
- "description": "属性说明:自动获取焦点,默认值:`false`"
2453
- },
2454
- "nut-timedetail/height": {
2455
- "type": "number、string",
2456
- "description": "属性说明:电梯区域的高度,默认值:`200px`"
2457
- },
2458
- "nut-timepannel/height": {
2459
- "type": "number、string",
2460
- "description": "属性说明:电梯区域的高度,默认值:`200px`"
2461
- },
2462
- "nut-timeselect/visible": {
2463
- "type": "boolean",
2464
- "description": "属性说明:是否显示弹层,默认值:`false`"
2465
- },
2466
- "nut-timeselect/height": {
2467
- "type": "string",
2468
- "description": "属性说明:弹层的高度,默认值:`20%`"
2469
- },
2470
- "nut-timeselect/title": {
2471
- "type": "string",
2472
- "description": "属性说明:弹层标题,默认值:`取件时间`"
2473
- },
2474
- "nut-timeselect/current-key": {
2475
- "type": "string、number",
2476
- "description": "属性说明:唯一标识,默认值:`0`"
2477
- },
2478
- "nut-timeselect/current-time": {
2479
- "type": "array",
2480
- "description": "属性说明:当前选择的时间,数组元素包含:key: string; list: string[],默认值:`[]`"
2481
- },
2482
- "nut-timeselect/lock-scroll": {
2483
- "type": "boolean",
2484
- "description": "属性说明:背景是否锁定,默认值:`false`"
2485
- },
2486
- "nut-toast/Toast.text": {
2487
- "type": "message| options",
2488
- "description": "属性说明:展示文字提示,默认值:toast 实例(message支持传入HTML)"
2489
- },
2490
- "nut-toast/Toast.success": {
2491
- "type": "message| options",
2492
- "description": "属性说明:展示成功提示,默认值:toast 实例"
2493
- },
2494
- "nut-toast/Toast.fail": {
2495
- "type": "message| options",
2496
- "description": "属性说明:展示失败提示,默认值:toast 实例"
2497
- },
2498
- "nut-toast/Toast.warn": {
2499
- "type": "message| options",
2500
- "description": "属性说明:展示警告提示,默认值:toast 实例"
2501
- },
2502
- "nut-toast/Toast.hide": {
2503
- "type": "默认关闭所有实例,可传id关闭指定实例",
2504
- "description": "属性说明:关闭提示,默认值:void"
2505
- },
2506
- "nut-toast/Toast.loading": {
2507
- "type": "message| options",
2508
- "description": "属性说明:展示加载提示,默认值:toast 实例"
2509
- },
2510
- "nut-tour/visible": {
2511
- "type": "boolean",
2512
- "description": "属性说明:是否展示引导弹出层,默认值:false"
2513
- },
2514
- "nut-tour/type": {
2515
- "type": "string",
2516
- "description": "属性说明:引导类型,默认值:`step`"
2517
- },
2518
- "nut-tour/steps": {
2519
- "type": "stepoptions[]",
2520
- "description": "属性说明:引导步骤内容,默认值:[]"
2521
- },
2522
- "nut-tour/offset": {
2523
- "type": "[number, number]",
2524
- "description": "属性说明:镂空遮罩相对于目标元素的偏移量,默认值:[8, 10]"
2525
- },
2526
- "nut-tour/current": {
2527
- "type": "number",
2528
- "description": "属性说明:类型为 `step` 时,默认展示第几步,默认值:0"
2529
- },
2530
- "nut-tour/custom-class": {
2531
- "type": "string",
2532
- "description": "属性说明:自定义 class 值,默认值:''"
2533
- },
2534
- "nut-tour/location": {
2535
- "type": "string",
2536
- "description": "属性说明:弹出层位置,同 Popopver 的[location 属性](https://nutui.jd.com/#/zh-CN/component/popover),默认值:'bottom'"
2537
- },
2538
- "nut-tour/next-step-Txt": {
2539
- "type": "string",
2540
- "description": "属性说明:下一步按钮文案,默认值:'下一步'"
2541
- },
2542
- "nut-tour/prev-step-Txt": {
2543
- "type": "string",
2544
- "description": "属性说明:上一步按钮文案,默认值:'上一步'"
2545
- },
2546
- "nut-tour/complete-txt": {
2547
- "type": "string",
2548
- "description": "属性说明:完成按钮文案,默认值:'完成'"
2549
- },
2550
- "nut-tour/mask": {
2551
- "type": "boolean",
2552
- "description": "属性说明:是否显示镂空遮罩,默认值:true"
2553
- },
2554
- "nut-tour/bg-color": {
2555
- "type": "boolean",
2556
- "description": "属性说明:自定义背景色,默认值:''"
2557
- },
2558
- "nut-tour/theme": {
2559
- "type": "string",
2560
- "description": "属性说明:气泡遮罩层主题,同 Popopver 的[theme 属性](https://nutui.jd.com/#/zh-CN/component/popover),默认值:'light'"
2561
- },
2562
- "nut-tour/mask-width": {
2563
- "type": "number、string",
2564
- "description": "属性说明:镂空遮罩层宽度,默认值:''"
2565
- },
2566
- "nut-tour/mask-height": {
2567
- "type": "number、string",
2568
- "description": "属性说明:镂空遮罩层高度,默认值:''"
2569
- },
2570
- "nut-tour/close-on-click-overlay": {
2571
- "type": "boolean",
2572
- "description": "属性说明:是否在点击镂空遮罩层后关闭,同 Popopver 的[closeOnClickOverlay 属性](https://nutui.jd.com/#/zh-CN/component/popover),默认值:true"
2573
- },
2574
- "nut-tour/show-prev-step": {
2575
- "type": "boolean",
2576
- "description": "属性说明:是否展示上一步按钮,默认值:true"
2577
- },
2578
- "nut-tour/show-title-bar": {
2579
- "type": "boolean",
2580
- "description": "属性说明:是否展示标题栏,默认值:false"
2581
- },
2582
- "nut-trendarrow/rate": {
2583
- "type": "number",
2584
- "description": "属性说明:数值,大于0时箭头向上,小于0时箭头向下,默认值:-"
2585
- },
2586
- "nut-trendarrow/digits": {
2587
- "type": "number",
2588
- "description": "属性说明:小数位精度,默认值:2"
2589
- },
2590
- "nut-trendarrow/show-sign": {
2591
- "type": "boolean",
2592
- "description": "属性说明:是否显示加减号,默认值:false"
2593
- },
2594
- "nut-trendarrow/show-zero": {
2595
- "type": "boolean",
2596
- "description": "属性说明:是否显示 0,默认值:false"
2597
- },
2598
- "nut-trendarrow/arrow-left": {
2599
- "type": "boolean",
2600
- "description": "属性说明:是否在数字左侧显示箭头,默认值:false"
2601
- },
2602
- "nut-trendarrow/sync-text-color": {
2603
- "type": "boolean",
2604
- "description": "属性说明:文字颜色是否与箭头同步,默认值:true"
2605
- },
2606
- "nut-trendarrow/text-color": {
2607
- "type": "string",
2608
- "description": "属性说明:文字颜色,默认值:'#333333'"
2609
- },
2610
- "nut-trendarrow/rise-color": {
2611
- "type": "string",
2612
- "description": "属性说明:向上箭头颜色,默认值:'#fa2c19'"
2613
- },
2614
- "nut-trendarrow/drop-color": {
2615
- "type": "string",
2616
- "description": "属性说明:向下箭头颜色,默认值:‘#64b578’"
2617
- },
2618
- "nut-uploader/auto-upload": {
2619
- "type": "boolean",
2620
- "description": "属性说明:是否在选取文件后立即进行上传,false 时需要手动执行 ref submit 方法进行上传,默认值:true"
2621
- },
2622
- "nut-uploader/name": {
2623
- "type": "string",
2624
- "description": "属性说明:`input` 标签 `name` 的名称,发到后台的文件参数名,默认值:\"file\""
2625
- },
2626
- "nut-uploader/url": {
2627
- "type": "string",
2628
- "description": "属性说明:上传服务器的接口地址,默认值:-"
2629
- },
2630
- "nut-uploader/v-model:file-list": {
2631
- "type": "fileitem[]",
2632
- "description": "属性说明:默认已经上传的文件列表,默认值:[]"
2633
- },
2634
- "nut-uploader/is-preview": {
2635
- "type": "boolean",
2636
- "description": "属性说明:是否上传成功后展示预览图,默认值:true"
2637
- },
2638
- "nut-uploader/is-deletable": {
2639
- "type": "boolean",
2640
- "description": "属性说明:是否展示删除按钮,默认值:true"
2641
- },
2642
- "nut-uploader/method": {
2643
- "type": "string",
2644
- "description": "属性说明:上传请求的 http method,默认值:\"post\""
2645
- },
2646
- "nut-uploader/list-type": {
2647
- "type": "string",
2648
- "description": "属性说明:上传列表的内建样式,支持两种基本样式 picture、list,默认值:\"picture\""
2649
- },
2650
- "nut-uploader/capture": {
2651
- "type": "string",
2652
- "description": "属性说明:图片[选取模式](https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/input#htmlattrdefcapture),直接调起摄像头,默认值:false"
2653
- },
2654
- "nut-uploader/maximize": {
2655
- "type": "number丨string",
2656
- "description": "属性说明:可以设定最大上传文件的大小(字节),默认值:Number.MAX_VALUE"
2657
- },
2658
- "nut-uploader/maximum": {
2659
- "type": "number丨string",
2660
- "description": "属性说明:文件上传数量限制,默认值:1"
2661
- },
2662
- "nut-uploader/clear-input": {
2663
- "type": "boolean",
2664
- "description": "属性说明:是否需要清空`input`内容,设为`true`支持重复选择上传同一个文件,默认值:true"
2665
- },
2666
- "nut-uploader/accept": {
2667
- "type": "string",
2668
- "description": "属性说明:允许上传的文件类型,[详细说明](https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/Input/file#%E9%99%90%E5%88%B6%E5%85%81%E8%AE%B8%E7%9A%84%E6%96%87%E4%BB%B6%E7%B1%BB%E5%9E%8B),默认值:*"
2669
- },
2670
- "nut-uploader/headers": {
2671
- "type": "object",
2672
- "description": "属性说明:设置上传的请求头部,默认值:{}"
2673
- },
2674
- "nut-uploader/data": {
2675
- "type": "object",
2676
- "description": "属性说明:附加上传的信息 formData,默认值:{}"
2677
- },
2678
- "nut-uploader/upload-icon": {
2679
- "type": "string",
2680
- "description": "属性说明:上传区域[图标名称](#/zh-CN/component/icon)或图片链接,默认值:\"photograph\""
2681
- },
2682
- "nut-uploader/xhr-state": {
2683
- "type": "number",
2684
- "description": "属性说明:接口响应的成功状态(status)值,默认值:200"
2685
- },
2686
- "nut-uploader/with-credentials": {
2687
- "type": "boolean",
2688
- "description": "属性说明:支持发送 cookie 凭证信息,默认值:false"
2689
- },
2690
- "nut-uploader/multiple": {
2691
- "type": "boolean",
2692
- "description": "属性说明:是否支持文件多选,默认值:false"
2693
- },
2694
- "nut-uploader/disabled": {
2695
- "type": "boolean",
2696
- "description": "属性说明:是否禁用文件上传,默认值:false"
2697
- },
2698
- "nut-uploader/timeout": {
2699
- "type": "number丨string",
2700
- "description": "属性说明:超时时间,单位为毫秒,默认值:1000 * 30"
2701
- },
2702
- "nut-uploader/before-upload": {
2703
- "type": "function",
2704
- "description": "属性说明:上传前的函数需要返回一个`Promise`对象,默认值:null"
2705
- },
2706
- "nut-uploader/before-xhr-upload": {
2707
- "type": "function(xhr,option)",
2708
- "description": "属性说明:执行 XHR 上传时,自定义方式,默认值:null"
2709
- },
2710
- "nut-uploader/before-delete": {
2711
- "type": "function(file,filelist): boolean 丨promise",
2712
- "description": "属性说明:除文件时的回调,返回值为 false 时不移除。支持返回一个 `Promise` 对象,`Promise` 对象 resolve(false) 或 reject 时不移除,默认值:-"
2713
- },
2714
- "nut-video/source": {
2715
- "type": "object",
2716
- "description": "属性说明:视频地址和类型设置,默认值:-"
2717
- },
2718
- "nut-video/options": {
2719
- "type": "object",
2720
- "description": "属性说明:控制视频播放属性,默认值:required"
2721
- },
2722
- "nut-video/options.autoplay": {
2723
- "type": "boolean",
2724
- "description": "属性说明:是否自动播放,默认值:false"
2725
- },
2726
- "nut-video/options.poster": {
2727
- "type": "string",
2728
- "description": "属性说明:海报设置,默认值:-"
2729
- },
2730
- "nut-video/options.loop": {
2731
- "type": "boolean",
2732
- "description": "属性说明:是否循环播放,默认值:false"
2733
- },
2734
- "nut-video/options.controls": {
2735
- "type": "boolean",
2736
- "description": "属性说明:是否展示操作栏,默认值:true"
2737
- },
2738
- "nut-video/options.muted": {
2739
- "type": "boolean",
2740
- "description": "属性说明:是否静音,默认值:false"
2741
- },
2742
- "nut-video/options.volume": {
2743
- "type": "number",
2744
- "description": "属性说明:音量控制,默认值:0.5"
2745
- },
2746
- "nut-video/options.disabled": {
2747
- "type": "boolean",
2748
- "description": "属性说明:禁用操作(如循环播放的背景图,禁止操作),默认值:false"
2749
- },
2750
- "nut-video/options.playsinline": {
2751
- "type": "boolean",
2752
- "description": "属性说明:是否设置为行内播放元素(解决安卓兼容问题),默认值:false"
2753
- },
2754
- "nut-watermark/width": {
2755
- "type": "`number`",
2756
- "description": "属性说明:水印的宽度,默认值:`120`"
2757
- },
2758
- "nut-watermark/height": {
2759
- "type": "`number`",
2760
- "description": "属性说明:水印的高度,默认值:`64`"
2761
- },
2762
- "nut-watermark/rotate": {
2763
- "type": "`number`",
2764
- "description": "属性说明:水印绘制时,旋转的角度,默认值:`-22`"
2765
- },
2766
- "nut-watermark/image": {
2767
- "type": "`string`",
2768
- "description": "属性说明:图片源,建议导出 2 倍或 3 倍图,优先使用图片渲染水印,默认值:-"
2769
- },
2770
- "nut-watermark/image-width": {
2771
- "type": "`number`",
2772
- "description": "属性说明:图片宽度,默认值:`120`"
2773
- },
2774
- "nut-watermark/image-height": {
2775
- "type": "`number`",
2776
- "description": "属性说明:图片高度,默认值:`64`"
2777
- },
2778
- "nut-watermark/z-index": {
2779
- "type": "`number`",
2780
- "description": "属性说明:追加的水印元素的 z-index,默认值:`2000`"
2781
- },
2782
- "nut-watermark/content": {
2783
- "type": "`string`",
2784
- "description": "属性说明:水印文字内容,默认值:-"
2785
- },
2786
- "nut-watermark/font-color": {
2787
- "type": "`string`",
2788
- "description": "属性说明:水印文字颜色,默认值:`rgba(0, 0, 0, .15)`"
2789
- },
2790
- "nut-watermark/font-size": {
2791
- "type": "`string | number`",
2792
- "description": "属性说明:文字大小,默认值:`16`"
2793
- },
2794
- "nut-watermark/gap-x": {
2795
- "type": "`number`",
2796
- "description": "属性说明:水印之间的水平间距,默认值:`24`"
2797
- },
2798
- "nut-watermark/gap-y": {
2799
- "type": "`number`",
2800
- "description": "属性说明:水印之间的垂直间距,默认值:`48`"
2801
- },
2802
- "nut-watermark/full-page": {
2803
- "type": "`boolean`",
2804
- "description": "属性说明:是否覆盖整个页面,默认值:`true`"
2805
- },
2806
- "nut-watermark/font-family": {
2807
- "type": "`boolean`",
2808
- "description": "属性说明:水印文字字体,默认值:`true`"
2809
- }
2810
- }