@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,7 +1,7 @@
1
1
  <template>
2
- <view class="fui-list-view fui-view-class" :style="{ backgroundColor: backgroundColor }">
3
- <view class="fui-list-title" v-if="title">{{ title }}</view>
4
- <view class="fui-list-content" :class="[unlined ? 'fui-border-' + unlined : '']">
2
+ <view class="up-list-view up-view-class" :style="{ backgroundColor: backgroundColor }">
3
+ <view class="up-list-title" v-if="title">{{ title }}</view>
4
+ <view class="up-list-content" :class="[unlined ? 'up-border-' + unlined : '']">
5
5
  <slot></slot>
6
6
  </view>
7
7
  </view>
@@ -28,7 +28,7 @@ export default {
28
28
  </script>
29
29
 
30
30
  <style scoped>
31
- .fui-list-title {
31
+ .up-list-title {
32
32
  width: 100%;
33
33
  padding: 30rpx;
34
34
  box-sizing: border-box;
@@ -37,12 +37,12 @@ export default {
37
37
  color: #666;
38
38
  }
39
39
 
40
- .fui-list-content {
40
+ .up-list-content {
41
41
  width: 100%;
42
42
  position: relative;
43
43
  }
44
44
 
45
- .fui-list-content::before {
45
+ .up-list-content::before {
46
46
  content: ' ';
47
47
  position: absolute;
48
48
  top: 0;
@@ -56,7 +56,7 @@ export default {
56
56
  pointer-events: none;
57
57
  }
58
58
 
59
- .fui-list-content::after {
59
+ .up-list-content::after {
60
60
  content: '';
61
61
  width: 100%;
62
62
  position: absolute;
@@ -69,19 +69,19 @@ export default {
69
69
  left: 0;
70
70
  }
71
71
 
72
- .fui-border-top::before {
72
+ .up-border-top::before {
73
73
  border-top: 0;
74
74
  }
75
75
 
76
- .fui-border-bottom::after {
76
+ .up-border-bottom::after {
77
77
  border-bottom: 0;
78
78
  }
79
79
 
80
- .fui-border-all::after {
80
+ .up-border-all::after {
81
81
  border-bottom: 0;
82
82
  }
83
83
 
84
- .fui-border-all::before {
84
+ .up-border-all::before {
85
85
  border-top: 0;
86
86
  }
87
87
  </style>
@@ -1,7 +1,7 @@
1
1
  <template>
2
- <view class="fui-loading-init">
3
- <view class="fui-loading-center"></view>
4
- <view class="fui-loadmore-tips">{{ text }}</view>
2
+ <view class="up-loading-init">
3
+ <view class="up-loading-center"></view>
4
+ <view class="up-loadmore-tips">{{ text }}</view>
5
5
  </view>
6
6
  </template>
7
7
 
@@ -18,7 +18,7 @@ export default {
18
18
  </script>
19
19
 
20
20
  <style scoped>
21
- .fui-loading-init {
21
+ .up-loading-init {
22
22
  min-width: 200rpx;
23
23
  min-height: 200rpx;
24
24
  max-width: 500rpx;
@@ -37,7 +37,7 @@ export default {
37
37
  border-radius: 10rpx;
38
38
  }
39
39
 
40
- .fui-loading-center {
40
+ .up-loading-center {
41
41
  width: 50rpx;
42
42
  height: 50rpx;
43
43
  border: 3px solid #fff;
@@ -50,7 +50,7 @@ export default {
50
50
  margin-bottom: 36rpx;
51
51
  }
52
52
 
53
- .fui-loadmore-tips {
53
+ .up-loadmore-tips {
54
54
  text-align: center;
55
55
  padding: 0 20rpx;
56
56
  box-sizing: border-box;
@@ -1,7 +1,7 @@
1
1
  <template>
2
- <view class="fui-loadmore">
3
- <view :class="['fui-loading-' + index, index == 3 && type ? 'fui-loading-' + type : '']"></view>
4
- <view class="fui-loadmore-tips">{{ text }}</view>
2
+ <view class="up-loadmore">
3
+ <view :class="['up-loading-' + index, index == 3 && type ? 'up-loading-' + type : '']"></view>
4
+ <view class="up-loadmore-tips">{{ text }}</view>
5
5
  </view>
6
6
  </template>
7
7
 
@@ -29,7 +29,7 @@ export default {
29
29
  </script>
30
30
 
31
31
  <style scoped>
32
- .fui-loadmore {
32
+ .up-loadmore {
33
33
  width: 48%;
34
34
  margin: 1.5em auto;
35
35
  line-height: 1.5em;
@@ -37,7 +37,7 @@ export default {
37
37
  text-align: center;
38
38
  }
39
39
 
40
- .fui-loading-1 {
40
+ .up-loading-1 {
41
41
  margin: 0 5px;
42
42
  width: 20px;
43
43
  height: 20px;
@@ -75,12 +75,12 @@ export default {
75
75
  }
76
76
  }
77
77
 
78
- .fui-loadmore-tips {
78
+ .up-loadmore-tips {
79
79
  display: inline-block;
80
80
  vertical-align: middle;
81
81
  }
82
82
 
83
- .fui-loading-2 {
83
+ .up-loading-2 {
84
84
  width: 28rpx;
85
85
  height: 28rpx;
86
86
  border: 1px solid #8f8d8e;
@@ -112,7 +112,7 @@ export default {
112
112
  }
113
113
  }
114
114
 
115
- .fui-loading-3 {
115
+ .up-loading-3 {
116
116
  display: inline-block;
117
117
  margin: 0 6px;
118
118
  vertical-align: middle;
@@ -122,26 +122,26 @@ export default {
122
122
  border-radius: 50%;
123
123
  border: 2px solid;
124
124
  border-color: #e5e5e5 #e5e5e5 #e5e5e5 #8f8d8e;
125
- animation: fui-rotate 0.7s linear infinite;
125
+ animation: up-rotate 0.7s linear infinite;
126
126
  }
127
127
 
128
- .fui-loading-3.fui-loading-primary {
128
+ .up-loading-3.up-loading-primary {
129
129
  border-color: #e5e5e5 #e5e5e5 #e5e5e5 #5677fc;
130
130
  }
131
131
 
132
- .fui-loading-3.fui-loading-green {
132
+ .up-loading-3.up-loading-green {
133
133
  border-color: #e5e5e5 #e5e5e5 #e5e5e5 #19be6b;
134
134
  }
135
135
 
136
- .fui-loading-3.fui-loading-orange {
136
+ .up-loading-3.up-loading-orange {
137
137
  border-color: #e5e5e5 #e5e5e5 #e5e5e5 #ff7900;
138
138
  }
139
139
 
140
- .fui-loading-3.fui-loading-red {
140
+ .up-loading-3.up-loading-red {
141
141
  border-color: #ededed #ededed #ededed #ed3f14;
142
142
  }
143
143
 
144
- @-webkit-keyframes fui-rotate {
144
+ @-webkit-keyframes up-rotate {
145
145
  0% {
146
146
  transform: rotate(0);
147
147
  }
@@ -151,7 +151,7 @@ export default {
151
151
  }
152
152
  }
153
153
 
154
- @keyframes fui-rotate {
154
+ @keyframes up-rotate {
155
155
  0% {
156
156
  transform: rotate(0);
157
157
  }
@@ -1,26 +1,26 @@
1
1
  <template>
2
2
  <view @touchmove.stop.prevent>
3
3
  <view
4
- class="fui-modal-box"
4
+ class="up-modal-box"
5
5
  :style="{ width: width, padding: padding, borderRadius: radius }"
6
- :class="[fadeIn || show ? 'fui-modal-normal' : 'fui-modal-scale', show ? 'fui-modal-show' : '']"
6
+ :class="[fadeIn || show ? 'up-modal-normal' : 'up-modal-scale', show ? 'up-modal-show' : '']"
7
7
  >
8
8
  <view v-if="!custom">
9
- <view class="fui-modal-title" v-if="title">{{ title }}</view>
10
- <view class="fui-modal-content" :class="[title ? '' : 'fui-mtop']" :style="{ color: color, fontSize: size + 'rpx' }">
9
+ <view class="up-modal-title" v-if="title">{{ title }}</view>
10
+ <view class="up-modal-content" :class="[title ? '' : 'up-mtop']" :style="{ color: color, fontSize: size + 'rpx' }">
11
11
  {{ content }}
12
12
  </view>
13
- <view class="fui-modalBtn-box" :class="[button.length != 2 ? 'fui-flex-column' : '']">
13
+ <view class="up-modalBtn-box" :class="[button.length != 2 ? 'up-flex-column' : '']">
14
14
  <block v-for="(item, index) in button" :key="index">
15
15
  <button
16
- class="fui-modal-btn"
16
+ class="up-modal-btn"
17
17
  :class="[
18
- 'fui-' + (item.type || 'primary') + (item.plain ? '-outline' : ''),
19
- button.length != 2 ? 'fui-btn-width' : '',
20
- button.length > 2 ? 'fui-mbtm' : '',
21
- shape == 'circle' ? 'fui-circle-btn' : ''
18
+ 'up-' + (item.type || 'primary') + (item.plain ? '-outline' : ''),
19
+ button.length != 2 ? 'up-btn-width' : '',
20
+ button.length > 2 ? 'up-mbtm' : '',
21
+ shape == 'circle' ? 'up-circle-btn' : ''
22
22
  ]"
23
- :hover-class="'fui-' + (item.plain ? 'outline' : item.type || 'primary') + '-hover'"
23
+ :hover-class="'up-' + (item.plain ? 'outline' : item.type || 'primary') + '-hover'"
24
24
  :data-index="index"
25
25
  @tap="handleClick"
26
26
  >
@@ -33,7 +33,7 @@
33
33
  <slot></slot>
34
34
  </view>
35
35
  </view>
36
- <view class="fui-modal-mask" :class="[show ? 'fui-mask-show' : '']" @tap="handleClickCancel"></view>
36
+ <view class="up-modal-mask" :class="[show ? 'up-mask-show' : '']" @tap="handleClickCancel"></view>
37
37
  </view>
38
38
  </template>
39
39
 
@@ -136,7 +136,7 @@ export default {
136
136
  </script>
137
137
 
138
138
  <style scoped>
139
- .fui-modal-box {
139
+ .up-modal-box {
140
140
  position: fixed;
141
141
  left: 50%;
142
142
  top: 50%;
@@ -149,20 +149,20 @@ export default {
149
149
  visibility: hidden;
150
150
  }
151
151
 
152
- .fui-modal-scale {
152
+ .up-modal-scale {
153
153
  transform: translate(-50%, -50%) scale(0);
154
154
  }
155
155
 
156
- .fui-modal-normal {
156
+ .up-modal-normal {
157
157
  transform: translate(-50%, -50%) scale(1);
158
158
  }
159
159
 
160
- .fui-modal-show {
160
+ .up-modal-show {
161
161
  opacity: 1;
162
162
  visibility: visible;
163
163
  }
164
164
 
165
- .fui-modal-mask {
165
+ .up-modal-mask {
166
166
  position: fixed;
167
167
  top: 0;
168
168
  left: 0;
@@ -175,12 +175,12 @@ export default {
175
175
  visibility: hidden;
176
176
  }
177
177
 
178
- .fui-mask-show {
178
+ .up-mask-show {
179
179
  visibility: visible;
180
180
  opacity: 1;
181
181
  }
182
182
 
183
- .fui-modal-title {
183
+ .up-modal-title {
184
184
  text-align: center;
185
185
  font-size: 34rpx;
186
186
  color: #333;
@@ -188,7 +188,7 @@ export default {
188
188
  font-weight: bold;
189
189
  }
190
190
 
191
- .fui-modal-content {
191
+ .up-modal-content {
192
192
  text-align: center;
193
193
  color: #999;
194
194
  font-size: 28rpx;
@@ -196,26 +196,26 @@ export default {
196
196
  padding-bottom: 60rpx;
197
197
  }
198
198
 
199
- .fui-mtop {
199
+ .up-mtop {
200
200
  margin-top: 30rpx;
201
201
  }
202
202
 
203
- .fui-mbtm {
203
+ .up-mbtm {
204
204
  margin-bottom: 30rpx;
205
205
  }
206
206
 
207
- .fui-modalBtn-box {
207
+ .up-modalBtn-box {
208
208
  width: 100%;
209
209
  display: flex;
210
210
  align-items: center;
211
211
  justify-content: space-between;
212
212
  }
213
213
 
214
- .fui-flex-column {
214
+ .up-flex-column {
215
215
  flex-direction: column;
216
216
  }
217
217
 
218
- .fui-modal-btn {
218
+ .up-modal-btn {
219
219
  width: 46%;
220
220
  height: 68rpx;
221
221
  line-height: 68rpx;
@@ -227,7 +227,7 @@ export default {
227
227
  margin-right: 0;
228
228
  }
229
229
 
230
- .fui-modal-btn::after {
230
+ .up-modal-btn::after {
231
231
  content: ' ';
232
232
  position: absolute;
233
233
  width: 200%;
@@ -241,152 +241,152 @@ export default {
241
241
  border-radius: 20rpx;
242
242
  }
243
243
 
244
- .fui-btn-width {
244
+ .up-btn-width {
245
245
  width: 80% !important;
246
246
  }
247
247
 
248
- .fui-primary {
248
+ .up-primary {
249
249
  background: #5677fc;
250
250
  color: #fff;
251
251
  }
252
252
 
253
- .fui-primary-hover {
253
+ .up-primary-hover {
254
254
  background: #4a67d6;
255
255
  color: #e5e5e5;
256
256
  }
257
257
 
258
- .fui-primary-outline {
258
+ .up-primary-outline {
259
259
  color: #5677fc;
260
260
  background: transparent;
261
261
  }
262
262
 
263
- .fui-primary-outline::after {
263
+ .up-primary-outline::after {
264
264
  border: 1px solid #5677fc;
265
265
  }
266
266
 
267
- .fui-danger {
267
+ .up-danger {
268
268
  background: #4fb49b;
269
269
  color: #fff;
270
270
  }
271
271
 
272
- .fui-danger-hover {
272
+ .up-danger-hover {
273
273
  background: #d53912;
274
274
  color: #e5e5e5;
275
275
  }
276
276
 
277
- .fui-danger-outline {
277
+ .up-danger-outline {
278
278
  color: #4fb49b;
279
279
  background: transparent;
280
280
  }
281
281
 
282
- .fui-danger-outline::after {
282
+ .up-danger-outline::after {
283
283
  border: 1px solid #4fb49b;
284
284
  }
285
285
 
286
- .fui-red {
286
+ .up-red {
287
287
  background: #4fb49b;
288
288
  color: #fff;
289
289
  }
290
290
 
291
- .fui-red-hover {
291
+ .up-red-hover {
292
292
  background: #4fb49b;
293
293
  color: #e5e5e5;
294
294
  }
295
295
 
296
- .fui-red-outline {
296
+ .up-red-outline {
297
297
  color: #4fb49b;
298
298
  background: transparent;
299
299
  }
300
300
 
301
- .fui-red-outline::after {
301
+ .up-red-outline::after {
302
302
  border: 1px solid #4fb49b;
303
303
  }
304
304
 
305
- .fui-warning {
305
+ .up-warning {
306
306
  background: #ff7900;
307
307
  color: #fff;
308
308
  }
309
309
 
310
- .fui-warning-hover {
310
+ .up-warning-hover {
311
311
  background: #e56d00;
312
312
  color: #e5e5e5;
313
313
  }
314
314
 
315
- .fui-warning-outline {
315
+ .up-warning-outline {
316
316
  color: #ff7900;
317
317
  background: transparent;
318
318
  }
319
319
 
320
- .fui-warning-outline::after {
320
+ .up-warning-outline::after {
321
321
  border: 1px solid #ff7900;
322
322
  }
323
323
 
324
- .fui-green {
324
+ .up-green {
325
325
  background: #19be6b;
326
326
  color: #fff;
327
327
  }
328
328
 
329
- .fui-green-hover {
329
+ .up-green-hover {
330
330
  background: #16ab60;
331
331
  color: #e5e5e5;
332
332
  }
333
333
 
334
- .fui-green-outline {
334
+ .up-green-outline {
335
335
  color: #19be6b;
336
336
  background: transparent;
337
337
  }
338
338
 
339
- .fui-green-outline::after {
339
+ .up-green-outline::after {
340
340
  border: 1px solid #19be6b;
341
341
  }
342
342
 
343
- .fui-white {
343
+ .up-white {
344
344
  background: #fff;
345
345
  color: #333;
346
346
  }
347
347
 
348
- .fui-white-hover {
348
+ .up-white-hover {
349
349
  background: #f7f7f9;
350
350
  color: #666;
351
351
  }
352
352
 
353
- .fui-white-outline {
353
+ .up-white-outline {
354
354
  color: #333;
355
355
  background: transparent;
356
356
  }
357
357
 
358
- .fui-white-outline::after {
358
+ .up-white-outline::after {
359
359
  border: 1px solid #333;
360
360
  }
361
361
 
362
- .fui-gray {
362
+ .up-gray {
363
363
  background: #ededed;
364
364
  color: #999;
365
365
  }
366
366
 
367
- .fui-gray-hover {
367
+ .up-gray-hover {
368
368
  background: #d5d5d5;
369
369
  color: #898989;
370
370
  }
371
371
 
372
- .fui-gray-outline {
372
+ .up-gray-outline {
373
373
  color: #999;
374
374
  background: transparent;
375
375
  }
376
376
 
377
- .fui-gray-outline::after {
377
+ .up-gray-outline::after {
378
378
  border: 1px solid #999;
379
379
  }
380
380
 
381
- .fui-outline-hover {
381
+ .up-outline-hover {
382
382
  opacity: 0.6;
383
383
  }
384
384
 
385
- .fui-circle-btn {
385
+ .up-circle-btn {
386
386
  border-radius: 40rpx !important;
387
387
  }
388
388
 
389
- .fui-circle-btn::after {
389
+ .up-circle-btn::after {
390
390
  border-radius: 80rpx !important;
391
391
  }
392
392
  </style>
@@ -1,12 +1,12 @@
1
1
  <template>
2
2
  <view
3
- class="fui-navigation-bar"
4
- :class="{ 'fui-bar-line': opcity > 0.85 && splitLine, 'fui-navbar-fixed': isFixed }"
3
+ class="up-navigation-bar"
4
+ :class="{ 'up-bar-line': opcity > 0.85 && splitLine, 'up-navbar-fixed': isFixed }"
5
5
  :style="{ height: height + 'px', backgroundColor: `rgba(${backgroundColor},${opcity})` }"
6
6
  >
7
- <view class="fui-status-bar" :style="{ height: statusBarHeight + 'px' }" v-if="isImmersive"></view>
7
+ <view class="up-status-bar" :style="{ height: statusBarHeight + 'px' }" v-if="isImmersive"></view>
8
8
  <view
9
- class="fui-navigation_bar-title"
9
+ class="up-navigation_bar-title"
10
10
  :style="{ opacity: opcity, color: color, paddingTop: top - statusBarHeight + 'px' }"
11
11
  v-if="title && !isCustom"
12
12
  >
@@ -86,7 +86,7 @@ export default {
86
86
  left: 375, //小程序端 左侧距胶囊按钮距离
87
87
  height: 44, //header高度
88
88
  top: 0,
89
- scrollH: 1, //滚动总高度,计算opcity
89
+ scrollH: 1,//0 //滚动总高度,计算opcity
90
90
  opcity: 0, //0-1
91
91
  statusBarHeight: 0 //状态栏高度
92
92
  };
@@ -128,6 +128,7 @@ export default {
128
128
  methods: {
129
129
  opcityChange() {
130
130
  let scroll = this.scrollTop <= 1 ? 0 : this.scrollTop;
131
+ // let scroll = this.scrollTop <= 0 ? 0 : this.scrollTop;
131
132
  let opcity = scroll / this.scrollH;
132
133
  if ((this.opcity >= 1 && opcity >= 1) || (this.opcity == 0 && opcity == 0)) {
133
134
  return;
@@ -142,19 +143,19 @@ export default {
142
143
  </script>
143
144
 
144
145
  <style scoped>
145
- .fui-navigation-bar {
146
+ .up-navigation-bar {
146
147
  width: 100%;
147
148
  }
148
- .fui-navbar-fixed {
149
+ .up-navbar-fixed {
149
150
  position: fixed;
150
151
  left: 0;
151
152
  top: 0;
152
153
  z-index: 9998;
153
154
  }
154
- .fui-status-bar {
155
+ .up-status-bar {
155
156
  width: 100%;
156
157
  }
157
- .fui-navigation_bar-title {
158
+ .up-navigation_bar-title {
158
159
  width: 100%;
159
160
  font-size: 17px;
160
161
  line-height: 17px;
@@ -167,7 +168,7 @@ export default {
167
168
  justify-content: center;
168
169
  }
169
170
 
170
- .fui-bar-line::after {
171
+ .up-bar-line::after {
171
172
  content: '';
172
173
  position: absolute;
173
174
  border-bottom: 1rpx solid #eaeef1;
@@ -1,17 +1,17 @@
1
1
  <template>
2
- <view class="fui-nodata-box" :class="[fixed ? 'fui-nodata-fixed' : '']">
2
+ <view class="up-nodata-box" :class="[fixed ? 'up-nodata-fixed' : '']">
3
3
  <image
4
4
  v-if="imgUrl"
5
5
  :src="imgUrl"
6
- class="fui-tips-icon"
6
+ class="up-tips-icon"
7
7
  :style="{ width: imgWidth + 'rpx', height: imgHeight + 'rpx' }"
8
8
  ></image>
9
- <view class="fui-tips-content">
9
+ <view class="up-tips-content">
10
10
  <slot></slot>
11
11
  </view>
12
12
  <button
13
- class="fui-tips-btn"
14
- hover-class="fui-tips-btn-hover"
13
+ class="up-tips-btn"
14
+ hover-class="up-tips-btn-hover"
15
15
  :style="{ width: btnWidth + 'rpx' }"
16
16
  v-if="btnText"
17
17
  @tap="handleClick"
@@ -65,14 +65,14 @@ export default {
65
65
  </script>
66
66
 
67
67
  <style scoped>
68
- .fui-nodata-box {
68
+ .up-nodata-box {
69
69
  display: flex;
70
70
  flex-direction: column;
71
71
  justify-content: center;
72
72
  align-items: center;
73
73
  }
74
74
 
75
- .fui-nodata-fixed {
75
+ .up-nodata-fixed {
76
76
  width: 90%;
77
77
  position: fixed;
78
78
  left: 50%;
@@ -81,7 +81,7 @@ export default {
81
81
  transform: translate(-50%, -50%);
82
82
  }
83
83
 
84
- .fui-tips-icon {
84
+ .up-tips-icon {
85
85
  display: block;
86
86
  flex-shrink: 0;
87
87
  width: 280rpx;
@@ -89,7 +89,7 @@ export default {
89
89
  margin-bottom: 40rpx;
90
90
  }
91
91
 
92
- .fui-tips-content {
92
+ .up-tips-content {
93
93
  text-align: center;
94
94
  color: #666666;
95
95
  font-size: 28rpx;
@@ -99,7 +99,7 @@ export default {
99
99
  word-wrap: break-word;
100
100
  }
101
101
 
102
- .fui-tips-btn {
102
+ .up-tips-btn {
103
103
  height: 60rpx;
104
104
  line-height: 60rpx;
105
105
  font-size: 28rpx;
@@ -109,7 +109,7 @@ export default {
109
109
  margin: 0;
110
110
  }
111
111
 
112
- .fui-tips-btn-hover {
112
+ .up-tips-btn-hover {
113
113
  background-color: #c80808;
114
114
  color: #e5e5e5;
115
115
  }