Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Elij4h
gin-vue-admin
提交
451a4e88
G
gin-vue-admin
项目概览
Elij4h
/
gin-vue-admin
与 Fork 源项目一致
Fork自
FLIPPED-AURORA / gin-vue-admin
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gin-vue-admin
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
451a4e88
编写于
4月 17, 2020
作者:
Mr.奇淼(
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
暂时隐藏音乐播放器 修改全局css
上级
61ab9d9a
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
8 addition
and
7 deletion
+8
-7
web/src/view/dashboard/index.vue
web/src/view/dashboard/index.vue
+5
-4
web/src/view/example/breakpoint/breakpoint.vue
web/src/view/example/breakpoint/breakpoint.vue
+2
-2
web/src/view/layout/index.vue
web/src/view/layout/index.vue
+1
-1
未找到文件。
web/src/view/dashboard/index.vue
浏览文件 @
451a4e88
...
...
@@ -22,7 +22,7 @@
<div
class=
"top"
>
<div
id=
"main"
class=
"chart-container"
></div>
</div>
<div
class=
"bottom"
>
<
!--
<
div
class=
"bottom"
>
<el-row
:gutter=
"32"
>
<el-col
:xs=
"24"
:sm=
"24"
:lg=
"12"
>
<div
class=
"chart-player"
>
...
...
@@ -34,7 +34,7 @@
</div>
</el-col>
</el-row>
</div>
</div>
-->
</div>
</
template
>
...
...
@@ -45,7 +45,7 @@ require('echarts/theme/macarons') // echarts theme
import
RaddarChart
from
"
./component/RaddarChart
"
import
stackMap
from
"
./component/stackMap
"
import
Sunburst
from
"
./component/Sunburst
"
import
musicPlayer
from
"
./component/musicPlayer
"
//
import musicPlayer from "./component/musicPlayer"
export
default
{
name
:
'
Dashboard
'
,
data
()
{
...
...
@@ -57,7 +57,7 @@ export default {
RaddarChart
,
//雷达图
stackMap
,
//堆叠图
Sunburst
,
//旭日图
musicPlayer
//音乐播放器
//
musicPlayer //音乐播放器
},
mounted
()
{
let
myChart
=
echarts
.
init
(
document
.
getElementById
(
'
main
'
),
'
macarons
'
);
...
...
@@ -165,6 +165,7 @@ export default {
<
style
lang=
"scss"
scoped
>
.big
{
width
:
100%
;
background-color
:
rgb
(
243
,
243
,
243
);;
.top
{
width
:
98%
;
height
:
360px
;
...
...
web/src/view/example/breakpoint/breakpoint.vue
浏览文件 @
451a4e88
...
...
@@ -63,9 +63,9 @@ export default {
fileR
.
readAsArrayBuffer
(
file
)
// 把文件读成ArrayBuffer 主要为了保持跟后端的流一致
fileR
.
onload
=
async
e
=>
{
// 读成arrayBuffer的回调 e 为方法自带参数 相当于 dom的e 流存在e.target.result 中
const
b
ol
b
=
e
.
target
.
result
const
b
lo
b
=
e
.
target
.
result
let
spark
=
new
SparkMD5
.
ArrayBuffer
()
// 创建md5制造工具 (md5用于检测文件一致性 这里不懂就打电话问我)
spark
.
append
(
b
ol
b
)
// 文件流丢进工具
spark
.
append
(
b
lo
b
)
// 文件流丢进工具
this
.
fileMd5
=
spark
.
end
()
// 工具结束 产生一个a 总文件的md5
const
FileSliceCap
=
1
*
1024
*
1024
// 分片字节数
let
start
=
0
// 定义分片开始切的地方
...
...
web/src/view/layout/index.vue
浏览文件 @
451a4e88
...
...
@@ -222,7 +222,7 @@ $mainHight: 100vh;
min-width
:
100px
;
}
.admin-box
{
background-color
:
rgb
(
2
43
,
243
,
243
);
background-color
:
rgb
(
2
55
,
255
,
255
);
}
.el-scrollbar__wrap
{
padding-bottom
:
17px
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录