ソースを参照

docs: countup 文档修改

lkjh3214 3 年 前
コミット
9609b7b2b1

+ 2 - 2
src/packages/__VUE/countup/doc.en-US.md

@@ -178,7 +178,7 @@ export default {
 | num-height | Number height, often used to customize seamless scrolling (required for lottery function) | number | `20`
 | scrolling | numeric scrolling mode (H5 only) | boolean | `false`
 | custom-change-num | The number to change (for custom pictures, initNum and endNum are invalid here) | number | `1`
-| custom-bg-img | Custom image (it is recommended to use Sprite image, and Sprite image must be used to use the lottery function) | string | `-`
+| custom-bg-img | Custom image (it is recommended to use Sprite image, and Sprite image must be used to use the lottery function) | string | -
 | custom-spac-num | There may be space between numbers in the image | number | `0`
 | type | lottery function pass machine, the optional value is `machine` `' '` | string | `''`
 | machine-prize-num | Number of prizes, how many prizes in total, must be passed | number | `0`
@@ -193,5 +193,5 @@ export default {
 
 | Event | description | callback parameter
 |----- | ----- | -----
-| scroll-end | callback function after scrolling ends | `-`
+| scroll-end | callback function after scrolling ends | -
     

+ 2 - 2
src/packages/__VUE/countup/doc.md

@@ -177,7 +177,7 @@ export default {
 | num-height | 数字高度,常用于自定义无缝滚动(抽奖功能必传) | number | `20`
 | scrolling | 数字滚动模式(仅支持 H5) | boolean | `false`
 | custom-change-num | 要变化的数字(用于自定义图片,`initNum`、`endNum` 在此无效) | number | `1`
-| custom-bg-img | 自定义图片(建议使用雪碧图实现,使用抽奖功能必须使用雪碧图) | string | `-`
+| custom-bg-img | 自定义图片(建议使用雪碧图实现,使用抽奖功能必须使用雪碧图) | string | -
 | custom-spac-num | 图片中数字之间可能会存在间距 | number | `0`
 | type | 抽奖功能传 machine,可选值为 `machine` `' '` | string | `''`
 | machine-prize-num | 奖品个数,一共多少个奖品,必传 | number | `0`
@@ -192,5 +192,5 @@ export default {
 
 | 事件名 | 说明 | 回调参数
 |----- | ----- | -----
-| scroll-end | 滚动结束后回调函数 | `-`
+| scroll-end | 滚动结束后回调函数 | -
     

+ 2 - 2
src/packages/__VUE/countup/doc.taro.md

@@ -168,7 +168,7 @@ export default {
 | num-width | 数字宽度,常用于自定义无缝滚动 | number | `20`
 | num-height | 数字高度,常用于自定义无缝滚动(抽奖功能必传) | number | `20`
 | custom-change-num | 要变化的数字(用于自定义图片,`initNum`、`endNum` 在此无效) | number | `1`
-| custom-bg-img | 自定义图片(建议使用雪碧图实现,使用抽奖功能必须使用雪碧图) | - | `-`
+| custom-bg-img | 自定义图片(建议使用雪碧图实现,使用抽奖功能必须使用雪碧图) | string | -
 | custom-spac-num | 图片中数字之间可能会存在间距 | number | `0`
 | type | 抽奖功能传 machine,可选值为 `machine` `' '` | string | `''`
 | machine-prize-num | 奖品个数,一共多少个奖品,必传 | number | `0`
@@ -183,5 +183,5 @@ export default {
 
 | 事件名 | 说明 | 回调参数
 |----- | ----- | -----
-| scroll-end | 滚动结束后回调函数 | `-`
+| scroll-end | 滚动结束后回调函数 | -