queenwuli
2020-12-27 cc499362b6eba119792e113796e4da029a70fc6d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<template>
    <!-- 公司经营报表 -->
    <view>
        <view>
            <h-tabs
                class="tab"
                :tabData="tabs" 
                :config="{
                    color: '#abb1cc',
                    activeColor: '#518EFF',
                    underLineColor: '#518EFF',
                    underLineHeight: 6,
                    fontSize: '28',
                    underLineWidth: 60,
                }"
            />
        </view>
        <view>
            <view class="content-box">
                <view class="content-box-header">
                    <text class="font-16">2020年12月24日</text>
                </view>
                <view class="font-14">
                    <view class="content-box-row flex justify-between">
                        <text>营业收入</text>
                        <text>¥12,122</text>
                    </view>
                    <view class="content-box-row flex justify-between">
                        <text>现金收入</text>
                        <text>¥12,122</text>
                    </view>
                    <view class="content-box-row flex justify-between">
                        <text>盈划扣</text>
                        <text>¥12,122</text>
                    </view>
                    <view class="content-box-row flex justify-between">
                        <text>本金消耗</text>
                        <text>¥12,122</text>
                    </view>
                    <view class="content-box-row flex justify-between">
                        <text>赠送消耗</text>
                        <text>¥12,122</text>
                    </view>
                    <view class="content-box-row flex justify-between">
                        <text>现金退款</text>
                        <text>¥12,122</text>
                    </view>
                    <view class="content-box-row flex justify-between">
                        <text>卡项回归</text>
                        <text>¥12,122</text>
                    </view>
                    <view class="content-box-row flex justify-between">
                        <text>欠款</text>
                        <text>¥12,122</text>
                    </view>
                </view>
            </view>
        </view>
    </view>
</template>
 
<script>
    import HTabs from "@/components/liuyuno-tabs/liuyuno-tabs.vue";
    export default {
        components: {
            HTabs
        },
        data() {
          return {
            tabs:[
                {
                    state: 1,
                    name: '每日'
                },
                {
                    state: 2,
                    name: '每月'
                },
                {
                    state: 3,
                    name: '专项'
                }
            ],
          }  
        }
    }
</script>
 
<style>
    page{
        background: #F6F6F8;
    }
    .tab{
        background: #FFFFFF;
        border-bottom: #EDEAF4;
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
        box-shadow:0 6px 6px rgba(237,234,244,0.5);
    }
    .content-box{
        background: #FFFFFF;
        border: 1px solid #EDEAF4;
        border-radius: 4px;
        margin: 10px 10px 0;
        padding: 10px;
    }
    .content-box-header{
        border-bottom: 1px solid #EDEAF4;
        padding: 0 5px 10px;
    }
    .content-box-row{
        padding: 10px 5px 0;
    }
</style>