zs 2 rokov pred
rodič
commit
8fc498e0e4
3 zmenil súbory, kde vykonal 4 pridanie a 3 odobranie
  1. 1 0
      app.wxss
  2. 1 1
      pagesMatch/home/index.wxml
  3. 2 2
      pagesMatch/home/index.wxss

+ 1 - 0
app.wxss

@@ -23,6 +23,7 @@ page {
     --rgbf1f: #f1f1f1;
     --rgb40E: #40E0D0;
     --rgb3AB: #3ABDB8;
+    --rgb20B: #008B8B;
     --rgb8b8: #8b8b8b;
     --rgbD8D: #D8D8D8;
     --rgb67c: #67c23a;

+ 1 - 1
pagesMatch/home/index.wxml

@@ -1,7 +1,7 @@
 <home-frame bind:toPath="toPath">
     <view class="main">
         <view class="swiper-tab">
-            <view class="swiper-tab-item {{active==index?'active':''}}" wx:for="{{tabList}}" wx:key="index" wx:for-item="item" data-active="{{item.active}}" bindtap="clickTab">
+            <view class="swiper-tab-item {{active==item.active?'active':''}}" wx:for="{{tabList}}" wx:key="index" wx:for-item="item" data-active="{{item.active}}" bindtap="clickTab">
                 {{item.title}}
             </view>
         </view>

+ 2 - 2
pagesMatch/home/index.wxss

@@ -36,7 +36,7 @@
     padding: 2vw;
     border-radius: 5px;
     border: 1px solid var(--rgb40E);
-    background-color: #ffffff;
+     background-color: #ffffff;
 }
 
 .main .swiper .scroll-view .list .list_1 {
@@ -73,6 +73,6 @@
 }
 
 .active {
-    color: var(--rgb40E);
+    color: var(--rgb40E) !important;
     border-bottom: 4rpx solid var(--rgb40E);
 }