comment.wxml 7.1 KB
<view class="infobox">
  <view class="infoTitle">{{name}}</view>
  <view class="infoboxk">
    
    <view class="evaluateItem flexone">
      <view class="infoTitle">评分</view>
      <view class="starbox" bindtap="total" data-id="1">
        <image class="starItem" src="/img/pingfenshi.png" wx:if="{{totalstar>=1}}" />
        <image class="starItem" src="/img/lingfen_icon.png" wx:else/>
      </view>
      <view class="starbox" bindtap="total" data-id="2">
        <image class="starItem" src="/img/pingfenshi.png " wx:if="{{totalstar>=2}}" />
        <image class="starItem" src="/img/lingfen_icon.png" wx:else/>
      </view>
      <view class="starbox" bindtap="total" data-id="3">
        <image class="starItem" src="/img/pingfenshi.png" wx:if="{{totalstar>=3}}" />
        <image class="starItem" src="/img/lingfen_icon.png" wx:else/>

      </view>
      <view class="starbox" bindtap="total" data-id="4">
        <image class="starItem" src="/img/pingfenshi.png" wx:if="{{totalstar>=4}}" />
        <image class="starItem" src="/img/lingfen_icon.png" wx:else/>
      </view>
      <view class="starbox" bindtap="total" data-id="5">
        <image class="starItem" src="/img/pingfenshi.png" wx:if="{{totalstar>=5}}" />
        <image class="starItem" src="/img/lingfen_icon.png" wx:else/>

      </view>
    </view>
    <!-- <view class="evaluateItem">
      <view class="tltle">服务</view>
      <view class="starbox" bindtap="service" data-id="1">
        <image class="starItem" src="/img/pingfenshi.png" wx:if="{{servicestar>=1}}" />
        <image class="starItem" src="/img/lingfen_icon.png" wx:else/>
      </view>
      <view class="starbox" bindtap="service" data-id="2">
        <image class="starItem" src="/img/pingfenshi.png " wx:if="{{servicestar>=2}}" />
        <image class="starItem" src="/img/lingfen_icon.png" wx:else/>
      </view>
      <view class="starbox" bindtap="service" data-id="3">
        <image class="starItem" src="/img/pingfenshi.png" wx:if="{{servicestar>=3}}" />
        <image class="starItem" src="/img/lingfen_icon.png" wx:else/>

      </view>
      <view class="starbox" bindtap="service" data-id="4">
        <image class="starItem" src="/img/pingfenshi.png" wx:if="{{servicestar>=4}}" />
        <image class="starItem" src="/img/lingfen_icon.png" wx:else/>
      </view>
      <view class="starbox" bindtap="service" data-id="5">
        <image class="starItem" src="/img/pingfenshi.png" wx:if="{{servicestar>=5}}" />
        <image class="starItem" src="/img/lingfen_icon.png" wx:else/>

      </view>
    </view>
    <view class="evaluateItem">
      <view class="tltle">口味</view>
      <view class="starbox" bindtap="tast" data-id="1">
        <image class="starItem" src="/img/pingfenshi.png" wx:if="{{taststar>=1}}" />
        <image class="starItem" src="/img/lingfen_icon.png" wx:else/>
      </view>
      <view class="starbox" bindtap="tast" data-id="2">
        <image class="starItem" src="/img/pingfenshi.png " wx:if="{{taststar>=2}}" />
        <image class="starItem" src="/img/lingfen_icon.png" wx:else/>
      </view>
      <view class="starbox" bindtap="tast" data-id="3">
        <image class="starItem" src="/img/pingfenshi.png" wx:if="{{taststar>=3}}" />
        <image class="starItem" src="/img/lingfen_icon.png" wx:else/>

      </view>
      <view class="starbox" bindtap="tast" data-id="4">
        <image class="starItem" src="/img/pingfenshi.png" wx:if="{{taststar>=4}}" />
        <image class="starItem" src="/img/lingfen_icon.png" wx:else/>
      </view>
      <view class="starbox" bindtap="tast" data-id="5">
        <image class="starItem" src="/img/pingfenshi.png" wx:if="{{taststar>=5}}" />
        <image class="starItem" src="/img/lingfen_icon.png" wx:else/>

      </view>
    </view>
    <view class="evaluateItem">
      <view class="tltle">环境</view>
      <view class="starbox" bindtap="envirment" data-id="1">
        <image class="starItem" src="/img/pingfenshi.png" wx:if="{{environmentstar>=1}}" />
        <image class="starItem" src="/img/lingfen_icon.png" wx:else/>
      </view>
      <view class="starbox" bindtap="envirment" data-id="2">
        <image class="starItem" src="/img/pingfenshi.png " wx:if="{{environmentstar>=2}}" />
        <image class="starItem" src="/img/lingfen_icon.png" wx:else/>
      </view>
      <view class="starbox" bindtap="envirment" data-id="3">
        <image class="starItem" src="/img/pingfenshi.png" wx:if="{{environmentstar>=3}}" />
        <image class="starItem" src="/img/lingfen_icon.png" wx:else/>

      </view>
      <view class="starbox" bindtap="envirment" data-id="4">
        <image class="starItem" src="/img/pingfenshi.png" wx:if="{{environmentstar>=4}}" />
        <image class="starItem" src="/img/lingfen_icon.png" wx:else/>
      </view>
      <view class="starbox" bindtap="envirment" data-id="5">
        <image class="starItem" src="/img/pingfenshi.png" wx:if="{{environmentstar>=5}}" />
        <image class="starItem" src="/img/lingfen_icon.png" wx:else/>

      </view>
    </view>
    <view class="evaluateItem">
      <view class="tltle">食材</view>
      <view class="starbox" bindtap="food" data-id="1">
        <image class="starItem" src="/img/pingfenshi.png" wx:if="{{foodstar>=1}}" />
        <image class="starItem" src="/img/lingfen_icon.png" wx:else/>
      </view>
      <view class="starbox" bindtap="food" data-id="2">
        <image class="starItem" src="/img/pingfenshi.png " wx:if="{{foodstar>=2}}" />
        <image class="starItem" src="/img/lingfen_icon.png" wx:else/>
      </view>
      <view class="starbox" bindtap="food" data-id="3">
        <image class="starItem" src="/img/pingfenshi.png" wx:if="{{foodstar>=3}}" />
        <image class="starItem" src="/img/lingfen_icon.png" wx:else/>

      </view>
      <view class="starbox" bindtap="food" data-id="4">
        <image class="starItem" src="/img/pingfenshi.png" wx:if="{{foodstar>=4}}" />
        <image class="starItem" src="/img/lingfen_icon.png" wx:else/>
      </view>
      <view class="starbox" bindtap="food" data-id="5">
        <image class="starItem" src="/img/pingfenshi.png" wx:if="{{foodstar>=5}}" />
        <image class="starItem" src="/img/lingfen_icon.png" wx:else/>

      </view>
    </view> -->
  </view>
  <textarea placeholder="说说您的用餐体验…" class="wordArea" bindinput="entermark"  placeholder-class="word"/>
  <!-- <view class="labelbox">
      <view class="labelItem">
        <text>+</text>标题
      </view>
  </view> -->
  <view class="imagebox flexone">
    <view class="picbox flexone">
       <view class="imgItem" wx:for="{{image}}" wx:key="">
        <image mode="aspectFill" src="{{item}}" />
        <view class="chahao" bindtap="del" data-url="{{item}}">
          <image src="/img/chahao.png"></image>
        </view>
      </view>
  <view class="imgItem" bindtap="chooseImage">
       <image mode="aspectFill" src="/img/jiang.png" />
    </view>
    </view>

 
  </view>


</view>


<view class="costbox">
  <view class="costTitle">人均</view>
  <view class="fillbox">
    <text>¥</text>
    <input placeholder="请输入消费金额" class="fillCost" type="digit" bindinput="entermoney" />
  </view>
</view>

<view class="submit btnActive" bindtap="publish">发表</view>