Commit aed26d0786e05b1b7addd3acbe8ff57740a6061d

Authored by xwenliang
1 parent e1e241a9

chore: style

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
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 <view 4 <view
3 class="text-view" 5 class="text-view"
4 wx:for="{{audioList}}" 6 wx:for="{{audioList}}"
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