bt-lcyd/pages/exerciseNews/exerciseNews.wxml

26 lines
1.6 KiB
Plaintext
Raw Normal View History

2022-06-14 10:56:41 +08:00
<view class="swiper-box">
<swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" >
<swiper-item class="swiper-item" wx:for="{{swiperList}}" wx:key="index">
<image src="{{requestIp}}route/file/downloadfile/true/{{item}}"></image>
</swiper-item>
</swiper>
</view>
<view class="tab">
<!-- <view class="tab-btn {{curTab == '021634c9-2a4b-4dd6-a997-3155e185d45d'?'active': ''}}" data-id="021634c9-2a4b-4dd6-a997-3155e185d45d" bindtap="changeTab">新闻资讯</view> -->
<!-- <view class="tab-btn {{curTab == 'c9794a0e-32f9-4859-be21-ce5786de8d44'?'active': ''}}" data-id="c9794a0e-32f9-4859-be21-ce5786de8d44" bindtap="changeTab">政策法规</view>
<view class="tab-btn {{curTab == '13970561-bdd8-47ac-8d63-fbf03b824b62'?'active': ''}}" data-id="13970561-bdd8-47ac-8d63-fbf03b824b62" bindtap="changeTab">通知公告</view>
<view class="tab-btn {{curTab == 'ffc197ce-83dc-4eac-96a8-68dff9868259'?'active': ''}}" data-id="ffc197ce-83dc-4eac-96a8-68dff9868259" 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>