Skip to content

Commit ab2f5c5

Browse files
committed
fix(uat): [Ad] better jsdoc styles
1 parent 7b788ad commit ab2f5c5

File tree

1 file changed

+6
-6
lines changed
  • packages/uni-app-types/src/ad

1 file changed

+6
-6
lines changed

packages/uni-app-types/src/ad/ad.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ type _AdProps = Partial<{
3434
*
3535
* 该参数不传入时 Banner 广告不会自动刷新
3636
*
37-
* 单位为 s
37+
* 单位为 `s`
3838
*/
3939
adIntervals: number;
4040
/** 广告数据,优先级高于 adpid */
@@ -46,27 +46,27 @@ type _AdProps = Partial<{
4646
/**
4747
* Type 为 feeds 时广告左边距,必须大于 0
4848
*
49-
* 单位为 px
49+
* 单位为 `px`
5050
*/
5151
adLeft: number;
5252
/**
5353
* Type 为 feeds 时广告上边距,必须大于 0
5454
*
55-
* 单位为 px
55+
* 单位为 `px`
5656
*/
5757
adTop: number;
5858
/**
5959
* Type 为 feeds 时广告宽度,最大值为屏幕宽度,最小值为 265
6060
*
61-
* 单位为 px
61+
* 单位为 `px`
6262
*
63-
* 默认为 100%
63+
* 默认为 `100%`
6464
*/
6565
adWidth: number;
6666
/**
6767
* Type 为 feeds 时广告高度,最大值为 160,最小值为 85
6868
*
69-
* 单位为 px
69+
* 单位为 `px`
7070
*/
7171
adHeight: number;
7272
/** 广告类型 */

0 commit comments

Comments
 (0)