@10yun/cv-mobile-ui 0.5.33 → 0.5.34
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/package.json +2 -1
- package/uview-plus/components/u-app-update/u-app-update.vue +108 -110
- package/uview-plus/components/u-button/style.scss +2 -3
- package/uview-plus/components/u-button-wu/style.scss +203 -0
- package/uview-plus/components/u-button-wu/u-button-wu.vue +2 -204
- package/uview-plus/components/u-image-wu/u-image-wu.vue +3 -3
- package/uview-plus/components/u-navbar-wu/style.scss +59 -0
- package/uview-plus/components/u-navbar-wu/u-navbar-wu.vue +1 -60
- package/uview-plus/components/u-popup-wu/style.css +73 -0
- package/uview-plus/components/u-popup-wu/u-popup-wu.vue +1 -74
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@10yun/cv-mobile-ui",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.34",
|
|
4
4
|
"description": "十云cvjs移动端ui,适用uniapp",
|
|
5
5
|
"author": "10yun",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"scripts": {},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"clipboard": "^2.0.11",
|
|
18
|
+
"crypto-js": "^4.2.0",
|
|
18
19
|
"dayjs": "^1.11.13"
|
|
19
20
|
},
|
|
20
21
|
"browserslist": [
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
<!-- 版本提示 -->
|
|
15
15
|
<view class="version" :style="{ color: versionColor }">v{{ version }}</view>
|
|
16
16
|
<!-- 背景 -->
|
|
17
|
-
<image class="backgroundImg" width="100%" height="100%" src="
|
|
17
|
+
<image class="backgroundImg" width="100%" height="100%" src="./img/appUploadAlertBoxBg.png"></image>
|
|
18
18
|
<!-- 更新详细信息 -->
|
|
19
19
|
<view class="info center">
|
|
20
20
|
<text class="title" :style="{ color: titleColor }">{{ title }}</text>
|
|
@@ -113,8 +113,8 @@
|
|
|
113
113
|
* @property {Number} intervalAlertUserUpdateDay 提示用户更新的间隔时间 单位day(默认: 7)。
|
|
114
114
|
* @example
|
|
115
115
|
*/
|
|
116
|
-
import config from '
|
|
117
|
-
import checkVersion from '
|
|
116
|
+
import config from './config.js';
|
|
117
|
+
import checkVersion from './js-sdk/checkVersion.js';
|
|
118
118
|
|
|
119
119
|
export default {
|
|
120
120
|
name: 'wuAppUpdata',
|
|
@@ -456,128 +456,126 @@ export default {
|
|
|
456
456
|
};
|
|
457
457
|
</script>
|
|
458
458
|
|
|
459
|
-
<style
|
|
460
|
-
.u-app-update-box {
|
|
461
|
-
:
|
|
462
|
-
|
|
463
|
-
}
|
|
459
|
+
<style scoped>
|
|
460
|
+
.u-app-update-box :deep(.uni-popup) {
|
|
461
|
+
z-index: 1000;
|
|
462
|
+
}
|
|
464
463
|
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
464
|
+
.u-app-update-box .bg {
|
|
465
|
+
width: 100%;
|
|
466
|
+
}
|
|
468
467
|
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
.close {
|
|
481
|
-
position: absolute;
|
|
482
|
-
right: 15rpx;
|
|
483
|
-
top: 15rpx;
|
|
484
|
-
z-index: 3;
|
|
485
|
-
}
|
|
468
|
+
.u-app-update-box .content_popup {
|
|
469
|
+
width: 590rpx;
|
|
470
|
+
border-radius: 10rpx;
|
|
471
|
+
background-size: cover;
|
|
472
|
+
background-repeat: no-repeat;
|
|
473
|
+
background-position: center;
|
|
474
|
+
box-sizing: border-box;
|
|
475
|
+
background-color: #fff;
|
|
476
|
+
padding-bottom: 40rpx;
|
|
477
|
+
position: relative;
|
|
478
|
+
}
|
|
486
479
|
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
}
|
|
480
|
+
.u-app-update-box .content_popup .close {
|
|
481
|
+
position: absolute;
|
|
482
|
+
right: 15rpx;
|
|
483
|
+
top: 15rpx;
|
|
484
|
+
z-index: 3;
|
|
485
|
+
}
|
|
494
486
|
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
487
|
+
.u-app-update-box .content_popup .version {
|
|
488
|
+
position: absolute;
|
|
489
|
+
left: 40rpx;
|
|
490
|
+
top: 45rpx;
|
|
491
|
+
z-index: 3;
|
|
492
|
+
font-size: 75rpx;
|
|
493
|
+
}
|
|
501
494
|
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
495
|
+
.u-app-update-box .content_popup .backgroundImg {
|
|
496
|
+
width: 100.1%;
|
|
497
|
+
height: 270rpx;
|
|
498
|
+
position: absolute;
|
|
499
|
+
top: -48rpx;
|
|
500
|
+
}
|
|
506
501
|
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
502
|
+
.u-app-update-box .content_popup .info {
|
|
503
|
+
position: relative;
|
|
504
|
+
padding: 240rpx 40rpx 0;
|
|
505
|
+
z-index: 2;
|
|
506
|
+
}
|
|
510
507
|
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
min-height: 200rpx;
|
|
515
|
-
max-height: 400rpx;
|
|
516
|
-
box-sizing: border-box;
|
|
517
|
-
line-height: 1.3;
|
|
508
|
+
.u-app-update-box .content_popup .info .title {
|
|
509
|
+
font-size: 42rpx;
|
|
510
|
+
}
|
|
518
511
|
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
512
|
+
.u-app-update-box .content_popup .info .info_desc_scroll {
|
|
513
|
+
margin-top: 20rpx;
|
|
514
|
+
font-size: 33rpx;
|
|
515
|
+
min-height: 200rpx;
|
|
516
|
+
max-height: 400rpx;
|
|
517
|
+
box-sizing: border-box;
|
|
518
|
+
line-height: 1.3;
|
|
519
|
+
}
|
|
524
520
|
|
|
525
|
-
|
|
526
|
-
|
|
521
|
+
.u-app-update-box .content_popup .info .info_desc_scroll p:not(:last-child) {
|
|
522
|
+
margin-bottom: 12rpx;
|
|
523
|
+
}
|
|
527
524
|
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
}
|
|
525
|
+
.u-app-update-box .content_popup .footer {
|
|
526
|
+
padding: 0 30rpx;
|
|
527
|
+
}
|
|
532
528
|
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
529
|
+
.u-app-update-box .content_popup .footer .progress-box {
|
|
530
|
+
width: 100%;
|
|
531
|
+
margin-top: 25rpx;
|
|
532
|
+
}
|
|
537
533
|
|
|
538
|
-
|
|
539
|
-
|
|
534
|
+
.u-app-update-box .content_popup .footer :deep(.progress) {
|
|
535
|
+
width: 90%;
|
|
536
|
+
height: 40rpx;
|
|
537
|
+
margin-bottom: 5rpx;
|
|
538
|
+
}
|
|
540
539
|
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
}
|
|
545
|
-
}
|
|
540
|
+
.u-app-update-box .content_popup .footer :deep(.progress) .uni-progress-bar {
|
|
541
|
+
border-radius: 35rpx;
|
|
542
|
+
}
|
|
546
543
|
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
line-height: 75rpx;
|
|
551
|
-
border-radius: 14rpx;
|
|
552
|
-
font-size: 34rpx;
|
|
553
|
-
font-weight: 400;
|
|
554
|
-
text-align: center;
|
|
555
|
-
width: 100%;
|
|
556
|
-
}
|
|
544
|
+
.u-app-update-box .content_popup .footer :deep(.progress) .uni-progress-bar .uni-progress-inner-bar {
|
|
545
|
+
border-radius: 35rpx;
|
|
546
|
+
}
|
|
557
547
|
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
transition: color 80ms linear;
|
|
569
|
-
}
|
|
570
|
-
}
|
|
571
|
-
}
|
|
572
|
-
}
|
|
548
|
+
.u-app-update-box .content_popup .footer .btn {
|
|
549
|
+
margin-top: 35rpx;
|
|
550
|
+
height: 75rpx;
|
|
551
|
+
line-height: 75rpx;
|
|
552
|
+
border-radius: 14rpx;
|
|
553
|
+
font-size: 34rpx;
|
|
554
|
+
font-weight: 400;
|
|
555
|
+
text-align: center;
|
|
556
|
+
width: 100%;
|
|
557
|
+
}
|
|
573
558
|
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
559
|
+
.u-app-update-box .content_popup .footer .notRemind {
|
|
560
|
+
display: flex;
|
|
561
|
+
justify-content: center;
|
|
562
|
+
align-items: center;
|
|
563
|
+
margin-top: 15rpx;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
.u-app-update-box .content_popup .footer .notRemind .remind-text {
|
|
567
|
+
color: #9d9d9d;
|
|
568
|
+
font-size: 30rpx;
|
|
569
|
+
margin-left: 3rpx;
|
|
570
|
+
transition: color 80ms linear;
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
.u-app-update-box .close-img {
|
|
574
|
+
width: 70rpx;
|
|
575
|
+
height: 70rpx;
|
|
576
|
+
z-index: 1000;
|
|
577
|
+
position: absolute;
|
|
578
|
+
bottom: -120rpx;
|
|
579
|
+
left: calc(50% - 70rpx / 2);
|
|
582
580
|
}
|
|
583
581
|
</style>
|
|
@@ -8,8 +8,7 @@
|
|
|
8
8
|
@import './nvue.scss';
|
|
9
9
|
/* #endif */
|
|
10
10
|
|
|
11
|
-
$u-button-
|
|
12
|
-
$u-button-text-font-size: 15px !default;
|
|
11
|
+
$u-button-text-font-size: 15px !default;
|
|
13
12
|
$u-button-loading-text-font-size: 15px !default;
|
|
14
13
|
$u-button-loading-text-margin-left: 4px !default;
|
|
15
14
|
$u-button-large-width: 100% !default;
|
|
@@ -65,7 +64,7 @@ $u-button-plain-background-color: #fff !default;
|
|
|
65
64
|
$u-button-hairline-border-width: 0.5px !default;
|
|
66
65
|
|
|
67
66
|
.u-button {
|
|
68
|
-
height:
|
|
67
|
+
height: 40px;
|
|
69
68
|
position: relative;
|
|
70
69
|
align-items: center;
|
|
71
70
|
justify-content: center;
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
|
|
2
|
+
$show-reset-button: 1;
|
|
3
|
+
@import '../../libs/css/variable.css';
|
|
4
|
+
@import '../../libs/css/components.scss';
|
|
5
|
+
@import '../../libs/css/color.scss';
|
|
6
|
+
|
|
7
|
+
/* #ifndef APP-NVUE */
|
|
8
|
+
@import './vue.scss';
|
|
9
|
+
/* #endif */
|
|
10
|
+
|
|
11
|
+
/* #ifdef APP-NVUE */
|
|
12
|
+
// @import "./nvue.scss";
|
|
13
|
+
/* #endif */
|
|
14
|
+
page {
|
|
15
|
+
--u-button-u-button-height: 40px;
|
|
16
|
+
--u-button-text-font-size: 15px;
|
|
17
|
+
--u-button-loading-text-font-size: 15px;
|
|
18
|
+
--u-button-loading-text-margin-left: 4px;
|
|
19
|
+
--u-button-large-width: 100%;
|
|
20
|
+
--u-button-large-height: 50px;
|
|
21
|
+
--u-button-normal-padding: 0 12px;
|
|
22
|
+
--u-button-large-padding: 0 15px;
|
|
23
|
+
--u-button-normal-font-size: 14px;
|
|
24
|
+
--u-button-small-min-width: 60px;
|
|
25
|
+
--u-button-small-height: 30px;
|
|
26
|
+
--u-button-small-padding: 0px 8px;
|
|
27
|
+
--u-button-mini-padding: 0px 8px;
|
|
28
|
+
--u-button-small-font-size: 12px;
|
|
29
|
+
--u-button-mini-height: 22px;
|
|
30
|
+
--u-button-mini-font-size: 10px;
|
|
31
|
+
--u-button-mini-min-width: 50px;
|
|
32
|
+
--u-button-disabled-opacity: 0.5;
|
|
33
|
+
--u-button-info-color: #323233;
|
|
34
|
+
--u-button-info-background-color: #fff;
|
|
35
|
+
--u-button-info-border-color: #ebedf0;
|
|
36
|
+
--u-button-info-border-width: 1px;
|
|
37
|
+
--u-button-info-border-style: solid;
|
|
38
|
+
--u-button-success-color: #fff;
|
|
39
|
+
--u-button-success-background-color: var(--u-success);
|
|
40
|
+
--u-button-success-border-color: var(--u-button-success-background-color);
|
|
41
|
+
--u-button-success-border-width: 1px;
|
|
42
|
+
--u-button-success-border-style: solid;
|
|
43
|
+
--u-button-primary-color: #fff;
|
|
44
|
+
--u-button-primary-background-color: var(--u-primary);
|
|
45
|
+
--u-button-primary-border-color: var(--u-button-primary-background-color);
|
|
46
|
+
--u-button-primary-border-width: 1px;
|
|
47
|
+
--u-button-primary-border-style: solid;
|
|
48
|
+
--u-button-error-color: #fff;
|
|
49
|
+
--u-button-error-background-color: var(--u-error);
|
|
50
|
+
--u-button-error-border-color: var(--u-button-error-background-color);
|
|
51
|
+
--u-button-error-border-width: 1px;
|
|
52
|
+
--u-button-error-border-style: solid;
|
|
53
|
+
--u-button-warning-color: #fff;
|
|
54
|
+
--u-button-warning-background-color: var(--u-warning);
|
|
55
|
+
--u-button-warning-border-color: var(--u-button-warning-background-color);
|
|
56
|
+
--u-button-warning-border-width: 1px;
|
|
57
|
+
--u-button-warning-border-style: solid;
|
|
58
|
+
--u-button-block-width: 100%;
|
|
59
|
+
--u-button-circle-border-top-right-radius: 100px;
|
|
60
|
+
--u-button-circle-border-top-left-radius: 100px;
|
|
61
|
+
--u-button-circle-border-bottom-left-radius: 100px;
|
|
62
|
+
--u-button-circle-border-bottom-right-radius: 100px;
|
|
63
|
+
--u-button-square-border-top-right-radius: 3px;
|
|
64
|
+
--u-button-square-border-top-left-radius: 3px;
|
|
65
|
+
--u-button-square-border-bottom-left-radius: 3px;
|
|
66
|
+
--u-button-square-border-bottom-right-radius: 3px;
|
|
67
|
+
--u-button-icon-min-width: 1em;
|
|
68
|
+
--u-button-plain-background-color: #fff;
|
|
69
|
+
--u-button-hairline-border-width: 0.5px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.u-button {
|
|
73
|
+
height: var(--u-button-u-button-height);
|
|
74
|
+
position: relative;
|
|
75
|
+
align-items: center;
|
|
76
|
+
justify-content: center;
|
|
77
|
+
@include flex;
|
|
78
|
+
/* #ifndef APP-NVUE */
|
|
79
|
+
box-sizing: border-box;
|
|
80
|
+
/* #endif */
|
|
81
|
+
flex-direction: row;
|
|
82
|
+
margin-left: auto;
|
|
83
|
+
margin-right: auto;
|
|
84
|
+
|
|
85
|
+
&__text {
|
|
86
|
+
font-size: var(--u-button-text-font-size);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&__loading-text {
|
|
90
|
+
font-size: var(--u-button-loading-text-font-size);
|
|
91
|
+
margin-left: var(--u-button-loading-text-margin-left);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&--large {
|
|
95
|
+
/* #ifndef APP-NVUE */
|
|
96
|
+
width: var(--u-button-large-width);
|
|
97
|
+
/* #endif */
|
|
98
|
+
height: var(--u-button-large-height);
|
|
99
|
+
padding: var(--u-button-large-padding);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&--normal {
|
|
103
|
+
padding: var(--u-button-normal-padding);
|
|
104
|
+
font-size: var(--u-button-normal-font-size);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
&--small {
|
|
108
|
+
/* #ifndef APP-NVUE */
|
|
109
|
+
min-width: var(--u-button-small-min-width);
|
|
110
|
+
/* #endif */
|
|
111
|
+
height: var(--u-button-small-height);
|
|
112
|
+
padding: var(--u-button-small-padding);
|
|
113
|
+
font-size: var(--u-button-small-font-size);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
&--mini {
|
|
117
|
+
height: var(--u-button-mini-height);
|
|
118
|
+
font-size: var(--u-button-mini-font-size);
|
|
119
|
+
/* #ifndef APP-NVUE */
|
|
120
|
+
min-width: var(--u-button-mini-min-width);
|
|
121
|
+
/* #endif */
|
|
122
|
+
padding: var(--u-button-mini-padding);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
&--disabled {
|
|
126
|
+
opacity: var(--u-button-disabled-opacity);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
&--info {
|
|
130
|
+
color: var(--u-button-info-color);
|
|
131
|
+
background-color: var(--u-button-info-background-color);
|
|
132
|
+
border-color: var(--u-button-info-border-color);
|
|
133
|
+
border-width: var(--u-button-info-border-width);
|
|
134
|
+
border-style: var(--u-button-info-border-style);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
&--success {
|
|
138
|
+
color: var(--u-button-success-color);
|
|
139
|
+
background-color: var(--u-button-success-background-color);
|
|
140
|
+
border-color: var(--u-button-success-border-color);
|
|
141
|
+
border-width: var(--u-button-success-border-width);
|
|
142
|
+
border-style: var(--u-button-success-border-style);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
&--primary {
|
|
146
|
+
color: var(--u-button-primary-color);
|
|
147
|
+
background-color: var(--u-button-primary-background-color);
|
|
148
|
+
border-color: var(--u-button-primary-border-color);
|
|
149
|
+
border-width: var(--u-button-primary-border-width);
|
|
150
|
+
border-style: var(--u-button-primary-border-style);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
&--error {
|
|
154
|
+
color: var(--u-button-error-color);
|
|
155
|
+
background-color: var(--u-button-error-background-color);
|
|
156
|
+
border-color: var(--u-button-error-border-color);
|
|
157
|
+
border-width: var(--u-button-error-border-width);
|
|
158
|
+
border-style: var(--u-button-error-border-style);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
&--warning {
|
|
162
|
+
color: var(--u-button-warning-color);
|
|
163
|
+
background-color: var(--u-button-warning-background-color);
|
|
164
|
+
border-color: var(--u-button-warning-border-color);
|
|
165
|
+
border-width: var(--u-button-warning-border-width);
|
|
166
|
+
border-style: var(--u-button-warning-border-style);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
&--block {
|
|
170
|
+
@include flex;
|
|
171
|
+
width: var(--u-button-block-width);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
&--circle {
|
|
175
|
+
border-top-right-radius: var(--u-button-circle-border-top-right-radius);
|
|
176
|
+
border-top-left-radius: var(--u-button-circle-border-top-left-radius);
|
|
177
|
+
border-bottom-left-radius: var(--u-button-circle-border-bottom-left-radius);
|
|
178
|
+
border-bottom-right-radius: var(--u-button-circle-border-bottom-right-radius);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
&--square {
|
|
182
|
+
border-bottom-left-radius: var(--u-button-square-border-top-right-radius);
|
|
183
|
+
border-bottom-right-radius: var(--u-button-square-border-top-left-radius);
|
|
184
|
+
border-top-left-radius: var(--u-button-square-border-bottom-left-radius);
|
|
185
|
+
border-top-right-radius: var(--u-button-square-border-bottom-right-radius);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
&__icon {
|
|
189
|
+
/* #ifndef APP-NVUE */
|
|
190
|
+
min-width: var(--u-button-icon-min-width);
|
|
191
|
+
line-height: inherit !important;
|
|
192
|
+
vertical-align: top;
|
|
193
|
+
/* #endif */
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
&--plain {
|
|
197
|
+
background-color: var(--u-button-plain-background-color);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
&--hairline {
|
|
201
|
+
border-width: var(--u-button-hairline-border-width) !important;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
@@ -152,7 +152,7 @@ import { mpMixin } from '../../libs/mixin/mpMixin.js';
|
|
|
152
152
|
import { mixin } from '../../libs/mixin/mixin.js';
|
|
153
153
|
import { button } from '../../libs/mixin/button.js';
|
|
154
154
|
import { openType } from '../../libs/mixin/openType.js';
|
|
155
|
-
import props from '
|
|
155
|
+
import props from '../u-button/props.js';
|
|
156
156
|
/**
|
|
157
157
|
* button 按钮
|
|
158
158
|
* @description Button 按钮
|
|
@@ -317,206 +317,4 @@ export default {
|
|
|
317
317
|
};
|
|
318
318
|
</script>
|
|
319
319
|
|
|
320
|
-
<style
|
|
321
|
-
$show-reset-button: 1;
|
|
322
|
-
@import '../../libs/css/variable.css';
|
|
323
|
-
@import '../../libs/css/components.scss';
|
|
324
|
-
@import '../../libs/css/color.scss';
|
|
325
|
-
|
|
326
|
-
/* #ifndef APP-NVUE */
|
|
327
|
-
@import './vue.scss';
|
|
328
|
-
/* #endif */
|
|
329
|
-
|
|
330
|
-
/* #ifdef APP-NVUE */
|
|
331
|
-
// @import "./nvue.scss";
|
|
332
|
-
/* #endif */
|
|
333
|
-
|
|
334
|
-
$u-button-u-button-height: 40px !default;
|
|
335
|
-
$u-button-text-font-size: 15px !default;
|
|
336
|
-
$u-button-loading-text-font-size: 15px !default;
|
|
337
|
-
$u-button-loading-text-margin-left: 4px !default;
|
|
338
|
-
$u-button-large-width: 100% !default;
|
|
339
|
-
$u-button-large-height: 50px !default;
|
|
340
|
-
$u-button-normal-padding: 0 12px !default;
|
|
341
|
-
$u-button-large-padding: 0 15px !default;
|
|
342
|
-
$u-button-normal-font-size: 14px !default;
|
|
343
|
-
$u-button-small-min-width: 60px !default;
|
|
344
|
-
$u-button-small-height: 30px !default;
|
|
345
|
-
$u-button-small-padding: 0px 8px !default;
|
|
346
|
-
$u-button-mini-padding: 0px 8px !default;
|
|
347
|
-
$u-button-small-font-size: 12px !default;
|
|
348
|
-
$u-button-mini-height: 22px !default;
|
|
349
|
-
$u-button-mini-font-size: 10px !default;
|
|
350
|
-
$u-button-mini-min-width: 50px !default;
|
|
351
|
-
$u-button-disabled-opacity: 0.5 !default;
|
|
352
|
-
$u-button-info-color: #323233 !default;
|
|
353
|
-
$u-button-info-background-color: #fff !default;
|
|
354
|
-
$u-button-info-border-color: #ebedf0 !default;
|
|
355
|
-
$u-button-info-border-width: 1px !default;
|
|
356
|
-
$u-button-info-border-style: solid !default;
|
|
357
|
-
$u-button-success-color: #fff !default;
|
|
358
|
-
$u-button-success-background-color: $u-success !default;
|
|
359
|
-
$u-button-success-border-color: $u-button-success-background-color !default;
|
|
360
|
-
$u-button-success-border-width: 1px !default;
|
|
361
|
-
$u-button-success-border-style: solid !default;
|
|
362
|
-
$u-button-primary-color: #fff !default;
|
|
363
|
-
$u-button-primary-background-color: $u-primary !default;
|
|
364
|
-
$u-button-primary-border-color: $u-button-primary-background-color !default;
|
|
365
|
-
$u-button-primary-border-width: 1px !default;
|
|
366
|
-
$u-button-primary-border-style: solid !default;
|
|
367
|
-
$u-button-error-color: #fff !default;
|
|
368
|
-
$u-button-error-background-color: $u-error !default;
|
|
369
|
-
$u-button-error-border-color: $u-button-error-background-color !default;
|
|
370
|
-
$u-button-error-border-width: 1px !default;
|
|
371
|
-
$u-button-error-border-style: solid !default;
|
|
372
|
-
$u-button-warning-color: #fff !default;
|
|
373
|
-
$u-button-warning-background-color: $u-warning !default;
|
|
374
|
-
$u-button-warning-border-color: $u-button-warning-background-color !default;
|
|
375
|
-
$u-button-warning-border-width: 1px !default;
|
|
376
|
-
$u-button-warning-border-style: solid !default;
|
|
377
|
-
$u-button-block-width: 100% !default;
|
|
378
|
-
$u-button-circle-border-top-right-radius: 100px !default;
|
|
379
|
-
$u-button-circle-border-top-left-radius: 100px !default;
|
|
380
|
-
$u-button-circle-border-bottom-left-radius: 100px !default;
|
|
381
|
-
$u-button-circle-border-bottom-right-radius: 100px !default;
|
|
382
|
-
$u-button-square-border-top-right-radius: 3px !default;
|
|
383
|
-
$u-button-square-border-top-left-radius: 3px !default;
|
|
384
|
-
$u-button-square-border-bottom-left-radius: 3px !default;
|
|
385
|
-
$u-button-square-border-bottom-right-radius: 3px !default;
|
|
386
|
-
$u-button-icon-min-width: 1em !default;
|
|
387
|
-
$u-button-plain-background-color: #fff !default;
|
|
388
|
-
$u-button-hairline-border-width: 0.5px !default;
|
|
389
|
-
|
|
390
|
-
.u-button {
|
|
391
|
-
height: $u-button-u-button-height;
|
|
392
|
-
position: relative;
|
|
393
|
-
align-items: center;
|
|
394
|
-
justify-content: center;
|
|
395
|
-
@include flex;
|
|
396
|
-
/* #ifndef APP-NVUE */
|
|
397
|
-
box-sizing: border-box;
|
|
398
|
-
/* #endif */
|
|
399
|
-
flex-direction: row;
|
|
400
|
-
margin-left: auto;
|
|
401
|
-
margin-right: auto;
|
|
402
|
-
|
|
403
|
-
&__text {
|
|
404
|
-
font-size: $u-button-text-font-size;
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
&__loading-text {
|
|
408
|
-
font-size: $u-button-loading-text-font-size;
|
|
409
|
-
margin-left: $u-button-loading-text-margin-left;
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
&--large {
|
|
413
|
-
/* #ifndef APP-NVUE */
|
|
414
|
-
width: $u-button-large-width;
|
|
415
|
-
/* #endif */
|
|
416
|
-
height: $u-button-large-height;
|
|
417
|
-
padding: $u-button-large-padding;
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
&--normal {
|
|
421
|
-
padding: $u-button-normal-padding;
|
|
422
|
-
font-size: $u-button-normal-font-size;
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
&--small {
|
|
426
|
-
/* #ifndef APP-NVUE */
|
|
427
|
-
min-width: $u-button-small-min-width;
|
|
428
|
-
/* #endif */
|
|
429
|
-
height: $u-button-small-height;
|
|
430
|
-
padding: $u-button-small-padding;
|
|
431
|
-
font-size: $u-button-small-font-size;
|
|
432
|
-
}
|
|
433
|
-
|
|
434
|
-
&--mini {
|
|
435
|
-
height: $u-button-mini-height;
|
|
436
|
-
font-size: $u-button-mini-font-size;
|
|
437
|
-
/* #ifndef APP-NVUE */
|
|
438
|
-
min-width: $u-button-mini-min-width;
|
|
439
|
-
/* #endif */
|
|
440
|
-
padding: $u-button-mini-padding;
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
&--disabled {
|
|
444
|
-
opacity: $u-button-disabled-opacity;
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
&--info {
|
|
448
|
-
color: $u-button-info-color;
|
|
449
|
-
background-color: $u-button-info-background-color;
|
|
450
|
-
border-color: $u-button-info-border-color;
|
|
451
|
-
border-width: $u-button-info-border-width;
|
|
452
|
-
border-style: $u-button-info-border-style;
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
&--success {
|
|
456
|
-
color: $u-button-success-color;
|
|
457
|
-
background-color: $u-button-success-background-color;
|
|
458
|
-
border-color: $u-button-success-border-color;
|
|
459
|
-
border-width: $u-button-success-border-width;
|
|
460
|
-
border-style: $u-button-success-border-style;
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
&--primary {
|
|
464
|
-
color: $u-button-primary-color;
|
|
465
|
-
background-color: $u-button-primary-background-color;
|
|
466
|
-
border-color: $u-button-primary-border-color;
|
|
467
|
-
border-width: $u-button-primary-border-width;
|
|
468
|
-
border-style: $u-button-primary-border-style;
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
&--error {
|
|
472
|
-
color: $u-button-error-color;
|
|
473
|
-
background-color: $u-button-error-background-color;
|
|
474
|
-
border-color: $u-button-error-border-color;
|
|
475
|
-
border-width: $u-button-error-border-width;
|
|
476
|
-
border-style: $u-button-error-border-style;
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
&--warning {
|
|
480
|
-
color: $u-button-warning-color;
|
|
481
|
-
background-color: $u-button-warning-background-color;
|
|
482
|
-
border-color: $u-button-warning-border-color;
|
|
483
|
-
border-width: $u-button-warning-border-width;
|
|
484
|
-
border-style: $u-button-warning-border-style;
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
&--block {
|
|
488
|
-
@include flex;
|
|
489
|
-
width: $u-button-block-width;
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
&--circle {
|
|
493
|
-
border-top-right-radius: $u-button-circle-border-top-right-radius;
|
|
494
|
-
border-top-left-radius: $u-button-circle-border-top-left-radius;
|
|
495
|
-
border-bottom-left-radius: $u-button-circle-border-bottom-left-radius;
|
|
496
|
-
border-bottom-right-radius: $u-button-circle-border-bottom-right-radius;
|
|
497
|
-
}
|
|
498
|
-
|
|
499
|
-
&--square {
|
|
500
|
-
border-bottom-left-radius: $u-button-square-border-top-right-radius;
|
|
501
|
-
border-bottom-right-radius: $u-button-square-border-top-left-radius;
|
|
502
|
-
border-top-left-radius: $u-button-square-border-bottom-left-radius;
|
|
503
|
-
border-top-right-radius: $u-button-square-border-bottom-right-radius;
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
&__icon {
|
|
507
|
-
/* #ifndef APP-NVUE */
|
|
508
|
-
min-width: $u-button-icon-min-width;
|
|
509
|
-
line-height: inherit !important;
|
|
510
|
-
vertical-align: top;
|
|
511
|
-
/* #endif */
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
&--plain {
|
|
515
|
-
background-color: $u-button-plain-background-color;
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
&--hairline {
|
|
519
|
-
border-width: $u-button-hairline-border-width !important;
|
|
520
|
-
}
|
|
521
|
-
}
|
|
522
|
-
</style>
|
|
320
|
+
<style scoped></style>
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
:show-menu-by-longpress="showMenuByLongpress"
|
|
11
11
|
class="u-image__image"
|
|
12
12
|
:style="{
|
|
13
|
-
borderRadius: shape == 'circle' ? '10000px' : addUnit(radius),
|
|
14
13
|
width: addUnit(width),
|
|
15
|
-
height: addUnit(height)
|
|
14
|
+
height: addUnit(height),
|
|
15
|
+
borderRadius: shape == 'circle' ? '10000px' : addUnit(radius)
|
|
16
16
|
}"
|
|
17
17
|
></image>
|
|
18
18
|
<view
|
|
@@ -239,5 +239,5 @@ export default {
|
|
|
239
239
|
};
|
|
240
240
|
</script>
|
|
241
241
|
<style scoped>
|
|
242
|
-
@import '
|
|
242
|
+
@import '../u-image/style.css';
|
|
243
243
|
</style>
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
|
|
2
|
+
@import '../../libs/css/components.scss';
|
|
3
|
+
@import '../../theme.scss';
|
|
4
|
+
|
|
5
|
+
.u-navbar {
|
|
6
|
+
&--fixed {
|
|
7
|
+
position: fixed;
|
|
8
|
+
left: 0;
|
|
9
|
+
right: 0;
|
|
10
|
+
z-index: 11;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&__content {
|
|
14
|
+
@include flex(row);
|
|
15
|
+
align-items: center;
|
|
16
|
+
height: 44px;
|
|
17
|
+
background-color: #9acafc;
|
|
18
|
+
position: relative;
|
|
19
|
+
justify-content: center;
|
|
20
|
+
|
|
21
|
+
&__left,
|
|
22
|
+
&__right {
|
|
23
|
+
padding: 0 13px;
|
|
24
|
+
position: absolute;
|
|
25
|
+
top: 0;
|
|
26
|
+
bottom: 0;
|
|
27
|
+
@include flex(row);
|
|
28
|
+
align-items: center;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&__left {
|
|
32
|
+
left: 0;
|
|
33
|
+
|
|
34
|
+
&--hover {
|
|
35
|
+
opacity: 0.7;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&__text {
|
|
39
|
+
font-size: 15px;
|
|
40
|
+
margin-left: 3px;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&__title {
|
|
45
|
+
text-align: center;
|
|
46
|
+
font-size: 16px;
|
|
47
|
+
color: $u-main-color;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&__right {
|
|
51
|
+
right: 0;
|
|
52
|
+
|
|
53
|
+
&__text {
|
|
54
|
+
font-size: 15px;
|
|
55
|
+
margin-left: 3px;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -134,63 +134,4 @@ export default {
|
|
|
134
134
|
};
|
|
135
135
|
</script>
|
|
136
136
|
|
|
137
|
-
<style
|
|
138
|
-
@import '../../libs/css/components.scss';
|
|
139
|
-
@import '../../theme.scss';
|
|
140
|
-
|
|
141
|
-
.u-navbar {
|
|
142
|
-
&--fixed {
|
|
143
|
-
position: fixed;
|
|
144
|
-
left: 0;
|
|
145
|
-
right: 0;
|
|
146
|
-
z-index: 11;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
&__content {
|
|
150
|
-
@include flex(row);
|
|
151
|
-
align-items: center;
|
|
152
|
-
height: 44px;
|
|
153
|
-
background-color: #9acafc;
|
|
154
|
-
position: relative;
|
|
155
|
-
justify-content: center;
|
|
156
|
-
|
|
157
|
-
&__left,
|
|
158
|
-
&__right {
|
|
159
|
-
padding: 0 13px;
|
|
160
|
-
position: absolute;
|
|
161
|
-
top: 0;
|
|
162
|
-
bottom: 0;
|
|
163
|
-
@include flex(row);
|
|
164
|
-
align-items: center;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
&__left {
|
|
168
|
-
left: 0;
|
|
169
|
-
|
|
170
|
-
&--hover {
|
|
171
|
-
opacity: 0.7;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
&__text {
|
|
175
|
-
font-size: 15px;
|
|
176
|
-
margin-left: 3px;
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
&__title {
|
|
181
|
-
text-align: center;
|
|
182
|
-
font-size: 16px;
|
|
183
|
-
color: $u-main-color;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
&__right {
|
|
187
|
-
right: 0;
|
|
188
|
-
|
|
189
|
-
&__text {
|
|
190
|
-
font-size: 15px;
|
|
191
|
-
margin-left: 3px;
|
|
192
|
-
}
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
</style>
|
|
137
|
+
<style scoped></style>
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
.u-popup {
|
|
2
|
+
position: fixed;
|
|
3
|
+
/* #ifndef APP-NVUE */
|
|
4
|
+
z-index: 99;
|
|
5
|
+
/* #endif */
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.u-popup.top,
|
|
9
|
+
.u-popup.left,
|
|
10
|
+
.u-popup.right {
|
|
11
|
+
/* #ifdef H5 */
|
|
12
|
+
top: var(--window-top);
|
|
13
|
+
/* #endif */
|
|
14
|
+
/* #ifndef H5 */
|
|
15
|
+
top: 0;
|
|
16
|
+
/* #endif */
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.u-popup .u-popup__content {
|
|
20
|
+
/* #ifndef APP-NVUE */
|
|
21
|
+
display: block;
|
|
22
|
+
/* #endif */
|
|
23
|
+
position: relative;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.u-popup .u-popup__content.left,
|
|
27
|
+
.u-popup .u-popup__content.right {
|
|
28
|
+
/* #ifdef H5 */
|
|
29
|
+
padding-top: var(--window-top);
|
|
30
|
+
/* #endif */
|
|
31
|
+
/* #ifndef H5 */
|
|
32
|
+
padding-top: 0;
|
|
33
|
+
/* #endif */
|
|
34
|
+
flex: 1;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.u-popup .u-popup__content__close {
|
|
38
|
+
position: absolute;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.u-popup .u-popup__content__close--hover {
|
|
42
|
+
opacity: 0.4;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.u-popup .u-popup__content__close--top-left {
|
|
46
|
+
top: 15px;
|
|
47
|
+
left: 15px;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.u-popup .u-popup__content__close--top-right {
|
|
51
|
+
top: 15px;
|
|
52
|
+
right: 15px;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.u-popup .u-popup__content__close--bottom-left {
|
|
56
|
+
bottom: 15px;
|
|
57
|
+
left: 15px;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.u-popup .u-popup__content__close--bottom-right {
|
|
61
|
+
right: 15px;
|
|
62
|
+
bottom: 15px;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.fixforpc-z-index {
|
|
66
|
+
/* #ifndef APP-NVUE */
|
|
67
|
+
z-index: 999;
|
|
68
|
+
/* #endif */
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.fixforpc-top {
|
|
72
|
+
top: 0;
|
|
73
|
+
}
|
|
@@ -443,77 +443,4 @@ export default {
|
|
|
443
443
|
}
|
|
444
444
|
}
|
|
445
445
|
</script>
|
|
446
|
-
<style
|
|
447
|
-
.u-popup {
|
|
448
|
-
position: fixed;
|
|
449
|
-
/* #ifndef APP-NVUE */
|
|
450
|
-
z-index: 99;
|
|
451
|
-
|
|
452
|
-
/* #endif */
|
|
453
|
-
&.top,
|
|
454
|
-
&.left,
|
|
455
|
-
&.right {
|
|
456
|
-
/* #ifdef H5 */
|
|
457
|
-
top: var(--window-top);
|
|
458
|
-
/* #endif */
|
|
459
|
-
/* #ifndef H5 */
|
|
460
|
-
top: 0;
|
|
461
|
-
/* #endif */
|
|
462
|
-
}
|
|
463
|
-
|
|
464
|
-
.u-popup__content {
|
|
465
|
-
/* #ifndef APP-NVUE */
|
|
466
|
-
display: block;
|
|
467
|
-
/* #endif */
|
|
468
|
-
position: relative;
|
|
469
|
-
|
|
470
|
-
&.left,
|
|
471
|
-
&.right {
|
|
472
|
-
/* #ifdef H5 */
|
|
473
|
-
padding-top: var(--window-top);
|
|
474
|
-
/* #endif */
|
|
475
|
-
/* #ifndef H5 */
|
|
476
|
-
padding-top: 0;
|
|
477
|
-
/* #endif */
|
|
478
|
-
flex: 1;
|
|
479
|
-
}
|
|
480
|
-
&__close {
|
|
481
|
-
position: absolute;
|
|
482
|
-
|
|
483
|
-
&--hover {
|
|
484
|
-
opacity: 0.4;
|
|
485
|
-
}
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
&__close--top-left {
|
|
489
|
-
top: 15px;
|
|
490
|
-
left: 15px;
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
&__close--top-right {
|
|
494
|
-
top: 15px;
|
|
495
|
-
right: 15px;
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
&__close--bottom-left {
|
|
499
|
-
bottom: 15px;
|
|
500
|
-
left: 15px;
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
&__close--bottom-right {
|
|
504
|
-
right: 15px;
|
|
505
|
-
bottom: 15px;
|
|
506
|
-
}
|
|
507
|
-
}
|
|
508
|
-
}
|
|
509
|
-
|
|
510
|
-
.fixforpc-z-index {
|
|
511
|
-
/* #ifndef APP-NVUE */
|
|
512
|
-
z-index: 999;
|
|
513
|
-
/* #endif */
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
.fixforpc-top {
|
|
517
|
-
top: 0;
|
|
518
|
-
}
|
|
519
|
-
</style>
|
|
446
|
+
<style scoped></style>
|