word_report.wxml 1.4 KB
<view class="info_box">
  <view class="item">
    <text>姓名</text>
    <text>{{info.name}}</text>
  </view>
  <view class="item">
    <text>工作内容</text>
    <text>{{info.work_content}}</text>
  </view>



  <block wx:for="{{info.time}}" wx:key="index">
    <view class="item">
      <text>参加日期</text>
      <text>{{item.date}}</text>
    </view>

    <view class="item">
      <text>参加时间</text>
      <text>{{item.time}}</text>
    </view>

  </block>

</view>

<view class="img_box">
  <view class="title">图片上传</view>
  <view class="img_arr">
    <view class="img_item" wx:for="{{imgarr}}" wx:key="index">
      <image src="{{item}}" mode="aspectFill" class="show_img" catchtap="look_img" data-index="{{index}}" />
      <image class="del" src="/imgs/del.png" catchtap="del_img" data-index="{{index}}" wx:if="{{!user_id}}" />
    </view>
    <image class="img_item" src="/imgs/add_img.png" mode="aspectFill" bindtap="upimg" wx:if="{{!user_id}}" />
  </view>
</view>



<view class="word_box">
  <view class="title">
    <image src="/imgs/must.png" /> 感想汇报
  </view>
  <textarea class="word" placeholder="请输入内容,内容最多500字" bindinput="get_word" value="{{word}}" disabled="{{user_id}}" maxlength="500"> 
    <view class="word_num">{{word?word.length:0}}/500</view>
  </textarea>
</view>

<view class="submit" bindtap="submit" wx:if="{{!user_id}}">确认</view>