parent
fda21127f2
commit
5b31842fd6
@ -1,55 +1,41 @@
|
||||
<view class="list_event">
|
||||
<view style="padding: 32rpx;">
|
||||
<view class="text">
|
||||
<!-- <van-cell title="展示弹出层" is-link bind:click="showPopup" />
|
||||
<van-popup show="{{ show }}" bind:close="onClose">
|
||||
<view class="popup">
|
||||
<van-datetime-picker type="year-month" value="{{ currentDate }}" min-date="{{ minDate }}" bind:input="onInput" />
|
||||
</view>
|
||||
</van-popup> -->
|
||||
<!-- 底部 -->
|
||||
<view class="section" style="padding:20rpx">
|
||||
<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>
|
||||
<van-icon name="arrow-down" style="color:#0084FF" />
|
||||
</view>
|
||||
<view class="line">——</view>
|
||||
<view class="section" style="padding:20rpx">
|
||||
<picker mode="date" fields="month" value="{{date2}}" end="{{end}}" bindchange="bindDateChange2">
|
||||
<text class="text-style1">-</text>
|
||||
<picker mode="date" fields="month" value="{{date2}}" start="{{end}}" bindchange="bindDateChange2">
|
||||
<view class="picker">
|
||||
{{date2}}
|
||||
</view>
|
||||
</picker>
|
||||
<van-icon name="arrow-down" style="color:#0084FF" />
|
||||
</view>
|
||||
<!-- <van-cell bindtap="start"></van-cell>
|
||||
<view >——</view>
|
||||
<van-cell bindtap="end"></van-cell> -->
|
||||
</view>
|
||||
</view>
|
||||
<view class="ranking">
|
||||
<view class="title">时间</view>
|
||||
<view class="title">销量(辆)</view>
|
||||
<view class="title2">在售品牌份额(%)</view>
|
||||
</view>
|
||||
<view class="ranks" wx:for="{{ranking}}" wx:key="index" data-ranking='{{item}}'>
|
||||
<view style="display: flex;">
|
||||
<view class="time_text" style="width: 30%;"> {{item.times}}</view>
|
||||
<view class="media_text" style="width: 30%;">{{item.sales}}</view>
|
||||
<view style="width: 30%;">
|
||||
<view class="volume">{{item.share}}</view>
|
||||
<view class="trend" bindtap="detail" data-carTime="{{item.times}}" data-carBrand="{{item.brand}}">
|
||||
<view>详细销量</view>
|
||||
<view class="ranking">
|
||||
<view class="title">时间</view>
|
||||
<view class="title">销量(辆)</view>
|
||||
<view class="title2">在售品牌份额(%)</view>
|
||||
</view>
|
||||
<view class="ranks" wx:for="{{ranking}}" wx:key="index" data-ranking='{{item}}'>
|
||||
<view style="display: flex;">
|
||||
<view class="time_text" style="width: 30%;"> {{item.times}}</view>
|
||||
<view class="media_text" style="width: 30%;">{{item.sales}}</view>
|
||||
<view style="width: 40%;">
|
||||
<view class="volume">{{item.share}}</view>
|
||||
<view class="trend" bindtap="detail" data-carTime="{{item.times}}" data-carBrand="{{item.brand}}">
|
||||
<view>详细销量</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<van-dialog use-slot title="注意" show="{{ showDialog }}" bind:confirm="cdialog">
|
||||
<van-dialog use-slot title="注意" show="{{ showDialog }}" bind:confirm="cdialog">
|
||||
<view class="tc-d-t">结束时间不能小于开始时间</view>
|
||||
</van-dialog>
|
||||
<!-- </view> -->
|
||||
</view>
|
@ -1,51 +1,53 @@
|
||||
<!--pages/index/Salesranking/Allbrands/Allbrands.wxml-->
|
||||
<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 style="margin: 32rpx 0;">
|
||||
<view class="ranking">
|
||||
<view class="title">排名</view>
|
||||
<view class="title1">品牌名称</view>
|
||||
<view class="title2">份额(%)</view>
|
||||
<view class="title2">销量(%)</view>
|
||||
<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.name}}
|
||||
<view style="margin: 32rpx 0;">
|
||||
<view class="ranking">
|
||||
<view class="title">排名</view>
|
||||
<view class="title1">品牌名称</view>
|
||||
<view class="title2">份额(%)</view>
|
||||
<view class="title2">销量(%)</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>
|
||||
<view class="ranks_text2">{{item.share}}</view>
|
||||
<view class="ranks_text3">
|
||||
<view class="volume">{{item.sales}}</view>
|
||||
<view class="trend" bindtap="detail" data-carName='{{item.name}}'>
|
||||
<van-icon size="16px" name="arrow" />
|
||||
<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.name}}
|
||||
</view>
|
||||
</view>
|
||||
<view class="ranks_text2">{{item.share}}</view>
|
||||
<view class="ranks_text3">
|
||||
<view class="volume">{{item.sales}}</view>
|
||||
<view class="trend" bindtap="detail" data-carName='{{item.name}}'>
|
||||
<van-icon size="16px" name="arrow" />
|
||||
<view>销量详情</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view>
|
Loading…
Reference in new issue