|
@@ -4,21 +4,21 @@
|
|
|
<view class="filter_item r-100 filter-bg row-justify-c center" @click="startAnimation(1)">
|
|
<view class="filter_item r-100 filter-bg row-justify-c center" @click="startAnimation(1)">
|
|
|
<text class="text-color-fff size-28 sys-weight-600 p-r10">{{newUserTypeName}}</text>
|
|
<text class="text-color-fff size-28 sys-weight-600 p-r10">{{newUserTypeName}}</text>
|
|
|
<image class="white-arrow" :class="arrowItem == 1 && is_flag?'open':''"
|
|
<image class="white-arrow" :class="arrowItem == 1 && is_flag?'open':''"
|
|
|
- src="https://wealfavor-1257406827.cos.ap-beijing.myqcloud.com/new-xcx/statistics/white-arrow.png" mode="aspectFill"></image>
|
|
|
|
|
|
|
+ src="/static/img/statistics/white-arrow.png" mode="aspectFill"></image>
|
|
|
<!-- <uni-icons :animation="animationData" class="dropdown-icon" :type="type" size="16"
|
|
<!-- <uni-icons :animation="animationData" class="dropdown-icon" :type="type" size="16"
|
|
|
color="#fff"></uni-icons> -->
|
|
color="#fff"></uni-icons> -->
|
|
|
</view>
|
|
</view>
|
|
|
<view class="filter_item last_item r-100 filter-bg row-justify-c center" @click="startAnimation(2)">
|
|
<view class="filter_item last_item r-100 filter-bg row-justify-c center" @click="startAnimation(2)">
|
|
|
<text class="text-color-fff size-28 sys-weight-600 p-r10">{{dateName}}</text>
|
|
<text class="text-color-fff size-28 sys-weight-600 p-r10">{{dateName}}</text>
|
|
|
<image class="white-arrow" :class="arrowItem == 2 && is_flag?'open':''"
|
|
<image class="white-arrow" :class="arrowItem == 2 && is_flag?'open':''"
|
|
|
- src="https://wealfavor-1257406827.cos.ap-beijing.myqcloud.com/new-xcx/statistics/white-arrow.png" mode="aspectFill"></image>
|
|
|
|
|
|
|
+ src="/static/img/statistics/white-arrow.png" mode="aspectFill"></image>
|
|
|
</view>
|
|
</view>
|
|
|
<view>
|
|
<view>
|
|
|
<uni-datetime-picker v-model="daterange" type="daterange" @change="onSelectTime"
|
|
<uni-datetime-picker v-model="daterange" type="daterange" @change="onSelectTime"
|
|
|
@touchmove.stop.prevent="moveHandle">
|
|
@touchmove.stop.prevent="moveHandle">
|
|
|
<view class="last_item r-100 filter-bg row-justify-c center">
|
|
<view class="last_item r-100 filter-bg row-justify-c center">
|
|
|
- <image class="wh-36" src="https://wealfavor-1257406827.cos.ap-beijing.myqcloud.com/new-xcx/statistics/stat-calendar.png" mode="aspectFill"></image>
|
|
|
|
|
- <text class="text-color-fff size-28 sys-weight-600 m-l16">自定义</text>
|
|
|
|
|
|
|
+ <image class="wh-36" src="/static/img/statistics/stat-calendar.png" mode="aspectFill"></image>
|
|
|
|
|
+ <text class="text-color-fff size-28 sys-weight-600 m-l16">日期</text>
|
|
|
</view>
|
|
</view>
|
|
|
</uni-datetime-picker>
|
|
</uni-datetime-picker>
|
|
|
</view>
|
|
</view>
|
|
@@ -62,7 +62,7 @@
|
|
|
arrowItem: 0,
|
|
arrowItem: 0,
|
|
|
animation: null,
|
|
animation: null,
|
|
|
newUserTypeName: '',
|
|
newUserTypeName: '',
|
|
|
- dateName: '年数据',
|
|
|
|
|
|
|
+ dateName: '日数据',
|
|
|
dateData: [{
|
|
dateData: [{
|
|
|
'id': 1,
|
|
'id': 1,
|
|
|
'name': '日数据'
|
|
'name': '日数据'
|
|
@@ -136,7 +136,7 @@
|
|
|
} else if (this.dateTypeObj.dateType === 2) {
|
|
} else if (this.dateTypeObj.dateType === 2) {
|
|
|
ret = tools.getNextWeek(date, num)
|
|
ret = tools.getNextWeek(date, num)
|
|
|
} else if (this.dateTypeObj.dateType === 3) {
|
|
} else if (this.dateTypeObj.dateType === 3) {
|
|
|
- ret = tools.dateTypeObj.getNextMonth(date, num)
|
|
|
|
|
|
|
+ ret = tools.getNextMonth(date, num)
|
|
|
} else if (this.dateTypeObj.dateType === 4) {
|
|
} else if (this.dateTypeObj.dateType === 4) {
|
|
|
ret = tools.getNextYear(date, num)
|
|
ret = tools.getNextYear(date, num)
|
|
|
}
|
|
}
|