hy-app 0.6.7 → 0.6.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.
@@ -63,7 +63,8 @@
63
63
  :style="[{ padding: paddingBody || padding }, bodyStyle]"
64
64
  >
65
65
  <!-- @slot 中间内容插槽 -->
66
- <slot name="body" />
66
+ <slot v-if="$slots.default" name="default" />
67
+ <slot v-else name="body" />
67
68
  </view>
68
69
  <view
69
70
  v-if="showFoot"
@@ -4,7 +4,6 @@
4
4
 
5
5
  @include b(card) {
6
6
  position: relative;
7
- overflow: hidden;
8
7
  font-size: 28rpx;
9
8
  background-color: $hy-background--container;
10
9
  box-sizing: border-box;
@@ -1,5 +1,5 @@
1
1
  import type { CSSProperties, PropType } from 'vue'
2
- import { useTranslate } from '@/package'
2
+ import { useTranslate } from '../../libs'
3
3
 
4
4
  const { t } = useTranslate('readMore')
5
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hy-app",
3
- "version": "0.6.7",
3
+ "version": "0.6.8",
4
4
  "description": "📱一个基于vue3+ts构建的uni-app组件库,拥有八十多个精美组件,适配多端,支持自定义主题",
5
5
  "main": "./index.ts",
6
6
  "private": false,