File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
packages/uni-app-types/src/ad Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ type _AdProps = Partial<{
34
34
*
35
35
* 该参数不传入时 Banner 广告不会自动刷新
36
36
*
37
- * 单位为 s
37
+ * 单位为 `s`
38
38
*/
39
39
adIntervals : number ;
40
40
/** 广告数据,优先级高于 adpid */
@@ -46,27 +46,27 @@ type _AdProps = Partial<{
46
46
/**
47
47
* Type 为 feeds 时广告左边距,必须大于 0
48
48
*
49
- * 单位为 px
49
+ * 单位为 `px`
50
50
*/
51
51
adLeft : number ;
52
52
/**
53
53
* Type 为 feeds 时广告上边距,必须大于 0
54
54
*
55
- * 单位为 px
55
+ * 单位为 `px`
56
56
*/
57
57
adTop : number ;
58
58
/**
59
59
* Type 为 feeds 时广告宽度,最大值为屏幕宽度,最小值为 265
60
60
*
61
- * 单位为 px
61
+ * 单位为 `px`
62
62
*
63
- * 默认为 100%
63
+ * 默认为 ` 100%`
64
64
*/
65
65
adWidth : number ;
66
66
/**
67
67
* Type 为 feeds 时广告高度,最大值为 160,最小值为 85
68
68
*
69
- * 单位为 px
69
+ * 单位为 `px`
70
70
*/
71
71
adHeight : number ;
72
72
/** 广告类型 */
You can’t perform that action at this time.
0 commit comments