Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gzga-jzapi
apaas-ui
Commits
f4278363
Commit
f4278363
authored
Oct 27, 2020
by
张豪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
示例中心demo
parent
4c0706c9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
6 deletions
+15
-6
src/main.js
src/main.js
+5
-0
src/pages/technical-support/demo-center/index.vue
src/pages/technical-support/demo-center/index.vue
+10
-6
No files found.
src/main.js
View file @
f4278363
...
@@ -8,6 +8,11 @@ import mavonEditor from 'mavon-editor'
...
@@ -8,6 +8,11 @@ import mavonEditor from 'mavon-editor'
import
'
mavon-editor/dist/css/index.css
'
import
'
mavon-editor/dist/css/index.css
'
Vue
.
use
(
mavonEditor
)
Vue
.
use
(
mavonEditor
)
import
{
codemirror
}
from
'
vue-codemirror
'
import
'
codemirror/lib/codemirror.css
'
Vue
.
use
(
codemirror
)
import
VueResource
from
"
vue-resource
"
;
import
VueResource
from
"
vue-resource
"
;
Vue
.
use
(
VueResource
);
Vue
.
use
(
VueResource
);
...
...
src/pages/technical-support/demo-center/index.vue
View file @
f4278363
...
@@ -150,7 +150,7 @@ export default {
...
@@ -150,7 +150,7 @@ export default {
},
},
// 重置
// 重置
refresh
()
{
refresh
()
{
this
.
changeMap
(
this
.
currentBranch
,
cu
this
.
currentName
);
this
.
changeMap
(
this
.
currentBranch
,
this
.
currentName
);
},
},
//加载配置文件里面的配置数据
//加载配置文件里面的配置数据
loadConfigTreeNodeData
()
{
loadConfigTreeNodeData
()
{
...
@@ -320,6 +320,7 @@ export default {
...
@@ -320,6 +320,7 @@ export default {
overflow-x
:
hidden
;
overflow-x
:
hidden
;
overflow-y
:
auto
;
overflow-y
:
auto
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
border-radius
:
0
0
0
12px
;
}
}
.fullmap
{
.fullmap
{
...
@@ -398,26 +399,26 @@ export default {
...
@@ -398,26 +399,26 @@ export default {
}
}
/* 设置滚动条样式 */
/* 设置滚动条样式 */
.demo_menu
::-webkit-scrollbar
,
.demo_menu
::-webkit-scrollbar
,
.
panelCode
::-webkit-scrollbar
{
.
CodeMirror-vscrollbar
::-webkit-scrollbar
{
width
:
6px
;
width
:
6px
;
height
:
6px
;
height
:
6px
;
}
}
.
panelCode
::-webkit-scrollbar
{
.
CodeMirror-vscrollbar
::-webkit-scrollbar
{
background-color
:
#333333
;
background-color
:
#333333
;
}
}
.demo_menu
::-webkit-scrollbar-track-piece
,
.demo_menu
::-webkit-scrollbar-track-piece
,
.
panelCode
::-webkit-scrollbar-track-piece
{
.
CodeMirror-vscrollbar
::-webkit-scrollbar-track-piece
{
background-color
:
rgba
(
255
,
255
,
255
,
0.1
);
background-color
:
rgba
(
255
,
255
,
255
,
0.1
);
-webkit-border-radius
:
6px
;
-webkit-border-radius
:
6px
;
}
}
.demo_menu
::-webkit-scrollbar-thumb:vertical
,
.demo_menu
::-webkit-scrollbar-thumb:vertical
,
.
panelCode
::-webkit-scrollbar-thumb:vertical
{
.
CodeMirror-vscrollbar
::-webkit-scrollbar-thumb:vertical
{
height
:
5px
;
height
:
5px
;
background-color
:
rgba
(
255
,
255
,
255
,
0.15
);
background-color
:
rgba
(
255
,
255
,
255
,
0.15
);
-webkit-border-radius
:
6px
;
-webkit-border-radius
:
6px
;
}
}
.demo_menu
::-webkit-scrollbar-thumb:horizontal
,
.demo_menu
::-webkit-scrollbar-thumb:horizontal
,
.
panelCode
::-webkit-scrollbar-thumb:horizontal
{
.
CodeMirror-vscrollbar
::-webkit-scrollbar-thumb:horizontal
{
width
:
5px
;
width
:
5px
;
background-color
:
rgba
(
255
,
255
,
255
,
0.15
);
background-color
:
rgba
(
255
,
255
,
255
,
0.15
);
-webkit-border-radius
:
6px
;
-webkit-border-radius
:
6px
;
...
@@ -449,11 +450,13 @@ export default {
...
@@ -449,11 +450,13 @@ export default {
.demo_menu
.el-tree-node__content
:hover
{
.demo_menu
.el-tree-node__content
:hover
{
background-color
:
#182665
;
background-color
:
#182665
;
color
:
#e6ebfe
;
color
:
#e6ebfe
;
border-left
:
5px
solid
#fa7d0f
;
}
}
.demo_menu
.el-tree-node
:focus
>
.el-tree-node__content
{
.demo_menu
.el-tree-node
:focus
>
.el-tree-node__content
{
background-color
:
#182665
;
background-color
:
#182665
;
color
:
#e6ebfe
;
color
:
#e6ebfe
;
border-left
:
5px
solid
#fa7d0f
;
}
}
.demo_menu
.el-tree-node
:focus
>
.el-tree-node__content
.el-tree-node__label
{
.demo_menu
.el-tree-node
:focus
>
.el-tree-node__content
.el-tree-node__label
{
color
:
#e6ebfe
;
color
:
#e6ebfe
;
...
@@ -465,6 +468,7 @@ export default {
...
@@ -465,6 +468,7 @@ export default {
/* 设置编辑器里的样式 */
/* 设置编辑器里的样式 */
.cm-s-cobalt.CodeMirror
{
.cm-s-cobalt.CodeMirror
{
height
:
100%
;
background
:
#2a333a
;
background
:
#2a333a
;
color
:
white
;
color
:
white
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment