li-guang
2020-12-11 88a0ab37eb40b67b2a963faf49d19aae82b4fc66
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
<template>
    <!-- 工作台 -->
    <view class="container">
        <!-- #ifndef H5 -->
        <view class="status_bar"></view>
        <!-- #endif -->
        <view class="header flex align-center justify-between">
            <text class="font-18 dark-gray">HIVE</text>
            <view>
                <text class="icon gray iconfont iconsousuo mr-15"></text>
                <text class="icon gray iconfont iconjiahao" @click.stop="isShow=!isShow"></text>
            </view>
        </view>
        <popover class="popup-content" v-show="isShow">
            <view class="triangle"></view>
            <view class="popup-item flex align-center">
                <text class="icon white iconfont iconjiahao mr-5"></text>
                <text class="white font-14 popup-content-text">新增会员</text>
            </view>
            <view class="popup-item flex align-center">
                <text class="icon white iconfont iconsaomiao mr-5"></text>
                <text class="white font-14 popup-content-text">扫一扫</text>
            </view>
        </popover>
        <view class="condition flex justify-between">
            <view class="flex flex-v align-center">
                <text class="font-17 white">0</text>
                <text class="font-15 white mt-10">预约</text>
            </view>
            <view class="flex flex-v align-center">
                <text class="font-17 white">2</text>
                <text class="font-15 white mt-10">进行中</text>
            </view>
            <view class="flex flex-v align-center">
                <text class="font-17 white">5</text>
                <text class="font-15 white mt-10">代付款</text>
            </view>
            <view class="flex flex-v align-center">
                <text class="font-17 white">15</text>
                <text class="font-15 white mt-10">欠款</text>
            </view>
        </view>
        <view class="content-item mt-10">
            <text class="title">订单</text>
            <view class="flex align-center mt-10">
                <view class="flex flex-v align-center list-item">
                    <image class="content-icon" src="../../static/images/order1.png"></image>
                    <text class="font-12 mt-10 font-dark">新建订单</text>
                </view>
                <view class="flex flex-v align-center list-item">
                    <image class="content-icon" src="../../static/images/order2.png"></image>
                    <text class="font-12 mt-10 font-dark">代付款</text>
                </view>
                <view class="flex flex-v align-center list-item">
                    <image class="content-icon" src="../../static/images/order3.png"></image>
                    <text class="font-12 mt-10 font-dark">已付款</text>
                </view>
                <view class="flex flex-v align-center list-item">
                    <image class="content-icon" src="../../static/images/order4.png"></image>
                    <text class="font-12 mt-10 font-dark">欠款</text>
                </view>
            </view>
        </view>
        <view class="content-item mt-10">
            <text class="title">项目/服务</text>
            <view class="flex align-center mt-10">
                <view class="flex flex-v align-center list-item">
                    <image class="content-icon" src="../../static/images/sever1.png"></image>
                    <text class="font-12 mt-10 font-dark">新建预约</text>
                </view>
                <view class="flex flex-v align-center list-item">
                    <image class="content-icon" src="../../static/images/sever2.png"></image>
                    <text class="font-12 mt-10 font-dark">看板</text>
                </view>
                <view class="flex flex-v align-center list-item">
                    <image class="content-icon" src="../../static/images/sever3.png"></image>
                    <text class="font-12 mt-10 font-dark">待服务</text>
                </view>
                <view class="flex flex-v align-center list-item">
                    <image class="content-icon" src="../../static/images/sever4.png"></image>
                    <text class="font-12 mt-10 font-dark">服务完成</text>
                </view>
            </view>
        </view>
        <view class="content-item mt-10">
            <text class="title">代办</text>
            <view class="flex align-center mt-10">
                <view class="flex flex-v align-center list-item">
                    <image class="content-icon" src="../../static/images/commission1.png"></image>
                    <text class="font-12 mt-10 font-dark">跟进</text>
                </view>
                <view class="flex flex-v align-center list-item">
                    <image class="content-icon" src="../../static/images/commission2.png"></image>
                    <text class="font-12 mt-10 font-dark">日报</text>
                </view>
                <view class="flex flex-v align-center list-item">
                    <image class="content-icon" src="../../static/images/commission3.png"></image>
                    <text class="font-12 mt-10 font-dark">通知</text>
                </view>
            </view>
        </view>
        <view class="content-item mt-10">
            <text class="title">仓库</text>
            <view class="flex align-center mt-10">
                <view class="flex flex-v align-center list-item">
                    <image class="content-icon" src="../../static/images/warehouse1.png"></image>
                    <text class="font-12 mt-10 font-dark">库存查询</text>
                </view>
                <view class="flex flex-v align-center list-item">
                    <image class="content-icon" src="../../static/images/warehouse2.png"></image>
                    <text class="font-12 mt-10 font-dark">盘点</text>
                </view>
            </view>
        </view>
        <view class="content-item">
            <text class="title">报表</text>
            <view class="flex align-center mt-10">
                <view class="flex flex-v align-center list-item">
                    <image class="content-icon" src="../../static/images/statement1.png"></image>
                    <text class="font-12 mt-10 font-dark">排行榜</text>
                </view>
                <view class="flex flex-v align-center list-item">
                    <image class="content-icon" src="../../static/images/statement2.png"></image>
                    <text class="font-12 mt-10 font-dark">员工业绩</text>
                </view>
                <view class="flex flex-v align-center list-item">
                    <image class="content-icon" src="../../static/images/statement3.png"></image>
                    <text class="font-12 mt-10 font-dark">门店业绩</text>
                </view>
                <view class="flex flex-v align-center list-item">
                    <image class="content-icon" src="../../static/images/statement4.png"></image>
                    <text class="font-12 mt-10 font-dark">产品报表</text>
                </view>
            </view>
            <view class="flex align-center mt-15">
                <view class="flex flex-v align-center list-item">
                    <image class="content-icon" src="../../static/images/statement5.png"></image>
                    <text class="font-12 mt-10 font-dark">库存预警</text>
                </view>
                <view class="flex flex-v align-center list-item">
                    <image class="content-icon" src="../../static/images/statement6.png"></image>
                    <text class="font-12 mt-10 font-dark">客户流失预警</text>
                </view>
            </view>
        </view>
    </view>
</template>
 
<script>
    import popover from "../../components/popover/index.vue"
    export default{
        components:{
            popover
        },
        data(){
            return{
                isShow:false
            }
        },
        onLoad() {
            document.addEventListener('click', () => {
                this.isShow = false
            }, false)
        },
        methods:{
            appear(){
                
            }
        }
    }
</script>
 
<style>
    .icon {
        font-size: 18px;
        text-align: center;
        font-family: texticons;
    }
    .container{
        padding: 0 10px;
    }
    .header{
        padding: 12px 5px;
    }
    .condition{
        background-color: #518EFF;
        padding: 15px 30px;
        border-radius: 4px;
    }
    .content-item{
        background: #FFFFFF;
        padding: 15px 0;
        border-radius: 4px;
        margin: 10px 0;
        box-shadow:0 6px 6px rgba(237,234,244,0.5);
    }
    .title{
        font-size: 14px;
        color: #666666;
        padding-left: 15px;
        padding-bottom: 5px;
    }
    .content-icon{
        width: 30px;
        height: 30px;
    }
    .list-item{
        width: 25%;
    }
    .popup-content{
        position: absolute;
        right: 9px;
        top: 48px;
        padding-left: 10px;
    }
    .triangle{
        width: 0;
        height: 0;
        border-width: 0 10px 10px;
        border-style: solid;
        border-color: transparent transparent #4c4c4c;
        position: absolute;
        top:-8px;
        right: 5px;
    }
    .popup-content-text{
        width: 100%;
        border-bottom: 1px solid gray;
        padding: 10px 10px 10px 0;
    }
    .popup-content .popup-item:nth-last-of-type(1) .popup-content-text{
        border-bottom: 0;
    }
</style>