| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <!--为首页-信息详情页面-->
- <view class="page">
- <view class="card">
- <image wx:if="{{activityInfo.poster}}" class="activity-poster" src="{{activityInfo.poster}}" mode="aspectFill" />
- <view>
- <view class="profile">
- <view class="avatar-name" catchtap="getPublisherInfo">
- <image class="publisher-avatar" src="{{activityInfo.publisher[0].avatar}}"></image>
- <view class="publisher-name">{{activityInfo.publisher[0].name}}</view>
- </view>
- <view class="activity-attribute primary-background-color white-text-color" catchtap="filterMsgType">
- {{activityInfo.type}}
- </view>
- </view>
- <view class="title-time">
- <view class="title">{{activityInfo.name}}</view>
- <view class="time primary-text-color">{{activityInfo.publish_time}}</view>
- </view>
- <view wx:if="{{activityInfo.detail}}" class="text">
- <text>{{activityInfo.detail}}</text>
- </view>
- <view class="line primary-background-color"></view>
- <view wx:if="{{activityInfo.time}}" class="text">时间:{{activityInfo.time}}</view>
- <view wx:if="{{activityInfo.place}}" class="text">地点:{{activityInfo.place}}</view>
- <view wx:if="{{activityInfo.tag[0]}}" class="text">活动提供:<text wx:for="{{activityInfo.tag}}" wx:for-item="tag"
- wx:key="tag">{{tag}} </text></view>
- <view wx:if="{{activityInfo.orient}}" class="text">面向对象:{{activityInfo.orient}}</view>
- <view wx:if="{{activityInfo.contact}}" class="text">联系方式:{{activityInfo.contact}}</view>
- <view wx:if="{{activityInfo.orient}}" class="text">链接:{{activityInfo.link}}</view>
- <imagePicker wx:if="{{activityInfo.photo.length != 0}}" value="{{activityInfo.photo}}" max="1"
- image-width="{{activityInfo.photo.length == 1 ? 698 : activityInfo.photo.length <= 4 ? 330 : 220}}"
- image-height="{{activityInfo.photo.length == 1 ? 698 : activityInfo.photo.length <= 4 ? 330 : 220}}" readonly />
- <view class="line light-primary-color"></view>
- </view>
- </view>
- <view class="message-block">
- <view class="title2">{{activityComment.length == 0 ? "暂无问答" : "答疑区:"}}</view>
- <image wx:if="{{like != -1}}" class="like" src="/images/like/{{like ? 'heart' : 'hollowheart'}}.png"
- catchtap="toggleLike" />
- <view class="card1" wx:for="{{activityComment}}" wx:for-item="item" wx:key="_id">
- <itemActivityComment comment="{{item}}" time="{{item.time}}" />
- </view>
- </view>
- <text>\n</text>
- <view class="comment secondary-background-color">
- <view class="comment-inside" style="display: flex; align-items: center;">
- <icon type="info" size="20" color="#B0B0B0"></icon>
- <input class="comment-input" style="width: 550rpx;" model:value="{{commentText}}" placeholder="提问"
- confirm-type="send" bindconfirm="comment"></input>
- </view>
- <view class="comment-button {{commentText.length < 5 ? 'secondary-text-color' : 'primary-text-color'}}"
- bindtap="comment">发送</view>
- </view>
- </view>
|