|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
- <div>
|
|
|
- <div ref="spreadsheet" class="spreadsheet-container" id="spreadsheet"></div>
|
|
|
- </div>
|
|
|
+ <div>
|
|
|
+ <div ref="spreadsheet" class="spreadsheet-container" id="spreadsheet"></div>
|
|
|
+ </div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
@@ -776,48 +776,48 @@ export default {
|
|
|
|
|
|
<style scoped>
|
|
|
.spreadsheet-container {
|
|
|
- width: 100%;
|
|
|
- height: calc(100vh - 120px);
|
|
|
- position: relative;
|
|
|
+ width: 100%;
|
|
|
+ height: calc(100vh - 120px);
|
|
|
+ position: relative;
|
|
|
}
|
|
|
|
|
|
.spreadsheet-container.loading::after {
|
|
|
- content: "加载中...";
|
|
|
- position: absolute;
|
|
|
- top: 0;
|
|
|
- left: 0;
|
|
|
- right: 0;
|
|
|
- bottom: 0;
|
|
|
- background: rgba(255, 255, 255, 0.7);
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: center;
|
|
|
- font-size: 18px;
|
|
|
- z-index: 1000;
|
|
|
+ content: "加载中...";
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+ right: 0;
|
|
|
+ bottom: 0;
|
|
|
+ background: rgba(255, 255, 255, 0.7);
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ font-size: 18px;
|
|
|
+ z-index: 1000;
|
|
|
}
|
|
|
|
|
|
.sheet-btn {
|
|
|
- border: 1px solid #ccc;
|
|
|
- background-color: #f0f0f0;
|
|
|
- cursor: pointer;
|
|
|
- margin-right: 5px;
|
|
|
- border-radius: 4px;
|
|
|
- padding: 5px 15px;
|
|
|
+ border: 1px solid #ccc;
|
|
|
+ background-color: #f0f0f0;
|
|
|
+ cursor: pointer;
|
|
|
+ margin-right: 5px;
|
|
|
+ border-radius: 4px;
|
|
|
+ padding: 5px 15px;
|
|
|
}
|
|
|
|
|
|
.sheet-btn.active {
|
|
|
- background-color: #4caf50;
|
|
|
- color: white;
|
|
|
- border-color: #388e3c;
|
|
|
+ background-color: #4caf50;
|
|
|
+ color: white;
|
|
|
+ border-color: #388e3c;
|
|
|
}
|
|
|
|
|
|
.btn-group {
|
|
|
- margin-bottom: 10px;
|
|
|
- display: flex;
|
|
|
- flex-wrap: wrap;
|
|
|
- gap: 5px;
|
|
|
- padding: 8px;
|
|
|
- background-color: #f8f8f8;
|
|
|
- border-radius: 4px;
|
|
|
+ margin-bottom: 10px;
|
|
|
+ display: flex;
|
|
|
+ flex-wrap: wrap;
|
|
|
+ gap: 5px;
|
|
|
+ padding: 8px;
|
|
|
+ background-color: #f8f8f8;
|
|
|
+ border-radius: 4px;
|
|
|
}
|
|
|
</style>
|