Commit 232760d2 by zhangzhen

细节优化

parent d0a377d5
......@@ -74,7 +74,7 @@
nowLongitude: "",
name: '',
pageNum: 1,
pageSize: 20
pageSize: 400
},
show:true,
timer:null,
......
......@@ -23,7 +23,7 @@
</view>
</view>
<view class="flex-between action-box-list">
<!-- <view class="flex-between action-box-list">
<view class="part part-left" @tap="onTabChange(1)">
<image v-if="tabIndex ==1" :src="assetsPath+'/vip/btn_2_a.png'" class="active"
mode="widthFix"></image>
......@@ -35,7 +35,7 @@
mode="widthFix"></image>
<image v-else :src="assetsPath+'/vip/btn_1.png'" class="unactive" mode="widthFix"></image>
</view>
</view>
</view> -->
<view v-if="tabIndex ==1" class="list-box">
<view v-for="(item,k) in rechargeConfList" :key="k" class="flex-col item"
......@@ -682,8 +682,7 @@
width: 100%;
background-color: #FFEABF;
align-items: center;
padding-bottom: 60upx;
padding: 12upx 0 60upx;
.bg-box-1 {
position: relative;
display: flex;
......@@ -691,7 +690,7 @@
justify-content: center;
align-items: center;
width: 690upx;
min-height: 596upx;
// min-height: 596upx;
background: #FFCA7E;
border-radius: 32upx;
padding: 6px 0;
......@@ -806,7 +805,7 @@
padding: 0 1%;
justify-content: center;
align-items: center;
margin: 42upx 0;
.absolute-1 {
display: flex;
justify-content: center;
......
......@@ -204,8 +204,8 @@
},
{
label:"近30天",
startTime: moment().format("YYYY-MM-01 00:00:00"),
endTime: moment().format("YYYY-MM-DD 23:59:59"),
startTime: moment().subtract(30,'d').format("YYYY-MM-DD 00:00:00"),
endTime: moment().subtract(1,'d').format("YYYY-MM-DD 23:59:59"),
},
{
label:"全部",
......@@ -267,18 +267,20 @@
uni.navigateBack();
},
onOrderDataStatistics(){
uni.showLoading({
title:"加载中..."
})
getDataStatistics({
storeId: this.storeList[this.index].id,
startTime: this.dateList[this.dateIndex].startTime,
endTime: this.dateList[this.dateIndex].endTime
}).then(res=>{
console.log(res,99999)
uni.hideLoading();
this.statisticsData = res.data.data
})
},
onLoading(){
getStoreManageList().then(res => {
console.log(res,99999)
if(res.data.code == 200 && res.data.data){
this.storeList = res.data.data;
this.onOrderDataStatistics();
......@@ -286,7 +288,6 @@
})
},
onChange(e){
console.log(e,99999)
let num = Number(e.target.value);
if(this.index === num) return
this.index = num;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment