mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2026-03-22 22:27:20 +08:00
【优化】优化页面设计,增加【常用前端链接】弹窗,防止出现1380,1440分辨率宽下错位的问题。
This commit is contained in:
@@ -319,15 +319,16 @@ template {
|
||||
margin-top: 5px;
|
||||
}
|
||||
.urlBox {
|
||||
width: 300px;
|
||||
width: 800px;
|
||||
border: 1px solid #e9e9e9;
|
||||
box-shadow: 0 3px 10px #dcdcdc;
|
||||
position: relative;
|
||||
padding: 10px;
|
||||
}
|
||||
.urlBox p {
|
||||
font-size: 12px;
|
||||
font-size: 13px;
|
||||
word-break: break-all;
|
||||
line-height: 30px;
|
||||
}
|
||||
.recycle {
|
||||
position: absolute;
|
||||
@@ -644,8 +645,9 @@ template {
|
||||
}
|
||||
.savePageBtn {
|
||||
padding: 10px 13px;
|
||||
text-align: right;
|
||||
border-top: 1px dotted #ddd;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.lay-special {
|
||||
height: 30px;
|
||||
|
||||
@@ -76,8 +76,8 @@ template { display: none; }
|
||||
}
|
||||
}
|
||||
}
|
||||
.urlBox { width: 300px; border: 1px solid #e9e9e9; box-shadow: 0 3px 10px #dcdcdc; position: relative; padding: 10px;
|
||||
p { font-size: 12px; word-break: break-all; }
|
||||
.urlBox { width: 800px; border: 1px solid #e9e9e9; box-shadow: 0 3px 10px #dcdcdc; position: relative; padding: 10px;
|
||||
p { font-size: 13px; word-break: break-all; line-height: 30px; }
|
||||
}
|
||||
.recycle { position: absolute; top: 43px; right: 26px;
|
||||
ul { position: relative;
|
||||
@@ -170,7 +170,7 @@ template { display: none; }
|
||||
}
|
||||
}
|
||||
}
|
||||
.savePageBtn { padding: 10px 13px; text-align: right; border-top: 1px dotted #ddd; }
|
||||
.savePageBtn { padding: 10px 13px; border-top: 1px dotted #ddd; display: flex; justify-content: space-between; }
|
||||
.lay-special { height: 30px; align-items: center;
|
||||
.special-left { width: 70px; padding: 5px 10px;
|
||||
img { width: 100%; }
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1385,12 +1385,34 @@ new Vue({
|
||||
},
|
||||
mounted() {
|
||||
var that = this;
|
||||
layui.use(['admin', 'form', 'coreHelper'],
|
||||
layui.use(['admin', 'form', 'coreHelper', 'layer', 'util'],
|
||||
function () {
|
||||
var $ = layui.$
|
||||
, form = layui.form
|
||||
, admin = layui.admin
|
||||
, layer = layui.layer
|
||||
, util = layui.util
|
||||
, coreHelper = layui.coreHelper;
|
||||
|
||||
//处理属性 为 lay-active 的所有元素事件
|
||||
util.event('lay-active', {
|
||||
commonUrl: function (othis) {
|
||||
layer.open({
|
||||
type: 1,
|
||||
shade: 0,
|
||||
shadeClose: true,
|
||||
closeBtn: 2,
|
||||
skin: 'demo-class',
|
||||
title: '常用前端地址',
|
||||
//area: ['500px', '80%'],
|
||||
cancel: function () {
|
||||
$('#urlBox').hide();
|
||||
},
|
||||
content: $('#urlBox')
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
form.on('submit(LAY-app-CoreCmsPages-EditForm-submit)',
|
||||
function (data) {
|
||||
var field = data.field; //获取提交的字段
|
||||
|
||||
Reference in New Issue
Block a user