@atooyu/uxto-ui 1.0.4 → 1.0.6
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/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/dist/style.css +19 -19
- package/package.json +4 -2
- package/src/components/u-swiper/u-swiper.vue +2 -2
package/dist/style.css
CHANGED
|
@@ -1027,16 +1027,16 @@ to {
|
|
|
1027
1027
|
font-size: 10px;
|
|
1028
1028
|
line-height: 1;
|
|
1029
1029
|
color: #ffffff;
|
|
1030
|
-
}.u-swiper[data-v-
|
|
1030
|
+
}.u-swiper[data-v-aa989e67] {
|
|
1031
1031
|
position: relative;
|
|
1032
1032
|
width: 100%;
|
|
1033
1033
|
overflow: hidden;
|
|
1034
1034
|
}
|
|
1035
|
-
.u-swiper__wrapper[data-v-
|
|
1035
|
+
.u-swiper__wrapper[data-v-aa989e67] {
|
|
1036
1036
|
width: 100%;
|
|
1037
1037
|
height: var(--swiper-height, 200px);
|
|
1038
1038
|
}
|
|
1039
|
-
.u-swiper__loading[data-v-
|
|
1039
|
+
.u-swiper__loading[data-v-aa989e67] {
|
|
1040
1040
|
position: absolute;
|
|
1041
1041
|
top: 0;
|
|
1042
1042
|
left: 0;
|
|
@@ -1048,20 +1048,20 @@ to {
|
|
|
1048
1048
|
background-color: rgba(0, 0, 0, 0.3);
|
|
1049
1049
|
z-index: 10;
|
|
1050
1050
|
}
|
|
1051
|
-
.u-swiper__loading-icon[data-v-
|
|
1051
|
+
.u-swiper__loading-icon[data-v-aa989e67] {
|
|
1052
1052
|
width: 32px;
|
|
1053
1053
|
height: 32px;
|
|
1054
1054
|
border: 3px solid rgba(255, 255, 255, 0.3);
|
|
1055
1055
|
border-top-color: #fff;
|
|
1056
1056
|
border-radius: 50%;
|
|
1057
|
-
animation: u-swiper-loading-
|
|
1057
|
+
animation: u-swiper-loading-aa989e67 0.8s linear infinite;
|
|
1058
1058
|
}
|
|
1059
|
-
@keyframes u-swiper-loading-
|
|
1059
|
+
@keyframes u-swiper-loading-aa989e67 {
|
|
1060
1060
|
to {
|
|
1061
1061
|
transform: rotate(360deg);
|
|
1062
1062
|
}
|
|
1063
1063
|
}
|
|
1064
|
-
.u-swiper__title[data-v-
|
|
1064
|
+
.u-swiper__title[data-v-aa989e67] {
|
|
1065
1065
|
position: absolute;
|
|
1066
1066
|
left: 0;
|
|
1067
1067
|
right: 0;
|
|
@@ -1070,41 +1070,41 @@ to {
|
|
|
1070
1070
|
background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.5));
|
|
1071
1071
|
z-index: 5;
|
|
1072
1072
|
}
|
|
1073
|
-
.u-swiper__title-text[data-v-
|
|
1073
|
+
.u-swiper__title-text[data-v-aa989e67] {
|
|
1074
1074
|
font-size: 14px;
|
|
1075
1075
|
color: #ffffff;
|
|
1076
1076
|
line-height: 1.4;
|
|
1077
1077
|
}
|
|
1078
|
-
.u-swiper__indicator[data-v-
|
|
1078
|
+
.u-swiper__indicator[data-v-aa989e67] {
|
|
1079
1079
|
position: absolute;
|
|
1080
1080
|
z-index: 5;
|
|
1081
1081
|
}
|
|
1082
|
-
.u-swiper__indicator-wrapper[data-v-
|
|
1082
|
+
.u-swiper__indicator-wrapper[data-v-aa989e67] {
|
|
1083
1083
|
position: absolute;
|
|
1084
1084
|
display: flex;
|
|
1085
1085
|
z-index: 5;
|
|
1086
1086
|
padding: 4px 8px;
|
|
1087
1087
|
}
|
|
1088
|
-
.u-swiper__indicator-wrapper--top-left[data-v-
|
|
1088
|
+
.u-swiper__indicator-wrapper--top-left[data-v-aa989e67] {
|
|
1089
1089
|
top: 0;
|
|
1090
1090
|
left: 0;
|
|
1091
1091
|
}
|
|
1092
|
-
.u-swiper__indicator-wrapper--top-right[data-v-
|
|
1092
|
+
.u-swiper__indicator-wrapper--top-right[data-v-aa989e67] {
|
|
1093
1093
|
top: 0;
|
|
1094
1094
|
right: 0;
|
|
1095
1095
|
}
|
|
1096
|
-
.u-swiper__indicator-wrapper--bottom-left[data-v-
|
|
1096
|
+
.u-swiper__indicator-wrapper--bottom-left[data-v-aa989e67] {
|
|
1097
1097
|
bottom: 0;
|
|
1098
1098
|
left: 0;
|
|
1099
1099
|
}
|
|
1100
|
-
.u-swiper__indicator-wrapper--bottom-right[data-v-
|
|
1100
|
+
.u-swiper__indicator-wrapper--bottom-right[data-v-aa989e67] {
|
|
1101
1101
|
bottom: 0;
|
|
1102
1102
|
right: 0;
|
|
1103
1103
|
}
|
|
1104
|
-
.u-swiper__indicator-wrapper--vertical[data-v-
|
|
1104
|
+
.u-swiper__indicator-wrapper--vertical[data-v-aa989e67] {
|
|
1105
1105
|
flex-direction: column;
|
|
1106
1106
|
}
|
|
1107
|
-
.u-swiper__indicator-item[data-v-
|
|
1107
|
+
.u-swiper__indicator-item[data-v-aa989e67] {
|
|
1108
1108
|
width: 6px;
|
|
1109
1109
|
height: 6px;
|
|
1110
1110
|
border-radius: 50%;
|
|
@@ -1112,17 +1112,17 @@ to {
|
|
|
1112
1112
|
margin: 0 4px;
|
|
1113
1113
|
transition: all 0.3s;
|
|
1114
1114
|
}
|
|
1115
|
-
.u-swiper__indicator-item--active[data-v-
|
|
1115
|
+
.u-swiper__indicator-item--active[data-v-aa989e67] {
|
|
1116
1116
|
width: 16px;
|
|
1117
1117
|
border-radius: 4px;
|
|
1118
1118
|
background-color: var(--indicator-active-color, #fff);
|
|
1119
1119
|
}
|
|
1120
|
-
.u-swiper__indicator-wrapper--vertical .u-swiper__indicator-item[data-v-
|
|
1120
|
+
.u-swiper__indicator-wrapper--vertical .u-swiper__indicator-item[data-v-aa989e67] {
|
|
1121
1121
|
width: 6px;
|
|
1122
1122
|
height: 6px;
|
|
1123
1123
|
margin: 4px 0;
|
|
1124
1124
|
}
|
|
1125
|
-
.u-swiper__indicator-wrapper--vertical .u-swiper__indicator-item--active[data-v-
|
|
1125
|
+
.u-swiper__indicator-wrapper--vertical .u-swiper__indicator-item--active[data-v-aa989e67] {
|
|
1126
1126
|
width: 6px;
|
|
1127
1127
|
height: 16px;
|
|
1128
1128
|
}.u-swiper-item[data-v-ef481687] {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atooyu/uxto-ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "跨平台 UI 组件库 - 支持 Android、iOS、鸿蒙",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"uxto-ui",
|
|
@@ -28,7 +28,9 @@
|
|
|
28
28
|
"./style.css": "./dist/style.css",
|
|
29
29
|
"./dist/style.css": "./dist/style.css",
|
|
30
30
|
"./scss": "./src/styles/index.scss",
|
|
31
|
-
"./scss/variables": "./src/styles/variables.scss"
|
|
31
|
+
"./scss/variables": "./src/styles/variables.scss",
|
|
32
|
+
"./src/components/*": "./src/components/*",
|
|
33
|
+
"./src/styles/*": "./src/styles/*"
|
|
32
34
|
},
|
|
33
35
|
"files": [
|
|
34
36
|
"dist",
|
|
@@ -113,10 +113,10 @@ const indicatorStyle = computed(() => {
|
|
|
113
113
|
const style: Record<string, string> = {}
|
|
114
114
|
|
|
115
115
|
if (props.indicatorColor) {
|
|
116
|
-
style
|
|
116
|
+
style['--indicator-color'] = props.indicatorColor
|
|
117
117
|
}
|
|
118
118
|
if (props.indicatorActiveColor) {
|
|
119
|
-
style
|
|
119
|
+
style['--indicator-active-color'] = props.indicatorActiveColor
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
return style
|