Skip to content

Commit

Permalink
优化消息组件
Browse files Browse the repository at this point in the history
  • Loading branch information
gzydong committed Jan 26, 2021
1 parent afb38a5 commit 67c3f2b
Show file tree
Hide file tree
Showing 54 changed files with 1,344 additions and 911 deletions.
19 changes: 19 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"prismjs": "^1.22.0",
"svg-sprite-loader": "^5.0.0",
"vue": "^2.6.11",
"vue-codemirror": "^4.0.6",
"vue-contextmenujs": "^1.3.13",
"vue-cropper": "^0.5.5",
"vue-prism-editor": "^0.5.1",
Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.css) { %>
<link rel="stylesheet" href="<%= htmlWebpackPlugin.options.cdn.css[i] %>" />
<% } %>
<link rel="stylesheet" href="//at.alicdn.com/t/font_1425251_clwbhpfien7.css">
<link rel="stylesheet" href="//at.alicdn.com/t/font_1425251_yben0sjxtmh.css">
<link rel="stylesheet" href="https://cdn.bootcss.com/animate.css/3.7.2/animate.css">
</head>
<body>
Expand Down
32 changes: 20 additions & 12 deletions src/assets/css/global.less
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,23 @@
user-select: none;
}

.padding0 {
.no-padding {
padding: 0;
}

.border0 {
.no-border {
border: 0;
}

.pointer {
cursor: pointer;
}

.border-radius0 {
border-radius: 0;
}

.hv100 {
.full-height {
height: 100%;
}

Expand All @@ -38,12 +42,8 @@
background-color: rgba(31, 35, 41, .3);
}

.pointer {
cursor: pointer;
}

// 滚动条样式
.lm-scrollbar {
.lum-scrollbar {
&::-webkit-scrollbar {
width: 3px;
background-color: #E4E4E5;
Expand All @@ -55,7 +55,7 @@
}
}

.lm-icon-spin {
.lum-icon-spin {
-webkit-animation: loading-spinner 2s infinite linear;
-moz-animation: loading-spinner 2s infinite linear;
-o-animation: loading-spinner 2s infinite linear;
Expand Down Expand Up @@ -159,11 +159,12 @@
}

// 自定义 dialog 样式
// lum-dialog -- start
.lum-dialog-mask {
position: fixed;
top: 0;
left: 0;
z-index: 999999999 !important;
z-index: 999;
width: 100%;
height: 100%;
background-color: rgba(31, 35, 41, .3);
Expand All @@ -172,6 +173,7 @@
align-items: center;
justify-content: center;


.lum-dialog-box {
min-width: 200px;
min-height: 200px;
Expand All @@ -191,7 +193,10 @@
align-items: center;
justify-content: space-between;
border-bottom: 1px solid #f5eeee;
text-indent: 20px;

>p:first-child {
text-indent: 20px;
}

.tools {
height: 100%;
Expand All @@ -204,6 +209,7 @@
i {
font-size: 20px;
cursor: pointer;
margin-left: 8px;
}
}
}
Expand All @@ -219,4 +225,6 @@
}
}
}
}
}

// lum-dialog -- end
Loading

0 comments on commit 67c3f2b

Please sign in to comment.