Commit aed26d0786e05b1b7addd3acbe8ff57740a6061d

Authored by xwenliang
1 parent e1e241a9

chore: style

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