ソースを参照

fix: skeleton 修复

Ymm0008 3 年 前
コミット
4000d52283

+ 1 - 1
src/packages/__VUE/skeleton/common.ts

@@ -13,7 +13,7 @@ export const component = (components: any) => {
       //每行高度
       height: {
         type: String,
-        default: '100px'
+        default: '15px'
       },
       //是否显示动画
       animated: {

+ 1 - 1
src/packages/__VUE/skeleton/demo.vue

@@ -9,7 +9,7 @@
     <nut-skeleton width="250px" height="15px" title animated row="3"> </nut-skeleton>
 
     <h2>{{ translate('title1') }}</h2>
-    <nut-skeleton width="250px" height="15px" title animated avatar avatarSize="100px" row="3"> </nut-skeleton>
+    <nut-skeleton width="250px" height="15px" title animated avatar avatarSize="60px" row="3"> </nut-skeleton>
 
     <h2>{{ translate('title2') }}</h2>
     <nut-skeleton width="250px" height="15px" animated round></nut-skeleton>

+ 1 - 1
src/packages/__VUE/skeleton/doc.en-US.md

@@ -44,7 +44,7 @@ app.use(Skeleton);
 :::demo
 ```html
 <template>
-  <nut-skeleton width="250px" height="15px" title animated avatar avatarSize="100px" row="3"> </nut-skeleton>
+  <nut-skeleton width="250px" height="15px" title animated avatar avatarSize="60px" row="3"> </nut-skeleton>
 </template>
 ```
 :::

+ 1 - 1
src/packages/__VUE/skeleton/doc.md

@@ -44,7 +44,7 @@ app.use(Skeleton);
 :::demo
 ```html
 <template>
-  <nut-skeleton width="250px" height="15px" title animated avatar avatarSize="100px" row="3"> </nut-skeleton>
+  <nut-skeleton width="250px" height="15px" title animated avatar avatarSize="60px" row="3"> </nut-skeleton>
 </template>
 ```
 :::

+ 1 - 1
src/packages/__VUE/skeleton/doc.taro.md

@@ -44,7 +44,7 @@ app.use(Skeleton);
 :::demo
 ```html
 <template>
-  <nut-skeleton width="250px" height="15px" title animated avatar avatarSize="100px" row="3"> </nut-skeleton>
+  <nut-skeleton width="250px" height="15px" title animated avatar avatarSize="60px" row="3"> </nut-skeleton>
 </template>
 ```
 :::