sadais-piui 1.2.7-beta8 → 1.2.7-beta9

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.
@@ -50,6 +50,7 @@ export default {
50
50
  <style lang="scss" scoped>
51
51
  .dropdown-tab-item {
52
52
  font-size: 33rpx;
53
+ line-height: inherit;
53
54
  &.opened {
54
55
  color: $pi-primary-color;
55
56
  }
@@ -9,15 +9,18 @@
9
9
  :stretch="stretch"
10
10
  active-text-color="inherit"
11
11
  >
12
- <view slot="item" slot-scope="{ item, index }">
13
- <!-- 注意:slot内不能使用父组件data -->
14
- <dropdown-tab :item="item" @click="handleClickTab(item, index)" />
15
- </view>
12
+ <!-- 注意:slot内不能使用父组件data -->
13
+ <dropdown-tab
14
+ slot="item"
15
+ slot-scope="{ item, index }"
16
+ :item="item"
17
+ @click="handleClickTab(item, index)"
18
+ />
16
19
  </pi-tabs>
17
20
  </view>
18
21
  <!-- 展示dropdownItem下的数据 -->
19
22
  <view
20
- class="pi-dropdown-content pi-mg-top-12"
23
+ class="pi-dropdown-content"
21
24
  :class="[contentClass, show ? 'pi-ani-slide-top-show' : 'pi-ani-slide-top-hide']"
22
25
  :style="[contentStyle, contentCombinationStyle]"
23
26
  >
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sadais-piui",
3
- "version": "1.2.7beta8",
3
+ "version": "1.2.7beta9",
4
4
  "description": "piui组件库",
5
5
  "main": "index.js",
6
6
  "scripts": {