From 9d19400c3bf94637c4da0c985f80c3fd8c718522 Mon Sep 17 00:00:00 2001
From: 徐旺旺 <11530253@qq.com>
Date: 星期二, 16 三月 2021 17:49:28 +0800
Subject: [PATCH] 样式修改
---
src/components/table/summarySheets.vue | 31 ++++++++++++++++++++++---------
1 files changed, 22 insertions(+), 9 deletions(-)
diff --git a/src/components/table/summarySheets.vue b/src/components/table/summarySheets.vue
index a66a556..8e04c11 100644
--- a/src/components/table/summarySheets.vue
+++ b/src/components/table/summarySheets.vue
@@ -1,11 +1,9 @@
<template>
<div class="summary-sheets">
- <div>
- <i class="el-icon-c-scale-to-original" @click="closeBtn"></i>
- </div>
- <Dialog ref="summarySheets" title="浼佷笟鎸囨爣鍒嗙被缁熻">
- <tab-handover></tab-handover>
- </Dialog >
+ <div :class='["iconBtn",summaryVisible ? "active" : ""]' @click="closeBtn"><span><img src="@assets/images/map-pages/icon/toolbox/table.png" alt="" width="26px" style="display: block;margin: auto"><span class="icon-name">缁熻琛�</span></span></div>
+ <Dialog ref="summarySheets" title="浼佷笟鎸囨爣鍒嗙被缁熻">
+ <tab-handover></tab-handover>
+ </Dialog >
</div>
</template>
@@ -18,7 +16,11 @@
tabHandover,
Dialog
},
-
+ data () {
+ return {
+ summaryVisible: false
+ }
+ },
methods: {
closeBtn () {
// const summary = document.getElementById('summary')
@@ -36,14 +38,25 @@
left: 1px;
/*width: 850px;*/
/*height: 265px;*/
- border: #90c8e0 1px solid;
z-index:2000;
- background-color: rgba(26, 73, 81, 0.901960784313726);
/*color: #fff;*/
.el-icon-c-scale-to-original {
width: 30px;
height: 30px;
font-size: 30px;
}
+ .iconBtn {
+ width:45px;
+ text-align: center;
+ background: rgba(0, 16, 30, 0.5);
+ cursor: pointer;
+ color: #00fff6;
+ border: 0.00521rem solid #00fff6;
+ box-shadow: 0 0 0.03rem #00fff6;
+ }
+ .active {
+ border: 0.00521rem solid #fff700;
+ box-shadow: 0 0 0.03rem #fff700;
+ }
}
</style>
--
Gitblit v1.8.0