@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.
- package/build/common_func.js +3 -1
- package/build/parse-create.js +17 -8
- package/build/parse-pages-pkg.js +10 -4
- package/empty-devtools.js +3 -0
- package/libs/aes.js +50 -0
- package/libs/bledefine/bledefine.js +51 -0
- package/libs/bledefine/ios-ble-statuscode.js +97 -0
- package/libs/nfc/hexiii-nfc.js +236 -0
- package/libs/nfc.js +179 -0
- package/libs/sdk/html2canvas.js +8 -0
- package/libs/sdk/sdk-h5.js +585 -0
- package/{plugins → libs}/storage2.js +0 -5
- package/{plugins → libs}/storage3.js +0 -4
- package/libs/validators/index.js +438 -0
- package/libs/weapp-qrcode.js +1108 -0
- package/package.json +2 -3
- package/ui-cv/components/cv-dialog-share/tui-share.vue +16 -16
- package/ui-cv/components/cv-mask-png/cv-mask-png.vue +27 -0
- package/ui-cv/components/cv-mask-svg/cv-mask-svg.vue +22 -0
- package/ui-cv/components/cv-mask-svg/mixins.js +131 -0
- package/ui-fireui/components/{fui-actionsheet/fui-actionsheet.vue → u-action-sheet/u-action-sheet.vue} +21 -21
- package/ui-fireui/components/{fui-alert/fui-alert.vue → u-alert/u-alert.vue} +13 -13
- package/ui-fireui/components/{fui-badge/fui-badge.vue → u-badge/u-badge.vue} +16 -16
- package/ui-fireui/components/{fui-bottom-navigation/fui-bottom-navigation.vue → u-bottom-navigation/u-bottom-navigation.vue} +47 -46
- package/ui-fireui/components/{fui-bottom-popup/fui-bottom-popup.vue → u-bottom-popup/u-bottom-popup.vue} +9 -8
- package/ui-fireui/components/{fui-bubble-popup/fui-bubble-popup.vue → u-bubble-popup/u-bubble-popup.vue} +19 -15
- package/ui-fireui/components/{fui-button/fui-button.vue → u-button/u-button.vue} +69 -69
- package/ui-fireui/components/u-button/u-button2.vue +553 -0
- package/ui-fireui/components/{fui-calendar/fui-calendar.vue → u-calendar/u-calendar.vue} +78 -78
- package/ui-fireui/components/u-calendar/u-calendar2.vue +801 -0
- package/ui-fireui/components/{fui-card/fui-card.vue → u-card/u-card.vue} +24 -24
- package/ui-fireui/components/{fui-cascade-selection/fui-cascade-selection.vue → u-cascade-selection/u-cascade-selection.vue} +32 -32
- package/ui-fireui/components/{fui-circular-progress/fui-circular-progress.vue → u-circular-progress/u-circular-progress.vue} +14 -6
- package/ui-fireui/components/{fui-collapse/fui-collapse.vue → u-collapse/u-collapse.vue} +19 -19
- package/ui-fireui/components/{fui-countdown/fui-countdown.vue → u-countdown/u-countdown.vue} +28 -28
- package/ui-fireui/components/{fui-datetime/fui-datetime.vue → u-datetime/u-datetime.vue} +51 -51
- package/ui-fireui/components/{fui-divider/fui-divider.vue → u-divider/u-divider.vue} +6 -6
- package/ui-fireui/components/{fui-drawer/fui-drawer.vue → u-drawer/u-drawer.vue} +11 -11
- package/ui-fireui/components/{fui-dropdown-list/fui-dropdown-list.vue → u-dropdown-list/u-dropdown-list.vue} +11 -6
- package/ui-fireui/components/{fui-fab/fui-fab.vue → u-fab/u-fab.vue} +30 -30
- package/ui-fireui/components/{fui-footer/fui-footer.vue → u-footer/u-footer.vue} +19 -15
- package/ui-fireui/components/{fui-grid/fui-grid.vue → u-grid/u-grid.vue} +13 -5
- package/ui-fireui/components/{fui-grid-item/fui-grid-item.vue → u-grid-item/u-grid-item.vue} +19 -19
- package/ui-fireui/components/{fui-icon/fui-icon.vue → u-icon/u-icon.vue} +191 -191
- package/ui-fireui/components/{fui-image-cropper/fui-image-cropper.vue → u-image-cropper/u-image-cropper.vue} +44 -44
- package/ui-fireui/components/{fui-image-group/fui-image-group.vue → u-image-group/u-image-group.vue} +7 -7
- package/ui-fireui/components/{fui-keyboard/fui-keyboard.vue → u-keyboard/u-keyboard.vue} +29 -32
- package/ui-fireui/components/{fui-keyboard-input/fui-keyboard-input.vue → u-keyboard-input/u-keyboard-input.vue} +9 -9
- package/ui-fireui/components/{fui-list-cell/fui-list-cell.vue → u-list-cell/u-list-cell.vue} +23 -23
- package/ui-fireui/components/{fui-list-view/fui-list-view.vue → u-list-view/u-list-view.vue} +11 -11
- package/ui-fireui/components/{fui-loading/fui-loading.vue → u-loading/u-loading.vue} +6 -6
- package/ui-fireui/components/{fui-loadmore/fui-loadmore.vue → u-loadmore/u-loadmore.vue} +15 -15
- package/ui-fireui/components/{fui-modal/fui-modal.vue → u-modal/u-modal.vue} +58 -58
- package/ui-fireui/components/{fui-navigation-bar/fui-navigation-bar.vue → u-navigation-bar/u-navigation-bar.vue} +11 -10
- package/ui-fireui/components/{fui-no-data/fui-no-data.vue → u-no-data/u-no-data.vue} +11 -11
- package/ui-fireui/components/{fui-nomore/fui-nomore.vue → u-nomore/u-nomore.vue} +10 -10
- package/ui-fireui/components/{fui-numberbox/fui-numberbox.vue → u-numberbox/u-numberbox.vue} +12 -12
- package/ui-fireui/components/{fui-numberbox-border/fui-numberbox-border.vue → u-numberbox-border/u-numberbox-border.vue} +10 -10
- package/ui-fireui/components/{fui-picture-cropper/fui-picture-cropper.vue → u-picture-cropper/u-picture-cropper.vue} +42 -42
- package/ui-fireui/components/u-picture-cropper/u-picture-cropper.wxs +582 -0
- package/ui-fireui/components/{fui-round-progress/fui-round-progress.vue → u-round-progress/u-round-progress.vue} +2 -2
- package/ui-fireui/components/{fui-scroll-top/fui-scroll-top.vue → u-scroll-top/u-scroll-top.vue} +21 -21
- package/ui-fireui/components/{fui-sharemodel/fui-sharemodel.vue → u-share-model/u-share-model.vue} +24 -24
- package/ui-fireui/components/{fui-skeleton/fui-skeleton.vue → u-skeleton/u-skeleton.vue} +22 -22
- package/ui-fireui/components/{fui-steps/fui-steps.vue → u-steps/u-steps.vue} +27 -27
- package/ui-fireui/components/{fui-sticky/fui-sticky.vue → u-sticky/u-sticky.vue} +4 -4
- package/ui-fireui/components/{fui-sticky-wxs/fui-sticky-wxs.vue → u-sticky-wxs/u-sticky-wxs.vue} +7 -7
- package/ui-fireui/components/u-sticky-wxs/u-sticky.wxs +46 -0
- package/ui-fireui/components/{fui-swipe-action/fui-swipe-action.vue → u-swipe-action/u-swipe-action.vue} +11 -11
- package/ui-fireui/components/{fui-tabbar/fui-tabbar.vue → u-tabbar/u-tabbar.vue} +26 -30
- package/ui-fireui/components/{fui-tabs/fui-tabs.vue → u-tabs/u-tabs.vue} +17 -17
- package/ui-fireui/components/{fui-tabs2/fui-tabs2.vue → u-tabs2/u-tabs2.vue} +17 -17
- package/ui-fireui/components/{fui-tag/fui-tag.vue → u-tag/u-tag.vue} +362 -374
- package/ui-fireui/components/{fui-time-axis/fui-time-axis.vue → u-time-axis/u-time-axis.vue} +3 -3
- package/ui-fireui/components/{fui-timeaxis-item/fui-timeaxis-item.vue → u-timeaxis-item/u-timeaxis-item.vue} +4 -4
- package/ui-fireui/components/{fui-tips/fui-tips.vue → u-tips/u-tips.vue} +20 -20
- package/ui-fireui/components/{fui-toast/fui-toast.vue → u-toast/u-toast.vue} +13 -13
- package/ui-fireui/components/{fui-top-dropdown/fui-top-dropdown.vue → u-top-dropdown/u-top-dropdown.vue} +8 -8
- package/ui-fireui/components/{fui-upload/fui-upload.vue → u-upload/u-upload.vue} +30 -30
- package/ui-fireui/components/u-upload2/u-upload.vue +464 -0
- package/ui-fireui/components/{fui-uploadsamll/fui-uploadsamll.vue → u-uploadsamll/u-uploadsamll.vue} +34 -34
- package/ui-fireui/css/thorui.css +589 -0
- package/ui-fireui/{fireui.css → index.css} +306 -268
- package/ui-fireui/nvue/u-circular-progress/gcanvas/bridge/bridge-weex.js +241 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/context-2d/FillStyleLinearGradient.js +18 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/context-2d/FillStylePattern.js +8 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/context-2d/FillStyleRadialGradient.js +17 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/context-2d/RenderingContext.js +666 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/ActiveInfo.js +11 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/Buffer.js +21 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/Framebuffer.js +21 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/GLenum.js +298 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/GLmethod.js +142 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/GLtype.js +23 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/Program.js +21 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/Renderbuffer.js +21 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/RenderingContext.js +1191 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/Shader.js +22 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/ShaderPrecisionFormat.js +11 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/Texture.js +22 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/UniformLocation.js +22 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/context-webgl/classUtils.js +3 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/env/canvas.js +74 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/env/image.js +96 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/env/tool.js +24 -0
- package/ui-fireui/nvue/u-circular-progress/gcanvas/index.js +47 -0
- package/ui-fireui/nvue/u-circular-progress/u-circular-progress.nvue +203 -0
- package/ui-fireui/nvue/u-icon/icons.js +188 -0
- package/ui-fireui/nvue/u-icon/u-icon.vue +78 -0
- package/uview-plus/components/u-grid/u-grid.vue +23 -1
- package/ui-fireui/components/fui-picture-cropper/fui-picture-cropper.wxs +0 -560
- package/ui-fireui/components/fui-rate/fui-rate.vue +0 -167
- package/ui-fireui/components/fui-sticky-wxs/fui-sticky.wxs +0 -44
- /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="
|
|
3
|
-
<view class="
|
|
4
|
-
<view class="
|
|
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="
|
|
6
|
+
class="up-content-top up-bg-transparent"
|
|
7
7
|
:style="{ height: cutY + 'px', transitionProperty: cutAnimation ? '' : 'background' }"
|
|
8
8
|
></view>
|
|
9
|
-
<view class="
|
|
9
|
+
<view class="up-content-middle" :style="{ height: canvasHeight + 'px' }">
|
|
10
10
|
<view
|
|
11
|
-
class="
|
|
11
|
+
class="up-bg-transparent"
|
|
12
12
|
:style="{ width: cutX + 'px', transitionProperty: cutAnimation ? '' : 'background' }"
|
|
13
13
|
></view>
|
|
14
14
|
<view
|
|
15
|
-
class="
|
|
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="
|
|
27
|
-
:class="[`
|
|
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="
|
|
40
|
+
<view class="up-flex-auto up-bg-transparent" :style="{ transitionProperty: cutAnimation ? '' : 'background' }"></view>
|
|
41
41
|
</view>
|
|
42
|
-
<view class="
|
|
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="
|
|
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="
|
|
64
|
-
id="
|
|
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="
|
|
67
|
+
class="up-cropper-canvas"
|
|
68
68
|
></canvas>
|
|
69
|
-
<view class="
|
|
70
|
-
<view class="
|
|
71
|
-
<image :src="rotateImg" class="
|
|
72
|
-
<view class="
|
|
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('
|
|
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: '
|
|
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: '
|
|
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
|
-
.
|
|
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
|
-
.
|
|
929
|
+
.up-image-cropper {
|
|
930
930
|
width: 100vw;
|
|
931
931
|
height: 100vh;
|
|
932
932
|
position: absolute;
|
|
933
933
|
}
|
|
934
934
|
|
|
935
|
-
.
|
|
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
|
-
.
|
|
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
|
-
.
|
|
950
|
+
.up-content-top {
|
|
951
951
|
pointer-events: none;
|
|
952
952
|
}
|
|
953
953
|
|
|
954
|
-
.
|
|
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
|
-
.
|
|
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
|
-
.
|
|
969
|
+
.up-flex-auto {
|
|
970
970
|
flex: auto;
|
|
971
971
|
}
|
|
972
972
|
|
|
973
|
-
.
|
|
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
|
-
.
|
|
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
|
-
.
|
|
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
|
-
.
|
|
1000
|
+
.up-top-left {
|
|
1001
1001
|
border-bottom-width: 0 !important;
|
|
1002
1002
|
border-right-width: 0 !important;
|
|
1003
1003
|
}
|
|
1004
1004
|
|
|
1005
|
-
.
|
|
1005
|
+
.up-top-right {
|
|
1006
1006
|
border-bottom-width: 0 !important;
|
|
1007
1007
|
border-left-width: 0 !important;
|
|
1008
1008
|
}
|
|
1009
1009
|
|
|
1010
|
-
.
|
|
1010
|
+
.up-bottom-left {
|
|
1011
1011
|
border-top-width: 0 !important;
|
|
1012
1012
|
border-right-width: 0 !important;
|
|
1013
1013
|
}
|
|
1014
1014
|
|
|
1015
|
-
.
|
|
1015
|
+
.up-bottom-right {
|
|
1016
1016
|
border-top-width: 0 !important;
|
|
1017
1017
|
border-left-width: 0 !important;
|
|
1018
1018
|
}
|
|
1019
1019
|
|
|
1020
|
-
.
|
|
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
|
-
.
|
|
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
|
-
.
|
|
1048
|
+
.up-op-btn {
|
|
1049
1049
|
height: 80rpx;
|
|
1050
1050
|
display: flex;
|
|
1051
1051
|
align-items: center;
|
|
1052
1052
|
}
|
|
1053
1053
|
|
|
1054
|
-
.
|
|
1054
|
+
.up-rotate-img {
|
|
1055
1055
|
width: 44rpx;
|
|
1056
1056
|
height: 44rpx;
|
|
1057
1057
|
}
|
package/ui-fireui/components/{fui-image-group/fui-image-group.vue → u-image-group/u-image-group.vue}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<view class="
|
|
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="
|
|
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="
|
|
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
|
-
.
|
|
134
|
+
.up-image-container {
|
|
135
135
|
display: inline-flex;
|
|
136
136
|
align-items: center;
|
|
137
137
|
}
|
|
138
|
-
.
|
|
138
|
+
.up-image-direction {
|
|
139
139
|
flex-direction: column;
|
|
140
140
|
}
|
|
141
|
-
.
|
|
141
|
+
.up-image-item_box {
|
|
142
142
|
position: relative;
|
|
143
143
|
}
|
|
144
|
-
.
|
|
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="
|
|
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="
|
|
10
|
-
<!--{{(index==9 || index==10 || index==11)?'
|
|
6
|
+
<view class="up-keyboard-grids">
|
|
7
|
+
<!--{{(index==9 || index==10 || index==11)?'up-grid-bottom':''}}-->
|
|
11
8
|
<view
|
|
12
|
-
class="
|
|
13
|
-
:class="{ '
|
|
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="
|
|
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="
|
|
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="
|
|
25
|
-
<view class="
|
|
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
|
-
.
|
|
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
|
-
.
|
|
109
|
+
.up-keyboard-delete:before {
|
|
113
110
|
content: '\e7b8';
|
|
114
111
|
}
|
|
115
112
|
|
|
116
|
-
.
|
|
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
|
-
.
|
|
126
|
+
.up-mask-show {
|
|
130
127
|
opacity: 1;
|
|
131
128
|
visibility: visible;
|
|
132
129
|
}
|
|
133
130
|
|
|
134
|
-
.
|
|
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
|
-
.
|
|
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
|
-
.
|
|
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
|
-
.
|
|
155
|
+
.up-keyboard-show {
|
|
159
156
|
transform: translate3d(0, 0, 0);
|
|
160
157
|
visibility: visible;
|
|
161
158
|
}
|
|
162
159
|
|
|
163
|
-
.
|
|
160
|
+
.up-bg-gray {
|
|
164
161
|
background-color: #e7e6eb !important;
|
|
165
162
|
}
|
|
166
163
|
|
|
167
|
-
.
|
|
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
|
-
.
|
|
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
|
-
.
|
|
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
|
-
.
|
|
196
|
+
.up-keyboard-grid:nth-of-type(3n)::before {
|
|
200
197
|
width: 0;
|
|
201
198
|
border-right: 0;
|
|
202
199
|
}
|
|
203
200
|
|
|
204
|
-
.
|
|
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
|
-
.
|
|
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
|
-
.
|
|
229
|
+
.up-grid-bottom::after {
|
|
233
230
|
height: 0 !important;
|
|
234
231
|
border-bottom: 0 !important;
|
|
235
232
|
}
|
|
236
233
|
|
|
237
|
-
.
|
|
234
|
+
.up-keyboard-hover {
|
|
238
235
|
background-color: #f7f7f9 !important;
|
|
239
236
|
}
|
|
240
237
|
|
|
241
|
-
.
|
|
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
|
-
.
|
|
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="
|
|
3
|
-
<view class="
|
|
2
|
+
<view class="up-keyboard-input up-pwd-box" :style="{ backgroundColor: backgroundColor }">
|
|
3
|
+
<view class="up-inner-box">
|
|
4
4
|
<view
|
|
5
|
-
class="
|
|
6
|
-
:class="[inputvalue.length === 4 ? '
|
|
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
|
-
.
|
|
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
|
-
.
|
|
55
|
+
.up-inner-box {
|
|
56
56
|
display: flex;
|
|
57
57
|
align-items: center;
|
|
58
58
|
justify-content: center;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
.
|
|
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
|
-
.
|
|
71
|
+
.up-margin-right {
|
|
72
72
|
margin-right: 30rpx;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
.
|
|
75
|
+
.up-input:last-child {
|
|
76
76
|
margin-right: 0 !important;
|
|
77
77
|
}
|
|
78
78
|
</style>
|
package/ui-fireui/components/{fui-list-cell/fui-list-cell.vue → u-list-cell/u-list-cell.vue}
RENAMED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<view
|
|
3
|
-
class="
|
|
3
|
+
class="up-list-class up-list-cell"
|
|
4
4
|
:class="[
|
|
5
|
-
arrow ? '
|
|
6
|
-
arrow && arrowRight ? '' : '
|
|
7
|
-
unlined ? '
|
|
8
|
-
lineLeft ? '
|
|
9
|
-
lineRight ? '
|
|
10
|
-
arrow && arrowColor ? '
|
|
11
|
-
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 ? '
|
|
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
|
-
.
|
|
101
|
+
.up-list-cell {
|
|
102
102
|
position: relative;
|
|
103
103
|
width: 100%;
|
|
104
104
|
box-sizing: border-box;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
.
|
|
107
|
+
.up-radius {
|
|
108
108
|
border-radius: 6rpx;
|
|
109
109
|
overflow: hidden;
|
|
110
110
|
}
|
|
111
111
|
|
|
112
|
-
.
|
|
112
|
+
.up-cell-hover {
|
|
113
113
|
background-color: #f1f1f1 !important;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
.
|
|
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
|
-
.
|
|
128
|
+
.up-line-left::after {
|
|
129
129
|
left: 30rpx !important;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
.
|
|
132
|
+
.up-line-right::after {
|
|
133
133
|
right: 30rpx !important;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
.
|
|
136
|
+
.up-cell-unlined::after {
|
|
137
137
|
border-bottom: 0 !important;
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
.
|
|
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
|
-
.
|
|
155
|
+
.up-arrow-right::before {
|
|
156
156
|
right: 0 !important;
|
|
157
157
|
}
|
|
158
158
|
|
|
159
|
-
.
|
|
159
|
+
.up-arrow-gray::before {
|
|
160
160
|
border-color: #666666 !important;
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
.
|
|
163
|
+
.up-arrow-white::before {
|
|
164
164
|
border-color: #ffffff !important;
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
.
|
|
167
|
+
.up-arrow-warning::before {
|
|
168
168
|
border-color: #ff7900 !important;
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
-
.
|
|
171
|
+
.up-arrow-success::before {
|
|
172
172
|
border-color: #19be6b !important;
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
.
|
|
175
|
+
.up-arrow-danger::before {
|
|
176
176
|
border-color: #eb0909 !important;
|
|
177
177
|
}
|
|
178
178
|
</style>
|