Skip to content

Commit

Permalink
优化
Browse files Browse the repository at this point in the history
  • Loading branch information
pencil1 committed Feb 1, 2019
1 parent 1b0cbb3 commit ba9033b
Show file tree
Hide file tree
Showing 13 changed files with 1,266 additions and 73 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ApiTestWeb
喜欢哒!顺手帮忙点个star呗~~谢谢!!如有疑问可联系qq:362508572 或q群:700387899
感觉项目不错的点个star,你的支持是作者源源不断的动力~谢谢!!如有疑问可联系qq:362508572 或q群:700387899 或issue

后端传送门:https://github.com/pencil1/ApiTestManage

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"node-sass": "^4.11.0",
"sass-loader": "^7.1.0",
"v-charts": "^1.17.9",
"v-contextmenu": "^2.8.0",
"vue": "^2.5.22",
"vue-clipboard2": "^0.2.1",
"vue-router": "^3.0.2",
Expand Down
66 changes: 66 additions & 0 deletions src/assets/css/color.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
// 主色
$color-primary: #409EFF;

// 辅助色
$color-info: #909399;
$color-success: #67C23A;
$color-warning: #E6A23C;
$color-danger: #F56C6C;

// 文字
$color-text-main: #303133;
$color-text-normal: #606266;
$color-text-sub: #909399;
$color-text-placehoder: #C0C4CC;

// 边框
$color-border-1: #DCDFE6;
$color-border-2: #E4E7ED;
$color-border-3: #EBEEF5;
$color-border-4: #F2F6FC;

// 背景
$color-bg: #f8f8f9;


// 工具类名统一前缀
$prefix: d2;

// 禁止用户选中 鼠标变为手形
%unable-select {
user-select: none;
cursor: pointer;
}

// 填满父元素
// 组要父元素 position: relative | absolute;
%full {
top: 0px;
right: 0px;
bottom: 0px;
left: 0px;
}

// flex 垂直水平居中
%flex-center-row {
display: flex;
justify-content: center;
align-items: center;
flex-direction: row;
}
%flex-center-col {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}

// 将元素模拟成卡片外观
%card {
border: 1px solid #dddee1;
border-color: #e9eaec;
background: #fff;
border-radius: 4px;
font-size: 14px;
position: relative;
}
Loading

0 comments on commit ba9033b

Please sign in to comment.