sadais-piui 1.2.7-beta10 → 1.2.7-beta13
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.
|
@@ -30,12 +30,12 @@
|
|
|
30
30
|
<!-- 遮罩层 -->
|
|
31
31
|
<view
|
|
32
32
|
v-if="!closed"
|
|
33
|
-
class="pi-
|
|
33
|
+
class="pi-fixed pi-dropdown-mask"
|
|
34
34
|
:class="[show ? getMask.animationShow : getMask.animationHide]"
|
|
35
35
|
:style="[
|
|
36
36
|
{
|
|
37
37
|
'z-index': getMask.zIndex,
|
|
38
|
-
'top': maskAlignTop ? containerRect.top + 'px' : '-9999px',
|
|
38
|
+
'top': maskAlignTop ? containerRect.top + containerRect.height + 'px' : '-9999px',
|
|
39
39
|
'background': getMask.background,
|
|
40
40
|
'animation-duration': getDuration.css
|
|
41
41
|
}
|
|
@@ -204,7 +204,7 @@ export default {
|
|
|
204
204
|
return {
|
|
205
205
|
top: `${containerRect.height}px`,
|
|
206
206
|
left: `-${containerRect.left}px`,
|
|
207
|
-
width: `${
|
|
207
|
+
width: `${this.$pi.system.systemInfo.windowWidth}px`,
|
|
208
208
|
zIndex: !closed ? 101 : -1
|
|
209
209
|
}
|
|
210
210
|
},
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
activeIndex === index && activeTextColor ? { color: activeTextColor } : {},
|
|
14
14
|
activeIndex === index && activeItemStyle ? activeItemStyle : {}
|
|
15
15
|
]"
|
|
16
|
-
class="pi-tab pi-align-center"
|
|
16
|
+
class="pi-tab pi-justify-center pi-align-center "
|
|
17
17
|
:class="[
|
|
18
18
|
{
|
|
19
19
|
disabled: item[disabledField],
|
|
@@ -356,7 +356,7 @@ export default {
|
|
|
356
356
|
white-space: nowrap;
|
|
357
357
|
.pi-tab {
|
|
358
358
|
position: relative;
|
|
359
|
-
display: inline-
|
|
359
|
+
display: inline-flex;
|
|
360
360
|
font-size: 30rpx;
|
|
361
361
|
text-align: center;
|
|
362
362
|
transition: all $pi-animation-duration $pi-animation-timing-function;
|