|
|
@@ -0,0 +1,493 @@
|
|
|
1
|
+<script setup>
|
|
|
2
|
+import { getCurrentInstance, onMounted, ref, computed } from 'vue';
|
|
|
3
|
+import { useRouter } from 'vue-router';
|
|
|
4
|
+import { showFailToast, showSuccessToast, showDialog, showLoadingToast } from 'vant';
|
|
|
5
|
+import tools from "@/tools/index.js";
|
|
|
6
|
+
|
|
|
7
|
+const { proxy } = getCurrentInstance()
|
|
|
8
|
+const router = useRouter()
|
|
|
9
|
+
|
|
|
10
|
+/* 通用方法: 重置list数据 */
|
|
|
11
|
+const basicReset = () => {
|
|
|
12
|
+ finished.value = false;
|
|
|
13
|
+ loading.value = true;
|
|
|
14
|
+ pageNum.value = 1
|
|
|
15
|
+ resultData.value = []
|
|
|
16
|
+}
|
|
|
17
|
+
|
|
|
18
|
+/* 查询数据 */
|
|
|
19
|
+const pageNum = ref(1)
|
|
|
20
|
+const pageSize = ref(10)
|
|
|
21
|
+const total = ref(0)
|
|
|
22
|
+const resultData = ref([])
|
|
|
23
|
+const queryList = ref([])
|
|
|
24
|
+
|
|
|
25
|
+// 年份选择
|
|
|
26
|
+const currentYear = new Date().getFullYear();
|
|
|
27
|
+const yearOptions = Array.from({ length: 10 }, (_, i) => {
|
|
|
28
|
+ const year = currentYear - 5 + i;
|
|
|
29
|
+ return {
|
|
|
30
|
+ text: String(year),
|
|
|
31
|
+ value: String(year)
|
|
|
32
|
+ };
|
|
|
33
|
+}).reverse();
|
|
|
34
|
+const showYearPicker = ref(false);
|
|
|
35
|
+
|
|
|
36
|
+const formData = ref({
|
|
|
37
|
+ year: String(currentYear),
|
|
|
38
|
+ quarter: null
|
|
|
39
|
+})
|
|
|
40
|
+
|
|
|
41
|
+// 获取用户部门信息
|
|
|
42
|
+const jsonArray = localStorage.getItem('dept')
|
|
|
43
|
+const deptInformation = ref([])
|
|
|
44
|
+try {
|
|
|
45
|
+ deptInformation.value = jsonArray ? JSON.parse(jsonArray) : [];
|
|
|
46
|
+} catch (error) {
|
|
|
47
|
+ deptInformation.value = [];
|
|
|
48
|
+}
|
|
|
49
|
+
|
|
|
50
|
+const jsonArrayTree = localStorage.getItem('deptTree')
|
|
|
51
|
+const deptInformationTree = ref([])
|
|
|
52
|
+try {
|
|
|
53
|
+ deptInformationTree.value = jsonArrayTree ? JSON.parse(jsonArrayTree) : [];
|
|
|
54
|
+} catch (error) {
|
|
|
55
|
+ deptInformationTree.value = [];
|
|
|
56
|
+}
|
|
|
57
|
+
|
|
|
58
|
+const deptNameTree = deptInformationTree.value[0]?.deptName || ''
|
|
|
59
|
+const deptCode = deptInformation.value[0]?.deptCode?.substring(0, 5) || ''
|
|
|
60
|
+
|
|
|
61
|
+const tableData = ref([])
|
|
|
62
|
+const loading = ref(false)
|
|
|
63
|
+
|
|
|
64
|
+// 格式化数字显示(0 显示为空)
|
|
|
65
|
+const formatterZero = (value) => {
|
|
|
66
|
+ return value === 0 || value === '0' || value === null || value === undefined ? '' : value
|
|
|
67
|
+}
|
|
|
68
|
+
|
|
|
69
|
+// 计算 1-9 月合计
|
|
|
70
|
+const formatterSum1To9 = (row) => {
|
|
|
71
|
+ const months = [
|
|
|
72
|
+ row.oneMonth,
|
|
|
73
|
+ row.twoMonth,
|
|
|
74
|
+ row.threeMonth,
|
|
|
75
|
+ row.fourMonth,
|
|
|
76
|
+ row.fiveMonth,
|
|
|
77
|
+ row.sixMonth,
|
|
|
78
|
+ row.sevenMonth,
|
|
|
79
|
+ row.eightMonth,
|
|
|
80
|
+ row.nineMonth
|
|
|
81
|
+ ]
|
|
|
82
|
+ const sum = months
|
|
|
83
|
+ .map(val => {
|
|
|
84
|
+ const num = Number(val)
|
|
|
85
|
+ return isNaN(num) ? 0 : num
|
|
|
86
|
+ })
|
|
|
87
|
+ .reduce((a, b) => a + b, 0)
|
|
|
88
|
+ return sum === 0 && months.every(v => !v) ? '' : sum
|
|
|
89
|
+}
|
|
|
90
|
+
|
|
|
91
|
+// 年份选择确认
|
|
|
92
|
+const onConfirmYear = (value) => {
|
|
|
93
|
+ let selectedYear = '';
|
|
|
94
|
+ if (value && value.selectedOptions && value.selectedOptions.length > 0) {
|
|
|
95
|
+ const selectedOption = value.selectedOptions[0];
|
|
|
96
|
+ selectedYear = typeof selectedOption === 'string' ? selectedOption : selectedOption.value || selectedOption.text;
|
|
|
97
|
+ } else if (typeof value === 'string') {
|
|
|
98
|
+ selectedYear = value;
|
|
|
99
|
+ }
|
|
|
100
|
+
|
|
|
101
|
+ formData.value.year = selectedYear;
|
|
|
102
|
+ showYearPicker.value = false;
|
|
|
103
|
+ search();
|
|
|
104
|
+}
|
|
|
105
|
+
|
|
|
106
|
+// 查询
|
|
|
107
|
+const search = async () => {
|
|
|
108
|
+ const now = new Date()
|
|
|
109
|
+ const currentYear = now.getFullYear()
|
|
|
110
|
+ const currentMonth = now.getMonth()
|
|
|
111
|
+ const currentQuarter = Math.ceil((currentMonth + 1) / 3)
|
|
|
112
|
+
|
|
|
113
|
+ if (!formData.value.year) {
|
|
|
114
|
+ formData.value.year = String(currentYear)
|
|
|
115
|
+ }
|
|
|
116
|
+ if (!formData.value.quarter) {
|
|
|
117
|
+ formData.value.quarter = currentQuarter
|
|
|
118
|
+ }
|
|
|
119
|
+
|
|
|
120
|
+ loading.value = true
|
|
|
121
|
+ await getTableData()
|
|
|
122
|
+}
|
|
|
123
|
+
|
|
|
124
|
+// 重置
|
|
|
125
|
+const reset = () => {
|
|
|
126
|
+ formData.value.year = String(currentYear)
|
|
|
127
|
+ formData.value.quarter = null
|
|
|
128
|
+ search()
|
|
|
129
|
+}
|
|
|
130
|
+
|
|
|
131
|
+// 获取表格数据
|
|
|
132
|
+const getTableData = async () => {
|
|
|
133
|
+ try {
|
|
|
134
|
+ const res = await proxy.$axios.post('/sgsafe/expect/query', {
|
|
|
135
|
+ params: JSON.stringify(formData.value)
|
|
|
136
|
+ })
|
|
|
137
|
+
|
|
|
138
|
+ if (res.data.code == '0') {
|
|
|
139
|
+ tableData.value = res.data.data || []
|
|
|
140
|
+ resultData.value = tableData.value
|
|
|
141
|
+ total.value = tableData.value.length
|
|
|
142
|
+ } else {
|
|
|
143
|
+ showFailToast('加载失败:' + res.data.msg)
|
|
|
144
|
+ }
|
|
|
145
|
+ } catch (error) {
|
|
|
146
|
+ console.error('请求失败:', error)
|
|
|
147
|
+ showFailToast('网络错误,请重试')
|
|
|
148
|
+ } finally {
|
|
|
149
|
+ loading.value = false
|
|
|
150
|
+ finished.value = true
|
|
|
151
|
+ }
|
|
|
152
|
+}
|
|
|
153
|
+
|
|
|
154
|
+// 新增行
|
|
|
155
|
+const addRow = () => {
|
|
|
156
|
+ router.push({
|
|
|
157
|
+ path: "/safeMoneyBudgetList",
|
|
|
158
|
+ query: {
|
|
|
159
|
+ mark: -1,
|
|
|
160
|
+ year: formData.value.year
|
|
|
161
|
+ }
|
|
|
162
|
+ });
|
|
|
163
|
+}
|
|
|
164
|
+
|
|
|
165
|
+// 编辑行
|
|
|
166
|
+const editRow = (row) => {
|
|
|
167
|
+ router.push({
|
|
|
168
|
+ path: "/safeMoneyBudgetList",
|
|
|
169
|
+ query: {
|
|
|
170
|
+ mark: 1,
|
|
|
171
|
+ data: JSON.stringify(row),
|
|
|
172
|
+ year: formData.value.year
|
|
|
173
|
+ }
|
|
|
174
|
+ });
|
|
|
175
|
+}
|
|
|
176
|
+
|
|
|
177
|
+// 删除行
|
|
|
178
|
+const deleteRow = async (row) => {
|
|
|
179
|
+ try {
|
|
|
180
|
+ await showDialog({
|
|
|
181
|
+ title: '删除确认',
|
|
|
182
|
+ message: '确定要删除该条记录吗?此操作不可恢复。',
|
|
|
183
|
+ showCancelButton: true,
|
|
|
184
|
+ confirmButtonText: '确定',
|
|
|
185
|
+ cancelButtonText: '取消',
|
|
|
186
|
+ })
|
|
|
187
|
+
|
|
|
188
|
+ loading.value = true
|
|
|
189
|
+ const deleteDataItem = { ...row }
|
|
|
190
|
+ deleteDataItem.cancelFlag = '1'
|
|
|
191
|
+
|
|
|
192
|
+ const res = await proxy.$axios.post('/sgsafe/expect/save', {
|
|
|
193
|
+ json: JSON.stringify(deleteDataItem)
|
|
|
194
|
+ })
|
|
|
195
|
+
|
|
|
196
|
+ if (res.data.code == '0') {
|
|
|
197
|
+ showSuccessToast('删除成功')
|
|
|
198
|
+ tableData.value = tableData.value.filter(r => r.id !== row.id)
|
|
|
199
|
+ resultData.value = tableData.value
|
|
|
200
|
+ } else {
|
|
|
201
|
+ showFailToast('删除失败:' + res.data.msg)
|
|
|
202
|
+ }
|
|
|
203
|
+ } catch (error) {
|
|
|
204
|
+ if (error !== 'cancel') {
|
|
|
205
|
+ showFailToast('删除操作异常')
|
|
|
206
|
+ }
|
|
|
207
|
+ } finally {
|
|
|
208
|
+ loading.value = false
|
|
|
209
|
+ }
|
|
|
210
|
+}
|
|
|
211
|
+
|
|
|
212
|
+// 列表加载与下拉刷新
|
|
|
213
|
+const refreshing = ref(false)
|
|
|
214
|
+const finished = ref(false)
|
|
|
215
|
+
|
|
|
216
|
+const onRefresh = async () => {
|
|
|
217
|
+ refreshing.value = true
|
|
|
218
|
+ basicReset()
|
|
|
219
|
+ await search()
|
|
|
220
|
+ refreshing.value = false
|
|
|
221
|
+};
|
|
|
222
|
+
|
|
|
223
|
+const onLoad = async () => {
|
|
|
224
|
+ // 如果是下拉刷新,已经在 onRefresh 中处理了
|
|
|
225
|
+ if (refreshing.value) {
|
|
|
226
|
+ return
|
|
|
227
|
+ }
|
|
|
228
|
+
|
|
|
229
|
+ // 上拉加载更多(如果需要分页的话)
|
|
|
230
|
+ if (finished.value) {
|
|
|
231
|
+ return
|
|
|
232
|
+ }
|
|
|
233
|
+
|
|
|
234
|
+ await search()
|
|
|
235
|
+};
|
|
|
236
|
+
|
|
|
237
|
+// 获取费用类型字典
|
|
|
238
|
+const moneyTypeMap = ref({})
|
|
|
239
|
+const getMoneyTypeName = (value) => {
|
|
|
240
|
+ if (!value) return ''
|
|
|
241
|
+ if (moneyTypeMap.value[value]) {
|
|
|
242
|
+ return moneyTypeMap.value[value]
|
|
|
243
|
+ }
|
|
|
244
|
+ const strValue = String(value)
|
|
|
245
|
+ if (moneyTypeMap.value[strValue]) {
|
|
|
246
|
+ return moneyTypeMap.value[strValue]
|
|
|
247
|
+ }
|
|
|
248
|
+ return value
|
|
|
249
|
+}
|
|
|
250
|
+
|
|
|
251
|
+const getDicList = () => {
|
|
|
252
|
+ tools.dic.getDicList(['MONEY_TYPE']).then((response => {
|
|
|
253
|
+ if (response.data && response.data.code === 0 && response.data.data) {
|
|
|
254
|
+ const moneyTypeList = response.data.data.MONEY_TYPE || []
|
|
|
255
|
+ moneyTypeMap.value = {}
|
|
|
256
|
+ moneyTypeList.forEach(item => {
|
|
|
257
|
+ if (item.dicCode && item.dicName) {
|
|
|
258
|
+ moneyTypeMap.value[item.dicCode] = item.dicName
|
|
|
259
|
+ moneyTypeMap.value[String(item.dicCode)] = item.dicName
|
|
|
260
|
+ }
|
|
|
261
|
+ if (item.dicName) {
|
|
|
262
|
+ moneyTypeMap.value[item.dicName] = item.dicName
|
|
|
263
|
+ }
|
|
|
264
|
+ })
|
|
|
265
|
+ }
|
|
|
266
|
+ })).catch(error => {
|
|
|
267
|
+ console.error('获取字典数据出错:', error)
|
|
|
268
|
+ })
|
|
|
269
|
+}
|
|
|
270
|
+
|
|
|
271
|
+onMounted(() => {
|
|
|
272
|
+ getDicList()
|
|
|
273
|
+ search()
|
|
|
274
|
+})
|
|
|
275
|
+</script>
|
|
|
276
|
+
|
|
|
277
|
+<template>
|
|
|
278
|
+ <div class="page-container">
|
|
|
279
|
+ <van-sticky>
|
|
|
280
|
+ <van-nav-bar title="安全费用预算" @click-right="addRow">
|
|
|
281
|
+ <template #right>
|
|
|
282
|
+ <van-icon name="add" size="25" color="#000" />
|
|
|
283
|
+ </template>
|
|
|
284
|
+ </van-nav-bar>
|
|
|
285
|
+ </van-sticky>
|
|
|
286
|
+
|
|
|
287
|
+ <!-- 查询区域 -->
|
|
|
288
|
+ <div class="query-area">
|
|
|
289
|
+ <van-field
|
|
|
290
|
+ :model-value="formData.year"
|
|
|
291
|
+ is-link
|
|
|
292
|
+ readonly
|
|
|
293
|
+ name="year"
|
|
|
294
|
+ label="年份"
|
|
|
295
|
+ placeholder="点击选择年份"
|
|
|
296
|
+ @click="showYearPicker = true"
|
|
|
297
|
+ />
|
|
|
298
|
+ <div class="query-buttons">
|
|
|
299
|
+ <van-button type="primary" size="small" @click="search">查询</van-button>
|
|
|
300
|
+ <van-button size="small" @click="reset">重置</van-button>
|
|
|
301
|
+ </div>
|
|
|
302
|
+ </div>
|
|
|
303
|
+
|
|
|
304
|
+ <van-popup v-model:show="showYearPicker" position="bottom">
|
|
|
305
|
+ <van-picker
|
|
|
306
|
+ :columns="yearOptions"
|
|
|
307
|
+ @confirm="onConfirmYear"
|
|
|
308
|
+ @cancel="showYearPicker = false"
|
|
|
309
|
+ />
|
|
|
310
|
+ </van-popup>
|
|
|
311
|
+
|
|
|
312
|
+ <div class="scroll-container">
|
|
|
313
|
+ <van-pull-refresh
|
|
|
314
|
+ v-model="refreshing"
|
|
|
315
|
+ success-text="刷新成功"
|
|
|
316
|
+ @refresh="onRefresh"
|
|
|
317
|
+ >
|
|
|
318
|
+ <van-list
|
|
|
319
|
+ v-model:loading="loading"
|
|
|
320
|
+ :finished="finished"
|
|
|
321
|
+ :immediate-check="false"
|
|
|
322
|
+ finished-text="没有更多了"
|
|
|
323
|
+ @load="onLoad"
|
|
|
324
|
+ >
|
|
|
325
|
+ <div v-for="item in resultData" :key="item.id || item.tempId" class="card">
|
|
|
326
|
+ <van-swipe-cell>
|
|
|
327
|
+ <template #default>
|
|
|
328
|
+ <van-cell @click="editRow(item)" :border="false" is-link>
|
|
|
329
|
+ <template #title>
|
|
|
330
|
+ <div class="card-title">
|
|
|
331
|
+ <div class="title-row">
|
|
|
332
|
+ <span class="label">费用类型:</span>
|
|
|
333
|
+ <span class="value">{{ getMoneyTypeName(item.moneyType) || '未设置' }}</span>
|
|
|
334
|
+ </div>
|
|
|
335
|
+ </div>
|
|
|
336
|
+ </template>
|
|
|
337
|
+ <template #label>
|
|
|
338
|
+ <div class="card-content">
|
|
|
339
|
+ <div class="content-row">
|
|
|
340
|
+ <span class="label">预计投入费用:</span>
|
|
|
341
|
+ <span class="value">{{ formatterZero(item.moneyNumber) || '0' }}</span>
|
|
|
342
|
+ </div>
|
|
|
343
|
+ <div class="content-row">
|
|
|
344
|
+ <span class="label">1-9月合计:</span>
|
|
|
345
|
+ <span class="value">{{ formatterSum1To9(item) || '0' }}</span>
|
|
|
346
|
+ </div>
|
|
|
347
|
+<!-- <div class="months-grid">-->
|
|
|
348
|
+<!-- <div class="month-item" v-for="(month, index) in [-->
|
|
|
349
|
+<!-- { key: 'oneMonth', label: '1月' },-->
|
|
|
350
|
+<!-- { key: 'twoMonth', label: '2月' },-->
|
|
|
351
|
+<!-- { key: 'threeMonth', label: '3月' },-->
|
|
|
352
|
+<!-- { key: 'fourMonth', label: '4月' },-->
|
|
|
353
|
+<!-- { key: 'fiveMonth', label: '5月' },-->
|
|
|
354
|
+<!-- { key: 'sixMonth', label: '6月' },-->
|
|
|
355
|
+<!-- { key: 'sevenMonth', label: '7月' },-->
|
|
|
356
|
+<!-- { key: 'eightMonth', label: '8月' },-->
|
|
|
357
|
+<!-- { key: 'nineMonth', label: '9月' },-->
|
|
|
358
|
+<!-- { key: 'tenMonth', label: '10月' },-->
|
|
|
359
|
+<!-- { key: 'elevenMonth', label: '11月' },-->
|
|
|
360
|
+<!-- { key: 'twelveMonth', label: '12月' }-->
|
|
|
361
|
+<!-- ]" :key="month.key">-->
|
|
|
362
|
+<!-- <span class="month-label">{{ month.label }}:</span>-->
|
|
|
363
|
+<!-- <span class="month-value">{{ formatterZero(item[month.key]) || '0' }}</span>-->
|
|
|
364
|
+<!-- </div>-->
|
|
|
365
|
+<!-- </div>-->
|
|
|
366
|
+ </div>
|
|
|
367
|
+ </template>
|
|
|
368
|
+ </van-cell>
|
|
|
369
|
+ </template>
|
|
|
370
|
+ <template #right>
|
|
|
371
|
+ <van-button
|
|
|
372
|
+ square
|
|
|
373
|
+ class="delete-button"
|
|
|
374
|
+ text="删除"
|
|
|
375
|
+ @click="deleteRow(item)"
|
|
|
376
|
+ />
|
|
|
377
|
+ </template>
|
|
|
378
|
+ </van-swipe-cell>
|
|
|
379
|
+ </div>
|
|
|
380
|
+ </van-list>
|
|
|
381
|
+ </van-pull-refresh>
|
|
|
382
|
+ </div>
|
|
|
383
|
+ </div>
|
|
|
384
|
+</template>
|
|
|
385
|
+
|
|
|
386
|
+<style scoped>
|
|
|
387
|
+.page-container {
|
|
|
388
|
+ height: 100vh;
|
|
|
389
|
+ display: flex;
|
|
|
390
|
+ flex-direction: column;
|
|
|
391
|
+}
|
|
|
392
|
+
|
|
|
393
|
+.query-area {
|
|
|
394
|
+ background-color: #f8f9fa;
|
|
|
395
|
+ padding: 12px;
|
|
|
396
|
+ border-bottom: 1px solid #ebedf0;
|
|
|
397
|
+}
|
|
|
398
|
+
|
|
|
399
|
+.query-buttons {
|
|
|
400
|
+ display: flex;
|
|
|
401
|
+ gap: 8px;
|
|
|
402
|
+ margin-top: 12px;
|
|
|
403
|
+}
|
|
|
404
|
+
|
|
|
405
|
+.query-buttons .van-button {
|
|
|
406
|
+ flex: 1;
|
|
|
407
|
+}
|
|
|
408
|
+
|
|
|
409
|
+.scroll-container {
|
|
|
410
|
+ flex: 1;
|
|
|
411
|
+ overflow: auto;
|
|
|
412
|
+ -webkit-overflow-scrolling: touch;
|
|
|
413
|
+}
|
|
|
414
|
+
|
|
|
415
|
+.scroll-container::-webkit-scrollbar {
|
|
|
416
|
+ display: none;
|
|
|
417
|
+}
|
|
|
418
|
+
|
|
|
419
|
+.card {
|
|
|
420
|
+ margin: 10px;
|
|
|
421
|
+ border-radius: 8px;
|
|
|
422
|
+ overflow: hidden;
|
|
|
423
|
+ box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
|
424
|
+ background-color: #fff;
|
|
|
425
|
+}
|
|
|
426
|
+
|
|
|
427
|
+.card-title {
|
|
|
428
|
+ font-weight: bold;
|
|
|
429
|
+ color: #333;
|
|
|
430
|
+}
|
|
|
431
|
+
|
|
|
432
|
+.title-row {
|
|
|
433
|
+ display: flex;
|
|
|
434
|
+ align-items: center;
|
|
|
435
|
+ margin-bottom: 8px;
|
|
|
436
|
+}
|
|
|
437
|
+
|
|
|
438
|
+.card-content {
|
|
|
439
|
+ margin-top: 8px;
|
|
|
440
|
+}
|
|
|
441
|
+
|
|
|
442
|
+.content-row {
|
|
|
443
|
+ display: flex;
|
|
|
444
|
+ align-items: center;
|
|
|
445
|
+ margin-bottom: 8px;
|
|
|
446
|
+ font-size: 14px;
|
|
|
447
|
+}
|
|
|
448
|
+
|
|
|
449
|
+.label {
|
|
|
450
|
+ color: #969799;
|
|
|
451
|
+ margin-right: 8px;
|
|
|
452
|
+ min-width: 80px;
|
|
|
453
|
+}
|
|
|
454
|
+
|
|
|
455
|
+.value {
|
|
|
456
|
+ color: #323233;
|
|
|
457
|
+ font-weight: 500;
|
|
|
458
|
+}
|
|
|
459
|
+
|
|
|
460
|
+.months-grid {
|
|
|
461
|
+ display: grid;
|
|
|
462
|
+ grid-template-columns: repeat(3, 1fr);
|
|
|
463
|
+ gap: 8px;
|
|
|
464
|
+ margin-top: 12px;
|
|
|
465
|
+ padding-top: 12px;
|
|
|
466
|
+ border-top: 1px solid #ebedf0;
|
|
|
467
|
+}
|
|
|
468
|
+
|
|
|
469
|
+.month-item {
|
|
|
470
|
+ display: flex;
|
|
|
471
|
+ flex-direction: column;
|
|
|
472
|
+ font-size: 12px;
|
|
|
473
|
+}
|
|
|
474
|
+
|
|
|
475
|
+.month-label {
|
|
|
476
|
+ color: #969799;
|
|
|
477
|
+ margin-bottom: 4px;
|
|
|
478
|
+}
|
|
|
479
|
+
|
|
|
480
|
+.month-value {
|
|
|
481
|
+ color: #323233;
|
|
|
482
|
+ font-weight: 500;
|
|
|
483
|
+}
|
|
|
484
|
+
|
|
|
485
|
+.delete-button {
|
|
|
486
|
+ height: 100%;
|
|
|
487
|
+ border: none;
|
|
|
488
|
+ color: #fff;
|
|
|
489
|
+ background-color: #ee0a24;
|
|
|
490
|
+ font-size: 16px;
|
|
|
491
|
+ padding: 0 20px;
|
|
|
492
|
+}
|
|
|
493
|
+</style>
|