Browse Source

暂时隐藏音乐播放器 修改全局css

main
QM303176530 5 years ago
parent
commit
451a4e8832
  1. 9
      web/src/view/dashboard/index.vue
  2. 4
      web/src/view/example/breakpoint/breakpoint.vue
  3. 2
      web/src/view/layout/index.vue

9
web/src/view/dashboard/index.vue

@ -22,7 +22,7 @@
<div class="top"> <div class="top">
<div id="main" class="chart-container"></div> <div id="main" class="chart-container"></div>
</div> </div>
<div class="bottom">
<!-- <div class="bottom">
<el-row :gutter="32"> <el-row :gutter="32">
<el-col :xs="24" :sm="24" :lg="12"> <el-col :xs="24" :sm="24" :lg="12">
<div class="chart-player"> <div class="chart-player">
@ -34,7 +34,7 @@
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
</div>
</div> -->
</div> </div>
</template> </template>
@ -45,7 +45,7 @@ require('echarts/theme/macarons') // echarts theme
import RaddarChart from "./component/RaddarChart" import RaddarChart from "./component/RaddarChart"
import stackMap from "./component/stackMap" import stackMap from "./component/stackMap"
import Sunburst from "./component/Sunburst" import Sunburst from "./component/Sunburst"
import musicPlayer from "./component/musicPlayer"
// import musicPlayer from "./component/musicPlayer"
export default { export default {
name: 'Dashboard', name: 'Dashboard',
data() { data() {
@ -57,7 +57,7 @@ export default {
RaddarChart, // RaddarChart, //
stackMap, // stackMap, //
Sunburst, // Sunburst, //
musicPlayer //
// musicPlayer //
}, },
mounted() { mounted() {
let myChart = echarts.init(document.getElementById('main'),'macarons'); let myChart = echarts.init(document.getElementById('main'),'macarons');
@ -165,6 +165,7 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.big{ .big{
width: 100%; width: 100%;
background-color: rgb(243,243,243);;
.top{ .top{
width: 98%; width: 98%;
height: 360px; height: 360px;

4
web/src/view/example/breakpoint/breakpoint.vue

@ -63,9 +63,9 @@ export default {
fileR.readAsArrayBuffer(file) // ArrayBuffer fileR.readAsArrayBuffer(file) // ArrayBuffer
fileR.onload = async e => { fileR.onload = async e => {
// arrayBuffer e dome e.target.result // arrayBuffer e dome e.target.result
const bolb = e.target.result
const blob = e.target.result
let spark = new SparkMD5.ArrayBuffer() // md5 md5 let spark = new SparkMD5.ArrayBuffer() // md5 md5
spark.append(bolb) //
spark.append(blob) //
this.fileMd5 = spark.end() // a md5 this.fileMd5 = spark.end() // a md5
const FileSliceCap = 1 * 1024 * 1024 // const FileSliceCap = 1 * 1024 * 1024 //
let start = 0 // let start = 0 //

2
web/src/view/layout/index.vue

@ -222,7 +222,7 @@ $mainHight: 100vh;
min-width: 100px; min-width: 100px;
} }
.admin-box{ .admin-box{
background-color: rgb(243,243,243);
background-color: rgb(255,255,255);
} }
.el-scrollbar__wrap { .el-scrollbar__wrap {
padding-bottom: 17px; padding-bottom: 17px;

Loading…
Cancel
Save