@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,95 +1,95 @@
1
1
  <template>
2
- <view class="fui-datetime-picker">
2
+ <view class="up-datetime-picker">
3
3
  <view
4
- class="fui-mask"
5
- :class="{ 'fui-mask-show': isShow }"
4
+ class="up-mask"
5
+ :class="{ 'up-mask-show': isShow }"
6
6
  @touchmove.stop.prevent="stop"
7
7
  catchtouchmove="stop"
8
8
  @tap="hide"
9
9
  ></view>
10
- <view class="fui-header" :class="{ 'fui-show': isShow }">
11
- <view class="fui-picker-header" :class="{ 'fui-date-radius': radius }" @touchmove.stop.prevent="stop" catchtouchmove="stop">
12
- <view class="fui-btn-picker" :style="{ color: cancelColor }" hover-class="fui-opacity" :hover-stay-time="150" @tap="hide">
10
+ <view class="up-header" :class="{ 'up-show': isShow }">
11
+ <view class="up-picker-header" :class="{ 'up-date-radius': radius }" @touchmove.stop.prevent="stop" catchtouchmove="stop">
12
+ <view class="up-btn-picker" :style="{ color: cancelColor }" hover-class="up-opacity" :hover-stay-time="150" @click="hide">
13
13
  取消
14
14
  </view>
15
- <view class="fui-btn-picker" :style="{ color: color }" hover-class="fui-opacity" :hover-stay-time="150" @tap="btnFix">
15
+ <view class="up-btn-picker" :style="{ color: color }" hover-class="up-opacity" :hover-stay-time="150" @click="btnFix">
16
16
  确定
17
17
  </view>
18
18
  </view>
19
- <view class="fui-date-header" v-if="unitTop">
20
- <view class="fui-date-unit" v-if="type < 4 || type == 7">年</view>
21
- <view class="fui-date-unit" v-if="type < 4 || type == 7">月</view>
22
- <view class="fui-date-unit" v-if="type == 1 || type == 2 || type == 7">日</view>
23
- <view class="fui-date-unit" v-if="type == 1 || type == 4 || type == 5 || type == 7">时</view>
24
- <view class="fui-date-unit" v-if="type == 1 || type > 3">分</view>
25
- <view class="fui-date-unit" v-if="type > 4">秒</view>
19
+ <view class="up-date-header" v-if="unitTop">
20
+ <view class="up-date-unit" v-if="type < 4 || type == 7">年</view>
21
+ <view class="up-date-unit" v-if="type < 4 || type == 7">月</view>
22
+ <view class="up-date-unit" v-if="type == 1 || type == 2 || type == 7">日</view>
23
+ <view class="up-date-unit" v-if="type == 1 || type == 4 || type == 5 || type == 7">时</view>
24
+ <view class="up-date-unit" v-if="type == 1 || type > 3">分</view>
25
+ <view class="up-date-unit" v-if="type > 4">秒</view>
26
26
  </view>
27
- <view class="fui-picker-body">
28
- <picker-view :value="value" @change="change" class="fui-picker-view">
27
+ <view class="up-picker-body">
28
+ <picker-view :value="value" @change="change" class="up-picker-view">
29
29
  <picker-view-column v-if="!reset && (type < 4 || type == 7)">
30
30
  <view
31
- class="fui-column-item"
32
- :class="{ 'fui-font-size_32': !unitTop && type == 7 }"
31
+ class="up-column-item"
32
+ :class="{ 'up-font-size_32': !unitTop && type == 7 }"
33
33
  v-for="(item, index) in years"
34
34
  :key="index"
35
35
  >
36
36
  {{ item }}
37
- <text class="fui-unit-text" v-if="!unitTop">年</text>
37
+ <text class="up-unit-text" v-if="!unitTop">年</text>
38
38
  </view>
39
39
  </picker-view-column>
40
40
  <picker-view-column v-if="!reset && (type < 4 || type == 7)">
41
41
  <view
42
- class="fui-column-item"
43
- :class="{ 'fui-font-size_32': !unitTop && type == 7 }"
42
+ class="up-column-item"
43
+ :class="{ 'up-font-size_32': !unitTop && type == 7 }"
44
44
  v-for="(item, index) in months"
45
45
  :key="index"
46
46
  >
47
47
  {{ formatNum(item) }}
48
- <text class="fui-unit-text" v-if="!unitTop">月</text>
48
+ <text class="up-unit-text" v-if="!unitTop">月</text>
49
49
  </view>
50
50
  </picker-view-column>
51
51
  <picker-view-column v-if="!reset && (type == 1 || type == 2 || type == 7)">
52
52
  <view
53
- class="fui-column-item"
54
- :class="{ 'fui-font-size_32': !unitTop && type == 7 }"
53
+ class="up-column-item"
54
+ :class="{ 'up-font-size_32': !unitTop && type == 7 }"
55
55
  v-for="(item, index) in days"
56
56
  :key="index"
57
57
  >
58
58
  {{ formatNum(item) }}
59
- <text class="fui-unit-text" v-if="!unitTop">日</text>
59
+ <text class="up-unit-text" v-if="!unitTop">日</text>
60
60
  </view>
61
61
  </picker-view-column>
62
62
  <picker-view-column v-if="!reset && (type == 1 || type == 4 || type == 5 || type == 7)">
63
63
  <view
64
- class="fui-column-item"
65
- :class="{ 'fui-font-size_32': !unitTop && type == 7 }"
64
+ class="up-column-item"
65
+ :class="{ 'up-font-size_32': !unitTop && type == 7 }"
66
66
  v-for="(item, index) in hours"
67
67
  :key="index"
68
68
  >
69
69
  {{ formatNum(item) }}
70
- <text class="fui-unit-text" v-if="!unitTop">时</text>
70
+ <text class="up-unit-text" v-if="!unitTop">时</text>
71
71
  </view>
72
72
  </picker-view-column>
73
73
  <picker-view-column v-if="!reset && (type == 1 || type > 3)">
74
74
  <view
75
- class="fui-column-item"
76
- :class="{ 'fui-font-size_32': !unitTop && type == 7 }"
75
+ class="up-column-item"
76
+ :class="{ 'up-font-size_32': !unitTop && type == 7 }"
77
77
  v-for="(item, index) in minutes"
78
78
  :key="index"
79
79
  >
80
80
  {{ formatNum(item) }}
81
- <text class="fui-unit-text" v-if="!unitTop">分</text>
81
+ <text class="up-unit-text" v-if="!unitTop">分</text>
82
82
  </view>
83
83
  </picker-view-column>
84
84
  <picker-view-column v-if="!reset && type > 4">
85
85
  <view
86
- class="fui-column-item"
87
- :class="{ 'fui-font-size_32': !unitTop && type == 7 }"
86
+ class="up-column-item"
87
+ :class="{ 'up-font-size_32': !unitTop && type == 7 }"
88
88
  v-for="(item, index) in seconds"
89
89
  :key="index"
90
90
  >
91
91
  {{ formatNum(item) }}
92
- <text class="fui-unit-text" v-if="!unitTop">秒</text>
92
+ <text class="up-unit-text" v-if="!unitTop">秒</text>
93
93
  </view>
94
94
  </picker-view-column>
95
95
  </picker-view>
@@ -436,17 +436,17 @@ export default {
436
436
  </script>
437
437
 
438
438
  <style scoped>
439
- .fui-datetime-picker {
439
+ .up-datetime-picker {
440
440
  position: relative;
441
441
  z-index: 999;
442
442
  }
443
443
 
444
- .fui-picker-view {
444
+ .up-picker-view {
445
445
  height: 100%;
446
446
  box-sizing: border-box;
447
447
  }
448
448
 
449
- .fui-mask {
449
+ .up-mask {
450
450
  position: fixed;
451
451
  z-index: 9998;
452
452
  top: 0;
@@ -459,12 +459,12 @@ export default {
459
459
  transition: all 0.3s ease-in-out;
460
460
  }
461
461
 
462
- .fui-mask-show {
462
+ .up-mask-show {
463
463
  visibility: visible !important;
464
464
  opacity: 1 !important;
465
465
  }
466
466
 
467
- .fui-header {
467
+ .up-header {
468
468
  z-index: 9999;
469
469
  position: fixed;
470
470
  bottom: 0;
@@ -474,7 +474,7 @@ export default {
474
474
  transform: translateY(100%);
475
475
  }
476
476
 
477
- .fui-date-header {
477
+ .up-date-header {
478
478
  width: 100%;
479
479
  height: 52rpx;
480
480
  display: flex;
@@ -494,16 +494,16 @@ export default {
494
494
  z-index: 2;
495
495
  }
496
496
 
497
- .fui-date-unit {
497
+ .up-date-unit {
498
498
  flex: 1;
499
499
  text-align: center;
500
500
  }
501
501
 
502
- .fui-show {
502
+ .up-show {
503
503
  transform: translateY(0);
504
504
  }
505
505
 
506
- .fui-picker-header {
506
+ .up-picker-header {
507
507
  width: 100%;
508
508
  height: 90rpx;
509
509
  padding: 0 40rpx;
@@ -516,13 +516,13 @@ export default {
516
516
  position: relative;
517
517
  }
518
518
 
519
- .fui-date-radius {
519
+ .up-date-radius {
520
520
  border-top-left-radius: 20rpx;
521
521
  border-top-right-radius: 20rpx;
522
522
  overflow: hidden;
523
523
  }
524
524
 
525
- .fui-picker-header::after {
525
+ .up-picker-header::after {
526
526
  content: '';
527
527
  position: absolute;
528
528
  border-bottom: 1rpx solid #eaeef1;
@@ -533,14 +533,14 @@ export default {
533
533
  left: 0;
534
534
  }
535
535
 
536
- .fui-picker-body {
536
+ .up-picker-body {
537
537
  width: 100%;
538
538
  height: 520rpx;
539
539
  overflow: hidden;
540
540
  background-color: #fff;
541
541
  }
542
542
 
543
- .fui-column-item {
543
+ .up-column-item {
544
544
  display: flex;
545
545
  align-items: center;
546
546
  justify-content: center;
@@ -548,23 +548,23 @@ export default {
548
548
  color: #333;
549
549
  }
550
550
 
551
- .fui-font-size_32 {
551
+ .up-font-size_32 {
552
552
  font-size: 32rpx !important;
553
553
  }
554
554
 
555
- .fui-unit-text {
555
+ .up-unit-text {
556
556
  font-size: 24rpx !important;
557
557
  padding-left: 8rpx;
558
558
  }
559
559
 
560
- .fui-btn-picker {
560
+ .up-btn-picker {
561
561
  padding: 16rpx;
562
562
  box-sizing: border-box;
563
563
  text-align: center;
564
564
  text-decoration: none;
565
565
  }
566
566
 
567
- .fui-opacity {
567
+ .up-opacity {
568
568
  opacity: 0.5;
569
569
  }
570
570
  </style>
@@ -1,8 +1,8 @@
1
1
  <template>
2
- <view class="fui-divider" :style="{ height: height + 'rpx' }">
3
- <view class="fui-divider-line" :style="{ width: width, background: getBgColor(gradual, gradualColor, dividerColor) }"></view>
2
+ <view class="up-divider" :style="{ height: height + 'rpx' }">
3
+ <view class="up-divider-line" :style="{ width: width, background: getBgColor(gradual, gradualColor, dividerColor) }"></view>
4
4
  <view
5
- class="fui-divider-text"
5
+ class="up-divider-text"
6
6
  :style="{
7
7
  color: color,
8
8
  fontSize: size + 'rpx',
@@ -89,7 +89,7 @@ export default {
89
89
  </script>
90
90
 
91
91
  <style scoped>
92
- .fui-divider {
92
+ .up-divider {
93
93
  width: 100%;
94
94
  position: relative;
95
95
  text-align: center;
@@ -100,7 +100,7 @@ export default {
100
100
  overflow: hidden;
101
101
  }
102
102
 
103
- .fui-divider-line {
103
+ .up-divider-line {
104
104
  position: absolute;
105
105
  height: 1rpx;
106
106
  top: 50%;
@@ -109,7 +109,7 @@ export default {
109
109
  transform: scaleY(0.5) translateX(-50%) translateZ(0);
110
110
  }
111
111
 
112
- .fui-divider-text {
112
+ .up-divider-text {
113
113
  position: relative;
114
114
  text-align: center;
115
115
  padding: 0 18rpx;
@@ -1,11 +1,11 @@
1
1
  <template>
2
2
  <view @touchmove.stop.prevent>
3
- <view v-if="mask" class="fui-drawer-mask" :class="{ 'fui-drawer-mask_show': visible }" @tap="handleMaskClick"></view>
3
+ <view v-if="mask" class="up-drawer-mask" :class="{ 'up-drawer-mask_show': visible }" @tap="handleMaskClick"></view>
4
4
  <view
5
- class="fui-drawer-container"
5
+ class="up-drawer-container"
6
6
  :class="[
7
- mode == 'left' ? 'fui-drawer-container_left' : 'fui-drawer-container_right',
8
- visible ? 'fui-drawer-container_show' : ''
7
+ mode == 'left' ? 'up-drawer-container_left' : 'up-drawer-container_right',
8
+ visible ? 'up-drawer-container_show' : ''
9
9
  ]"
10
10
  >
11
11
  <slot></slot>
@@ -34,7 +34,7 @@ export default {
34
34
  },
35
35
  mode: {
36
36
  type: String,
37
- default: 'true' // left right
37
+ default: 'left' // left right
38
38
  }
39
39
  },
40
40
  methods: {
@@ -49,7 +49,7 @@ export default {
49
49
  </script>
50
50
 
51
51
  <style scoped>
52
- .fui-drawer-mask {
52
+ .up-drawer-mask {
53
53
  opacity: 0;
54
54
  visibility: hidden;
55
55
  position: fixed;
@@ -61,13 +61,13 @@ export default {
61
61
  background-color: rgba(0, 0, 0, 0.6);
62
62
  transition: all 0.3s ease-in-out;
63
63
  }
64
- .fui-drawer-mask_show {
64
+ .up-drawer-mask_show {
65
65
  display: block;
66
66
  visibility: visible;
67
67
  opacity: 1;
68
68
  }
69
69
 
70
- .fui-drawer-container {
70
+ .up-drawer-container {
71
71
  position: fixed;
72
72
  left: 50%;
73
73
  height: 100.2%;
@@ -84,19 +84,19 @@ export default {
84
84
  -ms-scroll-chaining: none;
85
85
  -ms-scroll-limit: 0 50 0 50;
86
86
  }
87
- .fui-drawer-container_left {
87
+ .up-drawer-container_left {
88
88
  left: 0;
89
89
  top: 50%;
90
90
  transform: translate3d(-100%, -50%, 0);
91
91
  }
92
92
 
93
- .fui-drawer-container_right {
93
+ .up-drawer-container_right {
94
94
  right: 0;
95
95
  top: 50%;
96
96
  left: auto;
97
97
  transform: translate3d(100%, -50%, 0);
98
98
  }
99
- .fui-drawer-container_show {
99
+ .up-drawer-container_show {
100
100
  opacity: 1;
101
101
  transform: translate3d(0, -50%, 0);
102
102
  }
@@ -1,10 +1,11 @@
1
1
  <template>
2
- <view class="fui-selected-class fui-dropdown-list" :style="{ height: selectHeight ? selectHeight + 'rpx' : 'auto' }">
2
+ <view class="up-selected-class up-dropdown-list" :style="{ height: selectHeight ? selectHeight + 'rpx' : 'auto' }">
3
3
  <slot name="selectionbox"></slot>
4
4
  <view
5
- class="fui-dropdown-view"
6
- :class="[show ? 'fui-dropdownlist-show' : '']"
5
+ class="up-dropdown-view"
6
+ :class="[show ? 'up-dropdownlist-show' : '']"
7
7
  :style="{ backgroundColor: backgroundColor, height: show ? height + 'rpx' : 0, top: top + 'rpx' }"
8
+ :style2="{ background: bgcolor, height: show ? height + 'rpx' : 0, top: top + 'rpx' }
8
9
  >
9
10
  <slot name="dropdownbox"></slot>
10
11
  </view>
@@ -25,6 +26,10 @@ export default {
25
26
  type: String,
26
27
  default: '#fff'
27
28
  },
29
+ bgcolor: {
30
+ type: String,
31
+ default: 'none'
32
+ },
28
33
  //top rpx
29
34
  top: {
30
35
  type: Number,
@@ -46,12 +51,12 @@ export default {
46
51
  </script>
47
52
 
48
53
  <style scoped>
49
- .fui-dropdown-list {
54
+ .up-dropdown-list {
50
55
  position: relative;
51
56
  width: 100%;
52
57
  }
53
58
 
54
- .fui-dropdown-view {
59
+ .up-dropdown-view {
55
60
  width: 100%;
56
61
  overflow: hidden;
57
62
  position: absolute;
@@ -62,7 +67,7 @@ export default {
62
67
  transition: all 0.2s ease-in-out;
63
68
  }
64
69
 
65
- .fui-dropdownlist-show {
70
+ .up-dropdownlist-show {
66
71
  opacity: 1;
67
72
  z-index: 996;
68
73
  /* visibility: visible; */
@@ -1,35 +1,35 @@
1
1
  <template>
2
2
  <view @touchmove.stop.prevent>
3
3
  <view
4
- class="fui-fab-box"
5
- :class="{ 'fui-fab-right': !left || (left && right) }"
4
+ class="up-fab-box"
5
+ :class="{ 'up-fab-right': !left || (left && right) }"
6
6
  :style="{ left: getLeft(), right: getRight(), bottom: bottom + 'rpx' }"
7
7
  >
8
- <view class="fui-fab-btn" :class="{ 'fui-visible': isOpen, 'fui-fab-hidden': hidden }">
8
+ <view class="up-fab-btn" :class="{ 'up-visible': isOpen, 'up-fab-hidden': hidden }">
9
9
  <view
10
- class="fui-fab-item-box"
11
- :class="{ 'fui-fab-item-left': left && !right && item.imgUrl }"
10
+ class="up-fab-item-box"
11
+ :class="{ 'up-fab-item-left': left && !right && item.imgUrl }"
12
12
  v-for="(item, index) in btnList"
13
13
  :key="index"
14
14
  @tap.stop="handleClick(index)"
15
15
  >
16
16
  <view
17
- :class="[left && !right ? 'fui-text-left' : 'fui-text-right']"
17
+ :class="[left && !right ? 'up-text-left' : 'up-text-right']"
18
18
  v-if="item.imgUrl"
19
19
  :style="{ fontSize: item.fontSize + 'rpx', color: item.color }"
20
20
  >
21
21
  {{ item.text || '' }}
22
22
  </view>
23
23
  <view
24
- class="fui-fab-item"
24
+ class="up-fab-item"
25
25
  :style="{ width: width + 'rpx', height: height + 'rpx', background: item.bgColor || bgColor, borderRadius: radius }"
26
26
  >
27
- <view class="fui-fab-title" v-if="!item.imgUrl" :style="{ fontSize: item.fontSize + 'rpx', color: item.color }">
27
+ <view class="up-fab-title" v-if="!item.imgUrl" :style="{ fontSize: item.fontSize + 'rpx', color: item.color }">
28
28
  {{ item.text || '' }}
29
29
  </view>
30
30
  <image
31
31
  :src="item.imgUrl"
32
- class="fui-fab-img"
32
+ class="up-fab-img"
33
33
  v-else
34
34
  :style="{ width: item.imgWidth + 'rpx', height: item.imgHeight + 'rpx' }"
35
35
  ></image>
@@ -37,15 +37,15 @@
37
37
  </view>
38
38
  </view>
39
39
  <view
40
- class="fui-fab-item"
41
- :class="{ 'fui-active': isOpen }"
40
+ class="up-fab-item"
41
+ :class="{ 'up-active': isOpen }"
42
42
  :style="{ width: width + 'rpx', height: height + 'rpx', borderRadius: radius, background: bgColor, color: color }"
43
43
  @tap.stop="handleClick(-1)"
44
44
  >
45
- <view class="fui-fab-icon fui-icon-plus"></view>
45
+ <view class="up-fab-icon up-icon-plus"></view>
46
46
  </view>
47
47
  </view>
48
- <view class="fui-fab-mask" :class="{ 'fui-visible': isOpen }" @tap="handleClickCancel"></view>
48
+ <view class="up-fab-mask" :class="{ 'up-visible': isOpen }" @tap="handleClickCancel"></view>
49
49
  </view>
50
50
  </template>
51
51
 
@@ -180,7 +180,7 @@ export default {
180
180
  font-style: normal;
181
181
  }
182
182
 
183
- .fui-fab-icon {
183
+ .up-fab-icon {
184
184
  font-family: 'fuifab' !important;
185
185
  font-style: normal;
186
186
  -webkit-font-smoothing: antialiased;
@@ -188,11 +188,11 @@ export default {
188
188
  padding: 10rpx;
189
189
  }
190
190
 
191
- .fui-icon-plus:before {
191
+ .up-icon-plus:before {
192
192
  content: '\e613';
193
193
  }
194
194
 
195
- .fui-fab-box {
195
+ .up-fab-box {
196
196
  display: flex;
197
197
  justify-content: center;
198
198
  flex-direction: column;
@@ -200,34 +200,34 @@ export default {
200
200
  z-index: 99997;
201
201
  }
202
202
 
203
- .fui-fab-right {
203
+ .up-fab-right {
204
204
  align-items: flex-end;
205
205
  }
206
206
 
207
- .fui-fab-btn {
207
+ .up-fab-btn {
208
208
  transform: scale(0);
209
209
  transition: all 0.2s ease-in-out;
210
210
  opacity: 0;
211
211
  visibility: hidden;
212
212
  }
213
213
 
214
- .fui-fab-hidden {
214
+ .up-fab-hidden {
215
215
  height: 0;
216
216
  width: 0;
217
217
  }
218
218
 
219
- .fui-fab-item-box {
219
+ .up-fab-item-box {
220
220
  display: flex;
221
221
  align-items: center;
222
222
  justify-content: flex-end;
223
223
  padding-bottom: 40rpx;
224
224
  }
225
225
 
226
- .fui-fab-item-left {
226
+ .up-fab-item-left {
227
227
  flex-flow: row-reverse;
228
228
  }
229
229
 
230
- .fui-fab-title {
230
+ .up-fab-title {
231
231
  width: 90%;
232
232
  text-align: center;
233
233
  white-space: nowrap;
@@ -235,19 +235,19 @@ export default {
235
235
  text-overflow: ellipsis;
236
236
  }
237
237
 
238
- .fui-text-left {
238
+ .up-text-left {
239
239
  padding-left: 28rpx;
240
240
  }
241
241
 
242
- .fui-text-right {
242
+ .up-text-right {
243
243
  padding-right: 28rpx;
244
244
  }
245
245
 
246
- .fui-fab-img {
246
+ .up-fab-img {
247
247
  display: block;
248
248
  }
249
249
 
250
- .fui-fab-item {
250
+ .up-fab-item {
251
251
  display: flex;
252
252
  align-items: center;
253
253
  justify-content: center;
@@ -255,15 +255,15 @@ export default {
255
255
  transition: all 0.2s linear;
256
256
  }
257
257
 
258
- .fui-radius {
258
+ .up-radius {
259
259
  border-radius: 50%;
260
260
  }
261
261
 
262
- .fui-active {
262
+ .up-active {
263
263
  transform: rotate(135deg);
264
264
  }
265
265
 
266
- .fui-fab-mask {
266
+ .up-fab-mask {
267
267
  position: fixed;
268
268
  top: 0;
269
269
  left: 0;
@@ -276,7 +276,7 @@ export default {
276
276
  visibility: hidden;
277
277
  }
278
278
 
279
- .fui-visible {
279
+ .up-visible {
280
280
  visibility: visible;
281
281
  opacity: 1;
282
282
  transform: scale(1);