evalutecontent.wxml 8.1 KB
<view class="boxhead">
  <view class="evalutetop">
    <view class="evaluteleft">
      <view class="code">{{statistics.score}}</view>
      <view class="evalutetop">
        <view class="evaluteitemx">
          <image src="{{url}}/aicon_37@2x.png" wx:if="{{headscore<5}}"></image>
          <image src="{{url}}/aicon_38@2x.png" wx:if="{{headscore>=55&&headscore<10}}"></image>
          <image src="{{url}}/aicon_39@2x.png" wx:if="{{headscore>=10}}"></image>
        </view>
        <view class="evaluteitemx">
          <image src="{{url}}/aicon_37@2x.png" wx:if="{{headscore<15}}"></image>
          <image src="{{url}}/aicon_38@2x.png" wx:if="{{headscore>=15&&headscore<20}}"></image>
          <image src="{{url}}/aicon_39@2x.png" wx:if="{{headscore>=20}}"></image>
        </view>
        <view class="evaluteitemx">
          <image src="{{url}}/aicon_37@2x.png" wx:if="{{headscore<25}}"></image>
          <image src="{{url}}/aicon_38@2x.png" wx:if="{{headscore>=25&&headscore<30}}"></image>
          <image src="{{url}}/aicon_39@2x.png" wx:if="{{headscore>=30}}"></image>
        </view>
        <view class="evaluteitemx">
          <image src="{{url}}/aicon_37@2x.png" wx:if="{{headscore<35}}"></image>
          <image src="{{url}}/aicon_38@2x.png" wx:if="{{headscore>=35&&headscore<40}}"></image>
          <image src="{{url}}/aicon_39@2x.png" wx:if="{{headscore>=40}}"></image>
        </view>
        <view class="evaluteitemx">
          <image src="{{url}}/aicon_37@2x.png" wx:if="{{headscore<45}}"></image>
          <image src="{{url}}/aicon_38@2x.png" wx:if="{{headscore>=45&&headscore<50}}"></image>
          <image src="{{url}}/aicon_39@2x.png" wx:if="{{headscore>=50}}"></image>
        </view>
      </view>
    </view>

    <view class="evaluteright">
      <view class="star">
        <view class="starleft">
          <view class="staritem">
            <image src="/img/aicon_27@2x.png"></image>
          </view>
          <view class="staritem">
            <image src="/img/aicon_27@2x.png"></image>
          </view>
          <view class="staritem">
            <image src="/img/aicon_27@2x.png"></image>
          </view>
          <view class="staritem">
            <image src="/img/aicon_27@2x.png"></image>
          </view>
          <view class="staritem">
            <image src="/img/aicon_27@2x.png"></image>
          </view>
        </view>

        <view class="tiao">
          <view class="tiaoitem" style="width:{{statistics.five_percent}}%"></view>
        </view>
        <view class="pingfen">{{statistics.five_percent}}%</view>


      </view>
      <view class="star">
        <view class="starleft">
          <view class="staritem">
            <image src="/img/aicon_27@2x.png"></image>
          </view>
          <view class="staritem">
            <image src="/img/aicon_27@2x.png"></image>
          </view>
          <view class="staritem">
            <image src="/img/aicon_27@2x.png"></image>
          </view>
          <view class="staritem">
            <image src="/img/aicon_27@2x.png"></image>
          </view>

        </view>

        <view class="tiao">
          <view class="tiaoitem" style="width:{{statistics.four_percent}}%"></view>
        </view>
        <view class="pingfen">{{statistics.four_percent}}%</view>


      </view>
      <view class="star">
        <view class="starleft">
          <view class="staritem">
            <image src="/img/aicon_27@2x.png"></image>
          </view>
          <view class="staritem">
            <image src="/img/aicon_27@2x.png"></image>
          </view>
          <view class="staritem">
            <image src="/img/aicon_27@2x.png"></image>
          </view>

        </view>

        <view class="tiao">
          <view class="tiaoitem" style="width:{{statistics.three_percent}}%"></view>
        </view>
        <view class="pingfen">{{statistics.three_percent}}%</view>


      </view>
      <view class="star">
        <view class="starleft">
          <view class="staritem">
            <image src="/img/aicon_27@2x.png"></image>
          </view>
          <view class="staritem">
            <image src="/img/aicon_27@2x.png"></image>
          </view>

        </view>

        <view class="tiao">
          <view class="tiaoitem" style="width:{{statistics.two_percent}}%"></view>
        </view>
        <view class="pingfen">{{statistics.two_percent}}%</view>


      </view>
      <view class="star">
        <view class="starleft">
          <view class="staritem">
            <image src="/img/aicon_27@2x.png"></image>
          </view>

        </view>

        <view class="tiao">
          <view class="tiaoitem" style="width:{{statistics.one_percent}}%"></view>
        </view>
        <view class="pingfen">{{statistics.one_percent}}%</view>


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

  <view class="hotticket">热门标签</view>

  <view class="botlabet">
    <view class="labelitem" wx:for="{{hot_tag}}" wx:key=''>
      <text>{{item.name}}</text>
      <text class="labelitemright">{{item.comment_count}}</text>
    </view>

  </view>

</view>

<view class="boxmiddle">
  <view class="boxmiddleitem" wx:for="{{list}}" wx:key=''>
    <view class="evaluteitemleft">
      <image src="{{item.avatar}}"></image>
    </view>

    <view class="evaluteitemright">
      <view class="evalname">{{item.user_nickname}}</view>
      <view class="evalstarword">
        <view class="evalstar">
          <view class="evalstaritem">
            <image src="{{url}}/aicon_37@2x.png" wx:if="{{item.score<5}}"></image>
            <image src="{{url}}/aicon_38@2x.png" wx:if="{{item.score>=55&&item.score<10}}"></image>
            <image src="{{url}}/aicon_39@2x.png" wx:if="{{item.score>=10}}"></image>
          </view>
          <view class="evalstaritem">
            <image src="{{url}}/aicon_37@2x.png" wx:if="{{item.score<15}}"></image>
            <image src="{{url}}/aicon_38@2x.png" wx:if="{{item.score>=15&&item.score<20}}"></image>
            <image src="{{url}}/aicon_39@2x.png" wx:if="{{item.score>=20}}"></image>
          </view>
          <view class="evalstaritem">
            <image src="{{url}}/aicon_37@2x.png" wx:if="{{item.score<25}}"></image>
            <image src="{{url}}/aicon_38@2x.png" wx:if="{{item.score>=25&&item.score<30}}"></image>
            <image src="{{url}}/aicon_39@2x.png" wx:if="{{item.score>=30}}"></image>
          </view>
          <view class="evalstaritem">
            <image src="{{url}}/aicon_37@2x.png" wx:if="{{item.score<35}}"></image>
            <image src="{{url}}/aicon_38@2x.png" wx:if="{{item.score>=35&&item.score<40}}"></image>
            <image src="{{url}}/aicon_39@2x.png" wx:if="{{item.score>=40}}"></image>
          </view>
          <view class="evalstaritem">
            <image src="{{url}}/aicon_37@2x.png" wx:if="{{item.score<45}}"></image>
            <image src="{{url}}/aicon_38@2x.png" wx:if="{{item.score>=45&&item.score<50}}"></image>
            <image src="{{url}}/aicon_39@2x.png" wx:if="{{item.score>=50}}"></image>
          </view>

        </view>

        <view class="evardate">{{item.create_time}}</view>
      </view>

      <view class="evaltext">{{item.content}}</view>
      <view class="medioblock">
        <block wx:if="{{item.files.length!=0}}">
          <view class="evalimgitem" wx:for='{{item.files}}' wx:key="">
            <image src="{{item}}"></image>
          </view>


        </block>

        <view class="evalimgitem videoimg" wx:if="{{item.video!=''}}" data-url="{{item.video}}" bindtap="entervido">
          <image src="{{item.video_image}}"></image>

          <view class="videoanniu">
              <image src="{{url}}/aicon_70x.png"></image>
          </view>
        </view>
      </view>




      <view class="zan">
        <view class="zanimg" bindtap="dianzan" data-id="{{item.id}}">
          <image src="/img/aicon_46x.png" wx:if="{{item.is_good==1}}"></image>
          <image src="/img/aicon_47x.png" wx:if="{{item.is_good==0}}"></image>
        </view>

        <view class="zannum">{{item.good_count}}</view>
      </view>

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

<view class="write" bindtap="publishcomment">
  <view class="writeimg">
    <image src="{{url}}/aicon_48x.png"></image>
  </view>
</view>