evalute.wxml 3.9 KB
<!-- 新增标签 -->
<view class="register" wx:if="{{biaoqian}}" bindtap="hideregister">
  <view class="registerwrap" catchtap='tab'>
    <view class="enterbiao">输入标签名</view>
    <view class="enterword">
      <input placeholder='标签名10个汉字(20个字符)以内' placeholder-class='enter' bindinput="enterlabel" />
    </view>

    <view class="tabottom">
      <view class="cancel" catchtap='cancel'>取消</view>
      <view class="sure" bindtap="sureadd">确定</view>
    </view>
  </view>
</view>

<view star>
  <view class="starname">滑动星星评分</view>
  <view class="starlist">
    <view class="staritem" bindtap="star" data-id="1">
      <image src="{{star1>=1?'http://winesbook.cn/static/images_mini/aicon_10x.png':'http://winesbook.cn/static/images_mini/aicon_09x.png'}}"></image>

    </view>

    <view class="staritem" bindtap="star" data-id="2">
      <image src="{{star1>=2?'http://winesbook.cn/static/images_mini/aicon_10x.png':'http://winesbook.cn/static/images_mini/aicon_09x.png'}}"></image>
    </view>

    <view class="staritem" bindtap="star" data-id="3">
      <image src="{{star1>=3?'http://winesbook.cn/static/images_mini/aicon_10x.png':'http://winesbook.cn/static/images_mini/aicon_09x.png'}}"></image>
    </view>
    <view class="staritem" bindtap="star" data-id="4">
      <image src="{{star1>=4?'http://winesbook.cn/static/images_mini/aicon_10x.png':'http://winesbook.cn/static/images_mini/aicon_09x.png'}}"></image>
    </view>

    <view class="staritem" bindtap="star" data-id="5">
      <image src="{{star1>=5?'http://winesbook.cn/static/images_mini/aicon_10x.png':'http://winesbook.cn/static/images_mini/aicon_09x.png'}}"></image>
    </view>

  </view>

</view>

<view class="biaoqian">
  <view class="biaoqianleft">
    选择标签
  </view>
  <view class="biaoqianright" bindtap="se">
    <image src="{{sepic==true?'http://winesbook.cn/static/images_mini/aicon_53x.png':'http://winesbook.cn/static/images_mini/aicon_52x.png'}}"></image>
  </view>
</view>

<view class="showpic" wx:if="{{sepic}}">
  <view class="showpicitem {{item.sel==true?'labelactive':''}}" wx:for="{{tablist}}" wx:key='' catchtap='selectlabel' data-id="{{item.id}}" data-idx="{{index}}">{{item.name}}</view>


  <view class="addnew" bindtap="addnewlabel">
    <view class="jia">
      <image src="/img/aicon66.png"></image>
    </view>

    <view class="newlabelname">新标签</view>
  </view>
</view>

<!-- 上传图片 -->

<view class="imgbox">

  <block wx:for="{{images}}" wx:key="">
    <view class="imgboxite">
      <image src="{{item}}"></image>

      <view class="cha" bindtap="delimg" data-index="{{index}}">
        <image src="{{url}}/aicon_54x.png"></image>
      </view>
    </view>
  </block>

  <block  wx:if="{{videoimg!=''}}" wx:key="">
    <view class="imgboxite">
      <video src="{{videoimg}}"></video>

      <view class="cha" bindtap="delvideo" data-index="{{index}}">
        <image src="{{url}}/aicon_54x.png"></image>
      </view>
    </view>
  </block>

  <block wx:if="{{videoimg!=''}}">
  <view class="addimg" bindtap="chooseImage"  wx:if="{{images.length<5}}">
    <image src="{{url}}/aicon_55x.png"></image>
  </view>
  </block>
    <block wx:else>
  <view class="addimg" bindtap="chooseImage"  wx:if="{{images.length<6}}">
    <image src="{{url}}/aicon_55x.png"></image>
  </view>
  </block>
  <block wx:if="{{videoimg==''}}">
  <view class="addimg" bindtap="choosevideo" wx:if="{{images.length<6}}">
    <image src="/img/cicon17@2x.png"></image>
  </view>
  </block>


</view>

<view class="entersay saybox">
  <textarea placeholder='这酒怎么样我来说一说' placeholder-class='entersay' bindinput="entercontent"/>
</view>

<view class="saybottom">
  <view class="sayleft">
    <view class="sayimg">
      <image src="{{url}}/aicon_56x.png"></image>
    </view>

    <view class="leftword">{{currentCity}}</view>
  </view>

  <view class="sayright" bindtap="publish">发布</view>
</view>