@kaiyinchem/ky-uniui 1.0.47 → 1.0.49

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 {
@@ -461,6 +465,7 @@
461
465
  align-items: center;
462
466
  justify-content: space-between;
463
467
  border-bottom: 1px solid var(--border-1);
468
+ background: var(--bg-white);
464
469
  .pop-top-btn {
465
470
  padding: 0;
466
471
  margin: 0;
@@ -544,13 +549,18 @@
544
549
  }
545
550
  }
546
551
  .pop-scroll {
547
- max-height: 70vh;
552
+ max-height: 80vh;
548
553
  overflow-y: auto;
549
554
  padding: 24rpx;
550
555
  position: relative;
551
556
  &.noPadding {
552
557
  padding: 0;
553
558
  }
559
+ &.noScroll {
560
+ overflow: hidden;
561
+ display: flex;
562
+ flex-direction: column;
563
+ }
554
564
  }
555
565
  .pop-footer {
556
566
  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.49",
11
11
  "repository": {
12
12
  "type": "git",
13
13
  "url": "git+https://github.com/yezipi/ky-uniui.git"