|
@@ -2,14 +2,16 @@
|
|
|
* @Author : yuanrunwei
|
|
|
* @Date : 2021-12-04 14:23:58
|
|
|
* @LastEditors : yuanrunwei
|
|
|
- * @LastEditTime : 2021-12-04 15:38:33
|
|
|
+ * @LastEditTime : 2021-12-04 16:00:20
|
|
|
* @FilePath : \spfm-market-front\src\pages\main\performance\components\sheet.vue
|
|
|
-->
|
|
|
|
|
|
<template>
|
|
|
<div class="sheet-container">
|
|
|
<el-upload action :on-change="handleChange" :show-file-list="false">
|
|
|
- <el-button size="mini" type="success">上传</el-button>
|
|
|
+ <el-button size="mini" type="success" class="margin-bottom-20"
|
|
|
+ >上传</el-button
|
|
|
+ >
|
|
|
</el-upload>
|
|
|
<div id="luckysheet" class="sheet-container-block"></div>
|
|
|
</div>
|
|
@@ -64,13 +66,14 @@ export default {
|
|
|
|
|
|
<style lang="scss" scope>
|
|
|
.sheet-container {
|
|
|
- position: relative;
|
|
|
- width: 1200px;
|
|
|
- height: 500px;
|
|
|
+ position: fixed;
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
&-block {
|
|
|
+ overflow: hidden;
|
|
|
position: absolute;
|
|
|
width: calc(100% - 40px);
|
|
|
- height: 100%;
|
|
|
+ height: 80%;
|
|
|
}
|
|
|
}
|
|
|
</style>
|