Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录
切换导航
S
shop-new
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
王天霸
shop-new
Commits
60cd4eb7
提交
60cd4eb7
authored
7月 06, 2021
作者:
huaxinzhu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
【全局】1、新增 上传图片样式重置;2、全局挂载深拷贝方法
上级
8dd826bf
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
39 行增加
和
1 行删除
+39
-1
index.scss
src/assets/styles/index.scss
+4
-0
ruoyi.scss
src/assets/styles/ruoyi.scss
+32
-0
main.js
src/main.js
+3
-1
没有找到文件。
src/assets/styles/index.scss
浏览文件 @
60cd4eb7
...
...
@@ -73,6 +73,10 @@ div:focus {
padding-left
:
5px
;
}
.ml20
{
margin-left
:
20px
;
}
.block
{
display
:
block
;
}
...
...
src/assets/styles/ruoyi.scss
浏览文件 @
60cd4eb7
...
...
@@ -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
;
}
src/main.js
浏览文件 @
60cd4eb7
...
...
@@ -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
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论