2025-04-01 21:35:30 +08:00
|
|
|
|
<template>
|
|
|
|
|
|
<view class="page">
|
2025-12-20 14:29:10 +08:00
|
|
|
|
<u-navbar title="运营状况" :border-bottom="false" :background="bgc" title-color='#3D3D3D' back-icon-color="#3D3D3D"
|
|
|
|
|
|
title-size='36' height='45'></u-navbar>
|
2026-05-21 17:56:56 +08:00
|
|
|
|
<view class="page-scroll">
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 时间范围选择卡片 -->
|
|
|
|
|
|
<view class="time-filter-card">
|
|
|
|
|
|
<view class="quick-dates">
|
|
|
|
|
|
<view class="date-tag" :class="riqiindex == 0 ? 'active' : ''" @click="btnriqi(0)">今日</view>
|
|
|
|
|
|
<view class="date-tag" :class="riqiindex == 1 ? 'active' : ''" @click="btnriqi(1)">昨日</view>
|
|
|
|
|
|
<view class="date-tag" :class="riqiindex == 2 ? 'active' : ''" @click="btnriqi(2)">本月</view>
|
|
|
|
|
|
<view class="date-tag" :class="riqiindex == 3 ? 'active' : ''" @click="btnriqi(3)">上月</view>
|
|
|
|
|
|
<view class="date-tag" :class="riqiindex == 4 ? 'active' : ''" @click="btnriqi(4)">全部</view>
|
2025-04-01 21:35:30 +08:00
|
|
|
|
</view>
|
2026-05-21 17:56:56 +08:00
|
|
|
|
<view class="custom-date-row">
|
|
|
|
|
|
<view class="date-picker-btn" hover-class="is-hover" hover-stay-time="100" @click="showTimePicker('start')">
|
|
|
|
|
|
<u-icon name="calendar" color="#3B82F6" size="28" style="margin-right: 8rpx;"></u-icon>
|
|
|
|
|
|
<text>{{kstime || '开始日期'}}</text>
|
2025-04-01 21:35:30 +08:00
|
|
|
|
</view>
|
2026-05-21 17:56:56 +08:00
|
|
|
|
<view class="date-separator">至</view>
|
|
|
|
|
|
<view class="date-picker-btn" hover-class="is-hover" hover-stay-time="100" @click="showTimePicker('end')">
|
|
|
|
|
|
<u-icon name="calendar" color="#3B82F6" size="28" style="margin-right: 8rpx;"></u-icon>
|
|
|
|
|
|
<text>{{jstime || '结束日期'}}</text>
|
2025-04-01 21:35:30 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
2026-04-02 01:48:12 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
<u-picker mode="time" v-model="oneshow" :params="oneparams" @confirm="confirmone"></u-picker>
|
|
|
|
|
|
<u-picker mode="time" v-model="twoshow" :params="twoparams" @confirm="confirmtwo"></u-picker>
|
2026-05-21 17:56:56 +08:00
|
|
|
|
|
|
|
|
|
|
<!-- 期间营收统计 -->
|
|
|
|
|
|
<view class="section-container">
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 数据总览 -->
|
|
|
|
|
|
<view class="section-header">
|
|
|
|
|
|
<view class="indicator"></view>
|
|
|
|
|
|
<text class="title">数据总览</text>
|
2025-05-10 17:54:20 +08:00
|
|
|
|
</view>
|
2026-05-21 17:56:56 +08:00
|
|
|
|
<view class="grid-4">
|
|
|
|
|
|
<!-- 1. 订单数量 -->
|
|
|
|
|
|
<view class="grid-item">
|
|
|
|
|
|
<view class="item-title">
|
|
|
|
|
|
<view class="icon-box bg-light-primary"><u-icon name="order" color="#3B82F6" size="26"></u-icon></view>
|
|
|
|
|
|
<text class="lbl">订单总数 (笔)</text>
|
2025-05-10 17:54:20 +08:00
|
|
|
|
</view>
|
2026-05-21 17:56:56 +08:00
|
|
|
|
<view class="item-val color-primary">{{ totalOrderCount | fmtInt }}</view>
|
|
|
|
|
|
<view class="item-sub-pill">
|
|
|
|
|
|
<view class="sub-seg">
|
|
|
|
|
|
<text class="sub-lbl">骑行</text>
|
|
|
|
|
|
<text class="sub-val color-primary">{{yunyingobj.finishedOrderCount | fmtInt}}</text>
|
|
|
|
|
|
<text class="sub-lbl">笔</text>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="sub-seg">
|
|
|
|
|
|
<text class="sub-lbl">卡券</text>
|
|
|
|
|
|
<text class="sub-val color-primary">{{yunyingobj.vipOrderCount | fmtInt}}</text>
|
|
|
|
|
|
<text class="sub-lbl">笔</text>
|
|
|
|
|
|
</view>
|
2025-04-01 21:35:30 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
2026-05-21 17:56:56 +08:00
|
|
|
|
|
|
|
|
|
|
<!-- 2. 订单实收 -->
|
|
|
|
|
|
<view class="grid-item">
|
|
|
|
|
|
<view class="item-title">
|
|
|
|
|
|
<view class="icon-box bg-light-warning"><u-icon name="car" color="#F59E0B" size="28"></u-icon></view>
|
|
|
|
|
|
<text class="lbl">订单实收 (元)</text>
|
2025-05-10 17:54:20 +08:00
|
|
|
|
</view>
|
2026-05-21 17:56:56 +08:00
|
|
|
|
<view class="item-val color-warning">{{ yunyingobj.orderActualReceivedAmount | fix2 }}</view>
|
|
|
|
|
|
<view class="item-sub-pill">
|
|
|
|
|
|
<view class="sub-seg">
|
|
|
|
|
|
<text class="sub-lbl">总额</text>
|
|
|
|
|
|
<text class="sub-val color-warning">{{yunyingobj.orderActualAmount | fix2}}</text>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="sub-seg">
|
|
|
|
|
|
<text class="sub-lbl">退款</text>
|
|
|
|
|
|
<text class="sub-val color-warning">{{yunyingobj.orderAdminRefundAmount | fix2}}</text>
|
|
|
|
|
|
</view>
|
2025-04-01 21:35:30 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
2026-05-21 17:56:56 +08:00
|
|
|
|
|
|
|
|
|
|
<!-- 3. 卡券实收 -->
|
|
|
|
|
|
<view class="grid-item">
|
|
|
|
|
|
<view class="item-title">
|
|
|
|
|
|
<view class="icon-box bg-light-success"><u-icon name="coupon" color="#10B981" size="28"></u-icon></view>
|
|
|
|
|
|
<text class="lbl">卡券实收 (元)</text>
|
2025-04-01 21:35:30 +08:00
|
|
|
|
</view>
|
2026-05-21 17:56:56 +08:00
|
|
|
|
<view class="item-val color-success">{{ yunyingobj.vipOrderAmount | fix2 }}</view>
|
|
|
|
|
|
<view class="item-sub-pill">
|
|
|
|
|
|
<view class="sub-seg">
|
|
|
|
|
|
<text class="sub-lbl">售出</text>
|
|
|
|
|
|
<text class="sub-val color-success">{{ yunyingobj.vipOrderCount | fmtInt }}</text>
|
|
|
|
|
|
<text class="sub-lbl">笔</text>
|
|
|
|
|
|
</view>
|
2025-04-01 21:35:30 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
2026-05-21 17:56:56 +08:00
|
|
|
|
|
|
|
|
|
|
<!-- 4. 收益 -->
|
|
|
|
|
|
<view class="grid-item">
|
|
|
|
|
|
<view class="item-title">
|
|
|
|
|
|
<view class="icon-box bg-light-purple"><u-icon name="rmb-circle" color="#8B5CF6" size="28"></u-icon></view>
|
|
|
|
|
|
<text class="lbl">我的收益 (元)</text>
|
2025-04-01 21:35:30 +08:00
|
|
|
|
</view>
|
2026-05-21 17:56:56 +08:00
|
|
|
|
<view class="item-val color-purple">{{ totalBonusAmount | fix2 }}</view>
|
|
|
|
|
|
<view class="item-sub-pill">
|
|
|
|
|
|
<view class="sub-seg">
|
|
|
|
|
|
<text class="sub-lbl">骑行</text>
|
|
|
|
|
|
<text class="sub-val color-purple">{{yunyingobj.bonusActualAmount | fix2}}</text>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="sub-seg">
|
|
|
|
|
|
<text class="sub-lbl">卡券</text>
|
|
|
|
|
|
<text class="sub-val color-purple">{{yunyingobj.vipOrderBonusActualAmount | fix2}}</text>
|
|
|
|
|
|
</view>
|
2025-04-01 21:35:30 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
2026-04-02 01:48:12 +08:00
|
|
|
|
</view>
|
2026-05-21 17:56:56 +08:00
|
|
|
|
|
|
|
|
|
|
<!-- 费用细分 -->
|
|
|
|
|
|
<view class="fee-container">
|
|
|
|
|
|
<view class="section-header fee-section-header">
|
|
|
|
|
|
<view class="fee-header-left">
|
|
|
|
|
|
<view class="indicator"></view>
|
|
|
|
|
|
<text class="title">订单费用细分</text>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="fee-header-extra">
|
|
|
|
|
|
<text class="ft-lbl">订单总额:</text>
|
|
|
|
|
|
<text class="ft-val color-primary">¥{{ yunyingobj.orderActualAmount | fix2 }}</text>
|
|
|
|
|
|
</view>
|
2026-04-02 01:48:12 +08:00
|
|
|
|
</view>
|
2026-05-21 17:56:56 +08:00
|
|
|
|
<view class="fee-wrapper">
|
|
|
|
|
|
<view class="fee-list">
|
|
|
|
|
|
<view class="fee-item">
|
|
|
|
|
|
<text class="f-val color-primary">¥{{ yunyingobj.orderRiddingFee | fix2 }}</text>
|
|
|
|
|
|
<view class="f-name-row">
|
|
|
|
|
|
<view class="dot" style="background: #3B82F6;"></view>
|
|
|
|
|
|
<text class="f-name">骑行费</text>
|
2026-04-02 01:48:12 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
2026-05-21 17:56:56 +08:00
|
|
|
|
<view class="fee-item">
|
|
|
|
|
|
<text class="f-val color-success">¥{{ yunyingobj.orderDispatchFee | fix2 }}</text>
|
|
|
|
|
|
<view class="f-name-row">
|
|
|
|
|
|
<view class="dot" style="background: #10B981;"></view>
|
|
|
|
|
|
<text class="f-name">调度费</text>
|
2026-04-02 01:48:12 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
2026-05-21 17:56:56 +08:00
|
|
|
|
<view class="fee-item">
|
|
|
|
|
|
<text class="f-val color-warning">¥{{ yunyingobj.orderManageFee | fix2 }}</text>
|
|
|
|
|
|
<view class="f-name-row">
|
|
|
|
|
|
<view class="dot" style="background: #F59E0B;"></view>
|
|
|
|
|
|
<text class="f-name">管理费</text>
|
2026-04-02 01:48:12 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
2026-05-21 17:56:56 +08:00
|
|
|
|
<view class="fee-item">
|
|
|
|
|
|
<text class="f-val color-success">¥{{ yunyingobj.orderInsureFee | fix2 }}</text>
|
|
|
|
|
|
<view class="f-name-row">
|
|
|
|
|
|
<view class="dot" style="background: #10B981;"></view>
|
|
|
|
|
|
<text class="f-name">保险费</text>
|
2026-04-02 01:48:12 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
2026-05-21 17:56:56 +08:00
|
|
|
|
<view class="fee-item">
|
|
|
|
|
|
<text class="f-val color-purple">¥{{ yunyingobj.orderDeductionFee | fix2 }}</text>
|
|
|
|
|
|
<view class="f-name-row">
|
|
|
|
|
|
<view class="dot" style="background: #8B5CF6;"></view>
|
|
|
|
|
|
<text class="f-name">车损费</text>
|
2026-04-02 01:48:12 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
2025-04-01 21:35:30 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
2026-05-21 17:56:56 +08:00
|
|
|
|
|
|
|
|
|
|
<!-- 收益在路上 -->
|
|
|
|
|
|
<view class="section-container pending-container">
|
|
|
|
|
|
<view class="section-header">
|
|
|
|
|
|
<view class="indicator" style="background-color: #F59A23;"></view>
|
|
|
|
|
|
<text class="title" style="color: #F59A23;">收益在路上</text>
|
|
|
|
|
|
<u-icon name="info-circle" color="#F59A23" size="30" style="margin-left: 12rpx;" @click="showPendingTip"></u-icon>
|
2026-04-02 01:48:12 +08:00
|
|
|
|
</view>
|
2026-05-21 17:56:56 +08:00
|
|
|
|
|
|
|
|
|
|
<view class="pending-list">
|
|
|
|
|
|
<view class="pending-item">
|
|
|
|
|
|
<view class="p-icon bg-light-primary">
|
|
|
|
|
|
<u-icon name="car" color="#3B82F6" size="36"></u-icon>
|
2025-04-01 21:35:30 +08:00
|
|
|
|
</view>
|
2026-05-21 17:56:56 +08:00
|
|
|
|
<view class="p-info">
|
|
|
|
|
|
<view class="p-label">进行中订单</view>
|
|
|
|
|
|
<view class="p-val">{{ yunyingobj.orderProcessingCount | dv }}<text class="unit">笔</text></view>
|
2025-04-01 21:35:30 +08:00
|
|
|
|
</view>
|
2026-05-21 17:56:56 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
<view class="pending-item">
|
|
|
|
|
|
<view class="p-icon bg-light-warning">
|
|
|
|
|
|
<u-icon name="clock" color="#F59E0B" size="36"></u-icon>
|
2025-04-01 21:35:30 +08:00
|
|
|
|
</view>
|
2026-05-21 17:56:56 +08:00
|
|
|
|
<view class="p-info">
|
|
|
|
|
|
<view class="p-label">待支付骑行费</view>
|
|
|
|
|
|
<view class="p-val">{{ yunyingobj.orderRideWaitPayCount | dv }}<text class="unit">笔</text></view>
|
2025-04-01 21:35:30 +08:00
|
|
|
|
</view>
|
2026-05-21 17:56:56 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
<view class="pending-item">
|
|
|
|
|
|
<view class="p-icon bg-light-danger">
|
|
|
|
|
|
<u-icon name="file-text" color="#EF4444" size="36"></u-icon>
|
2025-04-01 21:35:30 +08:00
|
|
|
|
</view>
|
2026-05-21 17:56:56 +08:00
|
|
|
|
<view class="p-info">
|
|
|
|
|
|
<view class="p-label">待审核订单</view>
|
|
|
|
|
|
<view class="p-val">{{ yunyingobj.orderWaitVerifyCount | dv }}<text class="unit">笔</text></view>
|
2025-04-01 21:35:30 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
2026-05-21 17:56:56 +08:00
|
|
|
|
|
|
|
|
|
|
</view>
|
2025-04-01 21:35:30 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
2026-05-21 17:56:56 +08:00
|
|
|
|
import TabBar from '@/page_shanghu/components/tab-bar/tab-bar.vue';
|
2025-04-01 21:35:30 +08:00
|
|
|
|
export default {
|
|
|
|
|
|
components: {
|
|
|
|
|
|
TabBar
|
|
|
|
|
|
},
|
2026-05-21 17:56:56 +08:00
|
|
|
|
filters: {
|
|
|
|
|
|
fix2(value) {
|
|
|
|
|
|
const num = parseFloat(value)
|
|
|
|
|
|
if (isNaN(num)) return '0.00'
|
|
|
|
|
|
const parts = num.toFixed(2).split('.')
|
|
|
|
|
|
parts[0] = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ',')
|
|
|
|
|
|
return parts.join('.')
|
|
|
|
|
|
},
|
|
|
|
|
|
fmtInt(value) {
|
|
|
|
|
|
const num = parseInt(value)
|
|
|
|
|
|
if (isNaN(num)) return '0'
|
|
|
|
|
|
return String(num).replace(/\B(?=(\d{3})+(?!\d))/g, ',')
|
|
|
|
|
|
},
|
|
|
|
|
|
dv(value) {
|
|
|
|
|
|
return value || 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
|
|
|
|
|
computed: {
|
|
|
|
|
|
totalOrderCount() {
|
|
|
|
|
|
const ride = parseInt(this.yunyingobj.finishedOrderCount) || 0
|
|
|
|
|
|
const vip = parseInt(this.yunyingobj.vipOrderCount) || 0
|
|
|
|
|
|
return ride + vip
|
|
|
|
|
|
},
|
|
|
|
|
|
totalBonusAmount() {
|
|
|
|
|
|
const ride = parseFloat(this.yunyingobj.bonusActualAmount) || 0
|
|
|
|
|
|
const vip = parseFloat(this.yunyingobj.vipOrderBonusActualAmount) || 0
|
|
|
|
|
|
return (ride + vip).toFixed(2)
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
2025-04-01 21:35:30 +08:00
|
|
|
|
data() {
|
|
|
|
|
|
return {
|
|
|
|
|
|
bgc: {
|
|
|
|
|
|
backgroundColor: "#fff",
|
|
|
|
|
|
},
|
2026-05-21 17:56:56 +08:00
|
|
|
|
riqiindex: 0,
|
2025-04-01 21:35:30 +08:00
|
|
|
|
oneparams: {
|
|
|
|
|
|
year: true,
|
|
|
|
|
|
month: true,
|
|
|
|
|
|
day: true,
|
|
|
|
|
|
hour: false,
|
|
|
|
|
|
minute: false,
|
|
|
|
|
|
second: false
|
|
|
|
|
|
},
|
|
|
|
|
|
oneshow: false,
|
|
|
|
|
|
twoparams: {
|
|
|
|
|
|
year: true,
|
|
|
|
|
|
month: true,
|
|
|
|
|
|
day: true,
|
|
|
|
|
|
hour: false,
|
|
|
|
|
|
minute: false,
|
|
|
|
|
|
second: false
|
|
|
|
|
|
},
|
|
|
|
|
|
twoshow: false,
|
2026-05-21 17:56:56 +08:00
|
|
|
|
kstime: '',
|
|
|
|
|
|
jstime: '',
|
|
|
|
|
|
yunyingobj: {},
|
|
|
|
|
|
infoobj: {},
|
|
|
|
|
|
areaId: '',
|
2025-04-01 21:35:30 +08:00
|
|
|
|
}
|
|
|
|
|
|
},
|
2026-05-21 17:56:56 +08:00
|
|
|
|
onPullDownRefresh() {
|
|
|
|
|
|
this.getinfo()
|
|
|
|
|
|
this.getCurrentDate(this.riqiindex)
|
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
|
uni.stopPullDownRefresh()
|
|
|
|
|
|
}, 1000)
|
2025-04-01 21:35:30 +08:00
|
|
|
|
},
|
|
|
|
|
|
onShow() {
|
2025-04-27 17:37:23 +08:00
|
|
|
|
if (uni.getStorageSync('adminAreaid')) {
|
|
|
|
|
|
this.areaId = uni.getStorageSync('adminAreaid')
|
|
|
|
|
|
}
|
2026-05-21 17:56:56 +08:00
|
|
|
|
this.getinfo()
|
|
|
|
|
|
this.getCurrentDate(this.riqiindex)
|
2025-04-01 21:35:30 +08:00
|
|
|
|
},
|
|
|
|
|
|
methods: {
|
2025-04-10 08:57:21 +08:00
|
|
|
|
getinfo() {
|
2026-05-21 17:56:56 +08:00
|
|
|
|
this.$u.get(`/getInfo`).then(res => {
|
|
|
|
|
|
if (res.code == 200) {
|
|
|
|
|
|
this.infoobj = res.user
|
2025-04-11 18:23:16 +08:00
|
|
|
|
this.gettongji()
|
2026-05-21 17:56:56 +08:00
|
|
|
|
}
|
|
|
|
|
|
})
|
|
|
|
|
|
},
|
2025-04-10 08:57:21 +08:00
|
|
|
|
gettongji() {
|
2026-05-21 17:56:56 +08:00
|
|
|
|
// 包含了期间营收和收益在路上的所有所需字段
|
|
|
|
|
|
let StatKeys = 'order_actual_amount,order_refund_amount,order_finished_count,bonus_actual_amount,order_ridding_fee,order_deduction_fee,order_dispatch_fee,order_manage_fee,order_insure_fee,vip_order_count,vip_order_amount,vip_order_bonus_actual_amount,order_processing_count,order_wait_verify_count,order_ride_wait_pay_count,order_admin_refund_amount'
|
|
|
|
|
|
let dateRangeStr = (this.kstime && this.jstime) ? `${this.kstime},${this.jstime}` : ''
|
|
|
|
|
|
this.$u.get(`/dashboard/revenueStat?keys=${StatKeys}&dateRange=${dateRangeStr}&userId=${this.infoobj.userId}&areaId=${this.areaId}`).then(res => {
|
|
|
|
|
|
if (res.code == 200) {
|
|
|
|
|
|
this.yunyingobj = res.data
|
|
|
|
|
|
}
|
|
|
|
|
|
})
|
|
|
|
|
|
},
|
2025-04-01 21:35:30 +08:00
|
|
|
|
getCurrentDate(num) {
|
|
|
|
|
|
const currentDate = new Date()
|
|
|
|
|
|
const year = currentDate.getFullYear()
|
|
|
|
|
|
const month = currentDate.getMonth() + 1
|
|
|
|
|
|
const day = currentDate.getDate()
|
|
|
|
|
|
const formatDate = (year, month, day) => {
|
|
|
|
|
|
const formattedMonth = month < 10 ? `0${month}` : month
|
|
|
|
|
|
const formattedDay = day < 10 ? `0${day}` : day
|
|
|
|
|
|
return `${year}-${formattedMonth}-${formattedDay}`
|
|
|
|
|
|
}
|
2026-05-21 17:56:56 +08:00
|
|
|
|
const getFirstDayOfMonth = (year, month) => new Date(year, month - 1, 1)
|
|
|
|
|
|
const getLastDayOfMonth = (year, month) => new Date(year, month, 0)
|
2025-04-01 21:35:30 +08:00
|
|
|
|
switch (num) {
|
|
|
|
|
|
case 0:
|
|
|
|
|
|
this.kstime = formatDate(year, month, day)
|
|
|
|
|
|
this.jstime = formatDate(year, month, day)
|
|
|
|
|
|
break
|
|
|
|
|
|
case 1:
|
|
|
|
|
|
const yesterday = new Date(currentDate)
|
|
|
|
|
|
yesterday.setDate(currentDate.getDate() - 1)
|
|
|
|
|
|
this.kstime = formatDate(yesterday.getFullYear(), yesterday.getMonth() + 1, yesterday.getDate())
|
|
|
|
|
|
this.jstime = formatDate(yesterday.getFullYear(), yesterday.getMonth() + 1, yesterday.getDate())
|
|
|
|
|
|
break
|
|
|
|
|
|
case 2:
|
|
|
|
|
|
const firstDayOfMonth = getFirstDayOfMonth(year, month)
|
|
|
|
|
|
this.kstime = formatDate(firstDayOfMonth.getFullYear(), firstDayOfMonth.getMonth() + 1, firstDayOfMonth.getDate())
|
|
|
|
|
|
this.jstime = formatDate(year, month, day)
|
|
|
|
|
|
break
|
|
|
|
|
|
case 3:
|
|
|
|
|
|
const lastMonthFirstDay = getFirstDayOfMonth(year, month - 1)
|
|
|
|
|
|
const lastMonthLastDay = getLastDayOfMonth(year, month - 1)
|
|
|
|
|
|
this.kstime = formatDate(lastMonthFirstDay.getFullYear(), lastMonthFirstDay.getMonth() + 1, lastMonthFirstDay.getDate())
|
|
|
|
|
|
this.jstime = formatDate(lastMonthLastDay.getFullYear(), lastMonthLastDay.getMonth() + 1, lastMonthLastDay.getDate())
|
|
|
|
|
|
break
|
2026-05-21 17:56:56 +08:00
|
|
|
|
case 4:
|
|
|
|
|
|
this.kstime = ''
|
|
|
|
|
|
this.jstime = ''
|
|
|
|
|
|
break
|
2025-04-01 21:35:30 +08:00
|
|
|
|
default:
|
|
|
|
|
|
this.kstime = formatDate(year, month, day)
|
|
|
|
|
|
this.jstime = formatDate(year, month, day)
|
|
|
|
|
|
}
|
|
|
|
|
|
},
|
2026-05-21 17:56:56 +08:00
|
|
|
|
confirmone(e) {
|
2025-04-01 21:35:30 +08:00
|
|
|
|
this.kstime = e.year + '-' + e.month + '-' + e.day
|
|
|
|
|
|
this.riqiindex = -1
|
2025-04-10 08:57:21 +08:00
|
|
|
|
this.gettongji()
|
2025-04-01 21:35:30 +08:00
|
|
|
|
},
|
2026-05-21 17:56:56 +08:00
|
|
|
|
confirmtwo(e) {
|
2025-04-01 21:35:30 +08:00
|
|
|
|
this.jstime = e.year + '-' + e.month + '-' + e.day
|
|
|
|
|
|
this.riqiindex = -1
|
2025-04-10 08:57:21 +08:00
|
|
|
|
this.gettongji()
|
2025-04-01 21:35:30 +08:00
|
|
|
|
},
|
2026-05-21 17:56:56 +08:00
|
|
|
|
btnriqi(num) {
|
2025-04-01 21:35:30 +08:00
|
|
|
|
this.riqiindex = num
|
|
|
|
|
|
this.getCurrentDate(this.riqiindex)
|
2025-04-10 08:57:21 +08:00
|
|
|
|
this.gettongji()
|
2025-04-01 21:35:30 +08:00
|
|
|
|
},
|
2025-04-23 17:50:42 +08:00
|
|
|
|
showTimePicker(type) {
|
2026-05-21 17:56:56 +08:00
|
|
|
|
if (type === 'start') {
|
2025-04-23 17:50:42 +08:00
|
|
|
|
this.oneshow = true
|
|
|
|
|
|
} else {
|
|
|
|
|
|
this.twoshow = true
|
|
|
|
|
|
}
|
2026-03-26 17:51:06 +08:00
|
|
|
|
},
|
2026-05-21 17:56:56 +08:00
|
|
|
|
showPendingTip() {
|
2026-03-26 17:51:06 +08:00
|
|
|
|
uni.showToast({
|
2026-05-21 17:56:56 +08:00
|
|
|
|
title: '以下订单尚未完结或未支付,完成后将计入营收',
|
2026-03-26 17:51:06 +08:00
|
|
|
|
icon: 'none',
|
2026-05-21 17:56:56 +08:00
|
|
|
|
duration: 3000
|
2026-03-26 17:51:06 +08:00
|
|
|
|
})
|
2025-04-01 21:35:30 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss">
|
2026-05-21 17:56:56 +08:00
|
|
|
|
page {
|
|
|
|
|
|
background: #F3F4F6;
|
|
|
|
|
|
}
|
2026-04-02 01:48:12 +08:00
|
|
|
|
.page {
|
|
|
|
|
|
min-height: 100vh;
|
2026-04-28 14:01:46 +08:00
|
|
|
|
background: linear-gradient(180deg, #F3F4F6 0%, #FFFFFF 100%);
|
2026-04-02 01:48:12 +08:00
|
|
|
|
}
|
2026-05-21 17:56:56 +08:00
|
|
|
|
.page-scroll {
|
|
|
|
|
|
padding-bottom: 60rpx;
|
2026-04-02 01:48:12 +08:00
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
}
|
2026-05-21 17:56:56 +08:00
|
|
|
|
.is-hover {
|
2026-04-02 01:48:12 +08:00
|
|
|
|
opacity: 0.85;
|
|
|
|
|
|
transform: scale(0.98);
|
|
|
|
|
|
}
|
2026-05-21 17:56:56 +08:00
|
|
|
|
|
|
|
|
|
|
/* 时间范围选择卡片 */
|
|
|
|
|
|
.time-filter-card {
|
2026-04-28 14:01:46 +08:00
|
|
|
|
width: 710rpx;
|
|
|
|
|
|
background: rgba(255, 255, 255, 0.98);
|
|
|
|
|
|
backdrop-filter: blur(10px);
|
2026-05-21 17:56:56 +08:00
|
|
|
|
border-radius: 24rpx;
|
|
|
|
|
|
box-shadow: 0 4rpx 24rpx rgba(0, 0, 0, 0.04);
|
|
|
|
|
|
margin: 24rpx auto 0;
|
|
|
|
|
|
padding: 24rpx;
|
2025-05-10 17:54:20 +08:00
|
|
|
|
box-sizing: border-box;
|
2026-05-21 17:56:56 +08:00
|
|
|
|
|
|
|
|
|
|
.quick-dates {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
margin-bottom: 24rpx;
|
|
|
|
|
|
gap: 12rpx;
|
|
|
|
|
|
.date-tag {
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
height: 56rpx;
|
|
|
|
|
|
line-height: 56rpx;
|
|
|
|
|
|
text-align: center;
|
2026-04-28 14:01:46 +08:00
|
|
|
|
background: #F3F4F6;
|
2026-05-21 17:56:56 +08:00
|
|
|
|
color: #4B5563;
|
|
|
|
|
|
font-size: 26rpx;
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
border-radius: 12rpx;
|
|
|
|
|
|
transition: all 0.3s ease;
|
|
|
|
|
|
&.active {
|
|
|
|
|
|
background: #EFF6FF;
|
|
|
|
|
|
color: #3B82F6;
|
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
}
|
2026-04-28 14:01:46 +08:00
|
|
|
|
}
|
2026-05-21 17:56:56 +08:00
|
|
|
|
}
|
|
|
|
|
|
.custom-date-row {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
background: #F8FAFC;
|
|
|
|
|
|
border-radius: 16rpx;
|
|
|
|
|
|
padding: 12rpx 20rpx;
|
|
|
|
|
|
border: 1rpx solid #F1F5F9;
|
|
|
|
|
|
.date-picker-btn {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
height: 64rpx;
|
|
|
|
|
|
background: #FFFFFF;
|
|
|
|
|
|
border-radius: 12rpx;
|
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
|
color: #1F2937;
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
box-shadow: 0 2rpx 8rpx rgba(0,0,0,0.02);
|
2025-05-10 17:54:20 +08:00
|
|
|
|
}
|
2026-05-21 17:56:56 +08:00
|
|
|
|
.date-separator {
|
|
|
|
|
|
padding: 0 20rpx;
|
2025-05-10 17:54:20 +08:00
|
|
|
|
font-size: 24rpx;
|
2026-05-21 17:56:56 +08:00
|
|
|
|
color: #9CA3AF;
|
2026-04-28 14:01:46 +08:00
|
|
|
|
font-weight: 500;
|
2025-05-10 17:54:20 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2026-05-21 17:56:56 +08:00
|
|
|
|
|
|
|
|
|
|
/* 通用区块容器 */
|
|
|
|
|
|
.section-container {
|
2026-04-28 14:01:46 +08:00
|
|
|
|
width: 710rpx;
|
2026-05-21 17:56:56 +08:00
|
|
|
|
margin: 24rpx auto 0;
|
2025-04-01 21:35:30 +08:00
|
|
|
|
box-sizing: border-box;
|
2026-05-21 17:56:56 +08:00
|
|
|
|
|
|
|
|
|
|
.section-header {
|
2025-04-01 21:35:30 +08:00
|
|
|
|
display: flex;
|
2026-05-21 17:56:56 +08:00
|
|
|
|
align-items: center;
|
|
|
|
|
|
margin-bottom: 20rpx;
|
|
|
|
|
|
padding-left: 8rpx;
|
|
|
|
|
|
|
|
|
|
|
|
.indicator {
|
2026-04-28 14:01:46 +08:00
|
|
|
|
width: 8rpx;
|
|
|
|
|
|
height: 28rpx;
|
2026-05-21 17:56:56 +08:00
|
|
|
|
background-color: #3B82F6;
|
2026-04-28 14:01:46 +08:00
|
|
|
|
border-radius: 4rpx;
|
2026-05-21 17:56:56 +08:00
|
|
|
|
margin-right: 12rpx;
|
|
|
|
|
|
&.bg-info {
|
|
|
|
|
|
background-color: #9CA3AF;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
.title {
|
|
|
|
|
|
font-size: 30rpx;
|
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
color: #1F2937;
|
2026-04-28 14:01:46 +08:00
|
|
|
|
}
|
2025-04-01 21:35:30 +08:00
|
|
|
|
}
|
2026-05-21 17:56:56 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* 4宫格大字报 */
|
|
|
|
|
|
.grid-4 {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
align-items: stretch;
|
|
|
|
|
|
|
|
|
|
|
|
.grid-item {
|
|
|
|
|
|
width: 340rpx;
|
|
|
|
|
|
background: #FFFFFF;
|
|
|
|
|
|
border-radius: 20rpx;
|
|
|
|
|
|
padding: 24rpx 20rpx;
|
|
|
|
|
|
margin-bottom: 24rpx;
|
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.03);
|
|
|
|
|
|
border: 1rpx solid #F3F4F6;
|
2025-04-01 21:35:30 +08:00
|
|
|
|
display: flex;
|
2026-05-21 17:56:56 +08:00
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
align-self: stretch;
|
|
|
|
|
|
|
|
|
|
|
|
.item-title {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
margin-bottom: 16rpx;
|
|
|
|
|
|
|
|
|
|
|
|
.icon-box {
|
|
|
|
|
|
width: 40rpx;
|
|
|
|
|
|
height: 40rpx;
|
|
|
|
|
|
border-radius: 8rpx;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
margin-right: 10rpx;
|
2025-04-01 21:35:30 +08:00
|
|
|
|
}
|
2026-05-21 17:56:56 +08:00
|
|
|
|
.lbl {
|
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
|
color: #6B7280;
|
2026-04-28 14:01:46 +08:00
|
|
|
|
font-weight: 500;
|
2026-05-21 17:56:56 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.item-val {
|
|
|
|
|
|
font-size: 44rpx;
|
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
font-family: 'DIN Alternate', -apple-system, BlinkMacSystemFont, sans-serif;
|
|
|
|
|
|
margin-bottom: 16rpx;
|
|
|
|
|
|
line-height: 1.2;
|
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
|
word-break: break-all;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.item-sub-pill {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
margin-top: auto;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
align-items: baseline;
|
|
|
|
|
|
align-content: flex-start;
|
|
|
|
|
|
gap: 8rpx 16rpx;
|
|
|
|
|
|
background: #F3F4F6;
|
|
|
|
|
|
padding: 8rpx 12rpx;
|
|
|
|
|
|
border-radius: 20rpx;
|
|
|
|
|
|
line-height: 1.4;
|
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
|
|
|
|
.sub-seg {
|
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
align-items: baseline;
|
|
|
|
|
|
flex: 0 1 auto;
|
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
}
|
|
|
|
|
|
.sub-lbl {
|
|
|
|
|
|
font-size: 22rpx;
|
2026-04-28 14:01:46 +08:00
|
|
|
|
color: #6B7280;
|
2026-05-21 17:56:56 +08:00
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
margin: 0 4rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
.sub-val {
|
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
font-family: 'DIN Alternate', -apple-system, BlinkMacSystemFont, sans-serif;
|
2025-04-01 21:35:30 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2026-05-21 17:56:56 +08:00
|
|
|
|
|
|
|
|
|
|
/* 费用细分 */
|
|
|
|
|
|
.fee-container {
|
|
|
|
|
|
margin-top: 8rpx;
|
|
|
|
|
|
|
|
|
|
|
|
.fee-section-header {
|
2025-04-01 21:35:30 +08:00
|
|
|
|
justify-content: space-between;
|
2026-05-21 17:56:56 +08:00
|
|
|
|
margin-bottom: 20rpx;
|
|
|
|
|
|
padding-left: 8rpx;
|
|
|
|
|
|
|
|
|
|
|
|
.fee-header-left {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
}
|
|
|
|
|
|
.fee-header-extra {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: baseline;
|
|
|
|
|
|
.ft-lbl {
|
|
|
|
|
|
font-size: 24rpx;
|
2026-04-28 14:01:46 +08:00
|
|
|
|
color: #6B7280;
|
2025-04-01 21:35:30 +08:00
|
|
|
|
}
|
2026-05-21 17:56:56 +08:00
|
|
|
|
.ft-val {
|
|
|
|
|
|
font-size: 28rpx;
|
2026-04-28 14:01:46 +08:00
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
font-family: 'DIN Alternate', -apple-system, BlinkMacSystemFont, sans-serif;
|
2025-04-01 21:35:30 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2026-05-21 17:56:56 +08:00
|
|
|
|
|
|
|
|
|
|
.fee-wrapper {
|
|
|
|
|
|
background: #FFFFFF;
|
|
|
|
|
|
border-radius: 16rpx;
|
|
|
|
|
|
padding: 28rpx 16rpx 12rpx;
|
|
|
|
|
|
box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.03);
|
|
|
|
|
|
border: 1rpx solid #F3F4F6;
|
|
|
|
|
|
|
|
|
|
|
|
.fee-list {
|
2025-04-01 21:35:30 +08:00
|
|
|
|
display: flex;
|
2026-05-21 17:56:56 +08:00
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
|
|
|
|
|
|
.fee-item {
|
|
|
|
|
|
width: 33.33%;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
align-items: center;
|
2025-04-01 21:35:30 +08:00
|
|
|
|
text-align: center;
|
2026-05-21 17:56:56 +08:00
|
|
|
|
margin-bottom: 24rpx;
|
|
|
|
|
|
padding: 0 8rpx;
|
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
|
|
|
|
.f-val {
|
|
|
|
|
|
font-size: 28rpx;
|
2026-04-28 14:01:46 +08:00
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
font-family: 'DIN Alternate', -apple-system, BlinkMacSystemFont, sans-serif;
|
2026-05-21 17:56:56 +08:00
|
|
|
|
margin-bottom: 10rpx;
|
|
|
|
|
|
line-height: 1.2;
|
2025-04-01 21:35:30 +08:00
|
|
|
|
}
|
2026-05-21 17:56:56 +08:00
|
|
|
|
.f-name-row {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
|
|
|
|
.dot {
|
|
|
|
|
|
width: 10rpx;
|
|
|
|
|
|
height: 10rpx;
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
margin-right: 8rpx;
|
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
.f-name {
|
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
|
color: #6B7280;
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
}
|
2025-04-01 21:35:30 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2026-05-21 17:56:56 +08:00
|
|
|
|
|
|
|
|
|
|
/* 收益在路上 */
|
|
|
|
|
|
.pending-container {
|
|
|
|
|
|
margin-top: 32rpx;
|
|
|
|
|
|
|
|
|
|
|
|
.pending-list {
|
2025-04-01 21:35:30 +08:00
|
|
|
|
display: flex;
|
2026-05-21 17:56:56 +08:00
|
|
|
|
flex-direction: row;
|
2025-12-20 14:29:10 +08:00
|
|
|
|
justify-content: space-between;
|
2026-05-21 17:56:56 +08:00
|
|
|
|
gap: 16rpx;
|
|
|
|
|
|
margin-bottom: 24rpx;
|
|
|
|
|
|
|
|
|
|
|
|
.pending-item {
|
|
|
|
|
|
flex: 1;
|
2026-04-02 01:48:12 +08:00
|
|
|
|
display: flex;
|
2026-05-21 17:56:56 +08:00
|
|
|
|
flex-direction: column;
|
2026-04-02 01:48:12 +08:00
|
|
|
|
align-items: center;
|
2025-04-01 21:35:30 +08:00
|
|
|
|
background: #FFFFFF;
|
2026-05-21 17:56:56 +08:00
|
|
|
|
padding: 24rpx 10rpx;
|
|
|
|
|
|
border-radius: 16rpx;
|
|
|
|
|
|
box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.03);
|
|
|
|
|
|
border: 1rpx solid #F3F4F6;
|
2025-04-01 21:35:30 +08:00
|
|
|
|
text-align: center;
|
2026-05-21 17:56:56 +08:00
|
|
|
|
|
|
|
|
|
|
.p-icon {
|
|
|
|
|
|
width: 56rpx;
|
|
|
|
|
|
height: 56rpx;
|
|
|
|
|
|
border-radius: 12rpx;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
margin-bottom: 12rpx;
|
|
|
|
|
|
.u-icon {
|
|
|
|
|
|
font-size: 32rpx !important;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.p-info {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
|
|
.p-label {
|
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
|
color: #6B7280;
|
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
margin-bottom: 8rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
.p-val {
|
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
|
color: #1F2937;
|
|
|
|
|
|
font-family: 'DIN Alternate', -apple-system, BlinkMacSystemFont, sans-serif;
|
|
|
|
|
|
.unit {
|
|
|
|
|
|
font-size: 22rpx;
|
|
|
|
|
|
font-weight: normal;
|
|
|
|
|
|
color: #9CA3AF;
|
|
|
|
|
|
margin-left: 4rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2026-04-28 14:01:46 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-04-01 21:35:30 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
2026-05-21 17:56:56 +08:00
|
|
|
|
|
|
|
|
|
|
/* 颜色辅助类 */
|
|
|
|
|
|
.color-primary { color: #3B82F6; }
|
|
|
|
|
|
.color-warning { color: #F59E0B; }
|
|
|
|
|
|
.color-success { color: #10B981; }
|
|
|
|
|
|
.color-danger { color: #EF4444; }
|
|
|
|
|
|
.color-purple { color: #8B5CF6; }
|
|
|
|
|
|
|
|
|
|
|
|
.bg-light-primary { background: #EFF6FF; }
|
|
|
|
|
|
.bg-light-warning { background: #FFFBEB; }
|
|
|
|
|
|
.bg-light-success { background: #ECFDF5; }
|
|
|
|
|
|
.bg-light-danger { background: #FEF2F2; }
|
|
|
|
|
|
.bg-light-purple { background: #F5F3FF; }
|
|
|
|
|
|
</style>
|