Browse Source

去掉官方推荐作品的发布时间,保留用户作品发布时间

author 3 years ago
parent
commit
be83f4d9ab
1 changed files with 2 additions and 2 deletions
  1. 2 2
      component/video-swiper/index.wxml

+ 2 - 2
component/video-swiper/index.wxml

@@ -84,9 +84,9 @@
       <!-- <view wx:if="{{!item.showMyBtn}}" class="time">
         <text>发布时间:{{item.time}}</text>
       </view> -->
-      <!-- <view wx:if="{{!item.showMyBtn}}" class="time">
+      <view wx:if="{{!item.showMyBtn && item.type != 'EXAMPLE'}}" class="time">
         <text>发布时间:{{item.time}}</text>
-      </view> -->
+      </view>
       <view wx:if="{{item.showMyBtn && !item.ifCheck}}" class="my_btn">
         <view class="delete" catchtap="download" data-url="{{item.markPath ? item.markPath : '' }}" data-id="{{item.id}}">
           <image class="download_image" src="../../static/index/down.png" />