morecomment.wxml 7.6 KB
<view class="commenttop flexone">
  <view class="commenttopitem {{coment==index?'comactive':''}}" wx:for="{{comentarr}}" wx:key="" bindtap="selitem" data-index="{{index}}">{{item}}</view>
</view>
<view class="bodybox">
  <view class="photo" wx:for="{{commentlist}}" wx:key="">
    <view class="jianintro photobox" bindtap="comentdetail" data-id="{{item.id}}">
      <view class="comtop flextwo">
        <view class="comleft">
          <image src="{{item.avatar}}"></image>
        </view>
        <view class="comright">

          <view class="comrtop flextwo">
            <view class="comrname">{{item.nickname}}</view>
            <view class="star starone flexone">
              <view class="staritem">
                <image src="/img/star.png" wx:if="{{item.user_level>=1}}"></image>
                <image src="/img/huangkong.png" wx:if="{{item.user_level<0.5}}"></image>
                <image src="/img/huangban.png" wx:if="{{item.user_level>=0.5&&tem.user_level<1}}"></image>
              </view>
              <view class="staritem">
                <image src="/img/star.png" wx:if="{{item.user_level>=2}}"></image>
                <image src="/img/huangkong.png" wx:if="{{item.user_level<1.5}}"></image>
                <image src="/img/huangban.png" wx:if="{{item.user_level==1.5&&tem.user_level<2}}"></image>
              </view>
              <view class="staritem">
                <image src="/img/star.png" wx:if="{{item.user_level>=3}}"></image>
                <image src="/img/huangkong.png" wx:if="{{item.user_level<2.5}}"></image>
                <image src="/img/huangban.png" wx:if="{{item.user_level>=2.5&&item.user_level<3}}"></image>
              </view>
              <view class="staritem">
                <image src="/img/star.png" wx:if="{{item.user_level>=4}}"></image>
                <image src="/img/huangkong.png" wx:if="{{item.user_level<3.5}}"></image>
                <image src="/img/huangban.png" wx:if="{{item.user_level>=3.5&&item.user_level<4}}"></image>
              </view>
             <view class="staritem">
                <image src="/img/star.png" wx:if="{{item.user_level>=5}}"></image>
                <image src="/img/huangkong.png" wx:if="{{item.user_level<4.5}}"></image>
                <image src="/img/huangban.png" wx:if="{{item.user_level>=4.5&&item.user_level<5}}"></image>
              </view>

            </view>
          </view>
          <view class="comdate">{{item.createtime}}</view>

        </view>
      </view>
      <view class="comtext flexone">
        <view class="comleft"></view>

        <view class="comright">
          <view class="flexone fenxia">
            <view class="star starone flexone">
              <view class="staritem">
                <image src="/img/pingfenshi.png" wx:if="{{item.score>=1}}"></image>
                 <image src="/img/noxing.png" wx:if="{{item.score<0.5}}"></image>
                 <image src="/img/banke.png" wx:if="{{item.score>=0.5&&item.score<1}}"></image>
                
              </view>
              <view class="staritem">
                 <image src="/img/pingfenshi.png" wx:if="{{item.score>=2}}"></image>
                 <image src="/img/noxing.png" wx:if="{{item.score<1.5}}"></image>
                 <image src="/img/banke.png" wx:if="{{item.score>=1.5&&item.score<2}}"></image>
              </view>
              <view class="staritem">
                <image src="/img/pingfenshi.png" wx:if="{{item.score>=3}}"></image>
                 <image src="/img/noxing.png" wx:if="{{item.score<2.5}}"></image>
                 <image src="/img/banke.png" wx:if="{{item.score>=2.5&&item.score<3}}"></image>
              </view>
              <view class="staritem">
                 <image src="/img/pingfenshi.png" wx:if="{{item.score>=4}}"></image>
                 <image src="/img/noxing.png" wx:if="{{item.score<3.5}}"></image>
                 <image src="/img/banke.png" wx:if="{{item.score>=3.5&&item.score<4}}"></image>
              </view>
              <view class="staritem">
                 <image src="/img/pingfenshi.png" wx:if="{{item.score>=5}}"></image>
                 <image src="/img/noxing.png" wx:if="{{item.score<4.5}}"></image>
                 <image src="/img/banke.png" wx:if="{{item.score>=4.5&&item.score<5}}"></image>
              </view>
              
            </view>
            <view class="fen">{{item.score}}分</view>
          </view>
          <view class="text">
            {{item.content}}
          </view>
          <view class="textboximg flexone">
            <view class="boxitem" wx:for='{{item.images}}' wx:key="">
              <image src="{{item}}"></image>
            </view>
            <!-- <view class="boxitem">
              <image src="/img/photo.png"></image>
            </view>
            <view class="boxitem">
              <image src="/img/photo.png"></image>
            </view> -->
          </view>
        </view>


      </view>
    </view>
  </view>
  <!-- <view class="photo" >
    <view class="jianintro photobox" bindtap="comdetail">
      <view class="comtop flextwo">
        <view class="comleft">
          <image src="/img/kele.png"></image>
        </view>
        <view class="comright">

          <view class="comrtop flextwo">
            <view class="comrname">一心只想撤撤撤</view>
            <view class="star starone flexone">
              <view class="staritem">
                <image src="/img/star.png"></image>
              </view>
              <view class="staritem">
                <image src="/img/star.png"></image>
              </view>
              <view class="staritem">
                <image src="/img/star.png"></image>
              </view>
              <view class="staritem">
                <image src="/img/star.png"></image>
              </view>
              <view class="staritem">
                <image src="/img/star.png"></image>
              </view>
            </view>
          </view>
          <view class="comdate">2019年10月12日</view>

        </view>
      </view>
      <view class="comtext flexone">
        <view class="comleft"></view>

        <view class="comright">
          <view class="flexone fenxia">
            <view class="star starone flexone">
              <view class="staritem">
                <image src="/img/star.png"></image>
              </view>
              <view class="staritem">
                <image src="/img/star.png"></image>
              </view>
              <view class="staritem">
                <image src="/img/star.png"></image>
              </view>
              <view class="staritem">
                <image src="/img/star.png"></image>
              </view>
              <view class="staritem">
                <image src="/img/banke.png"></image>
              </view>
              <view class="staritem">
                <image src="/img/star.png"></image>
              </view>
            </view>
            <view class="fen">8.5分</view>
          </view>
          <view class="text">
            掌柜态度很专业热情,有问必答,回复也很快,我问了不少问题,他都不觉得烦,都会认真回答我,这点我向掌柜表示由衷的敬意,这样的好掌柜可不多了。
          </view>
          <view class="textboximg flexone">
            <view class="boxitem">
              <image src="/img/photo.png"></image>
            </view>
            <view class="boxitem">
              <image src="/img/photo.png"></image>
            </view>
            <view class="boxitem">
              <image src="/img/photo.png"></image>
            </view>
          </view>
        </view>


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

</view>