You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
2.3 KiB
51 lines
2.3 KiB
<!--pages/index/Salesranking/Allbrands/Allbrands.wxml-->
|
|
<view class="page">
|
|
<view class="list_event">
|
|
<view class="range-style mar-top">
|
|
<!-- 时间段 -->
|
|
<view class="picker_group">
|
|
<picker mode="date" fields="month" value="{{date}}" end="{{end}}" bindchange="bindDateChange">
|
|
<view class="picker">
|
|
{{date}}
|
|
</view>
|
|
</picker>
|
|
<text class="text-style1">-</text>
|
|
<picker mode="date" fields="month" value="{{date2}}" start="{{end}}" bindchange="bindDateChange2">
|
|
<view class="picker">
|
|
{{date2}}
|
|
</view>
|
|
</picker>
|
|
</view>
|
|
</view>
|
|
<view class="ranks" wx:for="{{ranking}}" wx:key="index" wx:for-item="item" >
|
|
<view style="display: flex;">
|
|
<view class="ranks_text">
|
|
<view class="num" wx:if="{{index === 0}}">01</view>
|
|
<view class="num" wx:if="{{index}}">{{index >= 9 ? index + 1 : '0' + (index + 1)}}</view>
|
|
</view>
|
|
<view class="ranks_text1">
|
|
<image style="width: 96rpx;height: 72rpx;" src="{{item.img}}"></image>
|
|
<view style="margin-left: 15rpx; height: 102rpx;line-height: 102rpx;width: 180rpx;">{{item.brand}}
|
|
</view>
|
|
</view>
|
|
<view class="ranks_text2">{{item.percentage}}</view>
|
|
<view class="ranks_text3">
|
|
<view class="volume">{{item.salescount}}</view>
|
|
<view class="trend" bindtap="detail" data-carName='{{item.brand}}'>
|
|
<van-icon size="16px" name="arrow" />
|
|
<view>销量详情</view>
|
|
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="loading" hidden="{{!loadMore}}">正在载入更多...</view>
|
|
<view class="loading" hidden="{{!loadAll}}" wx:if="{{iPageIndex>1}}">已加载全部</view>
|
|
</view>
|
|
|
|
<!-- </view> -->
|
|
<van-dialog use-slot title="注意" show="{{ showDialog }}" bind:confirm="cdialog">
|
|
<view class="tc-d-t">结束时间不能小于开始时间</view>
|
|
</van-dialog>
|