@10yun/cv-mobile-ui 0.5.50 → 0.5.52

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 (114) hide show
  1. package/build/common_func.js +3 -1
  2. package/build/parse-create.js +17 -8
  3. package/build/parse-pages-pkg.js +10 -4
  4. package/empty-devtools.js +3 -0
  5. package/libs/aes.js +50 -0
  6. package/libs/bledefine/bledefine.js +51 -0
  7. package/libs/bledefine/ios-ble-statuscode.js +97 -0
  8. package/libs/nfc/hexiii-nfc.js +236 -0
  9. package/libs/nfc.js +179 -0
  10. package/libs/sdk/html2canvas.js +8 -0
  11. package/libs/sdk/sdk-h5.js +585 -0
  12. package/{plugins → libs}/storage2.js +0 -5
  13. package/{plugins → libs}/storage3.js +0 -4
  14. package/libs/validators/index.js +438 -0
  15. package/libs/weapp-qrcode.js +1108 -0
  16. package/package.json +2 -3
  17. package/ui-cv/components/cv-dialog-share/tui-share.vue +16 -16
  18. package/ui-cv/components/cv-mask-png/cv-mask-png.vue +27 -0
  19. package/ui-cv/components/cv-mask-svg/cv-mask-svg.vue +22 -0
  20. package/ui-cv/components/cv-mask-svg/mixins.js +131 -0
  21. package/ui-fireui/components/{fui-actionsheet/fui-actionsheet.vue → u-action-sheet/u-action-sheet.vue} +21 -21
  22. package/ui-fireui/components/{fui-alert/fui-alert.vue → u-alert/u-alert.vue} +13 -13
  23. package/ui-fireui/components/{fui-badge/fui-badge.vue → u-badge/u-badge.vue} +16 -16
  24. package/ui-fireui/components/{fui-bottom-navigation/fui-bottom-navigation.vue → u-bottom-navigation/u-bottom-navigation.vue} +47 -46
  25. package/ui-fireui/components/{fui-bottom-popup/fui-bottom-popup.vue → u-bottom-popup/u-bottom-popup.vue} +9 -8
  26. package/ui-fireui/components/{fui-bubble-popup/fui-bubble-popup.vue → u-bubble-popup/u-bubble-popup.vue} +19 -15
  27. package/ui-fireui/components/{fui-button/fui-button.vue → u-button/u-button.vue} +69 -69
  28. package/ui-fireui/components/u-button/u-button2.vue +553 -0
  29. package/ui-fireui/components/{fui-calendar/fui-calendar.vue → u-calendar/u-calendar.vue} +78 -78
  30. package/ui-fireui/components/u-calendar/u-calendar2.vue +801 -0
  31. package/ui-fireui/components/{fui-card/fui-card.vue → u-card/u-card.vue} +24 -24
  32. package/ui-fireui/components/{fui-cascade-selection/fui-cascade-selection.vue → u-cascade-selection/u-cascade-selection.vue} +32 -32
  33. package/ui-fireui/components/{fui-circular-progress/fui-circular-progress.vue → u-circular-progress/u-circular-progress.vue} +14 -6
  34. package/ui-fireui/components/{fui-collapse/fui-collapse.vue → u-collapse/u-collapse.vue} +19 -19
  35. package/ui-fireui/components/{fui-countdown/fui-countdown.vue → u-countdown/u-countdown.vue} +28 -28
  36. package/ui-fireui/components/{fui-datetime/fui-datetime.vue → u-datetime/u-datetime.vue} +51 -51
  37. package/ui-fireui/components/{fui-divider/fui-divider.vue → u-divider/u-divider.vue} +6 -6
  38. package/ui-fireui/components/{fui-drawer/fui-drawer.vue → u-drawer/u-drawer.vue} +11 -11
  39. package/ui-fireui/components/{fui-dropdown-list/fui-dropdown-list.vue → u-dropdown-list/u-dropdown-list.vue} +11 -6
  40. package/ui-fireui/components/{fui-fab/fui-fab.vue → u-fab/u-fab.vue} +30 -30
  41. package/ui-fireui/components/{fui-footer/fui-footer.vue → u-footer/u-footer.vue} +19 -15
  42. package/ui-fireui/components/{fui-grid/fui-grid.vue → u-grid/u-grid.vue} +13 -5
  43. package/ui-fireui/components/{fui-grid-item/fui-grid-item.vue → u-grid-item/u-grid-item.vue} +19 -19
  44. package/ui-fireui/components/{fui-icon/fui-icon.vue → u-icon/u-icon.vue} +191 -191
  45. package/ui-fireui/components/{fui-image-cropper/fui-image-cropper.vue → u-image-cropper/u-image-cropper.vue} +44 -44
  46. package/ui-fireui/components/{fui-image-group/fui-image-group.vue → u-image-group/u-image-group.vue} +7 -7
  47. package/ui-fireui/components/{fui-keyboard/fui-keyboard.vue → u-keyboard/u-keyboard.vue} +29 -32
  48. package/ui-fireui/components/{fui-keyboard-input/fui-keyboard-input.vue → u-keyboard-input/u-keyboard-input.vue} +9 -9
  49. package/ui-fireui/components/{fui-list-cell/fui-list-cell.vue → u-list-cell/u-list-cell.vue} +23 -23
  50. package/ui-fireui/components/{fui-list-view/fui-list-view.vue → u-list-view/u-list-view.vue} +11 -11
  51. package/ui-fireui/components/{fui-loading/fui-loading.vue → u-loading/u-loading.vue} +6 -6
  52. package/ui-fireui/components/{fui-loadmore/fui-loadmore.vue → u-loadmore/u-loadmore.vue} +15 -15
  53. package/ui-fireui/components/{fui-modal/fui-modal.vue → u-modal/u-modal.vue} +58 -58
  54. package/ui-fireui/components/{fui-navigation-bar/fui-navigation-bar.vue → u-navigation-bar/u-navigation-bar.vue} +11 -10
  55. package/ui-fireui/components/{fui-no-data/fui-no-data.vue → u-no-data/u-no-data.vue} +11 -11
  56. package/ui-fireui/components/{fui-nomore/fui-nomore.vue → u-nomore/u-nomore.vue} +10 -10
  57. package/ui-fireui/components/{fui-numberbox/fui-numberbox.vue → u-numberbox/u-numberbox.vue} +12 -12
  58. package/ui-fireui/components/{fui-numberbox-border/fui-numberbox-border.vue → u-numberbox-border/u-numberbox-border.vue} +10 -10
  59. package/ui-fireui/components/{fui-picture-cropper/fui-picture-cropper.vue → u-picture-cropper/u-picture-cropper.vue} +42 -42
  60. package/ui-fireui/components/u-picture-cropper/u-picture-cropper.wxs +582 -0
  61. package/ui-fireui/components/{fui-round-progress/fui-round-progress.vue → u-round-progress/u-round-progress.vue} +2 -2
  62. package/ui-fireui/components/{fui-scroll-top/fui-scroll-top.vue → u-scroll-top/u-scroll-top.vue} +21 -21
  63. package/ui-fireui/components/{fui-sharemodel/fui-sharemodel.vue → u-share-model/u-share-model.vue} +24 -24
  64. package/ui-fireui/components/{fui-skeleton/fui-skeleton.vue → u-skeleton/u-skeleton.vue} +22 -22
  65. package/ui-fireui/components/{fui-steps/fui-steps.vue → u-steps/u-steps.vue} +27 -27
  66. package/ui-fireui/components/{fui-sticky/fui-sticky.vue → u-sticky/u-sticky.vue} +4 -4
  67. package/ui-fireui/components/{fui-sticky-wxs/fui-sticky-wxs.vue → u-sticky-wxs/u-sticky-wxs.vue} +7 -7
  68. package/ui-fireui/components/u-sticky-wxs/u-sticky.wxs +46 -0
  69. package/ui-fireui/components/{fui-swipe-action/fui-swipe-action.vue → u-swipe-action/u-swipe-action.vue} +11 -11
  70. package/ui-fireui/components/{fui-tabbar/fui-tabbar.vue → u-tabbar/u-tabbar.vue} +26 -30
  71. package/ui-fireui/components/{fui-tabs/fui-tabs.vue → u-tabs/u-tabs.vue} +17 -17
  72. package/ui-fireui/components/{fui-tabs2/fui-tabs2.vue → u-tabs2/u-tabs2.vue} +17 -17
  73. package/ui-fireui/components/{fui-tag/fui-tag.vue → u-tag/u-tag.vue} +362 -374
  74. package/ui-fireui/components/{fui-time-axis/fui-time-axis.vue → u-time-axis/u-time-axis.vue} +3 -3
  75. package/ui-fireui/components/{fui-timeaxis-item/fui-timeaxis-item.vue → u-timeaxis-item/u-timeaxis-item.vue} +4 -4
  76. package/ui-fireui/components/{fui-tips/fui-tips.vue → u-tips/u-tips.vue} +20 -20
  77. package/ui-fireui/components/{fui-toast/fui-toast.vue → u-toast/u-toast.vue} +13 -13
  78. package/ui-fireui/components/{fui-top-dropdown/fui-top-dropdown.vue → u-top-dropdown/u-top-dropdown.vue} +8 -8
  79. package/ui-fireui/components/{fui-upload/fui-upload.vue → u-upload/u-upload.vue} +30 -30
  80. package/ui-fireui/components/u-upload2/u-upload.vue +464 -0
  81. package/ui-fireui/components/{fui-uploadsamll/fui-uploadsamll.vue → u-uploadsamll/u-uploadsamll.vue} +34 -34
  82. package/ui-fireui/css/thorui.css +589 -0
  83. package/ui-fireui/{fireui.css → index.css} +306 -268
  84. package/ui-fireui/nvue/u-circular-progress/gcanvas/bridge/bridge-weex.js +241 -0
  85. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-2d/FillStyleLinearGradient.js +18 -0
  86. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-2d/FillStylePattern.js +8 -0
  87. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-2d/FillStyleRadialGradient.js +17 -0
  88. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-2d/RenderingContext.js +666 -0
  89. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/ActiveInfo.js +11 -0
  90. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/Buffer.js +21 -0
  91. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/Framebuffer.js +21 -0
  92. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/GLenum.js +298 -0
  93. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/GLmethod.js +142 -0
  94. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/GLtype.js +23 -0
  95. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/Program.js +21 -0
  96. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/Renderbuffer.js +21 -0
  97. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/RenderingContext.js +1191 -0
  98. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/Shader.js +22 -0
  99. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/ShaderPrecisionFormat.js +11 -0
  100. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/Texture.js +22 -0
  101. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/UniformLocation.js +22 -0
  102. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/classUtils.js +3 -0
  103. package/ui-fireui/nvue/u-circular-progress/gcanvas/env/canvas.js +74 -0
  104. package/ui-fireui/nvue/u-circular-progress/gcanvas/env/image.js +96 -0
  105. package/ui-fireui/nvue/u-circular-progress/gcanvas/env/tool.js +24 -0
  106. package/ui-fireui/nvue/u-circular-progress/gcanvas/index.js +47 -0
  107. package/ui-fireui/nvue/u-circular-progress/u-circular-progress.nvue +203 -0
  108. package/ui-fireui/nvue/u-icon/icons.js +188 -0
  109. package/ui-fireui/nvue/u-icon/u-icon.vue +78 -0
  110. package/uview-plus/components/u-grid/u-grid.vue +23 -1
  111. package/ui-fireui/components/fui-picture-cropper/fui-picture-cropper.wxs +0 -560
  112. package/ui-fireui/components/fui-rate/fui-rate.vue +0 -167
  113. package/ui-fireui/components/fui-sticky-wxs/fui-sticky.wxs +0 -44
  114. /package/ui-fireui/components/{fui-calendar/fui-calendar.js → u-calendar/u-calendar.js} +0 -0
@@ -1,22 +1,22 @@
1
1
  <template>
2
2
  <view
3
- class="fui-card-class fui-card"
4
- :class="[full ? 'fui-card-full' : '', border ? 'fui-card-border' : '']"
3
+ class="up-card-class up-card"
4
+ :class="[full ? 'up-card-full' : '', border ? 'up-card-border' : '']"
5
5
  @tap="handleClick"
6
6
  @longtap="longTap"
7
7
  >
8
- <view class="fui-card-header" :class="{ 'fui-header-line': header.line }" :style="{ background: header.bgcolor || '#fff' }">
9
- <view class="fui-header-left">
8
+ <view class="up-card-header" :class="{ 'up-header-line': header.line }" :style="{ background: header.bgcolor || '#fff' }">
9
+ <view class="up-header-left">
10
10
  <image
11
11
  :src="image.url"
12
- class="fui-header-thumb"
13
- :class="{ 'fui-thumb-circle': image.circle }"
12
+ class="up-header-thumb"
13
+ :class="{ 'up-thumb-circle': image.circle }"
14
14
  mode="widthFix"
15
15
  v-if="image.url"
16
16
  :style="{ height: (image.height || 60) + 'rpx', width: (image.width || 60) + 'rpx' }"
17
17
  ></image>
18
18
  <text
19
- class="fui-header-title"
19
+ class="up-header-title"
20
20
  :style="{ fontSize: (title.size || 30) + 'rpx', color: title.color || '#7A7A7A' }"
21
21
  v-if="title.text"
22
22
  >
@@ -24,17 +24,17 @@
24
24
  </text>
25
25
  </view>
26
26
  <view
27
- class="fui-header-right"
27
+ class="up-header-right"
28
28
  :style="{ fontSize: (tag.size || 24) + 'rpx', color: tag.color || '#b2b2b2' }"
29
29
  v-if="tag.text"
30
30
  >
31
31
  {{ tag.text }}
32
32
  </view>
33
33
  </view>
34
- <view class="fui-card-body">
34
+ <view class="up-card-body">
35
35
  <slot name="body"></slot>
36
36
  </view>
37
- <view class="fui-card-footer">
37
+ <view class="up-card-footer">
38
38
  <slot name="footer"></slot>
39
39
  </view>
40
40
  </view>
@@ -117,7 +117,7 @@ export default {
117
117
  </script>
118
118
 
119
119
  <style scoped>
120
- .fui-card {
120
+ .up-card {
121
121
  margin: 0 40rpx;
122
122
  font-size: 28rpx;
123
123
  background-color: #fff;
@@ -127,21 +127,21 @@ export default {
127
127
  overflow: hidden;
128
128
  }
129
129
 
130
- .fui-card-full {
130
+ .up-card-full {
131
131
  margin: 0 !important;
132
132
  border-radius: 0 !important;
133
133
  }
134
134
 
135
- .fui-card-full::after {
135
+ .up-card-full::after {
136
136
  border-radius: 0 !important;
137
137
  }
138
138
 
139
- .fui-card-border {
139
+ .up-card-border {
140
140
  position: relative;
141
141
  box-shadow: none !important;
142
142
  }
143
143
 
144
- .fui-card-border::after {
144
+ .up-card-border::after {
145
145
  content: ' ';
146
146
  position: absolute;
147
147
  height: 200%;
@@ -158,7 +158,7 @@ export default {
158
158
  pointer-events: none;
159
159
  }
160
160
 
161
- .fui-card-header {
161
+ .up-card-header {
162
162
  width: 100%;
163
163
  padding: 20rpx;
164
164
  display: flex;
@@ -171,7 +171,7 @@ export default {
171
171
  border-top-right-radius: 10rpx;
172
172
  }
173
173
 
174
- .fui-card-header::after {
174
+ .up-card-header::after {
175
175
  content: '';
176
176
  position: absolute;
177
177
  border-bottom: 1rpx solid #eaeef1;
@@ -183,11 +183,11 @@ export default {
183
183
  pointer-events: none;
184
184
  }
185
185
 
186
- .fui-header-line::after {
186
+ .up-header-line::after {
187
187
  border-bottom: 0 !important;
188
188
  }
189
189
 
190
- .fui-header-thumb {
190
+ .up-header-thumb {
191
191
  height: 60rpx;
192
192
  width: 60rpx;
193
193
  vertical-align: middle;
@@ -195,11 +195,11 @@ export default {
195
195
  border-radius: 6rpx;
196
196
  }
197
197
 
198
- .fui-thumb-circle {
198
+ .up-thumb-circle {
199
199
  border-radius: 50% !important;
200
200
  }
201
201
 
202
- .fui-header-title {
202
+ .up-header-title {
203
203
  display: inline-block;
204
204
  font-size: 30rpx;
205
205
  color: #7a7a7a;
@@ -210,18 +210,18 @@ export default {
210
210
  text-overflow: ellipsis;
211
211
  }
212
212
 
213
- .fui-header-right {
213
+ .up-header-right {
214
214
  font-size: 24rpx;
215
215
  color: #b2b2b2;
216
216
  }
217
217
 
218
- .fui-card-body {
218
+ .up-card-body {
219
219
  font-size: 32rpx;
220
220
  color: #262b3a;
221
221
  box-sizing: border-box;
222
222
  }
223
223
 
224
- .fui-card-footer {
224
+ .up-card-footer {
225
225
  font-size: 28rpx;
226
226
  color: #596d96;
227
227
  border-bottom-left-radius: 10rpx;
@@ -1,17 +1,17 @@
1
1
  <template>
2
- <view class="fui-cascade-selection">
2
+ <view class="up-cascade-selection">
3
3
  <scroll-view
4
4
  scroll-x
5
5
  scroll-with-animation
6
6
  :scroll-into-view="scrollViewId"
7
7
  :style="{ backgroundColor: headerBgColor }"
8
- class="fui-bottom-line"
9
- :class="{ 'fui-btm-none': !headerLine }"
8
+ class="up-bottom-line"
9
+ :class="{ 'up-btm-none': !headerLine }"
10
10
  >
11
- <view class="fui-selection-header" :style="{ height: tabsHeight, backgroundColor: backgroundColor }">
11
+ <view class="up-selection-header" :style="{ height: tabsHeight, backgroundColor: backgroundColor }">
12
12
  <view
13
- class="fui-header-item"
14
- :class="{ 'fui-font-bold': index === currentTab && bold }"
13
+ class="up-header-item"
14
+ :class="{ 'up-font-bold': index === currentTab && bold }"
15
15
  :style="{ color: index === currentTab ? activeColor : color, fontSize: size + 'rpx' }"
16
16
  :id="`id_${index}`"
17
17
  @tap.stop="swichNav"
@@ -20,22 +20,22 @@
20
20
  :key="index"
21
21
  >
22
22
  {{ item.text }}
23
- <view class="fui-active-line" :style="{ backgroundColor: lineColor }" v-if="index === currentTab && showLine"></view>
23
+ <view class="up-active-line" :style="{ backgroundColor: lineColor }" v-if="index === currentTab && showLine"></view>
24
24
  </view>
25
25
  </view>
26
26
  </scroll-view>
27
27
  <swiper
28
- class="fui-selection-list"
28
+ class="up-selection-list"
29
29
  :current="currentTab"
30
30
  duration="300"
31
31
  @change="switchTab"
32
32
  :style="{ height: height, backgroundColor: backgroundColor }"
33
33
  >
34
34
  <swiper-item v-for="(item, index) in selectedArr" :key="index">
35
- <scroll-view scroll-y :scroll-into-view="item.scrollViewId" class="fui-selection-item" :style="{ height: height }">
36
- <view class="fui-first-item" :style="{ height: firstItemTop }"></view>
35
+ <scroll-view scroll-y :scroll-into-view="item.scrollViewId" class="up-selection-item" :style="{ height: height }">
36
+ <view class="up-first-item" :style="{ height: firstItemTop }"></view>
37
37
  <view
38
- class="fui-selection-cell"
38
+ class="up-selection-cell"
39
39
  :style="{ padding: padding, backgroundColor: backgroundColor }"
40
40
  :id="`id_${subIndex}`"
41
41
  v-for="(subItem, subIndex) in item.list"
@@ -47,23 +47,23 @@
47
47
  v-if="item.index === subIndex"
48
48
  :color="checkMarkColor"
49
49
  :size="checkMarkSize"
50
- class="fui-icon-success"
50
+ class="up-icon-success"
51
51
  ></icon>
52
52
  <image
53
53
  :src="subItem.src"
54
54
  v-if="subItem.src"
55
- class="fui-cell-img"
55
+ class="up-cell-img"
56
56
  :style="{ width: imgWidth, height: imgHeight, borderRadius: radius }"
57
57
  ></image>
58
58
  <view
59
- class="fui-cell-title"
60
- :class="{ 'fui-font-bold': item.index === subIndex && textBold, 'fui-flex-shrink': nowrap }"
59
+ class="up-cell-title"
60
+ :class="{ 'up-font-bold': item.index === subIndex && textBold, 'up-flex-shrink': nowrap }"
61
61
  :style="{ color: item.index === subIndex ? textActiveColor : textColor, fontSize: textSize + 'rpx' }"
62
62
  >
63
63
  {{ subItem.text }}
64
64
  </view>
65
65
  <view
66
- class="fui-cell-sub_title"
66
+ class="up-cell-sub_title"
67
67
  :style="{ color: subTextColor, fontSize: subTextSize + 'rpx' }"
68
68
  v-if="subItem.subText"
69
69
  >
@@ -440,12 +440,12 @@ export default {
440
440
  </script>
441
441
 
442
442
  <style scoped>
443
- .fui-cascade-selection {
443
+ .up-cascade-selection {
444
444
  width: 100%;
445
445
  box-sizing: border-box;
446
446
  }
447
447
 
448
- .fui-selection-header {
448
+ .up-selection-header {
449
449
  width: 100%;
450
450
  display: flex;
451
451
  align-items: center;
@@ -453,11 +453,11 @@ export default {
453
453
  box-sizing: border-box;
454
454
  }
455
455
 
456
- .fui-bottom-line {
456
+ .up-bottom-line {
457
457
  position: relative;
458
458
  }
459
459
 
460
- .fui-bottom-line::after {
460
+ .up-bottom-line::after {
461
461
  width: 100%;
462
462
  content: '';
463
463
  position: absolute;
@@ -470,11 +470,11 @@ export default {
470
470
  left: 0;
471
471
  }
472
472
 
473
- .fui-btm-none::after {
473
+ .up-btm-none::after {
474
474
  border-bottom: 0 !important;
475
475
  }
476
476
 
477
- .fui-header-item {
477
+ .up-header-item {
478
478
  max-width: 240rpx;
479
479
  padding: 15rpx 30rpx;
480
480
  box-sizing: border-box;
@@ -485,11 +485,11 @@ export default {
485
485
  position: relative;
486
486
  }
487
487
 
488
- .fui-font-bold {
488
+ .up-font-bold {
489
489
  font-weight: bold;
490
490
  }
491
491
 
492
- .fui-active-line {
492
+ .up-active-line {
493
493
  width: 60rpx;
494
494
  height: 6rpx;
495
495
  border-radius: 4rpx;
@@ -500,39 +500,39 @@ export default {
500
500
  transform: translateX(-50%);
501
501
  }
502
502
 
503
- .fui-selection-cell {
503
+ .up-selection-cell {
504
504
  width: 100%;
505
505
  box-sizing: border-box;
506
506
  display: flex;
507
507
  align-items: center;
508
508
  }
509
509
 
510
- .fui-icon-success {
510
+ .up-icon-success {
511
511
  margin-right: 12rpx;
512
512
  }
513
513
 
514
- .fui-cell-img {
514
+ .up-cell-img {
515
515
  margin-right: 12rpx;
516
516
  flex-shrink: 0;
517
517
  }
518
518
 
519
- .fui-cell-title {
519
+ .up-cell-title {
520
520
  word-break: break-all;
521
521
  }
522
522
 
523
- .fui-flex-shrink {
523
+ .up-flex-shrink {
524
524
  flex-shrink: 0;
525
525
  }
526
526
 
527
- .fui-font-bold {
527
+ .up-font-bold {
528
528
  font-weight: bold;
529
529
  }
530
530
 
531
- .fui-cell-sub_title {
531
+ .up-cell-sub_title {
532
532
  margin-left: 20rpx;
533
533
  word-break: break-all;
534
534
  }
535
- .fui-first-item {
535
+ .up-first-item {
536
536
  width: 100%;
537
537
  }
538
538
  </style>
@@ -1,14 +1,14 @@
1
1
  <template>
2
- <view class="fui-circular-container" :style="{ width: diam + 'px', height: (height || diam) + 'px' }">
2
+ <view class="up-circular-container" :style="{ width: diam + 'px', height: (height || diam) + 'px' }">
3
3
  <canvas
4
- class="fui-circular-default"
4
+ class="up-circular-default"
5
5
  :canvas-id="defaultCanvasId"
6
6
  :id="defaultCanvasId"
7
7
  :style="{ width: diam + 'px', height: (height || diam) + 'px' }"
8
8
  v-if="defaultShow"
9
9
  ></canvas>
10
10
  <canvas
11
- class="fui-circular-progress"
11
+ class="up-circular-progress"
12
12
  :canvas-id="progressCanvasId"
13
13
  :id="progressCanvasId"
14
14
  :style="{ width: diam + 'px', height: (height || diam) + 'px' }"
@@ -124,9 +124,17 @@ export default {
124
124
  default: 'backwards'
125
125
  }
126
126
  },
127
+ computed: {
128
+ canvasChange() {
129
+ return `${this.diam},${this.height},${this.lineWidth}`;
130
+ }
131
+ },
127
132
  watch: {
128
133
  percentage(val) {
129
134
  this.initDraw();
135
+ },
136
+ canvasChange() {
137
+ this.initDraw(true);
130
138
  }
131
139
  },
132
140
  data() {
@@ -247,12 +255,12 @@ export default {
247
255
  </script>
248
256
 
249
257
  <style scoped>
250
- .fui-circular-container,
251
- .fui-circular-default {
258
+ .up-circular-container,
259
+ .up-circular-default {
252
260
  position: relative;
253
261
  }
254
262
 
255
- .fui-circular-progress {
263
+ .up-circular-progress {
256
264
  position: absolute;
257
265
  left: 0;
258
266
  top: 0;
@@ -1,24 +1,24 @@
1
1
  <template>
2
2
  <view
3
- class="fui-collapse"
3
+ class="up-collapse"
4
4
  style="margin-left: 20upx; margin-right: 20upx; border-radius: 11upx"
5
5
  :style="{ backgroundColor: bgColor }"
6
6
  >
7
- <view class="fui-collapse-head" :style="{ backgroundColor: hdBgColor }" @tap.stop="handleClick">
8
- <view class="fui-header" :class="{ 'fui-opacity': disabled }">
7
+ <view class="up-collapse-head" :style="{ backgroundColor: hdBgColor }" @tap.stop="handleClick">
8
+ <view class="up-header" :class="{ 'up-opacity': disabled }">
9
9
  <slot name="title"></slot>
10
10
  <view
11
- class="fui-collapse-icon fui-icon-arrow"
12
- :class="{ 'fui-icon-active': isOpen }"
11
+ class="up-collapse-icon up-icon-arrow"
12
+ :class="{ 'up-icon-active': isOpen }"
13
13
  :style="{ color: arrowColor }"
14
14
  v-if="arrow"
15
15
  ></view>
16
16
  </view>
17
17
  </view>
18
- <view class="fui-collapse-body_box" :style="{ backgroundColor: bdBgColor, height: isOpen ? height : '0rpx' }">
18
+ <view class="up-collapse-body_box" :style="{ backgroundColor: bdBgColor, height: isOpen ? height : '0rpx' }">
19
19
  <view
20
- class="fui-collapse-body"
21
- :class="{ 'fui-collapse-transform': height == 'auto', 'fui-collapse-body_show': isOpen && height == 'auto' }"
20
+ class="up-collapse-body"
21
+ :class="{ 'up-collapse-transform': height == 'auto', 'up-collapse-body_show': isOpen && height == 'auto' }"
22
22
  >
23
23
  <slot name="content"></slot>
24
24
  </view>
@@ -112,18 +112,18 @@ export default {
112
112
  font-style: normal;
113
113
  }
114
114
 
115
- .fui-collapse-icon {
115
+ .up-collapse-icon {
116
116
  font-family: 'fuiCollapse' !important;
117
117
  font-style: normal;
118
118
  -webkit-font-smoothing: antialiased;
119
119
  -moz-osx-font-smoothing: grayscale;
120
120
  }
121
121
 
122
- .fui-icon-arrow:before {
122
+ .up-icon-arrow:before {
123
123
  content: '\e600';
124
124
  }
125
125
 
126
- .fui-icon-arrow {
126
+ .up-icon-arrow {
127
127
  font-size: 32rpx;
128
128
  transform: rotate(0);
129
129
  transform-origin: center center;
@@ -134,46 +134,46 @@ export default {
134
134
  right: 30rpx;
135
135
  }
136
136
 
137
- .fui-arrow-padding {
137
+ .up-arrow-padding {
138
138
  padding-right: 62rpx;
139
139
  box-sizing: border-box;
140
140
  }
141
141
 
142
- .fui-icon-active {
142
+ .up-icon-active {
143
143
  transform: rotate(180deg);
144
144
  transform-origin: center center;
145
145
  }
146
146
 
147
- .fui-header {
147
+ .up-header {
148
148
  position: relative;
149
149
  z-index: 2;
150
150
  }
151
- .fui-collapse-body_box {
151
+ .up-collapse-body_box {
152
152
  transition: all 0.25s;
153
153
  overflow: hidden;
154
154
  }
155
- .fui-collapse-body {
155
+ .up-collapse-body {
156
156
  transition: all 0.25s;
157
157
  overflow: hidden;
158
158
  position: relative;
159
159
  z-index: 1;
160
160
  }
161
161
 
162
- .fui-collapse-transform {
162
+ .up-collapse-transform {
163
163
  opacity: 0;
164
164
  visibility: hidden;
165
165
  -webkit-transform: translateY(-40%);
166
166
  transform: translateY(-40%);
167
167
  }
168
168
 
169
- .fui-collapse-body_show {
169
+ .up-collapse-body_show {
170
170
  opacity: 1;
171
171
  visibility: visible;
172
172
  -webkit-transform: translateY(0);
173
173
  transform: translateY(0);
174
174
  }
175
175
 
176
- .fui-opacity {
176
+ .up-opacity {
177
177
  opacity: 0.6;
178
178
  }
179
179
  </style>
@@ -1,7 +1,7 @@
1
1
  <template>
2
- <view class="fui-countdown-box">
2
+ <view class="up-countdown-box">
3
3
  <view
4
- class="fui-countdown-item"
4
+ class="up-countdown-item"
5
5
  :style="{
6
6
  background: backgroundColor,
7
7
  borderColor: borderColor,
@@ -11,23 +11,23 @@
11
11
  v-if="days"
12
12
  >
13
13
  <view
14
- class="fui-countdown-time"
15
- :class="[scale ? 'fui-countdown-scale' : '']"
14
+ class="up-countdown-time"
15
+ :class="[scale ? 'up-countdown-scale' : '']"
16
16
  :style="{ fontSize: size + 'rpx', color: color, lineHeight: size + 'rpx' }"
17
17
  >
18
18
  {{ d }}
19
19
  </view>
20
20
  </view>
21
21
  <view
22
- class="fui-countdown-colon"
23
- :class="{ 'fui-colon-pad': borderColor == 'transparent' }"
22
+ class="up-countdown-colon"
23
+ :class="{ 'up-colon-pad': borderColor == 'transparent' }"
24
24
  :style="{ lineHeight: colonSize + 'rpx', fontSize: colonSize + 'rpx', color: colonColor }"
25
25
  v-if="days"
26
26
  >
27
27
  {{ isColon ? ':' : '天' }}
28
28
  </view>
29
29
  <view
30
- class="fui-countdown-item"
30
+ class="up-countdown-item"
31
31
  :style="{
32
32
  background: backgroundColor,
33
33
  borderColor: borderColor,
@@ -37,23 +37,23 @@
37
37
  v-if="hours"
38
38
  >
39
39
  <view
40
- class="fui-countdown-time"
41
- :class="[scale ? 'fui-countdown-scale' : '']"
40
+ class="up-countdown-time"
41
+ :class="[scale ? 'up-countdown-scale' : '']"
42
42
  :style="{ fontSize: size + 'rpx', color: color, lineHeight: size + 'rpx' }"
43
43
  >
44
44
  {{ h }}
45
45
  </view>
46
46
  </view>
47
47
  <view
48
- class="fui-countdown-colon"
49
- :class="{ 'fui-colon-pad': borderColor == 'transparent' }"
48
+ class="up-countdown-colon"
49
+ :class="{ 'up-colon-pad': borderColor == 'transparent' }"
50
50
  :style="{ lineHeight: colonSize + 'rpx', fontSize: colonSize + 'rpx', color: colonColor }"
51
51
  v-if="hours"
52
52
  >
53
53
  {{ isColon ? ':' : '时' }}
54
54
  </view>
55
55
  <view
56
- class="fui-countdown-item"
56
+ class="up-countdown-item"
57
57
  :style="{
58
58
  background: backgroundColor,
59
59
  borderColor: borderColor,
@@ -63,23 +63,23 @@
63
63
  v-if="minutes"
64
64
  >
65
65
  <view
66
- class="fui-countdown-time"
67
- :class="[scale ? 'fui-countdown-scale' : '']"
66
+ class="up-countdown-time"
67
+ :class="[scale ? 'up-countdown-scale' : '']"
68
68
  :style="{ fontSize: size + 'rpx', color: color, lineHeight: size + 'rpx' }"
69
69
  >
70
70
  {{ i }}
71
71
  </view>
72
72
  </view>
73
73
  <view
74
- class="fui-countdown-colon"
75
- :class="{ 'fui-colon-pad': borderColor == 'transparent' }"
74
+ class="up-countdown-colon"
75
+ :class="{ 'up-colon-pad': borderColor == 'transparent' }"
76
76
  :style="{ lineHeight: colonSize + 'rpx', fontSize: colonSize + 'rpx', color: colonColor }"
77
77
  v-if="minutes"
78
78
  >
79
79
  {{ isColon ? ':' : '分' }}
80
80
  </view>
81
81
  <view
82
- class="fui-countdown-item"
82
+ class="up-countdown-item"
83
83
  :style="{
84
84
  background: backgroundColor,
85
85
  borderColor: borderColor,
@@ -89,16 +89,16 @@
89
89
  v-if="seconds"
90
90
  >
91
91
  <view
92
- class="fui-countdown-time"
93
- :class="[scale ? 'fui-countdown-scale' : '']"
92
+ class="up-countdown-time"
93
+ :class="[scale ? 'up-countdown-scale' : '']"
94
94
  :style="{ fontSize: size + 'rpx', color: color, lineHeight: size + 'rpx' }"
95
95
  >
96
96
  {{ s }}
97
97
  </view>
98
98
  </view>
99
99
  <view
100
- class="fui-countdown-colon"
101
- :class="{ 'fui-colon-pad': borderColor == 'transparent' }"
100
+ class="up-countdown-colon"
101
+ :class="{ 'up-colon-pad': borderColor == 'transparent' }"
102
102
  :style="{ lineHeight: colonSize + 'rpx', fontSize: colonSize + 'rpx', color: colonColor }"
103
103
  v-if="seconds && !isColon"
104
104
  >
@@ -258,17 +258,17 @@ export default {
258
258
  </script>
259
259
 
260
260
  <style scoped>
261
- .fui-countdown-box {
261
+ .up-countdown-box {
262
262
  display: flex;
263
263
  align-items: center;
264
264
  }
265
265
 
266
- .fui-countdown-box {
266
+ .up-countdown-box {
267
267
  display: flex;
268
268
  align-items: center;
269
269
  }
270
270
 
271
- .fui-countdown-item {
271
+ .up-countdown-item {
272
272
  border: 1rpx solid;
273
273
  display: flex;
274
274
  align-items: center;
@@ -279,22 +279,22 @@ export default {
279
279
  transform: translateZ(0);
280
280
  }
281
281
 
282
- .fui-countdown-time {
282
+ .up-countdown-time {
283
283
  margin: 0;
284
284
  padding: 0;
285
285
  }
286
286
 
287
- .fui-countdown-colon {
287
+ .up-countdown-colon {
288
288
  display: flex;
289
289
  justify-content: center;
290
290
  padding: 0 5rpx;
291
291
  }
292
292
 
293
- .fui-colon-pad {
293
+ .up-colon-pad {
294
294
  padding: 0 !important;
295
295
  }
296
296
 
297
- .fui-countdown-scale {
297
+ .up-countdown-scale {
298
298
  transform: scale(0.9);
299
299
  transform-origin: center center;
300
300
  }