@kaiyinchem/ky-uniui 1.0.36 → 1.0.37

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.
@@ -8,6 +8,7 @@
8
8
  icon: hasIcon,
9
9
  scroll: scrollX,
10
10
  card: type === 'card'
11
+ 'white-bg': !noBg
11
12
  }"
12
13
  class="ky-tab-wrap"
13
14
  >
@@ -83,7 +84,11 @@
83
84
  type: {
84
85
  type: String,
85
86
  default: 'line',
86
- }
87
+ },
88
+ noBg: {
89
+ type: Boolean,
90
+ default: false,
91
+ },
87
92
  },
88
93
  data() {
89
94
  return {
@@ -141,8 +146,10 @@
141
146
 
142
147
  <style scoped lang="scss">
143
148
  .ky-tab-wrap {
144
- background: var(--bg-white);
145
149
  width: auto;
150
+ &.white-bg {
151
+ background: var(--bg-white);
152
+ }
146
153
  &.scroll {
147
154
  padding: 0 24rpx;
148
155
  .ky-tab-components {
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "style"
8
8
  ],
9
9
  "description": "an uniapp ui",
10
- "version": "1.0.36",
10
+ "version": "1.0.37",
11
11
  "repository": {
12
12
  "type": "git",
13
13
  "url": "git+https://github.com/yezipi/ky-uniui.git"