|
|
|
|
<!--pages/list/road/index.wxml-->
|
|
|
|
|
<search bind:onload="search"></search>
|
|
|
|
|
<image class="topimg" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/carPurchase/topImg.jpg" mode="widthFix"></image>
|
|
|
|
|
<view class="top-box">
|
|
|
|
|
<!-- <picker mode="selector" value="{{type}}" range="{{types}}" range-key="type_name" bindchange="changeType">
|
|
|
|
|
<view class="picker">
|
|
|
|
|
<view class="typetext {{type==null?'disable':''}}">{{type==null?'选择类型':types[type].type_name}}</view>
|
|
|
|
|
<image src="https://static.ticket.sz-trip.com/xcxImages/activity/arrow.png" mode="widthFix"></image>
|
|
|
|
|
</view>
|
|
|
|
|
</picker> -->
|
|
|
|
|
<view class="{{sort=='weight'?'active':''}}" bindtap="changeSort" data-sort="weight" data-order="desc">综合</view>
|
|
|
|
|
<view class="price-box{{sort=='price'?' active':''}}" bindtap="changeSort" data-sort="price" data-order="{{sort=='price' && order=='asc'?'desc':'asc'}}">
|
|
|
|
|
<view>价格</view>
|
|
|
|
|
<view style="margin-left:4rpx">
|
|
|
|
|
<image class="{{sort=='price' && order=='asc'?'active':''}}" catchtap="changeSort" data-sort="price" data-order="asc" src="https://static.ticket.sz-trip.com/xcxImages/activity/arrow.png" mode="widthFix"></image>
|
|
|
|
|
<image class="{{sort=='price' && order=='desc'?'active':''}}" catchtap="changeSort" data-sort="price" data-order="desc" src="https://static.ticket.sz-trip.com/xcxImages/activity/arrow.png" mode="widthFix"></image>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="{{sort=='sales_number'?'active':''}}" bindtap="changeSort" data-sort="sales_number" data-order="desc">销量</view>
|
|
|
|
|
<view class="{{sort=='rate'?'active':''}}" bindtap="changeSort" data-sort="rate" data-order="desc">好评</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view bindtap="gotoDetail" data-item="{{item}}" wx:for="{{list}}" url="/pages/info/roadInfo/index" class="item">
|
|
|
|
|
<image src="{{item.headimg}}" mode="aspectFill"></image>
|
|
|
|
|
<view class="info">
|
|
|
|
|
<view class="textOver2">{{item.title}}</view>
|
|
|
|
|
<view><text class="score" wx:if="{{item.rate}}">{{item.rate}}分</text><text class="sales" wx:if="{{item.sales_number}}">月销{{item.sales_number}}份</text></view>
|
|
|
|
|
<view class="tags textOver">
|
|
|
|
|
<view class="tag textOver" wx:for="{{item.display_tags}}">{{item}}</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="price-out">
|
|
|
|
|
<text class="textOver">{{item.supplier_name}}</text>
|
|
|
|
|
<view class="price"><text style="color:#D62828">¥</text><text style="color:#D62828;font-weight:500;font-size:33rpx">{{item.price/100}}</text><text style="font-size:20rpx"> 起</text></view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view wx:if="{{list.length==0}}" class="common-empty" style="z-index:-1;top:400rpx">
|
|
|
|
|
<image mode="widthFix" src="https://static.ticket.sz-trip.com/xcxImages/other/nodata.png"></image>
|
|
|
|
|
<view>暂无内容</view>
|
|
|
|
|
</view>
|