chengziding 1 dag geleden
bovenliggende
commit
58c4a46c80
2 gewijzigde bestanden met toevoegingen van 13 en 6 verwijderingen
  1. 11 5
      pages/search/index.wxml
  2. 2 1
      pages/search/index.wxss

+ 11 - 5
pages/search/index.wxml

@@ -9,17 +9,22 @@
       <view class="close" bindtap="closeSearch">取消</view>
     </view>
     <view class="tabs">
-      <view class="tab {{ current == index ? 'activateTab' : ''}}" wx:for="{{tabsList}}" data-index="{{index}}" bindtap="tabChange">{{item.label}}</view>
+      <view class="tab {{ current == index ? 'activateTab' : ''}}" wx:for="{{tabsList}}" data-index="{{index}}"
+        bindtap="tabChange">{{item.label}}</view>
     </view>
   </view>
   <view class="fixed-box"></view>
   <view class="content">
     <scroll-view scroll-y>
       <view wx:if="{{current == 0}}">
-        <view style="{{ index == 0 ? 'padding-top:0;' : '' }}" class="categoryitem" data-id="{{item.id}}" wx:for="{{listData}}" wx:key="item" bindtap="toPartDetail">
+        <view style="{{ index == 0 ? 'padding-top:0;' : '' }}" class="categoryitem" data-id="{{item.id}}"
+          wx:for="{{listData}}" wx:key="item" bindtap="toPartDetail">
           <view class="img-sex">
             <!-- {{appAssetsUrl2}}wjxy/mine/vip-icon.png /images/wjxy/boy.png -->
-            <image src="{{ item.sexlimit == '01' ? appAssetsUrl2 + 'wjxy/boy.png' : item.sexlimit == '02' ? appAssetsUrl2+'wjxy/girl.png' : appAssetsUrl2+'wjxy/boy_girl.png' }}" class="{{ item.sexlimit == '01' ? 'per-img1' : item.sexlimit == '02' ? 'per-img2' : 'per-img3' }}"></image>
+            <image
+              src="{{ item.sexlimit == '01' ? appAssetsUrl2 + 'wjxy/boy.png' : item.sexlimit == '02' ? appAssetsUrl2+'wjxy/girl.png' : appAssetsUrl2+'wjxy/boy_girl.png' }}"
+              class="{{ item.sexlimit == '01' ? 'per-img1' : item.sexlimit == '02' ? 'per-img2' : 'per-img3' }}">
+            </image>
           </view>
           <view class="right-box">
             <view class="catetop">
@@ -34,7 +39,7 @@
                   <view class="time-box">{{item.workdateStart + '-' + item.workdateEnd}}</view>
                 </view>
                 <view style="margin-top:10rpx;">
-                  <i class="iconfont icon-dizhi icon-home-dizhi"></i>
+                  <i class="iconfont1 icon-dizhi icon-home-dizhi time-icon"></i>
                   <view class="address">{{item.address}}</view>
                 </view>
 
@@ -65,7 +70,8 @@
         <view class='boxm boxmfix' data-id="{{item.id}}" bindtap='activeDetail' wx:for="{{listData}}" wx:key="item">
           <view class="rel img-view">
             <image mode="aspectFill" src="{{item.thumbnailImg}}" lazy-load='true'></image>
-            <view class="status {{item.statusName === '进行中' ? 'activestatus' : item.statusName === '报名中' ? 'baostatus' : item.statusName === '已结束' ? 'endstatus' : item.statusName === '已报满' ? 'mstatus' : 'nostatus'}}">
+            <view
+              class="status {{item.statusName === '进行中' ? 'activestatus' : item.statusName === '报名中' ? 'baostatus' : item.statusName === '已结束' ? 'endstatus' : item.statusName === '已报满' ? 'mstatus' : 'nostatus'}}">
               {{item.statusName}}</view>
           </view>
           <view class="txt-con txt-con-fix">

+ 2 - 1
pages/search/index.wxss

@@ -247,7 +247,8 @@ page {
   color: #808080;
 }
 .time-icon {
-  color: #ffdd36;
+  /* color: #ffdd36; */
+  color: #999999 !important;
 }
 .bot-time {
   display: flex;