@kaiyinchem/ky-uniui 1.1.18 → 1.1.19

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.
@@ -5,7 +5,6 @@
5
5
  fixed,
6
6
  slotContent: $slots.content,
7
7
  noContent: !$slots.content,
8
- iphoneX: safeBottom > 0,
9
8
  noPadding,
10
9
  hasLeft: $slots.left
11
10
  }"
@@ -350,7 +349,7 @@
350
349
  background: none;
351
350
  &.fixed {
352
351
  position: fixed;
353
- height: 120rpx;
352
+ height: calc(var(--window-bottom) + 120rpx);
354
353
  background: var(--bg-white);
355
354
  z-index: 1;
356
355
  left: 0;
@@ -375,9 +374,6 @@
375
374
  .btn-main {
376
375
  width: 690rpx;
377
376
  }
378
- &.iphoneX {
379
- height: 150rpx;
380
- }
381
377
  }
382
378
  &.slotContent {
383
379
  &.fixed {
@@ -397,11 +393,7 @@
397
393
  .btn-main {
398
394
  width: 100%;
399
395
  border-radius: 0!important;
400
- }
401
- &.iphoneX {
402
- .btn-main {
403
- height: 120rpx;
404
- }
396
+ height: calc(90rpx + var(--window-bottom));
405
397
  }
406
398
  }
407
399
  }
@@ -94,6 +94,16 @@
94
94
  cursor-spacing="20"
95
95
  @input="getInputVal"
96
96
  />
97
+ <input
98
+ v-if="inputType === 'nickname'"
99
+ :placeholder="placeholder"
100
+ :focus="true"
101
+ :value="value"
102
+ class="input-item"
103
+ type="nickname"
104
+ cursor-spacing="20"
105
+ @input="getInputVal"
106
+ />
97
107
  </view>
98
108
  <slot></slot>
99
109
  </view>
@@ -546,7 +556,7 @@
546
556
  height: 90rpx;
547
557
  background: var(--border-1);
548
558
  border-radius: 12rpx;
549
- text-indent: 24rpx;
559
+ padding-left: 24rpx;
550
560
  }
551
561
  }
552
562
  .pop-scroll {
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "locale"
10
10
  ],
11
11
  "description": "an uniapp ui",
12
- "version": "1.1.18",
12
+ "version": "1.1.19",
13
13
  "repository": {
14
14
  "type": "git",
15
15
  "url": "git+https://github.com/yezipi/ky-uniui.git"