bt-lcyd/pages/sportNews/sportNews.wxml

18 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

2022-06-14 10:56:41 +08:00
<!-- <view class="tab">
<view class="tab-btn {{curTab == 'bd29391f-b00a-4a29-9c2c-6ddfe53a60fe'? 'active':''}}" data-id="bd29391f-b00a-4a29-9c2c-6ddfe53a60fe" bindtap="changeTab">健身指导</view>
<view class="tab-btn {{curTab == '8f46458b-c911-43b3-945f-e1b0873c36f9'? 'active':''}}" data-id="8f46458b-c911-43b3-945f-e1b0873c36f9" bindtap="changeTab">运动康复</view>
<view class="tab-btn {{curTab == '7e049777-d5fa-48a5-a467-5c0c1dea2b30'? 'active':''}}" data-id="7e049777-d5fa-48a5-a467-5c0c1dea2b30" bindtap="changeTab">饮食知识</view>
</view> -->
<view class="news-list">
<view class="news-box" bindtap="goDetail" wx:for="{{newsList}}" wx:key="index" data-id="{{item.articleContentId}}">
<view class="news-image">
<image src="../../images/logo.jpg" wx:if="{{item.images == ''}}"></image>
<image src="{{requestIp}}route/file/downloadfile/true/{{item.images}}" wx:else></image>
</view>
<view class="news-info">
<view class="news-title">{{item.title}}</view>
<view class="news-text">{{item.publishDate}}</view>
<view class="news-text">来源:{{item.source}}</view>
</view>
</view>
</view>