柒零 vor 1 Jahr
Ursprung
Commit
9c00880c68

BIN
subpages/images/ic_test_a.png


BIN
subpages/images/ic_test_b.png


+ 4 - 5
subpages/testSAS/testSAS.wxml

@@ -22,14 +22,13 @@
     </navigator>
 </view> -->
 <view class="list">
-    <view class="item" wx:for="{{menuList}}" wx:key="index" style="{{'background:'+item.bg+';border:'+item.border}}"
-        data-url="{{item.url}}" bindtap="checkMenuTap">
-        <view class="item-l">
+    <view class="item" wx:for="{{menuList}}" wx:key="index" data-url="{{item.url}}" bindtap="checkMenuTap">
+        <!-- <view class="item-l">
             <text class="item-title" style="{{'color:'+item.titleBg}}">{{item.title}}</text>
             <text class="item-desc" style="{{'color:'+item.descColor}}">{{item.desc}}</text>
             <text class="item-btn" style="{{'background:'+item.btnBg}}">查看报告</text>
-        </view>
-        <image class="item-icon" src="{{item.icon}}"></image>
+        </view> -->
+        <image class="item-icon" src="{{item.icon}}" mode="widthFix"></image>
     </view>
 
 </view>

+ 4 - 5
subpages/testSAS/testSAS.wxss

@@ -66,9 +66,9 @@ page {
   margin-top: 15px;
   width: 690rpx;
   height: 232rpx;
-  background: linear-gradient(270deg, #DDE7FF 0%, #EEF6FF 100%);
+  /* background: linear-gradient(270deg, #DDE7FF 0%, #EEF6FF 100%); */
   border-radius: 24rpx;
-  border: 1rpx solid #c8d7ff;
+  /* border: 1rpx solid #c8d7ff; */
   overflow: hidden;
   display: flex;
   flex-direction: row;
@@ -80,10 +80,9 @@ page {
 
 .item-icon {
   display: block;
-  width: 232rpx;
+  width: 100%;
   height: 232rpx;
-  border-bottom-right-radius: 24rpx;
-  border-top-right-radius: 24rpx;
+  border-radius: 24rpx;
   overflow: hidden;
 }