This commit is contained in:
maplemei
2019-11-25 15:17:08 +08:00
parent 57a0ab9f15
commit 3fcd41969c
12 changed files with 187 additions and 17 deletions

View File

@@ -68,11 +68,14 @@ button, input, select, textarea {
font-family: Menlo, Monaco, Consolas, Courier, monospace;
font-size: 12px;
padding: 18px 24px;
background-color: #fafafa;
// background-color: #fafafa;
border: solid 1px #eaeefb;
margin-bottom: 25px;
border-radius: 4px;
-webkit-font-smoothing: auto;
-webkit-font-smoothing: auto;
.hljs-tag{
white-space: nowrap;
}
}
.main-cnt {
@@ -261,3 +264,7 @@ button, input, select, textarea {
overflow: hidden;
}
}
.tool_bar{
display: none;
}

View File

@@ -1,9 +1,12 @@
import "babel-polyfill"
import Vue from 'vue';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import 'element-ui/lib/theme-chalk/index.css';
import hljs from 'highlight.js';
import 'highlight.js/styles/color-brewer.css'
// import 'highlight.js/styles/color-brewer.css'
import 'highlight.js/styles/monokai-sublime.css'
import VueRouter from 'vue-router';
import routes from './router';
import App from './App.vue';

View File

@@ -71,6 +71,7 @@ layui.slider.render({
var demo1 = xmSelect.render({
el: '#demo1',
autoRow: true,
filterable: true,
tree: {
show: true,
showFolderIcon: true,
@@ -78,6 +79,7 @@ var demo1 = xmSelect.render({
indent: 20,
expandedKeys: [ -3 ],
},
filterable: true,
height: 'auto',
data(){
return [

View File

@@ -8,7 +8,9 @@
var demo1 = xmSelect.render({
el: '#demo1',
autoRow: true,
filterable: true,
tree: {
strict: false,
show: true,
showFolderIcon: true,
showLine: true,