goodevalute.wxml 4.7 KB
<view class="evalutepage">

  <view class="evalutebox">
    <view class="evaluteboxhead">
      <view class="evaluteleft">
        <image src="{{item.image}}"></image>
        <view class="zengsong" wx:if="{{type==2}}">
          <image src="/img/song.png"></image>
        </view>
      </view>
      <view class="evaluteright">
        <view class="boxgoodrightop">
          <view class="boxgoodrigtl" wx:if="{{type==1}}">
            <image src="/img/good.png"></image>

          </view>
          <view class="boxgoodrigtl" wx:else>
            <image src="/img/zeng.png"></image>

          </view>
         {{item.goods_name}}
        </view>

        <view class="desc">描述相符</view>

        <view class="wuxing">
          <view class="wuxingleft">
            <view class="wuxingitem" bindtap="chosestar" data-star="1">
              <image src="/img/shixing.png" wx:if="{{star>=1}}" ></image>
              <image src="/img/kongxing.png" wx:else></image>
            </view>
            <view class="wuxingitem" bindtap="chosestar" data-star="2">
              <image src="/img/shixing.png" wx:if="{{star>=2}}"></image>
              <image src="/img/kongxing.png" wx:else></image>
            </view>
            <view class="wuxingitem" bindtap="chosestar" data-star="3">
              <image src="/img/shixing.png" wx:if="{{star>=3}}"></image>
              <image src="/img/kongxing.png" wx:else></image>
            </view>
            <view class="wuxingitem" bindtap="chosestar" data-star="4">
              <image src="/img/shixing.png" wx:if="{{star>=4}}"></image>
              <image src="/img/kongxing.png" wx:else></image>
            </view>
            <view class="wuxingitem" bindtap="chosestar" data-star="5">
              <image src="/img/shixing.png" wx:if="{{star>=5}}"></image>
              <image src="/img/kongxing.png" wx:else></image>
            </view>
          </view>

          <view class="wuxingfen">{{star}}分</view>
        </view>
      </view>
    </view>

    <view class="enterdes">
      <textarea placeholder='请输入评价' placeholder-class='enterping' bindinput="enterevalute"/>
    </view>

    <view class="upimg">
      <view class="upimgbnox">

        <block wx:for="{{imgarr}}" wx:key="">
          <view class="upimgnoxitem">
            <image src="{{item}}"></image>
            <view class="chahao" bindtap="delimg" data-url="{{item}}" data-index="{{index}}">
              <image src="/img/delimg.png"></image>
            </view>
          </view>
        </block>


        <view class="upimgnoxitem" bindtap="chooseImage">
          <image src="/img/addimg.png"></image>
        </view>

      </view>
    </view>
  </view>


  <!-- <view class="evalutebox">
    <view class="evaluteboxhead">
      <view class="evaluteleft">
        <image src="/img/evalute.png"></image>

        <view class="zengsong">
          <image src="/img/song.png"></image>
        </view>
      </view>
      <view class="evaluteright">
        <view class="boxgoodrightop">
          <view class="boxgoodrigtl">
            <image src="/img/good.png"></image>
          </view>
          商品名称商品名称
        </view>

        <view class="desc">描述相符</view>

        <view class="wuxing">
          <view class="wuxingleft">
            <view class="wuxingitem">
              <image src="/img/shixing.png"></image>
            </view>
            <view class="wuxingitem">
              <image src="/img/shixing.png"></image>
            </view>
            <view class="wuxingitem">
              <image src="/img/shixing.png"></image>
            </view>
            <view class="wuxingitem">
              <image src="/img/shixing.png"></image>
            </view>
            <view class="wuxingitem">
              <image src="/img/shixing.png"></image>
            </view>
          </view>

          <view class="wuxingfen">5分</view>
        </view>
      </view>
    </view>

    <view class="enterdes">
      <textarea placeholder='请输入评价' placeholder-class='enterping' />
    </view>

    <view class="upimg">
      <view class="upimgbnox">
        <view class="upimgnoxitem">
          <image src="/img/xie.png"></image>
          <view class="chahao">
            <image src="/img/delimg.png"></image>
          </view>
        </view>
        <view class="upimgnoxitem">
          <image src="/img/xie.png"></image>
          <view class="chahao">
            <image src="/img/delimg.png"></image>
          </view>
        </view>
        <view class="upimgnoxitem">
          <image src="/img/xie.png"></image>
        </view>

      </view>
    </view>
  </view> -->
</view>



<view class="adddizhi">
  <view class="adddizhibtn" bindtap="fabu">发布</view>
</view>