@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,5 +1,5 @@
1
1
  <template>
2
- <view class="fui-timeaxis-class fui-time-axis">
2
+ <view class="up-timeaxis-class up-time-axis">
3
3
  <slot></slot>
4
4
  </view>
5
5
  </template>
@@ -14,13 +14,13 @@ export default {
14
14
  </script>
15
15
 
16
16
  <style scoped>
17
- .fui-time-axis {
17
+ .up-time-axis {
18
18
  padding-left: 20px;
19
19
  box-sizing: border-box;
20
20
  position: relative;
21
21
  }
22
22
 
23
- .fui-time-axis::before {
23
+ .up-time-axis::before {
24
24
  content: ' ';
25
25
  position: absolute;
26
26
  left: 0;
@@ -1,7 +1,7 @@
1
1
  <template>
2
- <view class="fui-timeaxis-item">
2
+ <view class="up-timeaxis-item">
3
3
  <slot name="content"></slot>
4
- <view class="fui-timeaxis-node" :style="{ backgroundColor: backgroundColor }">
4
+ <view class="up-timeaxis-node" :style="{ backgroundColor: backgroundColor }">
5
5
  <slot name="node"></slot>
6
6
  </view>
7
7
  </view>
@@ -24,7 +24,7 @@ export default {
24
24
  </script>
25
25
 
26
26
  <style scoped>
27
- .fui-timeaxis-item {
27
+ .up-timeaxis-item {
28
28
  position: relative;
29
29
  width: 100%;
30
30
  display: flex;
@@ -32,7 +32,7 @@ export default {
32
32
  margin-bottom: 25px;
33
33
  }
34
34
 
35
- .fui-timeaxis-node {
35
+ .up-timeaxis-node {
36
36
  position: absolute;
37
37
  top: 0;
38
38
  left: -20px;
@@ -1,17 +1,17 @@
1
1
  <template>
2
- <block v-if="position == 'top'">
3
- <view class="fui-tips-class fui-toptips" :class="['fui-' + type, show ? 'fui-top-show' : '']">{{ msg }}</view>
4
- </block>
5
- <block v-else>
2
+ <template v-if="position == 'top'">
3
+ <view class="up-tips-class up-toptips" :class="['up-' + type, show ? 'up-top-show' : '']">{{ msg }}</view>
4
+ </template>
5
+ <template v-else>
6
6
  <view
7
- class="fui-tips-class fui-toast"
8
- :class="[position == 'center' ? 'fui-centertips' : 'fui-bottomtips', show ? 'fui-toast-show' : '']"
7
+ class="up-tips-class up-toast"
8
+ :class="[position == 'center' ? 'up-centertips' : 'up-bottomtips', show ? 'up-toast-show' : '']"
9
9
  >
10
- <view class="fui-tips-content" :class="['fui-' + type]">
10
+ <view class="up-tips-content" :class="['up-' + type]">
11
11
  {{ msg }}
12
12
  </view>
13
13
  </view>
14
- </block>
14
+ </template>
15
15
  </template>
16
16
 
17
17
  <script>
@@ -53,7 +53,7 @@ export default {
53
53
 
54
54
  <style scoped>
55
55
  /*顶部消息提醒 start*/
56
- .fui-toptips {
56
+ .up-toptips {
57
57
  width: 100%;
58
58
  padding: 18rpx 30rpx;
59
59
  box-sizing: border-box;
@@ -72,7 +72,7 @@ export default {
72
72
  transition: all 0.3s ease-in-out;
73
73
  }
74
74
 
75
- .fui-top-show {
75
+ .up-top-show {
76
76
  transform: translateZ(0) translateY(0);
77
77
  opacity: 1;
78
78
  }
@@ -85,7 +85,7 @@ export default {
85
85
  1、fixed 元素宽度无法自适应,所以增加了子元素
86
86
  2、fixed 和 display冲突导致动画效果消失,暂时使用visibility替代
87
87
  */
88
- .fui-toast {
88
+ .up-toast {
89
89
  width: 80%;
90
90
  box-sizing: border-box;
91
91
  color: #fff;
@@ -101,12 +101,12 @@ export default {
101
101
  justify-content: center;
102
102
  }
103
103
 
104
- .fui-toast-show {
104
+ .up-toast-show {
105
105
  visibility: visible;
106
106
  opacity: 1;
107
107
  }
108
108
 
109
- .fui-tips-content {
109
+ .up-tips-content {
110
110
  word-wrap: break-word;
111
111
  word-break: break-all;
112
112
  border-radius: 8rpx;
@@ -114,7 +114,7 @@ export default {
114
114
  }
115
115
 
116
116
  /*底部消息提醒 start*/
117
- .fui-bottomtips {
117
+ .up-bottomtips {
118
118
  bottom: 120rpx;
119
119
  -webkit-transform: translateX(-50%);
120
120
  transform: translateX(-50%);
@@ -123,7 +123,7 @@ export default {
123
123
  /*底部消息提醒 end*/
124
124
 
125
125
  /*居中消息提醒 start*/
126
- .fui-centertips {
126
+ .up-centertips {
127
127
  top: 50%;
128
128
  -webkit-transform: translate(-50%, -50%);
129
129
  transform: translate(-50%, -50%);
@@ -135,23 +135,23 @@ export default {
135
135
 
136
136
  /*背景颜色 start*/
137
137
 
138
- .fui-primary {
138
+ .up-primary {
139
139
  background-color: #5677fc;
140
140
  }
141
141
 
142
- .fui-green {
142
+ .up-green {
143
143
  background-color: #19be6b;
144
144
  }
145
145
 
146
- .fui-warning {
146
+ .up-warning {
147
147
  background-color: #ff7900;
148
148
  }
149
149
 
150
- .fui-danger {
150
+ .up-danger {
151
151
  background-color: #ed3f14;
152
152
  }
153
153
 
154
- .fui-translucent {
154
+ .up-translucent {
155
155
  background-color: rgba(0, 0, 0, 0.7);
156
156
  }
157
157
 
@@ -1,12 +1,12 @@
1
1
  <template>
2
2
  <view
3
- class="fui-toast"
4
- :class="[visible ? 'fui-toast-show' : '', content ? 'fui-toast-padding' : '', icon ? '' : 'fui-unicon-padding']"
3
+ class="up-toast"
4
+ :class="[visible ? 'up-toast-show' : '', content ? 'up-toast-padding' : '', icon ? '' : 'up-unicon-padding']"
5
5
  :style="{ width: getWidth(icon, content) }"
6
6
  >
7
- <image :src="imgUrl" class="fui-toast-img" v-if="icon"></image>
8
- <view class="fui-toast-text" :class="[icon ? '' : 'fui-unicon']">{{ title }}</view>
9
- <view class="fui-toast-text fui-content-ptop" v-if="content && icon">{{ content }}</view>
7
+ <image :src="imgUrl" class="up-toast-img" v-if="icon"></image>
8
+ <view class="up-toast-text" :class="[icon ? '' : 'up-unicon']">{{ title }}</view>
9
+ <view class="up-toast-text up-content-ptop" v-if="content && icon">{{ content }}</view>
10
10
  </view>
11
11
  </template>
12
12
 
@@ -57,7 +57,7 @@ export default {
57
57
  </script>
58
58
 
59
59
  <style scoped>
60
- .fui-toast {
60
+ .up-toast {
61
61
  background-color: rgba(0, 0, 0, 0.75);
62
62
  border-radius: 10rpx;
63
63
  position: fixed;
@@ -78,39 +78,39 @@ export default {
78
78
  box-sizing: border-box;
79
79
  }
80
80
 
81
- .fui-toast-padding {
81
+ .up-toast-padding {
82
82
  padding-top: 50rpx !important;
83
83
  padding-bottom: 50rpx !important;
84
84
  }
85
- .fui-unicon-padding {
85
+ .up-unicon-padding {
86
86
  padding: 24rpx 40rpx !important;
87
87
  word-break: break-all;
88
88
  }
89
89
 
90
- .fui-toast-show {
90
+ .up-toast-show {
91
91
  visibility: visible;
92
92
  opacity: 1;
93
93
  }
94
94
 
95
- .fui-toast-img {
95
+ .up-toast-img {
96
96
  width: 120rpx;
97
97
  height: 120rpx;
98
98
  display: block;
99
99
  margin-bottom: 28rpx;
100
100
  }
101
101
 
102
- .fui-toast-text {
102
+ .up-toast-text {
103
103
  font-size: 30rpx;
104
104
  line-height: 30rpx;
105
105
  font-weight: 400;
106
106
  color: #fff;
107
107
  text-align: center;
108
108
  }
109
- .fui-unicon {
109
+ .up-unicon {
110
110
  line-height: 40rpx !important;
111
111
  font-size: 32rpx !important;
112
112
  }
113
- .fui-content-ptop {
113
+ .up-content-ptop {
114
114
  padding-top: 10rpx;
115
115
  font-size: 26rpx !important;
116
116
  }
@@ -1,8 +1,8 @@
1
1
  <template>
2
2
  <view>
3
3
  <view
4
- class="fui-top-dropdown fui-dropdown-box"
5
- :class="[show ? 'fui-dropdown-show' : '']"
4
+ class="up-top-dropdown up-dropdown-box"
5
+ :class="[show ? 'up-dropdown-show' : '']"
6
6
  :style="{
7
7
  height: height ? px(height) : 'auto',
8
8
  width: width + 'vw',
@@ -18,8 +18,8 @@
18
18
  </view>
19
19
  <view
20
20
  @touchmove.stop.prevent
21
- class="fui-dropdown-mask"
22
- :class="[mask && show ? 'fui-mask-show' : '']"
21
+ class="up-dropdown-mask"
22
+ :class="[mask && show ? 'up-mask-show' : '']"
23
23
  @tap="handleClose"
24
24
  ></view>
25
25
  </view>
@@ -92,7 +92,7 @@ export default {
92
92
  </script>
93
93
 
94
94
  <style scoped>
95
- .fui-dropdown-box {
95
+ .up-dropdown-box {
96
96
  position: fixed;
97
97
  box-sizing: border-box;
98
98
  border-bottom-right-radius: 24rpx;
@@ -105,11 +105,11 @@ export default {
105
105
  top: 0;
106
106
  }
107
107
 
108
- .fui-dropdown-show {
108
+ .up-dropdown-show {
109
109
  /* visibility: visible; */
110
110
  }
111
111
 
112
- .fui-dropdown-mask {
112
+ .up-dropdown-mask {
113
113
  position: fixed;
114
114
  top: 0;
115
115
  left: 0;
@@ -122,7 +122,7 @@ export default {
122
122
  visibility: hidden;
123
123
  }
124
124
 
125
- .fui-mask-show {
125
+ .up-mask-show {
126
126
  opacity: 1;
127
127
  visibility: visible;
128
128
  }
@@ -1,30 +1,30 @@
1
1
  <template>
2
- <view class="fui-container">
3
- <view class="fui-upload-box">
4
- <view class="fui-image-item" v-for="(item, index) in imageList" :key="index">
5
- <image :src="item" class="fui-item-img" @tap.stop="previewImage(index)" mode="aspectFill"></image>
6
- <view v-if="!forbidDel" class="fui-img-del" @tap.stop="delImage(index)">
2
+ <view class="up-container">
3
+ <view class="up-upload-box">
4
+ <view class="up-image-item" v-for="(item, index) in imageList" :key="index">
5
+ <image :src="item" class="up-item-img" @tap.stop="previewImage(index)" mode="aspectFill"></image>
6
+ <view v-if="!forbidDel" class="up-img-del" @tap.stop="delImage(index)">
7
7
  <image class="del-img" src="/static/images/share/icon_del.png" mode="widthFix"></image>
8
8
  </view>
9
- <view v-if="statusArr[index] != 1" class="fui-upload-mask">
10
- <view class="fui-upload-loading" v-if="statusArr[index] == 2"></view>
11
- <text class="fui-tips">{{ statusArr[index] == 2 ? '上传中...' : '上传失败' }}</text>
9
+ <view v-if="statusArr[index] != 1" class="up-upload-mask">
10
+ <view class="up-upload-loading" v-if="statusArr[index] == 2"></view>
11
+ <text class="up-tips">{{ statusArr[index] == 2 ? '上传中...' : '上传失败' }}</text>
12
12
  <view
13
- class="fui-mask-btn"
13
+ class="up-mask-btn"
14
14
  v-if="statusArr[index] == 3"
15
15
  @tap.stop="reUpLoad(index)"
16
- hover-class="fui-btn-hover"
16
+ hover-class="up-btn-hover"
17
17
  :hover-stay-time="150"
18
18
  >
19
19
  重新上传
20
20
  </view>
21
21
  </view>
22
22
  </view>
23
- <view v-if="isShowAdd" class="fui-upload-add" @tap="chooseImage">
24
- <uni-icons type="camera" size="30" color="#00AFC7"></uni-icons>
23
+ <view v-if="isShowAdd" class="up-upload-add" @tap="chooseImage">
24
+ <uni-icons type="camera" size="30" color="#00AFC7" />
25
25
  <view class="" style="font-size: 24rpx; margin-top: 20rpx">添加</view>
26
26
  <!-- <image class="add-img" src="/static/images/share/ad.png" mode="widthFix"></image> -->
27
- <!-- <view class="fui-upload-icon fui-icon-plus"></view> -->
27
+ <!-- <view class="up-upload-icon up-icon-plus"></view> -->
28
28
  </view>
29
29
  </view>
30
30
  </view>
@@ -299,7 +299,7 @@ export default {
299
299
  font-style: normal;
300
300
  }
301
301
 
302
- .fui-upload-icon {
302
+ .up-upload-icon {
303
303
  font-family: 'fuiUpload' !important;
304
304
  font-style: normal;
305
305
  -webkit-font-smoothing: antialiased;
@@ -307,21 +307,21 @@ export default {
307
307
  padding: 10rpx;
308
308
  }
309
309
 
310
- .fui-icon-delete:before {
310
+ .up-icon-delete:before {
311
311
  content: '\e601';
312
312
  }
313
313
 
314
- .fui-icon-plus:before {
314
+ .up-icon-plus:before {
315
315
  content: '\e609';
316
316
  }
317
317
 
318
- .fui-upload-box {
318
+ .up-upload-box {
319
319
  width: 100%;
320
320
  display: flex;
321
321
  flex-wrap: wrap;
322
322
  }
323
323
 
324
- .fui-upload-add {
324
+ .up-upload-add {
325
325
  /* width: 240rpx;
326
326
  height: 240rpx; */
327
327
  width: 178rpx;
@@ -345,7 +345,7 @@ export default {
345
345
  width: 36rpx;
346
346
  height: 36rpx;
347
347
  }
348
- .fui-image-item {
348
+ .up-image-item {
349
349
  width: 178rpx;
350
350
  height: 178rpx;
351
351
  position: relative;
@@ -355,18 +355,18 @@ export default {
355
355
  border-radius: 18rpx;
356
356
  }
357
357
 
358
- .fui-image-item:nth-of-type(3n) {
358
+ .up-image-item:nth-of-type(3n) {
359
359
  margin-right: 0;
360
360
  }
361
361
 
362
- .fui-item-img {
362
+ .up-item-img {
363
363
  width: 178rpx;
364
364
  height: 178rpx;
365
365
  display: block;
366
366
  border-radius: 18rpx;
367
367
  }
368
368
 
369
- .fui-img-del {
369
+ .up-img-del {
370
370
  width: 36rpx;
371
371
  height: 36rpx;
372
372
  position: absolute;
@@ -379,7 +379,7 @@ export default {
379
379
  z-index: 999;
380
380
  }
381
381
 
382
- /* .fui-img-del::before {
382
+ /* .up-img-del::before {
383
383
  content: '';
384
384
  width: 16rpx;
385
385
  height: 1px;
@@ -389,7 +389,7 @@ export default {
389
389
  background-color: #fff;
390
390
  } */
391
391
 
392
- .fui-upload-mask {
392
+ .up-upload-mask {
393
393
  width: 100%;
394
394
  height: 100%;
395
395
  position: absolute;
@@ -404,16 +404,16 @@ export default {
404
404
  background-color: rgba(0, 0, 0, 0.6);
405
405
  }
406
406
 
407
- .fui-upload-loading {
407
+ .up-upload-loading {
408
408
  width: 28rpx;
409
409
  height: 28rpx;
410
410
  border-radius: 50%;
411
411
  border: 2px solid;
412
412
  border-color: #b2b2b2 #b2b2b2 #b2b2b2 #fff;
413
- animation: fui-rotate 0.7s linear infinite;
413
+ animation: up-rotate 0.7s linear infinite;
414
414
  }
415
415
 
416
- @keyframes fui-rotate {
416
+ @keyframes up-rotate {
417
417
  0% {
418
418
  transform: rotate(0);
419
419
  }
@@ -423,12 +423,12 @@ export default {
423
423
  }
424
424
  }
425
425
 
426
- .fui-tips {
426
+ .up-tips {
427
427
  font-size: 26rpx;
428
428
  color: #fff;
429
429
  }
430
430
 
431
- .fui-mask-btn {
431
+ .up-mask-btn {
432
432
  padding: 4rpx 16rpx;
433
433
  border-radius: 40rpx;
434
434
  text-align: center;
@@ -440,7 +440,7 @@ export default {
440
440
  justify-content: center;
441
441
  }
442
442
 
443
- .fui-btn-hover {
443
+ .up-btn-hover {
444
444
  opacity: 0.8;
445
445
  }
446
446
  </style>