Commit aed26d0786e05b1b7addd3acbe8ff57740a6061d
1 parent
e1e241a9
chore: style
Showing
4 changed files
with
14 additions
and
4 deletions
pages/index/index.wxml
@@ -28,3 +28,5 @@ | @@ -28,3 +28,5 @@ | ||
28 | > {{item.desc}} </button> | 28 | > {{item.desc}} </button> |
29 | </view> | 29 | </view> |
30 | </view> | 30 | </view> |
31 | +<ad class="ad-1" unit-id="adunit-34f63a98428c1660"></ad> | ||
32 | +<ad class="ad-2" unit-id="adunit-80a27ecf9a35c553"></ad> | ||
31 | \ No newline at end of file | 33 | \ No newline at end of file |
pages/index/index.wxss
@@ -30,6 +30,7 @@ | @@ -30,6 +30,7 @@ | ||
30 | .type-view{ | 30 | .type-view{ |
31 | width: 95%; | 31 | width: 95%; |
32 | margin-top: 40rpx; | 32 | margin-top: 40rpx; |
33 | + margin-bottom: 40rpx; | ||
33 | display: flex; | 34 | display: flex; |
34 | justify-content: space-between; | 35 | justify-content: space-between; |
35 | } | 36 | } |
@@ -38,4 +39,7 @@ | @@ -38,4 +39,7 @@ | ||
38 | writing-mode: vertical-lr; | 39 | writing-mode: vertical-lr; |
39 | text-align: center; | 40 | text-align: center; |
40 | letter-spacing: 15rpx; | 41 | letter-spacing: 15rpx; |
42 | +} | ||
43 | +.ad-1{ | ||
44 | + margin-bottom: 10px; | ||
41 | } | 45 | } |
42 | \ No newline at end of file | 46 | \ No newline at end of file |
pages/result/result.wxml
pages/result/result.wxss
1 | -.ad{ | ||
2 | - margin-bottom: 10px; | ||
3 | -} | ||
4 | .text-view{ | 1 | .text-view{ |
5 | margin-bottom: 10px; | 2 | margin-bottom: 10px; |
6 | padding: 10px; | 3 | padding: 10px; |
@@ -30,4 +27,9 @@ | @@ -30,4 +27,9 @@ | ||
30 | } | 27 | } |
31 | .text-type{ | 28 | .text-type{ |
32 | color: #999; | 29 | color: #999; |
30 | +} | ||
31 | +.ad-placeholder{ | ||
32 | + min-height: 111px; | ||
33 | + margin-bottom: 10px; | ||
34 | + background: #efefef; | ||
33 | } | 35 | } |
34 | \ No newline at end of file | 36 | \ No newline at end of file |