@10yun/cv-mobile-ui 0.5.51 → 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 (110) 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-fireui/components/{fui-actionsheet/fui-actionsheet.vue → u-action-sheet/u-action-sheet.vue} +21 -21
  19. package/ui-fireui/components/{fui-alert/fui-alert.vue → u-alert/u-alert.vue} +13 -13
  20. package/ui-fireui/components/{fui-badge/fui-badge.vue → u-badge/u-badge.vue} +16 -16
  21. package/ui-fireui/components/{fui-bottom-navigation/fui-bottom-navigation.vue → u-bottom-navigation/u-bottom-navigation.vue} +47 -46
  22. package/ui-fireui/components/{fui-bottom-popup/fui-bottom-popup.vue → u-bottom-popup/u-bottom-popup.vue} +9 -8
  23. package/ui-fireui/components/{fui-bubble-popup/fui-bubble-popup.vue → u-bubble-popup/u-bubble-popup.vue} +19 -15
  24. package/ui-fireui/components/{fui-button/fui-button.vue → u-button/u-button.vue} +69 -69
  25. package/ui-fireui/components/u-button/u-button2.vue +553 -0
  26. package/ui-fireui/components/{fui-calendar/fui-calendar.vue → u-calendar/u-calendar.vue} +78 -78
  27. package/ui-fireui/components/u-calendar/u-calendar2.vue +801 -0
  28. package/ui-fireui/components/{fui-card/fui-card.vue → u-card/u-card.vue} +24 -24
  29. package/ui-fireui/components/{fui-cascade-selection/fui-cascade-selection.vue → u-cascade-selection/u-cascade-selection.vue} +32 -32
  30. package/ui-fireui/components/{fui-circular-progress/fui-circular-progress.vue → u-circular-progress/u-circular-progress.vue} +14 -6
  31. package/ui-fireui/components/{fui-collapse/fui-collapse.vue → u-collapse/u-collapse.vue} +19 -19
  32. package/ui-fireui/components/{fui-countdown/fui-countdown.vue → u-countdown/u-countdown.vue} +28 -28
  33. package/ui-fireui/components/{fui-datetime/fui-datetime.vue → u-datetime/u-datetime.vue} +51 -51
  34. package/ui-fireui/components/{fui-divider/fui-divider.vue → u-divider/u-divider.vue} +6 -6
  35. package/ui-fireui/components/{fui-drawer/fui-drawer.vue → u-drawer/u-drawer.vue} +11 -11
  36. package/ui-fireui/components/{fui-dropdown-list/fui-dropdown-list.vue → u-dropdown-list/u-dropdown-list.vue} +11 -6
  37. package/ui-fireui/components/{fui-fab/fui-fab.vue → u-fab/u-fab.vue} +30 -30
  38. package/ui-fireui/components/{fui-footer/fui-footer.vue → u-footer/u-footer.vue} +19 -15
  39. package/ui-fireui/components/{fui-grid/fui-grid.vue → u-grid/u-grid.vue} +13 -5
  40. package/ui-fireui/components/{fui-grid-item/fui-grid-item.vue → u-grid-item/u-grid-item.vue} +19 -19
  41. package/ui-fireui/components/{fui-icon/fui-icon.vue → u-icon/u-icon.vue} +191 -191
  42. package/ui-fireui/components/{fui-image-cropper/fui-image-cropper.vue → u-image-cropper/u-image-cropper.vue} +44 -44
  43. package/ui-fireui/components/{fui-image-group/fui-image-group.vue → u-image-group/u-image-group.vue} +7 -7
  44. package/ui-fireui/components/{fui-keyboard/fui-keyboard.vue → u-keyboard/u-keyboard.vue} +29 -32
  45. package/ui-fireui/components/{fui-keyboard-input/fui-keyboard-input.vue → u-keyboard-input/u-keyboard-input.vue} +9 -9
  46. package/ui-fireui/components/{fui-list-cell/fui-list-cell.vue → u-list-cell/u-list-cell.vue} +23 -23
  47. package/ui-fireui/components/{fui-list-view/fui-list-view.vue → u-list-view/u-list-view.vue} +11 -11
  48. package/ui-fireui/components/{fui-loading/fui-loading.vue → u-loading/u-loading.vue} +6 -6
  49. package/ui-fireui/components/{fui-loadmore/fui-loadmore.vue → u-loadmore/u-loadmore.vue} +15 -15
  50. package/ui-fireui/components/{fui-modal/fui-modal.vue → u-modal/u-modal.vue} +58 -58
  51. package/ui-fireui/components/{fui-navigation-bar/fui-navigation-bar.vue → u-navigation-bar/u-navigation-bar.vue} +11 -10
  52. package/ui-fireui/components/{fui-no-data/fui-no-data.vue → u-no-data/u-no-data.vue} +11 -11
  53. package/ui-fireui/components/{fui-nomore/fui-nomore.vue → u-nomore/u-nomore.vue} +10 -10
  54. package/ui-fireui/components/{fui-numberbox/fui-numberbox.vue → u-numberbox/u-numberbox.vue} +12 -12
  55. package/ui-fireui/components/{fui-numberbox-border/fui-numberbox-border.vue → u-numberbox-border/u-numberbox-border.vue} +10 -10
  56. package/ui-fireui/components/{fui-picture-cropper/fui-picture-cropper.vue → u-picture-cropper/u-picture-cropper.vue} +42 -42
  57. package/ui-fireui/components/u-picture-cropper/u-picture-cropper.wxs +582 -0
  58. package/ui-fireui/components/{fui-round-progress/fui-round-progress.vue → u-round-progress/u-round-progress.vue} +2 -2
  59. package/ui-fireui/components/{fui-scroll-top/fui-scroll-top.vue → u-scroll-top/u-scroll-top.vue} +21 -21
  60. package/ui-fireui/components/{fui-sharemodel/fui-sharemodel.vue → u-share-model/u-share-model.vue} +24 -24
  61. package/ui-fireui/components/{fui-skeleton/fui-skeleton.vue → u-skeleton/u-skeleton.vue} +22 -22
  62. package/ui-fireui/components/{fui-steps/fui-steps.vue → u-steps/u-steps.vue} +27 -27
  63. package/ui-fireui/components/{fui-sticky/fui-sticky.vue → u-sticky/u-sticky.vue} +4 -4
  64. package/ui-fireui/components/{fui-sticky-wxs/fui-sticky-wxs.vue → u-sticky-wxs/u-sticky-wxs.vue} +7 -7
  65. package/ui-fireui/components/u-sticky-wxs/u-sticky.wxs +46 -0
  66. package/ui-fireui/components/{fui-swipe-action/fui-swipe-action.vue → u-swipe-action/u-swipe-action.vue} +11 -11
  67. package/ui-fireui/components/{fui-tabbar/fui-tabbar.vue → u-tabbar/u-tabbar.vue} +26 -30
  68. package/ui-fireui/components/{fui-tabs/fui-tabs.vue → u-tabs/u-tabs.vue} +17 -17
  69. package/ui-fireui/components/{fui-tabs2/fui-tabs2.vue → u-tabs2/u-tabs2.vue} +17 -17
  70. package/ui-fireui/components/{fui-tag/fui-tag.vue → u-tag/u-tag.vue} +362 -374
  71. package/ui-fireui/components/{fui-time-axis/fui-time-axis.vue → u-time-axis/u-time-axis.vue} +3 -3
  72. package/ui-fireui/components/{fui-timeaxis-item/fui-timeaxis-item.vue → u-timeaxis-item/u-timeaxis-item.vue} +4 -4
  73. package/ui-fireui/components/{fui-tips/fui-tips.vue → u-tips/u-tips.vue} +20 -20
  74. package/ui-fireui/components/{fui-toast/fui-toast.vue → u-toast/u-toast.vue} +13 -13
  75. package/ui-fireui/components/{fui-top-dropdown/fui-top-dropdown.vue → u-top-dropdown/u-top-dropdown.vue} +8 -8
  76. package/ui-fireui/components/{fui-upload/fui-upload.vue → u-upload/u-upload.vue} +30 -30
  77. package/ui-fireui/components/u-upload2/u-upload.vue +464 -0
  78. package/ui-fireui/components/{fui-uploadsamll/fui-uploadsamll.vue → u-uploadsamll/u-uploadsamll.vue} +34 -34
  79. package/ui-fireui/css/thorui.css +589 -0
  80. package/ui-fireui/{fireui.css → index.css} +306 -268
  81. package/ui-fireui/nvue/u-circular-progress/gcanvas/bridge/bridge-weex.js +241 -0
  82. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-2d/FillStyleLinearGradient.js +18 -0
  83. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-2d/FillStylePattern.js +8 -0
  84. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-2d/FillStyleRadialGradient.js +17 -0
  85. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-2d/RenderingContext.js +666 -0
  86. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/ActiveInfo.js +11 -0
  87. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/Buffer.js +21 -0
  88. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/Framebuffer.js +21 -0
  89. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/GLenum.js +298 -0
  90. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/GLmethod.js +142 -0
  91. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/GLtype.js +23 -0
  92. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/Program.js +21 -0
  93. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/Renderbuffer.js +21 -0
  94. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/RenderingContext.js +1191 -0
  95. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/Shader.js +22 -0
  96. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/ShaderPrecisionFormat.js +11 -0
  97. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/Texture.js +22 -0
  98. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/UniformLocation.js +22 -0
  99. package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/classUtils.js +3 -0
  100. package/ui-fireui/nvue/u-circular-progress/gcanvas/env/canvas.js +74 -0
  101. package/ui-fireui/nvue/u-circular-progress/gcanvas/env/image.js +96 -0
  102. package/ui-fireui/nvue/u-circular-progress/gcanvas/env/tool.js +24 -0
  103. package/ui-fireui/nvue/u-circular-progress/gcanvas/index.js +47 -0
  104. package/ui-fireui/nvue/u-circular-progress/u-circular-progress.nvue +203 -0
  105. package/ui-fireui/nvue/u-icon/icons.js +188 -0
  106. package/ui-fireui/nvue/u-icon/u-icon.vue +78 -0
  107. package/ui-fireui/components/fui-picture-cropper/fui-picture-cropper.wxs +0 -560
  108. package/ui-fireui/components/fui-rate/fui-rate.vue +0 -167
  109. package/ui-fireui/components/fui-sticky-wxs/fui-sticky.wxs +0 -44
  110. /package/ui-fireui/components/{fui-calendar/fui-calendar.js → u-calendar/u-calendar.js} +0 -0
@@ -1,18 +1,18 @@
1
1
  <template>
2
- <view class="fui-container" @touchmove.stop.prevent="stop">
3
- <view class="fui-image-cropper" @touchend="cutTouchEnd" @touchstart="cutTouchStart" @touchmove="cutTouchMove">
4
- <view class="fui-content">
2
+ <view class="up-container" @touchmove.stop.prevent="stop">
3
+ <view class="up-image-cropper" @touchend="cutTouchEnd" @touchstart="cutTouchStart" @touchmove="cutTouchMove">
4
+ <view class="up-content">
5
5
  <view
6
- class="fui-content-top fui-bg-transparent"
6
+ class="up-content-top up-bg-transparent"
7
7
  :style="{ height: cutY + 'px', transitionProperty: cutAnimation ? '' : 'background' }"
8
8
  ></view>
9
- <view class="fui-content-middle" :style="{ height: canvasHeight + 'px' }">
9
+ <view class="up-content-middle" :style="{ height: canvasHeight + 'px' }">
10
10
  <view
11
- class="fui-bg-transparent"
11
+ class="up-bg-transparent"
12
12
  :style="{ width: cutX + 'px', transitionProperty: cutAnimation ? '' : 'background' }"
13
13
  ></view>
14
14
  <view
15
- class="fui-cropper-box"
15
+ class="up-cropper-box"
16
16
  :style="{
17
17
  width: canvasWidth + 'px',
18
18
  height: canvasHeight + 'px',
@@ -23,8 +23,8 @@
23
23
  <view
24
24
  v-for="(item, index) in 4"
25
25
  :key="index"
26
- class="fui-edge"
27
- :class="[`fui-${index < 2 ? 'top' : 'bottom'}-${index === 0 || index === 2 ? 'left' : 'right'}`]"
26
+ class="up-edge"
27
+ :class="[`up-${index < 2 ? 'top' : 'bottom'}-${index === 0 || index === 2 ? 'left' : 'right'}`]"
28
28
  :style="{
29
29
  width: edgeWidth,
30
30
  height: edgeWidth,
@@ -37,9 +37,9 @@
37
37
  }"
38
38
  ></view>
39
39
  </view>
40
- <view class="fui-flex-auto fui-bg-transparent" :style="{ transitionProperty: cutAnimation ? '' : 'background' }"></view>
40
+ <view class="up-flex-auto up-bg-transparent" :style="{ transitionProperty: cutAnimation ? '' : 'background' }"></view>
41
41
  </view>
42
- <view class="fui-flex-auto fui-bg-transparent" :style="{ transitionProperty: cutAnimation ? '' : 'background' }"></view>
42
+ <view class="up-flex-auto up-bg-transparent" :style="{ transitionProperty: cutAnimation ? '' : 'background' }"></view>
43
43
  </view>
44
44
  <image
45
45
  @load="imageLoad"
@@ -53,23 +53,23 @@
53
53
  transform: imgTransform,
54
54
  transitionDuration: (cutAnimation ? 0.35 : 0) + 's'
55
55
  }"
56
- class="fui-cropper-image"
56
+ class="up-cropper-image"
57
57
  :src="imageUrl"
58
58
  v-if="imageUrl"
59
59
  mode="widthFix"
60
60
  ></image>
61
61
  </view>
62
62
  <canvas
63
- canvas-id="fui-image-cropper"
64
- id="fui-image-cropper"
63
+ canvas-id="up-image-cropper"
64
+ id="up-image-cropper"
65
65
  :disable-scroll="true"
66
66
  :style="{ width: CROPPER_WIDTH * scaleRatio + 'px', height: CROPPER_HEIGHT * scaleRatio + 'px' }"
67
- class="fui-cropper-canvas"
67
+ class="up-cropper-canvas"
68
68
  ></canvas>
69
- <view class="fui-cropper-tabbar" v-if="!custom">
70
- <view class="fui-op-btn" @tap.stop="back">取消</view>
71
- <image :src="rotateImg" class="fui-rotate-img" @tap="setAngle"></image>
72
- <view class="fui-op-btn" @tap.stop="getImage">完成</view>
69
+ <view class="up-cropper-tabbar" v-if="!custom">
70
+ <view class="up-op-btn" @tap.stop="back">取消</view>
71
+ <image :src="rotateImg" class="up-rotate-img" @tap="setAngle"></image>
72
+ <view class="up-op-btn" @tap.stop="getImage">完成</view>
73
73
  </view>
74
74
  </view>
75
75
  </template>
@@ -168,12 +168,12 @@ export default {
168
168
  //生成的图片尺寸相对剪裁框的比例
169
169
  scaleRatio: {
170
170
  type: Number,
171
- default: 2
171
+ default: 2 // 3
172
172
  },
173
173
  //图片的质量,取值范围为 (0, 1],不在范围内时当作1.0处理
174
174
  quality: {
175
175
  type: Number,
176
- default: 0.8
176
+ default: 0.8 //1
177
177
  },
178
178
  //图片旋转角度
179
179
  rotateAngle: {
@@ -352,7 +352,7 @@ export default {
352
352
  this.CROPPER_HEIGHT = this.height;
353
353
  this.canvasHeight = this.height;
354
354
  this.canvasWidth = this.width;
355
- this.ctx = uni.createCanvasContext('fui-image-cropper', this);
355
+ this.ctx = uni.createCanvasContext('up-image-cropper', this);
356
356
  this.setCutCenter();
357
357
  //设置裁剪框大小>设置图片尺寸>绘制canvas
358
358
  this.computeCutSize();
@@ -425,7 +425,7 @@ export default {
425
425
  // #endif
426
426
  if (this.isBase64) {
427
427
  uni.canvasGetImageData({
428
- canvasId: 'fui-image-cropper',
428
+ canvasId: 'up-image-cropper',
429
429
  x: 0,
430
430
  y: 0,
431
431
  width: this.canvasWidth * this.scaleRatio,
@@ -433,7 +433,7 @@ export default {
433
433
  success: (res) => {
434
434
  const arrayBuffer = new Uint8Array(res.data);
435
435
  const base64 = uni.arrayBufferToBase64(arrayBuffer);
436
- data.base64 = base64;
436
+ data.base64 = base64; // dataURL
437
437
  this.loadding && uni.hideLoading();
438
438
  this.$emit('cropper', data);
439
439
  }
@@ -442,7 +442,7 @@ export default {
442
442
  uni.canvasToTempFilePath(
443
443
  {
444
444
  ...params,
445
- canvasId: 'fui-image-cropper',
445
+ canvasId: 'up-image-cropper',
446
446
  success: (res) => {
447
447
  data.url = res.tempFilePath;
448
448
  // #ifdef H5
@@ -916,7 +916,7 @@ export default {
916
916
  </script>
917
917
 
918
918
  <style scoped>
919
- .fui-container {
919
+ .up-container {
920
920
  width: 100vw;
921
921
  height: 100vh;
922
922
  background-color: rgba(0, 0, 0, 0.6);
@@ -926,13 +926,13 @@ export default {
926
926
  z-index: 1;
927
927
  }
928
928
 
929
- .fui-image-cropper {
929
+ .up-image-cropper {
930
930
  width: 100vw;
931
931
  height: 100vh;
932
932
  position: absolute;
933
933
  }
934
934
 
935
- .fui-content {
935
+ .up-content {
936
936
  width: 100vw;
937
937
  height: 100vh;
938
938
  position: absolute;
@@ -942,23 +942,23 @@ export default {
942
942
  pointer-events: none;
943
943
  }
944
944
 
945
- .fui-bg-transparent {
945
+ .up-bg-transparent {
946
946
  background-color: rgba(0, 0, 0, 0.6);
947
947
  transition-duration: 0.35s;
948
948
  }
949
949
 
950
- .fui-content-top {
950
+ .up-content-top {
951
951
  pointer-events: none;
952
952
  }
953
953
 
954
- .fui-content-middle {
954
+ .up-content-middle {
955
955
  width: 100%;
956
956
  height: 200px;
957
957
  display: flex;
958
958
  box-sizing: border-box;
959
959
  }
960
960
 
961
- .fui-cropper-box {
961
+ .up-cropper-box {
962
962
  position: relative;
963
963
  /* transition-duration: 0.3s; */
964
964
  border-style: solid;
@@ -966,11 +966,11 @@ export default {
966
966
  box-sizing: border-box;
967
967
  }
968
968
 
969
- .fui-flex-auto {
969
+ .up-flex-auto {
970
970
  flex: auto;
971
971
  }
972
972
 
973
- .fui-cropper-image {
973
+ .up-cropper-image {
974
974
  width: 100%;
975
975
  border-style: none;
976
976
  position: absolute;
@@ -982,7 +982,7 @@ export default {
982
982
  transform-origin: center;
983
983
  }
984
984
 
985
- .fui-cropper-canvas {
985
+ .up-cropper-canvas {
986
986
  position: fixed;
987
987
  z-index: 10;
988
988
  left: -2000px;
@@ -990,34 +990,34 @@ export default {
990
990
  pointer-events: none;
991
991
  }
992
992
 
993
- .fui-edge {
993
+ .up-edge {
994
994
  border-style: solid;
995
995
  pointer-events: auto;
996
996
  position: absolute;
997
997
  box-sizing: border-box;
998
998
  }
999
999
 
1000
- .fui-top-left {
1000
+ .up-top-left {
1001
1001
  border-bottom-width: 0 !important;
1002
1002
  border-right-width: 0 !important;
1003
1003
  }
1004
1004
 
1005
- .fui-top-right {
1005
+ .up-top-right {
1006
1006
  border-bottom-width: 0 !important;
1007
1007
  border-left-width: 0 !important;
1008
1008
  }
1009
1009
 
1010
- .fui-bottom-left {
1010
+ .up-bottom-left {
1011
1011
  border-top-width: 0 !important;
1012
1012
  border-right-width: 0 !important;
1013
1013
  }
1014
1014
 
1015
- .fui-bottom-right {
1015
+ .up-bottom-right {
1016
1016
  border-top-width: 0 !important;
1017
1017
  border-left-width: 0 !important;
1018
1018
  }
1019
1019
 
1020
- .fui-cropper-tabbar {
1020
+ .up-cropper-tabbar {
1021
1021
  width: 100%;
1022
1022
  height: 120rpx;
1023
1023
  padding: 0 40rpx;
@@ -1033,7 +1033,7 @@ export default {
1033
1033
  font-size: 32rpx;
1034
1034
  }
1035
1035
 
1036
- .fui-cropper-tabbar::after {
1036
+ .up-cropper-tabbar::after {
1037
1037
  content: ' ';
1038
1038
  position: absolute;
1039
1039
  top: 0;
@@ -1045,13 +1045,13 @@ export default {
1045
1045
  transform-origin: 0 100%;
1046
1046
  }
1047
1047
 
1048
- .fui-op-btn {
1048
+ .up-op-btn {
1049
1049
  height: 80rpx;
1050
1050
  display: flex;
1051
1051
  align-items: center;
1052
1052
  }
1053
1053
 
1054
- .fui-rotate-img {
1054
+ .up-rotate-img {
1055
1055
  width: 44rpx;
1056
1056
  height: 44rpx;
1057
1057
  }
@@ -1,9 +1,9 @@
1
1
  <template>
2
- <view class="fui-image-container" :class="{ 'fui-image-direction': direction == 'column' }">
2
+ <view class="up-image-container" :class="{ 'up-image-direction': direction == 'column' }">
3
3
  <view
4
4
  v-for="(item, index) in imageList"
5
5
  :key="index"
6
- class="fui-image-item_box"
6
+ class="up-image-item_box"
7
7
  :style="{
8
8
  width: width,
9
9
  height: height,
@@ -14,7 +14,7 @@
14
14
  @tap="bindClick(index, item.id)"
15
15
  >
16
16
  <image
17
- class="fui-image-item"
17
+ class="up-image-item"
18
18
  :mode="mode"
19
19
  :lazy-load="lazyLoad"
20
20
  fade-show="fadeShow"
@@ -131,17 +131,17 @@ export default {
131
131
  </script>
132
132
 
133
133
  <style scoped>
134
- .fui-image-container {
134
+ .up-image-container {
135
135
  display: inline-flex;
136
136
  align-items: center;
137
137
  }
138
- .fui-image-direction {
138
+ .up-image-direction {
139
139
  flex-direction: column;
140
140
  }
141
- .fui-image-item_box {
141
+ .up-image-item_box {
142
142
  position: relative;
143
143
  }
144
- .fui-image-item {
144
+ .up-image-item {
145
145
  border-style: solid;
146
146
  flex-shrink: 0;
147
147
  display: block;
@@ -1,28 +1,25 @@
1
1
  <template>
2
2
  <view>
3
- <view class="fui-keyboard-mask" :class="[show ? 'fui-mask-show' : '']" v-if="mask" @tap="handleClose"></view>
4
- <view
5
- class="fui-keyboard"
6
- :class="{ 'fui-keyboard-radius': radius, 'fui-keyboard-action': action, 'fui-keyboard-show': show }"
7
- >
3
+ <view class="up-keyboard-mask" :class="[show ? 'up-mask-show' : '']" v-if="mask" @tap="handleClose"></view>
4
+ <view class="up-keyboard" :class="{ 'up-keyboard-radius': radius, 'up-keyboard-action': action, 'up-keyboard-show': show }">
8
5
  <slot></slot>
9
- <view class="fui-keyboard-grids">
10
- <!--{{(index==9 || index==10 || index==11)?'fui-grid-bottom':''}}-->
6
+ <view class="up-keyboard-grids">
7
+ <!--{{(index==9 || index==10 || index==11)?'up-grid-bottom':''}}-->
11
8
  <view
12
- class="fui-keyboard-grid"
13
- :class="{ 'fui-bg-gray': index == 9 || index == 11 }"
9
+ class="up-keyboard-grid"
10
+ :class="{ 'up-bg-gray': index == 9 || index == 11 }"
14
11
  v-for="(item, index) in itemList"
15
12
  :key="index"
16
- hover-class="fui-keyboard-hover"
13
+ hover-class="up-keyboard-hover"
17
14
  :hover-stay-time="150"
18
15
  @tap="handleClick"
19
16
  :data-index="index"
20
17
  >
21
- <view v-if="index < 11" class="fui-keyboard-item" :class="{ 'fui-fontsize-32': index == 9 }">
18
+ <view v-if="index < 11" class="up-keyboard-item" :class="{ 'up-fontsize-32': index == 9 }">
22
19
  {{ getKeyBoard(index, action) }}
23
20
  </view>
24
- <view v-else class="fui-keyboard-item">
25
- <view class="fui-icon fui-keyboard-delete"></view>
21
+ <view v-else class="up-keyboard-item">
22
+ <view class="up-icon up-keyboard-delete"></view>
26
23
  </view>
27
24
  </view>
28
25
  </view>
@@ -99,7 +96,7 @@ export default {
99
96
  font-style: normal;
100
97
  }
101
98
 
102
- .fui-icon {
99
+ .up-icon {
103
100
  font-family: 'keyboardFont' !important;
104
101
  font-size: 22px;
105
102
  font-style: normal;
@@ -109,11 +106,11 @@ export default {
109
106
  color: #333;
110
107
  }
111
108
 
112
- .fui-keyboard-delete:before {
109
+ .up-keyboard-delete:before {
113
110
  content: '\e7b8';
114
111
  }
115
112
 
116
- .fui-keyboard-mask {
113
+ .up-keyboard-mask {
117
114
  position: fixed;
118
115
  top: 0;
119
116
  left: 0;
@@ -126,12 +123,12 @@ export default {
126
123
  visibility: hidden;
127
124
  }
128
125
 
129
- .fui-mask-show {
126
+ .up-mask-show {
130
127
  opacity: 1;
131
128
  visibility: visible;
132
129
  }
133
130
 
134
- .fui-keyboard {
131
+ .up-keyboard {
135
132
  width: 100%;
136
133
  position: fixed;
137
134
  left: 0;
@@ -142,29 +139,29 @@ export default {
142
139
  background-color: #fff;
143
140
  }
144
141
 
145
- .fui-keyboard-radius {
142
+ .up-keyboard-radius {
146
143
  border-top-left-radius: 16rpx;
147
144
  border-top-right-radius: 16rpx;
148
145
  overflow: hidden;
149
146
  }
150
147
 
151
- .fui-keyboard-action {
148
+ .up-keyboard-action {
152
149
  visibility: hidden;
153
150
  transform: translate3d(0, 100%, 0);
154
151
  transform-origin: center;
155
152
  transition: all 0.3s ease-in-out;
156
153
  }
157
154
 
158
- .fui-keyboard-show {
155
+ .up-keyboard-show {
159
156
  transform: translate3d(0, 0, 0);
160
157
  visibility: visible;
161
158
  }
162
159
 
163
- .fui-bg-gray {
160
+ .up-bg-gray {
164
161
  background-color: #e7e6eb !important;
165
162
  }
166
163
 
167
- .fui-keyboard-grids {
164
+ .up-keyboard-grids {
168
165
  width: 100%;
169
166
  position: relative;
170
167
  overflow: hidden;
@@ -174,7 +171,7 @@ export default {
174
171
  flex-wrap: wrap;
175
172
  }
176
173
 
177
- .fui-keyboard-grids::after {
174
+ .up-keyboard-grids::after {
178
175
  content: ' ';
179
176
  position: absolute;
180
177
  left: 0;
@@ -188,7 +185,7 @@ export default {
188
185
  transform: scaleY(0.5);
189
186
  }
190
187
 
191
- .fui-keyboard-grid {
188
+ .up-keyboard-grid {
192
189
  position: relative;
193
190
  padding: 24rpx 20rpx;
194
191
  box-sizing: border-box;
@@ -196,12 +193,12 @@ export default {
196
193
  width: 33.33333333%;
197
194
  }
198
195
 
199
- .fui-keyboard-grid:nth-of-type(3n)::before {
196
+ .up-keyboard-grid:nth-of-type(3n)::before {
200
197
  width: 0;
201
198
  border-right: 0;
202
199
  }
203
200
 
204
- .fui-keyboard-grid::before {
201
+ .up-keyboard-grid::before {
205
202
  content: ' ';
206
203
  position: absolute;
207
204
  right: 0;
@@ -215,7 +212,7 @@ export default {
215
212
  transform: scaleX(0.5);
216
213
  }
217
214
 
218
- .fui-keyboard-grid::after {
215
+ .up-keyboard-grid::after {
219
216
  content: ' ';
220
217
  position: absolute;
221
218
  left: 0;
@@ -229,16 +226,16 @@ export default {
229
226
  transform: scaleY(0.5);
230
227
  }
231
228
 
232
- .fui-grid-bottom::after {
229
+ .up-grid-bottom::after {
233
230
  height: 0 !important;
234
231
  border-bottom: 0 !important;
235
232
  }
236
233
 
237
- .fui-keyboard-hover {
234
+ .up-keyboard-hover {
238
235
  background-color: #f7f7f9 !important;
239
236
  }
240
237
 
241
- .fui-keyboard-item {
238
+ .up-keyboard-item {
242
239
  display: flex;
243
240
  align-items: center;
244
241
  justify-content: center;
@@ -247,7 +244,7 @@ export default {
247
244
  color: #000;
248
245
  }
249
246
 
250
- .fui-fontsize-32 {
247
+ .up-fontsize-32 {
251
248
  font-size: 32rpx;
252
249
  color: #333 !important;
253
250
  }
@@ -1,9 +1,9 @@
1
1
  <template>
2
- <view class="fui-keyboard-input fui-pwd-box" :style="{ backgroundColor: backgroundColor }">
3
- <view class="fui-inner-box">
2
+ <view class="up-keyboard-input up-pwd-box" :style="{ backgroundColor: backgroundColor }">
3
+ <view class="up-inner-box">
4
4
  <view
5
- class="fui-input"
6
- :class="[inputvalue.length === 4 ? 'fui-margin-right' : '']"
5
+ class="up-input"
6
+ :class="[inputvalue.length === 4 ? 'up-margin-right' : '']"
7
7
  :style="{ fontSize: size + 'rpx', color: color, width: (inputvalue.length === 4 ? 90 : 70) + 'rpx' }"
8
8
  v-for="(item, index) in inputvalue"
9
9
  :key="index"
@@ -44,7 +44,7 @@ export default {
44
44
  </script>
45
45
 
46
46
  <style scoped>
47
- .fui-pwd-box {
47
+ .up-pwd-box {
48
48
  display: flex;
49
49
  align-items: center;
50
50
  justify-content: center;
@@ -52,13 +52,13 @@ export default {
52
52
  vertical-align: top;
53
53
  }
54
54
 
55
- .fui-inner-box {
55
+ .up-inner-box {
56
56
  display: flex;
57
57
  align-items: center;
58
58
  justify-content: center;
59
59
  }
60
60
 
61
- .fui-input {
61
+ .up-input {
62
62
  height: 80rpx;
63
63
  position: relative;
64
64
  display: flex;
@@ -68,11 +68,11 @@ export default {
68
68
  border-bottom: 2px solid #666;
69
69
  }
70
70
 
71
- .fui-margin-right {
71
+ .up-margin-right {
72
72
  margin-right: 30rpx;
73
73
  }
74
74
 
75
- .fui-input:last-child {
75
+ .up-input:last-child {
76
76
  margin-right: 0 !important;
77
77
  }
78
78
  </style>
@@ -1,16 +1,16 @@
1
1
  <template>
2
2
  <view
3
- class="fui-list-class fui-list-cell"
3
+ class="up-list-class up-list-cell"
4
4
  :class="[
5
- arrow ? 'fui-cell-arrow' : '',
6
- arrow && arrowRight ? '' : 'fui-arrow-right',
7
- unlined ? 'fui-cell-unlined' : '',
8
- lineLeft ? 'fui-line-left' : '',
9
- lineRight ? 'fui-line-right' : '',
10
- arrow && arrowColor ? 'fui-arrow-' + arrowColor : '',
11
- radius ? 'fui-radius' : ''
5
+ arrow ? 'up-cell-arrow' : '',
6
+ arrow && arrowRight ? '' : 'up-arrow-right',
7
+ unlined ? 'up-cell-unlined' : '',
8
+ lineLeft ? 'up-line-left' : '',
9
+ lineRight ? 'up-line-right' : '',
10
+ arrow && arrowColor ? 'up-arrow-' + arrowColor : '',
11
+ radius ? 'up-radius' : ''
12
12
  ]"
13
- :hover-class="hover ? 'fui-cell-hover' : ''"
13
+ :hover-class="hover ? 'up-cell-hover' : ''"
14
14
  :style="{ backgroundColor: backgroundColor, fontSize: size + 'rpx', color: color, padding: padding }"
15
15
  :hover-stay-time="150"
16
16
  @tap="handleClick"
@@ -98,22 +98,22 @@ export default {
98
98
  </script>
99
99
 
100
100
  <style scoped>
101
- .fui-list-cell {
101
+ .up-list-cell {
102
102
  position: relative;
103
103
  width: 100%;
104
104
  box-sizing: border-box;
105
105
  }
106
106
 
107
- .fui-radius {
107
+ .up-radius {
108
108
  border-radius: 6rpx;
109
109
  overflow: hidden;
110
110
  }
111
111
 
112
- .fui-cell-hover {
112
+ .up-cell-hover {
113
113
  background-color: #f1f1f1 !important;
114
114
  }
115
115
 
116
- .fui-list-cell::after {
116
+ .up-list-cell::after {
117
117
  content: '';
118
118
  position: absolute;
119
119
  border-bottom: 1px solid #eaeef1;
@@ -125,19 +125,19 @@ export default {
125
125
  left: 0;
126
126
  }
127
127
 
128
- .fui-line-left::after {
128
+ .up-line-left::after {
129
129
  left: 30rpx !important;
130
130
  }
131
131
 
132
- .fui-line-right::after {
132
+ .up-line-right::after {
133
133
  right: 30rpx !important;
134
134
  }
135
135
 
136
- .fui-cell-unlined::after {
136
+ .up-cell-unlined::after {
137
137
  border-bottom: 0 !important;
138
138
  }
139
139
 
140
- .fui-cell-arrow::before {
140
+ .up-cell-arrow::before {
141
141
  content: ' ';
142
142
  height: 10px;
143
143
  width: 10px;
@@ -152,27 +152,27 @@ export default {
152
152
  right: 30rpx;
153
153
  }
154
154
 
155
- .fui-arrow-right::before {
155
+ .up-arrow-right::before {
156
156
  right: 0 !important;
157
157
  }
158
158
 
159
- .fui-arrow-gray::before {
159
+ .up-arrow-gray::before {
160
160
  border-color: #666666 !important;
161
161
  }
162
162
 
163
- .fui-arrow-white::before {
163
+ .up-arrow-white::before {
164
164
  border-color: #ffffff !important;
165
165
  }
166
166
 
167
- .fui-arrow-warning::before {
167
+ .up-arrow-warning::before {
168
168
  border-color: #ff7900 !important;
169
169
  }
170
170
 
171
- .fui-arrow-success::before {
171
+ .up-arrow-success::before {
172
172
  border-color: #19be6b !important;
173
173
  }
174
174
 
175
- .fui-arrow-danger::before {
175
+ .up-arrow-danger::before {
176
176
  border-color: #eb0909 !important;
177
177
  }
178
178
  </style>