unika-components 1.0.430 → 1.0.431
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.
|
@@ -10894,9 +10894,9 @@ var script$i = defineComponent({
|
|
|
10894
10894
|
type: Object,
|
|
10895
10895
|
required: true
|
|
10896
10896
|
},
|
|
10897
|
-
|
|
10898
|
-
type:
|
|
10899
|
-
default:
|
|
10897
|
+
isPlatform: {
|
|
10898
|
+
type: Boolean,
|
|
10899
|
+
default: false,
|
|
10900
10900
|
},
|
|
10901
10901
|
},
|
|
10902
10902
|
setup(props) {
|
|
@@ -10923,10 +10923,10 @@ var script$i = defineComponent({
|
|
|
10923
10923
|
// 计算容器样式
|
|
10924
10924
|
const containerStyle = computed(() => ({
|
|
10925
10925
|
position: 'absolute',
|
|
10926
|
-
left:
|
|
10927
|
-
top:
|
|
10928
|
-
width:
|
|
10929
|
-
height:
|
|
10926
|
+
left: px2rem(props.element.css.left, props.isPlatform),
|
|
10927
|
+
top: px2rem(props.element.css.top, props.isPlatform),
|
|
10928
|
+
width: px2rem(props.element.css.width, props.isPlatform),
|
|
10929
|
+
height: px2rem(props.element.css.height, props.isPlatform),
|
|
10930
10930
|
transform: `rotate(${props.element.css.transform}deg)`,
|
|
10931
10931
|
opacity: props.element.css.opacity,
|
|
10932
10932
|
pointerEvents: props.element.properties.isLock ? 'none' : 'auto',
|
|
@@ -10961,8 +10961,8 @@ var script$i = defineComponent({
|
|
|
10961
10961
|
style: {
|
|
10962
10962
|
left: `${startX}%`,
|
|
10963
10963
|
top: `${startY}%`,
|
|
10964
|
-
width:
|
|
10965
|
-
height:
|
|
10964
|
+
width: px2rem(size, props.isPlatform),
|
|
10965
|
+
height: px2rem(size, props.isPlatform),
|
|
10966
10966
|
animationDuration: `${duration}s`,
|
|
10967
10967
|
backgroundImage: `url("${PETAL_IMAGES.value[imageIndex]}")`
|
|
10968
10968
|
}
|
|
@@ -10989,11 +10989,11 @@ var script$i = defineComponent({
|
|
|
10989
10989
|
}
|
|
10990
10990
|
});
|
|
10991
10991
|
|
|
10992
|
-
const _hoisted_1$c = { class: "
|
|
10992
|
+
const _hoisted_1$c = { class: "effect-wrap" };
|
|
10993
10993
|
|
|
10994
10994
|
function render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10995
10995
|
return withDirectives((openBlock(), createElementBlock("div", {
|
|
10996
|
-
class: "effect
|
|
10996
|
+
class: "ele-effect eles",
|
|
10997
10997
|
style: normalizeStyle$1(_ctx.containerStyle)
|
|
10998
10998
|
}, [
|
|
10999
10999
|
createElementVNode("div", _hoisted_1$c, [
|
|
@@ -11011,7 +11011,6 @@ function render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
11011
11011
|
}
|
|
11012
11012
|
|
|
11013
11013
|
script$i.render = render$e;
|
|
11014
|
-
script$i.__scopeId = "data-v-461d9113";
|
|
11015
11014
|
script$i.__file = "src/components/UniEffect/UniEffect.vue";
|
|
11016
11015
|
|
|
11017
11016
|
script$i.install = (app) => {
|
|
@@ -10901,9 +10901,9 @@
|
|
|
10901
10901
|
type: Object,
|
|
10902
10902
|
required: true
|
|
10903
10903
|
},
|
|
10904
|
-
|
|
10905
|
-
type:
|
|
10906
|
-
default:
|
|
10904
|
+
isPlatform: {
|
|
10905
|
+
type: Boolean,
|
|
10906
|
+
default: false,
|
|
10907
10907
|
},
|
|
10908
10908
|
},
|
|
10909
10909
|
setup(props) {
|
|
@@ -10930,10 +10930,10 @@
|
|
|
10930
10930
|
// 计算容器样式
|
|
10931
10931
|
const containerStyle = vue.computed(() => ({
|
|
10932
10932
|
position: 'absolute',
|
|
10933
|
-
left:
|
|
10934
|
-
top:
|
|
10935
|
-
width:
|
|
10936
|
-
height:
|
|
10933
|
+
left: px2rem(props.element.css.left, props.isPlatform),
|
|
10934
|
+
top: px2rem(props.element.css.top, props.isPlatform),
|
|
10935
|
+
width: px2rem(props.element.css.width, props.isPlatform),
|
|
10936
|
+
height: px2rem(props.element.css.height, props.isPlatform),
|
|
10937
10937
|
transform: `rotate(${props.element.css.transform}deg)`,
|
|
10938
10938
|
opacity: props.element.css.opacity,
|
|
10939
10939
|
pointerEvents: props.element.properties.isLock ? 'none' : 'auto',
|
|
@@ -10968,8 +10968,8 @@
|
|
|
10968
10968
|
style: {
|
|
10969
10969
|
left: `${startX}%`,
|
|
10970
10970
|
top: `${startY}%`,
|
|
10971
|
-
width:
|
|
10972
|
-
height:
|
|
10971
|
+
width: px2rem(size, props.isPlatform),
|
|
10972
|
+
height: px2rem(size, props.isPlatform),
|
|
10973
10973
|
animationDuration: `${duration}s`,
|
|
10974
10974
|
backgroundImage: `url("${PETAL_IMAGES.value[imageIndex]}")`
|
|
10975
10975
|
}
|
|
@@ -10996,11 +10996,11 @@
|
|
|
10996
10996
|
}
|
|
10997
10997
|
});
|
|
10998
10998
|
|
|
10999
|
-
const _hoisted_1$c = { class: "
|
|
10999
|
+
const _hoisted_1$c = { class: "effect-wrap" };
|
|
11000
11000
|
|
|
11001
11001
|
function render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11002
11002
|
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
11003
|
-
class: "effect
|
|
11003
|
+
class: "ele-effect eles",
|
|
11004
11004
|
style: vue.normalizeStyle(_ctx.containerStyle)
|
|
11005
11005
|
}, [
|
|
11006
11006
|
vue.createElementVNode("div", _hoisted_1$c, [
|
|
@@ -11018,7 +11018,6 @@
|
|
|
11018
11018
|
}
|
|
11019
11019
|
|
|
11020
11020
|
script$i.render = render$e;
|
|
11021
|
-
script$i.__scopeId = "data-v-461d9113";
|
|
11022
11021
|
script$i.__file = "src/components/UniEffect/UniEffect.vue";
|
|
11023
11022
|
|
|
11024
11023
|
script$i.install = (app) => {
|