@nutui/nutui 3.2.5 → 3.2.6-beta.1

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 (239) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/nutui.es.js +4214 -4444
  3. package/dist/nutui.umd.js +4213 -4543
  4. package/dist/packages/_es/ActionSheet.js +18 -19
  5. package/dist/packages/_es/Address.js +94 -85
  6. package/dist/packages/_es/AddressList.js +25 -12
  7. package/dist/packages/_es/Animate.js +3 -3
  8. package/dist/packages/_es/Audio.js +9 -2
  9. package/dist/packages/_es/AudioOperate.js +5 -1
  10. package/dist/packages/_es/Avatar.js +10 -10
  11. package/dist/packages/_es/AvatarGroup.js +5 -5
  12. package/dist/packages/_es/BackTop.js +55 -108
  13. package/dist/packages/_es/Badge.js +6 -4
  14. package/dist/packages/_es/Barrage.js +79 -103
  15. package/dist/packages/_es/Button.js +5 -3
  16. package/dist/packages/_es/Calendar.js +36 -23
  17. package/dist/packages/_es/CalendarItem.js +4 -3
  18. package/dist/packages/_es/Card.js +15 -5
  19. package/dist/packages/_es/Cascader.js +12 -11
  20. package/dist/packages/_es/Category.js +13 -12
  21. package/dist/packages/_es/CategoryPane.js +17 -13
  22. package/dist/packages/_es/Cell.js +9 -12
  23. package/dist/packages/_es/CellGroup.js +4 -2
  24. package/dist/packages/_es/Checkbox.js +1 -1
  25. package/dist/packages/_es/CheckboxGroup.js +2 -2
  26. package/dist/packages/_es/CircleProgress.js +98 -82
  27. package/dist/packages/_es/Col.js +1 -1
  28. package/dist/packages/_es/Collapse.js +65 -34
  29. package/dist/packages/_es/CollapseItem.js +93 -60
  30. package/dist/packages/_es/Comment.js +43 -19
  31. package/dist/packages/_es/ConfigProvider.js +1 -1
  32. package/dist/packages/_es/CountDown.js +3 -3
  33. package/dist/packages/_es/CountUp.js +47 -52
  34. package/dist/packages/_es/DatePicker.js +37 -54
  35. package/dist/packages/_es/Dialog.js +9 -88
  36. package/dist/packages/_es/Divider.js +3 -3
  37. package/dist/packages/_es/Drag.js +75 -49
  38. package/dist/packages/_es/Ecard.js +20 -18
  39. package/dist/packages/_es/Elevator.js +101 -76
  40. package/dist/packages/_es/Ellipsis.js +140 -100
  41. package/dist/packages/_es/Empty.js +6 -4
  42. package/dist/packages/_es/FixedNav.js +11 -6
  43. package/dist/packages/_es/Form.js +4 -4
  44. package/dist/packages/_es/FormItem.js +3 -1
  45. package/dist/packages/_es/Grid.js +1 -1
  46. package/dist/packages/_es/GridItem.js +10 -27
  47. package/dist/packages/_es/Icon.js +1 -1
  48. package/dist/packages/_es/Image.js +13 -114
  49. package/dist/packages/_es/ImagePreview.js +154 -400
  50. package/dist/packages/_es/Indicator.js +3 -3
  51. package/dist/packages/_es/InfiniteLoading.js +103 -115
  52. package/dist/packages/_es/Input.js +54 -26
  53. package/dist/packages/_es/InputNumber.js +25 -16
  54. package/dist/packages/_es/Invoice.js +6 -5
  55. package/dist/packages/_es/Layout.js +1 -1
  56. package/dist/packages/_es/List.js +47 -34
  57. package/dist/packages/_es/Menu.js +35 -35
  58. package/dist/packages/_es/MenuItem.js +56 -29
  59. package/dist/packages/_es/Navbar.js +49 -39
  60. package/dist/packages/_es/NoticeBar.js +52 -41
  61. package/dist/packages/_es/Notify.js +37 -166
  62. package/dist/packages/_es/NumberKeyboard.js +15 -20
  63. package/dist/packages/_es/OldPicker.js +130 -116
  64. package/dist/packages/_es/OverLay.js +5 -28
  65. package/dist/packages/_es/Pagination.js +8 -5
  66. package/dist/packages/_es/Picker.js +196 -65
  67. package/dist/packages/_es/Popover.js +201 -881
  68. package/dist/packages/_es/Popup.js +28 -84
  69. package/dist/packages/_es/Price.js +22 -6
  70. package/dist/packages/_es/Progress.js +18 -11
  71. package/dist/packages/_es/PullRefresh.js +4 -2
  72. package/dist/packages/_es/Radio.js +3 -3
  73. package/dist/packages/_es/RadioGroup.js +1 -1
  74. package/dist/packages/_es/Range.js +48 -34
  75. package/dist/packages/_es/Rate.js +15 -14
  76. package/dist/packages/_es/Row.js +1 -1
  77. package/dist/packages/_es/SearchBar.js +39 -36
  78. package/dist/packages/_es/ShortPassword.js +97 -66
  79. package/dist/packages/_es/SideNavBar.js +7 -18
  80. package/dist/packages/_es/SideNavBarItem.js +1 -1
  81. package/dist/packages/_es/Signature.js +113 -80
  82. package/dist/packages/_es/Skeleton.js +12 -11
  83. package/dist/packages/_es/Sku.js +63 -38
  84. package/dist/packages/_es/Step.js +7 -2
  85. package/dist/packages/_es/Steps.js +1 -1
  86. package/dist/packages/_es/Sticky.js +33 -23
  87. package/dist/packages/_es/SubSideNavBar.js +4 -2
  88. package/dist/packages/_es/Swipe.js +41 -26
  89. package/dist/packages/_es/Swiper.js +38 -21
  90. package/dist/packages/_es/SwiperItem.js +2 -2
  91. package/dist/packages/_es/Switch.js +8 -8
  92. package/dist/packages/_es/TabPane.js +1 -1
  93. package/dist/packages/_es/Tabbar.js +40 -9
  94. package/dist/packages/_es/TabbarItem.js +24 -30
  95. package/dist/packages/_es/Table.js +22 -17
  96. package/dist/packages/_es/Tabs.js +49 -16
  97. package/dist/packages/_es/Tag.js +6 -5
  98. package/dist/packages/_es/TextArea.js +114 -49
  99. package/dist/packages/_es/TimeDetail.js +4 -3
  100. package/dist/packages/_es/TimePannel.js +3 -3
  101. package/dist/packages/_es/TimeSelect.js +12 -10
  102. package/dist/packages/_es/Toast.js +53 -164
  103. package/dist/packages/_es/TrendArrow.js +6 -4
  104. package/dist/packages/_es/Uploader.js +141 -140
  105. package/dist/packages/_es/Video.js +72 -5
  106. package/dist/packages/_es/WaterMark.js +22 -14
  107. package/dist/packages/_es/common.js +1 -1
  108. package/dist/packages/_es/component.js +1 -1
  109. package/dist/packages/_es/index.js +44 -6
  110. package/dist/packages/_es/{index5.js → index.taro.js} +167 -154
  111. package/dist/packages/_es/index2.js +8 -31
  112. package/dist/packages/_es/index3.js +64 -7
  113. package/dist/packages/_es/index4.js +424 -62
  114. package/dist/packages/_es/plugin-vue_export-helper.js +1 -1
  115. package/dist/packages/_es/pxCheck.js +1 -1
  116. package/dist/packages/_es/raf.js +1 -1
  117. package/dist/packages/_es/style.css +21 -3
  118. package/dist/packages/_es/use-lock-scroll.js +23 -0
  119. package/dist/packages/locale/lang/baseLang.js +1 -1
  120. package/dist/packages/locale/lang/en-US.js +1 -1
  121. package/dist/packages/locale/lang/id-ID.js +1 -1
  122. package/dist/packages/locale/lang/index.js +1 -1
  123. package/dist/packages/locale/lang/zh-CN.js +1 -1
  124. package/dist/packages/locale/lang/zh-TW.js +1 -1
  125. package/dist/packages/signature/index.scss +4 -1
  126. package/dist/packages/swiperitem/index.scss +1 -1
  127. package/dist/smartips/attributes.json +4 -0
  128. package/dist/smartips/tags.json +2 -1
  129. package/dist/smartips/web-types.json +10 -1
  130. package/dist/style.css +1 -1
  131. package/dist/styles/themes/default.scss +44 -44
  132. package/dist/styles/themes/jdb.scss +44 -44
  133. package/dist/styles/themes/jddkh.scss +44 -44
  134. package/dist/styles/themes/jdt.scss +44 -44
  135. package/dist/types/__VUE/actionsheet/{index.vue.d.ts → index.taro.vue.d.ts} +11 -11
  136. package/dist/types/__VUE/address/{index.vue.d.ts → index.taro.vue.d.ts} +74 -34
  137. package/dist/types/__VUE/addresslist/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  138. package/dist/types/__VUE/animate/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  139. package/dist/types/__VUE/avatar/{index.vue.d.ts → index.taro.vue.d.ts} +5 -5
  140. package/dist/types/__VUE/avatargroup/{index.vue.d.ts → index.taro.vue.d.ts} +1 -1
  141. package/dist/types/__VUE/backtop/{index.vue.d.ts → index.taro.vue.d.ts} +14 -36
  142. package/dist/types/__VUE/badge/{index.vue.d.ts → index.taro.vue.d.ts} +1 -1
  143. package/dist/types/__VUE/barrage/{index.vue.d.ts → index.taro.vue.d.ts} +2 -2
  144. package/dist/types/__VUE/button/index.taro.vue.d.ts +116 -0
  145. package/dist/types/__VUE/calendar/{index.vue.d.ts → index.taro.vue.d.ts} +14 -2
  146. package/dist/types/__VUE/calendaritem/{index.vue.d.ts → index.taro.vue.d.ts} +17 -17
  147. package/dist/types/__VUE/card/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  148. package/dist/types/__VUE/cascader/{index.vue.d.ts → index.taro.vue.d.ts} +2 -2
  149. package/dist/types/__VUE/category/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  150. package/dist/types/__VUE/categorypane/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  151. package/dist/types/__VUE/cell/{index.vue.d.ts → index.taro.vue.d.ts} +12 -5
  152. package/dist/types/__VUE/checkbox/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  153. package/dist/types/__VUE/circleprogress/{index.vue.d.ts → index.taro.vue.d.ts} +14 -15
  154. package/dist/types/__VUE/collapse/{index.vue.d.ts → index.taro.vue.d.ts} +1 -1
  155. package/dist/types/__VUE/collapseitem/{index.vue.d.ts → index.taro.vue.d.ts} +1 -9
  156. package/dist/types/__VUE/comment/{index.vue.d.ts → index.taro.vue.d.ts} +1 -2
  157. package/dist/types/__VUE/configprovider/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  158. package/dist/types/__VUE/countdown/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  159. package/dist/types/__VUE/countup/{index.vue.d.ts → index.taro.vue.d.ts} +5 -7
  160. package/dist/types/__VUE/datepicker/{index.vue.d.ts → index.taro.vue.d.ts} +6 -6
  161. package/dist/types/__VUE/dialog/{index.vue.d.ts → index.taro.vue.d.ts} +10 -13
  162. package/dist/types/__VUE/divider/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  163. package/dist/types/__VUE/drag/{index.vue.d.ts → index.taro.vue.d.ts} +2 -1
  164. package/dist/types/__VUE/ecard/{index.vue.d.ts → index.taro.vue.d.ts} +3 -3
  165. package/dist/types/__VUE/elevator/{index.vue.d.ts → index.taro.vue.d.ts} +11 -2
  166. package/dist/types/__VUE/ellipsis/{index.vue.d.ts → index.taro.vue.d.ts} +4 -0
  167. package/dist/types/__VUE/empty/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  168. package/dist/types/__VUE/fixednav/{index.vue.d.ts → index.taro.vue.d.ts} +1 -1
  169. package/dist/types/__VUE/form/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  170. package/dist/types/__VUE/grid/{index.vue.d.ts → index.taro.vue.d.ts} +1 -1
  171. package/dist/types/__VUE/griditem/{index.vue.d.ts → index.taro.vue.d.ts} +2 -27
  172. package/dist/types/__VUE/icon/index.taro.vue.d.ts +74 -0
  173. package/dist/types/__VUE/image/index.taro.vue.d.ts +33 -0
  174. package/dist/types/__VUE/imagepreview/{index.vue.d.ts → index.taro.vue.d.ts} +41 -43
  175. package/dist/types/__VUE/indicator/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  176. package/dist/types/__VUE/infiniteloading/{index.vue.d.ts → index.taro.vue.d.ts} +15 -8
  177. package/dist/types/__VUE/input/{index.vue.d.ts → index.taro.vue.d.ts} +34 -16
  178. package/dist/types/__VUE/inputnumber/{index.vue.d.ts → index.taro.vue.d.ts} +2 -2
  179. package/dist/types/__VUE/invoice/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  180. package/dist/types/__VUE/layout/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  181. package/dist/types/__VUE/list/{index.vue.d.ts → index.taro.vue.d.ts} +2 -2
  182. package/dist/types/__VUE/menu/{index.vue.d.ts → index.taro.vue.d.ts} +2 -1
  183. package/dist/types/__VUE/menuitem/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  184. package/dist/types/__VUE/navbar/{index.vue.d.ts → index.taro.vue.d.ts} +1 -2
  185. package/dist/types/__VUE/noticebar/{index.vue.d.ts → index.taro.vue.d.ts} +6 -5
  186. package/dist/types/__VUE/notify/{index.vue.d.ts → index.taro.vue.d.ts} +10 -25
  187. package/dist/types/__VUE/numberkeyboard/{index.vue.d.ts → index.taro.vue.d.ts} +6 -30
  188. package/dist/types/__VUE/oldpicker/{Column.vue.d.ts → ColumnTaro.vue.d.ts} +28 -17
  189. package/dist/types/__VUE/oldpicker/{index.vue.d.ts → index.taro.vue.d.ts} +65 -45
  190. package/dist/types/__VUE/overlay/index.taro.vue.d.ts +85 -0
  191. package/dist/types/__VUE/pagination/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  192. package/dist/types/__VUE/picker/{Column.vue.d.ts → ColumnTaro.vue.d.ts} +16 -4
  193. package/dist/types/__VUE/picker/{index.vue.d.ts → index.taro.vue.d.ts} +54 -29
  194. package/dist/types/__VUE/popover/{index.vue.d.ts → index.taro.vue.d.ts} +18 -16
  195. package/dist/types/__VUE/popup/index.taro.vue.d.ts +1728 -0
  196. package/dist/types/__VUE/popup/index.vue.d.ts +4 -4
  197. package/dist/types/__VUE/price/{index.vue.d.ts → index.taro.vue.d.ts} +1 -0
  198. package/dist/types/__VUE/progress/{index.vue.d.ts → index.taro.vue.d.ts} +1 -1
  199. package/dist/types/__VUE/radio/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  200. package/dist/types/__VUE/range/{index.vue.d.ts → index.taro.vue.d.ts} +7 -6
  201. package/dist/types/__VUE/rate/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  202. package/dist/types/__VUE/searchbar/{index.vue.d.ts → index.taro.vue.d.ts} +19 -19
  203. package/dist/types/__VUE/shortpassword/{index.vue.d.ts → index.taro.vue.d.ts} +6 -21
  204. package/dist/types/__VUE/sidenavbar/{index.vue.d.ts → index.taro.vue.d.ts} +0 -5
  205. package/dist/types/__VUE/signature/{index.vue.d.ts → index.taro.vue.d.ts} +8 -5
  206. package/dist/types/__VUE/skeleton/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  207. package/dist/types/__VUE/sku/{index.vue.d.ts → index.taro.vue.d.ts} +55 -183
  208. package/dist/types/__VUE/step/index.vue.d.ts +1 -1
  209. package/dist/types/__VUE/steps/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  210. package/dist/types/__VUE/sticky/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  211. package/dist/types/__VUE/swipe/{index.vue.d.ts → index.taro.vue.d.ts} +4 -3
  212. package/dist/types/__VUE/swiper/{index.vue.d.ts → index.taro.vue.d.ts} +2 -1
  213. package/dist/types/__VUE/swiperitem/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  214. package/dist/types/__VUE/switch/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  215. package/dist/types/__VUE/tabbar/{index.vue.d.ts → index.taro.vue.d.ts} +10 -0
  216. package/dist/types/__VUE/tabbaritem/{index.vue.d.ts → index.taro.vue.d.ts} +8 -8
  217. package/dist/types/__VUE/table/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  218. package/dist/types/__VUE/tabs/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  219. package/dist/types/__VUE/tag/{index.vue.d.ts → index.taro.vue.d.ts} +4 -4
  220. package/dist/types/__VUE/textarea/{index.vue.d.ts → index.taro.vue.d.ts} +5 -3
  221. package/dist/types/__VUE/timedetail/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  222. package/dist/types/__VUE/timepannel/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  223. package/dist/types/__VUE/timeselect/{index.vue.d.ts → index.taro.vue.d.ts} +7 -8
  224. package/dist/types/__VUE/toast/{index.vue.d.ts → index.taro.vue.d.ts} +44 -22
  225. package/dist/types/__VUE/trendarrow/{index.vue.d.ts → index.taro.vue.d.ts} +0 -0
  226. package/dist/types/__VUE/uploader/{index.vue.d.ts → index.taro.vue.d.ts} +22 -13
  227. package/dist/types/__VUE/video/index.vue.d.ts +4 -2
  228. package/dist/types/__VUE/watermark/{index.vue.d.ts → index.taro.vue.d.ts} +1 -1
  229. package/dist/types/index.d.ts +1 -1
  230. package/dist/types/nutui.d.ts +89 -89
  231. package/package.json +1 -1
  232. package/dist/types/__VUE/dialog/index.d.ts +0 -48
  233. package/dist/types/__VUE/image/index.vue.d.ts +0 -117
  234. package/dist/types/__VUE/image/type.d.ts +0 -6
  235. package/dist/types/__VUE/imagepreview/imagePreviewItem.vue.d.ts +0 -108
  236. package/dist/types/__VUE/imagepreview/index.d.ts +0 -25
  237. package/dist/types/__VUE/notify/index.d.ts +0 -26
  238. package/dist/types/__VUE/tag/type.d.ts +0 -5
  239. package/dist/types/__VUE/toast/index.d.ts +0 -16
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.5 Tue Oct 25 2022 18:40:57 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.6-beta.1 Mon Oct 31 2022 19:38:22 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
- import { resolveComponent, openBlock, createElementBlock, createElementVNode, createCommentVNode, normalizeClass, toDisplayString, renderSlot, createVNode, ref, watch, onMounted, Fragment, renderList, computed, withCtx, normalizeStyle, createTextVNode } from "vue";
6
+ import { resolveComponent, openBlock, createElementBlock, createElementVNode, createCommentVNode, createTextVNode, normalizeClass, toDisplayString, renderSlot, createVNode, ref, watch, onMounted, Fragment, renderList, computed, withCtx, normalizeStyle } from "vue";
7
7
  import { c as createComponent } from "./component.js";
8
8
  import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
9
9
  import "../locale/lang";
@@ -56,6 +56,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
56
56
  src: _ctx.info.avatar
57
57
  }, null, 8, _hoisted_3$3)) : createCommentVNode("", true)
58
58
  ]),
59
+ createTextVNode(),
59
60
  _ctx.type == "default" ? (openBlock(), createElementBlock("view", {
60
61
  key: 0,
61
62
  class: normalizeClass([`nut-comment-header__user-${_ctx.type}`])
@@ -64,8 +65,10 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
64
65
  class: normalizeClass([`nut-comment-header__user-${_ctx.type}-name`])
65
66
  }, [
66
67
  createElementVNode("span", null, toDisplayString(_ctx.info.nickName), 1),
68
+ createTextVNode(),
67
69
  renderSlot(_ctx.$slots, "labels")
68
70
  ], 2),
71
+ createTextVNode(),
69
72
  createElementVNode("view", _hoisted_4$3, [
70
73
  createVNode(_component_nut_rate, {
71
74
  modelValue: _ctx.info.score,
@@ -83,11 +86,14 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
83
86
  createElementVNode("span", {
84
87
  class: normalizeClass([`nut-comment-header__user-${_ctx.type}-name`])
85
88
  }, toDisplayString(_ctx.info.nickName), 3),
89
+ createTextVNode(),
86
90
  renderSlot(_ctx.$slots, "labels")
87
91
  ], 2))
88
92
  ]),
93
+ createTextVNode(),
89
94
  _ctx.info.time ? (openBlock(), createElementBlock("view", _hoisted_5$1, toDisplayString(_ctx.info.time), 1)) : createCommentVNode("", true)
90
95
  ])) : createCommentVNode("", true),
96
+ createTextVNode(),
91
97
  _ctx.type == "complex" ? (openBlock(), createElementBlock("view", {
92
98
  key: 1,
93
99
  class: normalizeClass([`nut-comment-header__${_ctx.type}-score`])
@@ -99,9 +105,11 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
99
105
  spacing: "3",
100
106
  readonly: ""
101
107
  }, null, 8, ["modelValue"]),
108
+ createTextVNode(),
102
109
  createElementVNode("i", {
103
110
  class: normalizeClass([`nut-comment-header__${_ctx.type}-score-i`])
104
111
  }, null, 2),
112
+ createTextVNode(),
105
113
  createElementVNode("view", {
106
114
  class: normalizeClass([`nut-comment-header__${_ctx.type}-score-size`])
107
115
  }, toDisplayString(_ctx.info.size), 3)
@@ -151,9 +159,9 @@ const _sfc_main$2 = create$2({
151
159
  }
152
160
  totalImages.value = props.videos.concat(props.images);
153
161
  });
154
- const showImages = (type, index2) => {
162
+ const showImages = (type, index) => {
155
163
  const { videos, images } = props;
156
- const i = type == "img" ? index2 - videos.length : index2;
164
+ const i = type == "img" ? index - videos.length : index;
157
165
  emit("clickImages", {
158
166
  type,
159
167
  index: i,
@@ -177,32 +185,36 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
177
185
  return openBlock(), createElementBlock("view", {
178
186
  class: normalizeClass(`nut-comment-images nut-comment-images--${_ctx.type}`)
179
187
  }, [
180
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.videos, (itV, index2) => {
188
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.videos, (itV, index) => {
181
189
  return openBlock(), createElementBlock("view", {
182
190
  class: "nut-comment-images__item nut-comment-images__item--video",
183
191
  key: itV.id,
184
- onClick: ($event) => _ctx.showImages("video", index2, index2)
192
+ onClick: ($event) => _ctx.showImages("video", index, index)
185
193
  }, [
186
194
  createElementVNode("img", {
187
195
  src: itV.mainUrl
188
196
  }, null, 8, _hoisted_2$2),
197
+ createTextVNode(),
189
198
  _hoisted_3$2
190
199
  ], 8, _hoisted_1$2);
191
200
  }), 128)),
192
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.images, (itI, index2) => {
201
+ createTextVNode(),
202
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.images, (itI, index) => {
193
203
  return openBlock(), createElementBlock(Fragment, {
194
204
  key: itI.id
195
205
  }, [
196
- _ctx.type == "multi" && _ctx.videos.length + index2 < 9 || _ctx.type != "multi" ? (openBlock(), createElementBlock("view", {
206
+ _ctx.type == "multi" && _ctx.videos.length + index < 9 || _ctx.type != "multi" ? (openBlock(), createElementBlock("view", {
197
207
  key: 0,
198
208
  class: "nut-comment-images__item nut-comment-images__item--imgbox",
199
- onClick: ($event) => _ctx.showImages("img", index2 + _ctx.videos.length)
209
+ onClick: ($event) => _ctx.showImages("img", index + _ctx.videos.length)
200
210
  }, [
201
211
  createElementVNode("img", {
202
212
  src: itI.smallImgUrl ? itI.smallImgUrl : itI.imgUrl
203
213
  }, null, 8, _hoisted_5),
204
- _ctx.type == "multi" && _ctx.totalImages.length > 9 && _ctx.videos.length + index2 > 7 ? (openBlock(), createElementBlock("view", _hoisted_6, [
214
+ createTextVNode(),
215
+ _ctx.type == "multi" && _ctx.totalImages.length > 9 && _ctx.videos.length + index > 7 ? (openBlock(), createElementBlock("view", _hoisted_6, [
205
216
  createElementVNode("span", null, "\u5171 " + toDisplayString(_ctx.totalImages.length) + " \u5F20", 1),
217
+ createTextVNode(),
206
218
  createVNode(_component_nut_icon, {
207
219
  name: "right",
208
220
  size: "12"
@@ -214,7 +226,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
214
226
  ], 2);
215
227
  }
216
228
  var CommentImages = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2]]);
217
- const { componentName: componentName$1, create: create$1, translate: translate$1 } = createComponent("comment-bottom");
229
+ const { componentName: componentName$1, create: create$1, translate } = createComponent("comment-bottom");
218
230
  const _sfc_main$1 = create$1({
219
231
  props: {
220
232
  type: {
@@ -255,7 +267,7 @@ const _sfc_main$1 = create$1({
255
267
  const handleClick = () => {
256
268
  emit("handleClick");
257
269
  };
258
- return { showPopver, operate, mergeOp, handleClick, translate: translate$1 };
270
+ return { showPopver, operate, mergeOp, handleClick, translate };
259
271
  }
260
272
  });
261
273
  const _hoisted_1$1 = { class: "nut-comment-bottom" };
@@ -271,6 +283,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
271
283
  }, [
272
284
  _ctx.type != "complex" ? (openBlock(), createElementBlock("span", _hoisted_2$1, toDisplayString(_ctx.info.size), 1)) : createCommentVNode("", true)
273
285
  ]),
286
+ createTextVNode(),
274
287
  createElementVNode("view", _hoisted_3$1, [
275
288
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.mergeOp, (name, i) => {
276
289
  return openBlock(), createElementBlock("view", {
@@ -280,12 +293,15 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
280
293
  }, [
281
294
  name != "more" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
282
295
  createElementVNode("span", null, toDisplayString(_ctx.info[name]), 1),
296
+ createTextVNode(),
283
297
  createVNode(_component_nut_icon, {
284
298
  name: name == "like" ? "fabulous" : "comment"
285
299
  }, null, 8, ["name"])
286
300
  ], 64)) : createCommentVNode("", true),
301
+ createTextVNode(),
287
302
  name == "more" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
288
303
  createVNode(_component_nut_icon, { name: "more-x" }),
304
+ createTextVNode(),
289
305
  _ctx.showPopver ? (openBlock(), createElementBlock("view", {
290
306
  key: 0,
291
307
  class: "nut-comment-bottom__cpx-item-popover",
@@ -298,7 +314,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
298
314
  ]);
299
315
  }
300
316
  var CommentBottom = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1]]);
301
- const { componentName, create, translate } = createComponent("comment");
317
+ const { componentName, create } = createComponent("comment");
302
318
  const _sfc_main = create({
303
319
  props: {
304
320
  headerType: {
@@ -367,7 +383,7 @@ const _sfc_main = create({
367
383
  const clickImages = (value) => {
368
384
  emit("clickImages", value);
369
385
  };
370
- return { classes, conEllipsis, clickOperate, handleClick, clickImages, translate };
386
+ return { classes, conEllipsis, clickOperate, handleClick, clickImages };
371
387
  }
372
388
  });
373
389
  const _hoisted_1 = ["innerHTML"];
@@ -397,19 +413,23 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
397
413
  ]),
398
414
  _: 3
399
415
  }, 8, ["type", "info", "labels", "onHandleClick"]),
416
+ createTextVNode(),
400
417
  renderSlot(_ctx.$slots, "feature"),
418
+ createTextVNode(),
401
419
  createElementVNode("view", {
402
420
  class: "nut-comment__main",
403
421
  style: normalizeStyle(`-webkit-line-clamp:${_ctx.conEllipsis}`),
404
422
  onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleClick && _ctx.handleClick(...args)),
405
423
  innerHTML: _ctx.info.content.replace(/\n/g, "<br>")
406
424
  }, null, 12, _hoisted_1),
425
+ createTextVNode(),
407
426
  createVNode(_component_comment_images, {
408
427
  images: _ctx.images,
409
428
  videos: _ctx.videos,
410
429
  type: _ctx.imagesRows,
411
430
  onClickImages: _ctx.clickImages
412
431
  }, null, 8, ["images", "videos", "type", "onClickImages"]),
432
+ createTextVNode(),
413
433
  _ctx.follow && _ctx.follow.days > 0 ? (openBlock(), createElementBlock("view", {
414
434
  key: 0,
415
435
  class: "nut-comment__follow",
@@ -420,17 +440,20 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
420
440
  size: "14",
421
441
  name: "joy-smile"
422
442
  }),
423
- createTextVNode(toDisplayString(_ctx.translate("additionalReview", _ctx.follow.days)), 1)
443
+ createTextVNode("\u8D2D\u4E70" + toDisplayString(_ctx.follow.days) + "\u5929\u540E\u8FFD\u8BC4", 1)
424
444
  ]),
445
+ createTextVNode(),
425
446
  createElementVNode("view", _hoisted_3, toDisplayString(_ctx.follow.content), 1),
447
+ createTextVNode(),
426
448
  _ctx.follow.images && _ctx.follow.images.length > 0 ? (openBlock(), createElementBlock("view", _hoisted_4, [
427
- createTextVNode(toDisplayString(_ctx.translate("additionalImages", _ctx.follow.images.length)) + " ", 1),
449
+ createTextVNode(toDisplayString(_ctx.follow.images.length) + " \u5F20\u8FFD\u8BC4\u56FE\u7247 ", 1),
428
450
  createVNode(_component_nut_icon, {
429
451
  size: "12",
430
452
  name: "right"
431
453
  })
432
454
  ])) : createCommentVNode("", true)
433
455
  ])) : createCommentVNode("", true),
456
+ createTextVNode(),
434
457
  createVNode(_component_comment_bottom, {
435
458
  type: _ctx.headerType,
436
459
  info: _ctx.info,
@@ -438,8 +461,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
438
461
  onClickOperate: _ctx.clickOperate,
439
462
  onHandleClick: _ctx.handleClick
440
463
  }, null, 8, ["type", "info", "operation", "onClickOperate", "onHandleClick"]),
441
- renderSlot(_ctx.$slots, "comment-shop-reply")
464
+ createTextVNode(),
465
+ renderSlot(_ctx.$slots, "cmt-shop-reply")
442
466
  ], 2)) : createCommentVNode("", true);
443
467
  }
444
- var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
445
- export { index as default };
468
+ var index_taro = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
469
+ export { index_taro as default };
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.5 Tue Oct 25 2022 18:40:57 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.6-beta.1 Mon Oct 31 2022 19:38:22 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.5 Tue Oct 25 2022 18:40:57 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.6-beta.1 Mon Oct 31 2022 19:38:22 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -254,5 +254,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
254
254
  }, null, 8, _hoisted_1))
255
255
  ], 2);
256
256
  }
257
- var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
258
- export { index as default };
257
+ var index_taro = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
258
+ export { index_taro as default };
@@ -1,9 +1,9 @@
1
1
  /*!
2
- * @nutui/nutui v3.2.5 Tue Oct 25 2022 18:40:57 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.2.6-beta.1 Mon Oct 31 2022 19:38:22 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
6
- import { getCurrentInstance, ref, reactive, watch, nextTick, onMounted, onUnmounted, toRefs, openBlock, createElementBlock, Fragment, normalizeStyle, renderList, createCommentVNode, toDisplayString, createTextVNode } from "vue";
6
+ import { getCurrentInstance, reactive, watch, nextTick, onMounted, onUnmounted, toRefs, openBlock, createElementBlock, Fragment, normalizeStyle, renderList, createTextVNode, createCommentVNode, toDisplayString } from "vue";
7
7
  import { c as createComponent } from "./component.js";
8
8
  import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
9
9
  import "../locale/lang";
@@ -80,7 +80,7 @@ const _sfc_main = create({
80
80
  type: Number,
81
81
  default: 0
82
82
  },
83
- machineTurnMore: {
83
+ machineTrunMore: {
84
84
  type: Number,
85
85
  default: 0
86
86
  }
@@ -88,11 +88,6 @@ const _sfc_main = create({
88
88
  components: {},
89
89
  emits: ["click", "scroll-end"],
90
90
  setup(props, { emit }) {
91
- const runNumberImg = ref(null);
92
- const numberItemRef = ref([]);
93
- const setRef = (el) => {
94
- numberItemRef.value.push(el);
95
- };
96
91
  const data = reactive({
97
92
  valFlag: false,
98
93
  current: 0,
@@ -178,20 +173,20 @@ const _sfc_main = create({
178
173
  return m / baseNum;
179
174
  }
180
175
  };
181
- const topNumber = (index2) => {
176
+ const topNumber = (index) => {
182
177
  let { num_total_len, pointNum, initDigit1, initDigit2, sortFlag } = data;
183
- let idx1 = sortFlag == "add" || sortFlag == "equal" ? String(initDigit2)[index2 - (num_total_len - pointNum)] : 10 - Number(String(initDigit2)[index2 - (num_total_len - pointNum)]);
184
- let idx2 = sortFlag == "add" || sortFlag == "equal" ? String(initDigit1)[index2] : 10 - Number(String(initDigit1)[index2]);
185
- let num = index2 > num_total_len - pointNum - 1 ? -idx1 * 100 + "%" : index2 <= String(initDigit1).length - 1 ? -idx2 * 100 + "%" : 0;
178
+ let idx1 = sortFlag == "add" || sortFlag == "equal" ? String(initDigit2)[index - (num_total_len - pointNum)] : 10 - Number(String(initDigit2)[index - (num_total_len - pointNum)]);
179
+ let idx2 = sortFlag == "add" || sortFlag == "equal" ? String(initDigit1)[index] : 10 - Number(String(initDigit1)[index]);
180
+ let num = index > num_total_len - pointNum - 1 ? -idx1 * 100 + "%" : index <= String(initDigit1).length - 1 ? -idx2 * 100 + "%" : 0;
186
181
  if (num == "-1000%") {
187
182
  num = 0;
188
183
  }
189
184
  return num;
190
185
  };
191
- const turnNumber = (index2) => {
186
+ const turnNumber = (index) => {
192
187
  let { num_total_len, pointNum, initDigit1, initDigit2, sortFlag } = data;
193
- let idx1 = String(initDigit2)[index2 - (num_total_len - pointNum)];
194
- let num = index2 > num_total_len - pointNum - 1 ? idx1 ? idx1 : 0 : index2 <= String(initDigit1).length - 1 ? String(initDigit1)[index2] : 0;
188
+ let idx1 = String(initDigit2)[index - (num_total_len - pointNum)];
189
+ let num = index > num_total_len - pointNum - 1 ? idx1 ? idx1 : 0 : index <= String(initDigit1).length - 1 ? String(initDigit1)[index] : 0;
195
190
  return num;
196
191
  };
197
192
  const countChange = () => {
@@ -199,23 +194,21 @@ const _sfc_main = create({
199
194
  let countTimer = setInterval(() => {
200
195
  if (initNum > endNum) {
201
196
  if (data.current <= endNum || data.current <= speed) {
202
- data.current = endNum.toFixed(toFixed);
197
+ data.current = Number(endNum.toFixed(toFixed));
203
198
  clearInterval(countTimer);
204
199
  emit("scroll-end");
205
200
  data.valFlag = false;
206
201
  } else {
207
- let num = parseFloat(String(data.current)) - parseFloat(String(speed));
208
- data.current = num.toFixed(toFixed);
202
+ data.current = Number((parseFloat(String(data.current)) - parseFloat(String(speed))).toFixed(toFixed));
209
203
  }
210
204
  } else {
211
205
  if (data.current >= endNum) {
212
- data.current = endNum.toFixed(toFixed);
206
+ data.current = Number(endNum.toFixed(toFixed));
213
207
  clearInterval(countTimer);
214
208
  emit("scroll-end");
215
209
  data.valFlag = false;
216
210
  } else {
217
- let num = parseFloat(String(data.current)) + parseFloat(String(speed));
218
- data.current = num.toFixed(toFixed);
211
+ data.current = Number((parseFloat(String(data.current)) + parseFloat(String(speed))).toFixed(toFixed));
219
212
  }
220
213
  }
221
214
  }, props.during);
@@ -296,7 +289,8 @@ const _sfc_main = create({
296
289
  if (data.sortFlag == "equal") {
297
290
  return false;
298
291
  }
299
- let element = numberItemRef.value[data.num_total_len - 1];
292
+ let refsDom = document.getElementsByClassName("numberItem");
293
+ let element = refsDom[data.num_total_len - 1];
300
294
  runTurn(element);
301
295
  });
302
296
  } else {
@@ -322,21 +316,21 @@ const _sfc_main = create({
322
316
  }, props.during);
323
317
  };
324
318
  const runStep = (el) => {
325
- let currentTurn = el.getAttribute("turn-number");
319
+ let currentTurn = el.style.all;
326
320
  let turningNum;
327
321
  if (data.sortFlag == "add") {
328
322
  turningNum = parseInt(String(currentTurn)) + 1;
329
323
  } else {
330
324
  turningNum = parseInt(String(currentTurn)) - 1 >= 0 ? parseInt(String(currentTurn)) - 1 : 9;
331
325
  }
332
- el.setAttribute("turn-number", String(turningNum));
333
- if (el.style.transition == "none 0s ease 0s" || turningNum == 1 || !el.style.transition) {
326
+ el.style.all = String(turningNum);
327
+ if (el.style.transition == "none" || turningNum == 1 || !el.style.transition) {
334
328
  el.style.transition = `all linear ${props.during}ms`;
335
329
  }
336
330
  if (turningNum == 10 || data.sortFlag == "reduce" && turningNum == 0) {
337
331
  var timeOut = null;
338
332
  el.style.top = `-${data.sortFlag == "add" ? turningNum * 100 : (10 - turningNum) * 100}%`;
339
- el.setAttribute("turn-number", "0");
333
+ el.style.all = "0";
340
334
  timeOut = setTimeout(() => {
341
335
  timeOut && clearTimeout(timeOut);
342
336
  el.style.transition = "none";
@@ -359,7 +353,8 @@ const _sfc_main = create({
359
353
  Math.pow(10, data.pointNum);
360
354
  }
361
355
  nextTick(() => {
362
- runNumberImg.value.addEventListener("webkitTransitionEnd", () => {
356
+ let f = document.getElementsByClassName("run-number-img")[0];
357
+ f.addEventListener("webkitTransitionEnd", () => {
363
358
  emit("scroll-end");
364
359
  data.valFlag = false;
365
360
  });
@@ -375,14 +370,14 @@ const _sfc_main = create({
375
370
  }
376
371
  };
377
372
  const machineLuck = () => {
378
- const machineTurnMoreNum = props.machineTurnMore < 0 ? 0 : props.machineTurnMore;
373
+ const machineTrunMoreNum = props.machineTrunMore < 0 ? 0 : props.machineTrunMore;
379
374
  let distance = props.numHeight * props.machinePrizeNum;
380
375
  if (data.prizeLevelTrun < 0) {
381
376
  generateRandom();
382
377
  }
383
378
  for (let i = 0; i < props.machineNum; i++) {
384
379
  setTimeout(() => {
385
- let turn = distance * (i + 1 + parseFloat(String(machineTurnMoreNum)));
380
+ let turn = distance * (i + 1 + parseFloat(String(machineTrunMoreNum)));
386
381
  if (data.prizeYPrev.length != 0) {
387
382
  data.prizeY[i] = data.prizeYPrev[i];
388
383
  }
@@ -400,16 +395,16 @@ const _sfc_main = create({
400
395
  }
401
396
  };
402
397
  useExtend({ machineLuck });
403
- const scrollTime = (index2, total, num) => {
398
+ const scrollTime = (index, total, num) => {
404
399
  let t = setInterval(() => {
405
400
  if (num <= total) {
406
401
  num += 10;
407
- data.prizeY[index2] = parseFloat(String(num));
402
+ data.prizeY[index] = parseFloat(String(num));
408
403
  } else {
409
404
  clearInterval(t);
410
405
  t = null;
411
406
  data.finshMachine += 1;
412
- data.prizeY[index2] = total;
407
+ data.prizeY[index] = total;
413
408
  if (data.finshMachine == props.machineNum) {
414
409
  let distance = props.numHeight * props.machinePrizeNum;
415
410
  data.prizeYPrev = [];
@@ -448,8 +443,6 @@ const _sfc_main = create({
448
443
  return {
449
444
  ...toRefs(data),
450
445
  ...toRefs(reactive(props)),
451
- runNumberImg,
452
- setRef,
453
446
  topNumber,
454
447
  turnNumber
455
448
  };
@@ -465,41 +458,41 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
465
458
  class: "run-number-machine-img",
466
459
  style: normalizeStyle({ height: _ctx.numHeight + "px" })
467
460
  }, [
468
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.machineNum, (val, index2) => {
461
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.machineNum, (val, index) => {
469
462
  return openBlock(), createElementBlock("view", {
470
463
  class: "run-number-machine-img-li",
471
464
  ref_for: true,
472
465
  ref: "run-number-machine-img-li",
473
- key: "mImg" + index2,
466
+ key: "mImg" + index,
474
467
  style: normalizeStyle({
475
468
  width: _ctx.numWidth + "px",
476
469
  height: _ctx.numHeight + "px",
477
- backgroundImage: "url(" + _ctx.customBgImg + ")",
478
- backgroundPositionY: _ctx.prizeY[index2] + "px"
470
+ background: "url(" + _ctx.customBgImg + ") ",
471
+ backgroundPosition: "0 " + _ctx.prizeY[index] + "px"
479
472
  })
480
473
  }, null, 4);
481
- }), 128))
474
+ }), 128)),
475
+ createTextVNode()
482
476
  ], 4)) : (openBlock(), createElementBlock("view", {
483
477
  key: 1,
484
- ref: "runNumberImg",
485
478
  class: "run-number-img",
486
479
  style: normalizeStyle({ height: _ctx.numHeight + "px" })
487
480
  }, [
488
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.num_total_len, (val, index2) => {
481
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.num_total_len, (val, index) => {
489
482
  return openBlock(), createElementBlock("view", {
490
483
  class: "run-number-img-li",
491
- key: "cImg" + index2,
484
+ key: "cImg" + index,
492
485
  style: normalizeStyle({
493
486
  width: _ctx.numWidth + "px",
494
487
  height: _ctx.numHeight + "px",
495
- left: _ctx.numWidth * (index2 > _ctx.num_total_len - _ctx.pointNum - 1 ? index2 == _ctx.num_total_len - _ctx.pointNum ? index2 * 1.5 : index2 * 1.3 : index2) + "px",
488
+ left: _ctx.numWidth * (index > _ctx.num_total_len - _ctx.pointNum - 1 ? index == _ctx.num_total_len - _ctx.pointNum ? index * 1.5 : index * 1.3 : index) + "px",
496
489
  backgroundImage: "url(" + _ctx.customBgImg + ")",
497
- backgroundPositionX: "0",
498
- backgroundPositionY: -(String(_ctx.relNum)[index2] * _ctx.numHeight + _ctx.customSpacNum * String(_ctx.relNum)[index2]) + "px",
490
+ backgroundPosition: "0 " + -(String(_ctx.relNum)[index] * _ctx.numHeight + _ctx.customSpacNum * String(_ctx.relNum)[index]) + "px",
499
491
  transition: "all linear " + _ctx.during / 10 + "ms"
500
492
  })
501
493
  }, null, 4);
502
494
  }), 128)),
495
+ createTextVNode(),
503
496
  _ctx.pointNum > 0 ? (openBlock(), createElementBlock("view", {
504
497
  key: 0,
505
498
  class: "pointstyl",
@@ -521,17 +514,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
521
514
  lineHeight: _ctx.numHeight + "px"
522
515
  })
523
516
  }, [
524
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.num_total_len, (val, index2) => {
517
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.num_total_len, (val, index) => {
525
518
  return openBlock(), createElementBlock("view", {
526
519
  ref_for: true,
527
- ref: _ctx.setRef,
520
+ ref: "numberItem",
528
521
  class: "numberItem",
529
522
  key: val,
530
523
  style: normalizeStyle({
531
- top: _ctx.topNumber(index2),
532
- left: _ctx.numWidth * (index2 > _ctx.num_total_len - _ctx.pointNum - 1 ? index2 * 1.1 : index2) + "px"
524
+ all: _ctx.turnNumber(index),
525
+ top: _ctx.topNumber(index),
526
+ left: _ctx.numWidth * (index > _ctx.num_total_len - _ctx.pointNum - 1 ? index * 1.1 : index) + "px"
533
527
  }),
534
- "turn-number": _ctx.turnNumber(index2)
528
+ "turn-number": _ctx.turnNumber(index)
535
529
  }, [
536
530
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.to0_10, (item, idx) => {
537
531
  return openBlock(), createElementBlock("view", {
@@ -546,6 +540,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
546
540
  }), 128))
547
541
  ], 12, _hoisted_2);
548
542
  }), 128)),
543
+ createTextVNode(),
549
544
  _ctx.pointNum > 0 ? (openBlock(), createElementBlock("view", {
550
545
  key: 0,
551
546
  class: "pointstyl",
@@ -563,5 +558,5 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
563
558
  ], 64))
564
559
  ]);
565
560
  }
566
- var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
567
- export { index as default };
561
+ var index_taro = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
562
+ export { index_taro as default };