You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<!--pages/topics/interactive/index.wxml-->
|
|
|
|
<swiper class="nav" >
|
|
|
|
<swiper-item>
|
|
|
|
<van-grid column-num="4" border="{{false}}">
|
|
|
|
<block wx:for="{{typeList}}" wx:for-index="index">
|
|
|
|
<van-grid-item use-slot url="/pages/resource/index?typeCode={{item.typeCode}}">
|
|
|
|
<view class="circular" style="background-color:{{icon[index].bg_color}}">
|
|
|
|
<text class="fa fa-{{icon[index].pic}} fa-lg" style="color:{{icon[index].color}};font-size:28px"></text>
|
|
|
|
</view>
|
|
|
|
<view>{{item.typeName}}</view>
|
|
|
|
</van-grid-item>
|
|
|
|
</block>
|
|
|
|
</van-grid>
|
|
|
|
</swiper-item>
|
|
|
|
<!-- <swiper-item>
|
|
|
|
<van-grid column-num="4">
|
|
|
|
<van-grid-item icon="photo-o" text="文字" wx:for="{{ 6 }}" />
|
|
|
|
</van-grid>
|
|
|
|
</swiper-item> -->
|
|
|
|
|
|
|
|
</swiper>
|
|
|
|
<view class="container">
|
|
|
|
|
|
|
|
<block wx:for="{{list}}" wx:key="{{index}}">
|
|
|
|
<view class="cell" bindtap="clickListItem" data-id="{{item.id}}">
|
|
|
|
<view class="content">
|
|
|
|
<view class="left" wx:if="{{item.titlePic.length > 0}}">
|
|
|
|
<image class="articleImg" src="{{item.titlePic}}"></image>
|
|
|
|
</view>
|
|
|
|
<view class="right {{articleImg === '' ? 'rightActive' : ''}}">
|
|
|
|
<view class="right-top">
|
|
|
|
<view class="right-title">
|
|
|
|
{{item.title}}
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="right-bottom">
|
|
|
|
<view class="bottom-top" wx:if="{{item.isTop}}">
|
|
|
|
置顶
|
|
|
|
</view>
|
|
|
|
<view class="cell_info_meta">{{item.createTime}}</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</block>
|
|
|
|
</view>
|
|
|
|
|