提交 60cd4eb7 authored 作者: huaxinzhu's avatar huaxinzhu

【全局】1、新增 上传图片样式重置;2、全局挂载深拷贝方法

上级 8dd826bf
......@@ -73,6 +73,10 @@ div:focus {
padding-left: 5px;
}
.ml20 {
margin-left: 20px;
}
.block {
display: block;
}
......
......@@ -142,6 +142,10 @@
margin-bottom: 10px;
}
.el-input.is-disabled .el-input__inner {
color: #666;
}
/* text color */
.text-navy {
color: #1ab394;
......@@ -198,3 +202,31 @@
color: #fff!important;
background: #42b983!important;
}
/* 上传图片 */
.upload-img {
display: inline-block;
}
.el-upload--picture-card{
width: 98px;
height: 98px;
}
.el-upload{
width: 98px;
height: 98px;
line-height: 98px;
}
.el-upload-list--picture-card .el-upload-list__item{
width: 98px;
height: 98px;
line-height: 98px;
}
.el-upload-list--picture-card .el-upload-list__item-thumbnail{
width: 98px;
height: 98px;
line-height: 98px;
}
.avatar{
width: 98px;
height: 98px;
}
......@@ -20,7 +20,8 @@ import { getDicts } from "@/api/system/dict/data";
import { getConfigKey } from "@/api/system/config";
import { parseTime, resetForm, addDateRange, selectDictLabel, download, handleTree } from "@/utils/ruoyi";
import Pagination from "@/components/Pagination";
/*hxz0706*/
import { deepClone } from "@/utils/index";
// 全局方法挂载
Vue.prototype.getDicts = getDicts
......@@ -32,6 +33,7 @@ Vue.prototype.selectDictLabel = selectDictLabel
Vue.prototype.download = download
Vue.prototype.handleTree = handleTree
Vue.prototype.apiUrl = process.env.VUE_APP_BASE_API
Vue.prototype.deepClone = deepClone
Vue.prototype.msgSuccess = function (msg) {
this.$message({ showClose: true, message: msg, type: "success" });
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论