江西小程序管理端
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.
 
 
 

99 lines
2.4 KiB

<template>
<view class="content">
<view class="userInfo">
<view class="tit">Hi,大乔教练</view>
<view class="flex userRow">
<view class="schoolIcon">
<image src="@/static/images/index/ic_jiaxiao.png" mode=""></image>
</view>
<view class="schoolName oneRowText">翔力驾校</view>
<view class="tag">驾校校长</view>
</view>
</view>
<view class="card priceBox">
<view class="blueLab">今日已结算金额</view>
<view class="price">36333.66</view>
<view class="toDay">
<view class="row">
<view class="lab">今日学员退款</view>
<view class="val">900</view>
</view>
<view class="row">
<view class="lab">今日代收费</view>
<view class="val">900</view>
</view>
<view class="row">
<view class="lab">今日学员退款</view>
<view class="val">900</view>
</view>
</view>
<view class="flex-b">
<view class="data">截止2023/08/08 11:00:00</view>
<view class="refresh">
<view class="text">刷新</view>
<view class="icon">
<image src="@/static/images/index/ic_shuaxin.png" mode=""></image>
</view>
</view>
</view>
</view>
<view class="h1"> 收入统计</view>
<view class="tab_box">
<tabDate/>
</view>
<view class="card">
<view class="chart">
<columnChart/>
</view>
</view>
<view class="flex-b">
<view class="h1">收入明细</view>
<moreRight text="更多"/>
</view>
<view class="record">
<view class="card" v-for="(item,index) in 10" :key="index">
<stage/>
</view>
</view>
<view class="moreBtn" @click="$goPage('/pages/indexEntry/settlement/settlement')">查看更多</view>
<UserTab name ='统计'></UserTab>
</view>
</template>
<script>
import stage from './stage'
import columnChart from './columnChart'
import tabDate from './tabDate'
export default {
components: { stage, columnChart, tabDate },
data() {
return {
value1: '',
currentTab: 1,
showDatePicker: false,
}
},
onLoad() {
},
methods: {
tabClick(num) {
this.currentTab = num
if(num==4) {
this.showDatePicker = true
}
},
// 2选择时间选择器里的时间
confirmDatePicker(val) {
this.showDatePicker = false
let date = uni.$u.date(val.value, 'yyyy-mm-dd')
console.log(date)
},
}
}
</script>
<style lang="scss" scoped>
@import './comp.scss'
</style>