@kaiyinchem/ky-uniui 1.0.6 → 1.0.8

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.
@@ -357,13 +357,13 @@
357
357
  justify-content: flex-start;
358
358
  }
359
359
  }
360
- &.top {
360
+ &.top .opt-item-main {
361
361
  align-items: flex-start;
362
362
  }
363
- &.end {
363
+ &.end .opt-item-main {
364
364
  align-items: flex-end;
365
365
  }
366
- &.left {
366
+ &.left .opt-item-main {
367
367
  justify-content: flex-start;
368
368
  .opt-txt {
369
369
  width: 140rpx;
@@ -154,7 +154,7 @@
154
154
 
155
155
  // 根据id进行反选索引, 延迟是因为等待value变化
156
156
  setMultiIndex(v, firstColumn, secondColumn) {
157
- if (v.length) {
157
+ if (v && v.length) {
158
158
  v.forEach(i => {
159
159
  firstColumn.forEach((e) => {
160
160
  if (i === e.id) {
@@ -167,6 +167,11 @@
167
167
  display: flex;
168
168
  align-items: center;
169
169
  justify-content: center;
170
+ border-right: 1px solid var(--color-primary);
171
+ box-sizing: border-box;
172
+ &:last-child {
173
+ border-right: 0;
174
+ }
170
175
  &.active {
171
176
  background: var(--color-primary);
172
177
  color: #ffffff;
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "style"
8
8
  ],
9
9
  "description": "an uniapp ui",
10
- "version": "1.0.6",
10
+ "version": "1.0.8",
11
11
  "repository": {
12
12
  "type": "git",
13
13
  "url": "git+https://github.com/yezipi/ky-uniui.git"