<view class="">
    <view class="box">
       <!-- 内容填写 -->
      <view class="item-con">
        <textarea placeholder="把使用心得分享给想买的他们吧" value="{{content}}" bindinput="onContentInput" data-index="{{index}}" maxlength="150">{{ content }}</textarea>
         <!-- 添加图片 -->
        <view class="img-box">
          <view class="img-item"  wx:for="{{prodCommInfo.pics}}" wx:key="*this" wx:for-index="idx" wx:for-item="imgItem">
            <image src="../../images/icon/del.png" data-idx="{{idx}}" bindtap="removeImage" mode="" class="del"/>
            <image src="{{imgItem.url}}" mode="aspectFill" class="img" data-idx="{{idx}}" bindtap="comPicPreView"/>
          </view>
          <view class="upload"  bindtap="getUploadImg">
            <image src="../../images/icon/photo.png" mode="" class="photo"/>
          </view>
        </view>
      </view>
     
  
       <!-- 匿名评价 -->
      <!-- <view class="img-tip">(最多可上传9张照片)</view> -->
      <view class="item-btm">
        <checkbox bindtap="onSelectedItem" checked="{{item.isAnonymous == 1}}">匿名评价</checkbox> 
        <view class="desc">隐藏头像和昵称</view>
      </view>
    </view>

    <view class="box">
        <!-- 评价星级 -->
        <view class="item-star">
          <view class="label">商品评价</view>
          <comm-star value="5" type="write" data-key="score" bind:onStarChange="onStarChange"></comm-star>
          <view class="num">{{prodCommInfo.score}}.0</view>
        </view>
        <view class="item-star">
          <view class="label">配送打包</view>
          <comm-star value="5" type="write" data-key="deliveryPack" bind:onStarChange="onStarChange"></comm-star>
          <view class="num">{{prodCommInfo.deliveryPack}}.0</view>
        </view>
        <view class="item-star">
          <view class="label">送货速度</view>
          <comm-star value="5" type="write" data-key="deliverySpeed" bind:onStarChange="onStarChange"></comm-star>
          <view class="num">{{prodCommInfo.deliverySpeed}}.0</view>
        </view>
        <view class="item-star">
          <view class="label">配送员服务</view>
          <comm-star value="5" type="write" data-key="deliveryService" bind:onStarChange="onStarChange"></comm-star>
          <view class="num">{{prodCommInfo.deliveryService}}.0</view>
        </view>
    </view>
   
    
    
   

  <view class="comm-btn" bindtap="submitComm">
    发布
  </view>

</view>
