Browse Source

feature: 解决频道界面有些图片出现闪屏的问题

Damon 7 tháng trước cách đây
mục cha
commit
2b2a40c7e0
2 tập tin đã thay đổi với 7 bổ sung4 xóa
  1. 4 2
      pages/index/index.wxml
  2. 3 2
      pages/index/index.wxss

+ 4 - 2
pages/index/index.wxml

@@ -73,8 +73,10 @@
         <view class="play-info">
           <view class="info">
             <image src="./../../img/blak.png" class="black" mode="scaleToFill"></image>
-            <image src="./../../img/mm.png" class="mode" mode="scaleToFill"></image>
-            <image class="logo" mode="heightFix" src="./../../img/logo.png"></image>
+            <image src="./../../img/mm.png" class="mode" mode="widthFix"></image>
+            <view style="width: 34rpx; height: 34rpx; margin-left: 12rpx;">
+              <image class="logo" mode="heightFix" src="./../../img/logo.png"></image>
+            </view>
             <view wx:if="{{actionIndex !== null}}" style="opacity: 0.8; text-shadow:0px 0px 4px #6D00FF;" class="fm">
               FM.{{actionIndex !== null ? (actionIndex + 1 < 10 ? "0" + (actionIndex + 1) : actionIndex + 1) : 00}} </view>
                 <view wx:if="{{actionIndex !== null}}" style="opacity: 1;" class="fm">

+ 3 - 2
pages/index/index.wxss

@@ -107,7 +107,7 @@
   top: 0;
   left: 0;
   width: 96rpx;
-  height: 152rpx;
+  height: 148rpx;
   z-index: 999;
 }
 
@@ -169,6 +169,7 @@
 }
 
 .mair .play-info .info .fm .gochnnalList {
+  width: 50rpx;
   height: 50rpx;
   position: absolute;
   top: 8rpx;
@@ -685,8 +686,8 @@
 }
 
 .me .list .li .button image.logo {
+  width: 34rpx;
   height: 34rpx;
-  margin-left: 12rpx;
 }
 
 .login {