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.
@@ -49,8 +49,6 @@ export default {
49
49
 
50
50
  <style lang="scss" scoped>
51
51
  .dropdown-tab-item {
52
- font-size: 33rpx;
53
- line-height: inherit;
54
52
  &.opened {
55
53
  color: $pi-primary-color;
56
54
  }
@@ -30,12 +30,12 @@
30
30
  <!-- 遮罩层 -->
31
31
  <view
32
32
  v-if="!closed"
33
- class="pi-abso pi-dropdown-mask"
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: `${$pi.system.systemInfo.windowWidth}px`,
207
+ width: `${this.$pi.system.systemInfo.windowWidth}px`,
208
208
  zIndex: !closed ? 101 : -1
209
209
  }
210
210
  },
@@ -484,6 +484,7 @@ export default {
484
484
  .pi-form-item {
485
485
  overflow: hidden;
486
486
  font-size: $pi-form-size;
487
+ display: block;
487
488
  &.disabled {
488
489
  pointer-events: none;
489
490
  opacity: $pi-disabled-opacity;
@@ -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-block;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sadais-piui",
3
- "version": "1.2.7beta10",
3
+ "version": "1.2.7beta13",
4
4
  "description": "piui组件库",
5
5
  "main": "index.js",
6
6
  "scripts": {