@kaiyinchem/ky-uniui 1.0.47 → 1.0.48

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.
@@ -48,7 +48,7 @@
48
48
  <view v-if="$slots.header" class="pop-header">
49
49
  <slot name="header"></slot>
50
50
  </view>
51
- <view :class="{ noPadding }" class="pop-scroll">
51
+ <view :class="{ noPadding, noScroll }" class="pop-scroll">
52
52
  <slot></slot>
53
53
  </view>
54
54
  <view v-if="$slots.footer" :class="{'white-bg': !noFooterBg}" class="pop-footer">
@@ -239,7 +239,11 @@
239
239
  titleAlign: {
240
240
  type: String,
241
241
  default: 'center'
242
- }
242
+ },
243
+ noScroll: {
244
+ type: Boolean,
245
+ default: true
246
+ }
243
247
  },
244
248
  data() {
245
249
  return {
@@ -544,13 +548,18 @@
544
548
  }
545
549
  }
546
550
  .pop-scroll {
547
- max-height: 70vh;
551
+ max-height: 80vh;
548
552
  overflow-y: auto;
549
553
  padding: 24rpx;
550
554
  position: relative;
551
555
  &.noPadding {
552
556
  padding: 0;
553
557
  }
558
+ &.noScroll {
559
+ overflow: hidden;
560
+ display: flex;
561
+ flex-direction: column;
562
+ }
554
563
  }
555
564
  .pop-footer {
556
565
  padding: 24rpx;
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "style"
8
8
  ],
9
9
  "description": "an uniapp ui",
10
- "version": "1.0.47",
10
+ "version": "1.0.48",
11
11
  "repository": {
12
12
  "type": "git",
13
13
  "url": "git+https://github.com/yezipi/ky-uniui.git"