19 lines
1000 B
Plaintext
19 lines
1000 B
Plaintext
<!--pages/works/works.wxml-->
|
|
<!-- 标题 -->
|
|
<!-- <view class="title-box">
|
|
<view wx:for="{{workTitleArr}}" wx:key="index" bindtap="chooseTitle" data-index="{{index}}" class="title-btn {{workIndex==index?'workActive':''}}">{{item}}</view>
|
|
</view> -->
|
|
<!-- 列表 -->
|
|
<view class="img-list">
|
|
<view class="item-box" wx:for="{{imgArr}}" wx:key="index">
|
|
<image bindtap="preImg" data-index="{{index}}" src="{{item.img_thumb}}" mode="widthFix" lazy-load></image>
|
|
<!-- <text class="clips2">{{item.name}}</text> -->
|
|
<view class="time">{{item.time}}</view>
|
|
<view wx:if="{{item.isShare==0}}" class="share-box" bindtap="shareEv" data-id="{{item.id}}" data-index="{{index}}">
|
|
<image src="../../../img/share-lisit-icon.png"></image>
|
|
</view>
|
|
<view wx:else class="activeBtn" style="background-color: #ccc;color: #fff;">正在参与活动</view>
|
|
<view wx:if="{{item.isShare==0}}" bindtap="partEv" class="activeBtn" data-id="{{item.id}}" data-index="{{index}}">参与活动</view>
|
|
</view>
|
|
</view>
|