- <!-- 为发布者详情界面中的活动卡片,数据在mainData.js 注:mainData.js在主界面和此界面都被引用 -->
- <view class="card" bindtap="getActivityInfo">
- <view class="profile">
- <view style="display: flex;">
- <image class="publisher-avatar" src="{{item.publisherAvatar}}" mode="aspectFill"></image>
- <view class="publisher-name dark-primary-color-font">{{item.publisherName}}</view>
- <view class="time">{{item.time}}</view>
- </view>
- <view class="activity-attribute accent-color white-text-color" catchtap="filterMsgType">{{item.attribute[0]}}</view>
- </view>
- <view class="title">{{item.title}}</view>
- <view class="sub-title">{{item.subTitle}}</view>
- <imagePicker wx:if="{{item.poster != ''}}" images="{{[item.poster]}}" max="1" image-width="700" image-height="365" readonly />
- <imagePicker wx:if="{{item.poster == '' && item.photo.length != 0}}" images="{{item.photo}}" max="1" image-width="{{item.photo.length == 1 ? 700 : item.photo.length <= 4 ? 330 : 220}}" image-height="{{item.photo.length == 1 ? 700 : item.photo.length <= 4 ? 330 : 220}}" readonly />
- <view class="line divider-color"></view>
- </view>
|