discuss.wxml 613 B

123456789101112
  1. <!--compontents/discuss/discuss.wxml-->
  2. <view class="comment " animation="{{animationData}}">
  3. <view wx:for="{{discussDatas}}" wx:key="{{item.id}}">
  4. <text style="color: {{uid == item.userId ? '#000' : '#f7085e'}}">{{item.featureMap.wechatName}}:</text>
  5. <text>{{item.content}}</text>
  6. </view>
  7. <view class="text" wx:if="{{type == 2}}">
  8. <input placeholder="输入评论内容" value="{{text}}" bindinput="bindKeyInput" type="text" />
  9. <text bindtap="sendText">发送</text>
  10. </view>
  11. </view>
  12. <text class="unfold" data-flag="{{flag}}" bindtap="onTap">{{downUp}}</text>