Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
jcy2004x
ShopXO
提交
624a9e58
ShopXO
项目概览
jcy2004x
/
ShopXO
与 Fork 源项目一致
Fork自
纵之格 / ShopXO
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
ShopXO
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
624a9e58
编写于
8月 26, 2021
作者:
D
Devil
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
弹窗优化、支持大小设定
上级
4f73b139
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
36 addition
and
5 deletion
+36
-5
public/static/common/css/common.css
public/static/common/css/common.css
+6
-0
public/static/common/js/common.js
public/static/common/js/common.js
+29
-4
public/static/index/default/css/order.css
public/static/index/default/css/order.css
+1
-1
未找到文件。
public/static/common/css/common.css
浏览文件 @
624a9e58
...
...
@@ -165,6 +165,12 @@ form.am-form .am-form-group-refreshing, .plug-file-upload-view { border-bottom:
.am-modal-dialog
.am-modal-bd
span
{
vertical-align
:
middle
;
}
@media
only
screen
and
(
min-width
:
1200px
)
{
.popup-full-max
{
max-width
:
1200px
;
left
:
calc
(
50%
-
600px
);
}
}
/**
* iframe
...
...
public/static/common/js/common.js
浏览文件 @
624a9e58
...
...
@@ -1019,14 +1019,37 @@ function CheckVideo()
* @param {[string]} url [加载url]
* @param {[string]} title [标题]
* @param {[string]} class_tag [指定class]
* @param {[int]} full [是否满屏(0否, 1是)]
* @param {[int]} full_max [满屏最大限制(max-width:1200px)(0否, 1是)]
*/
function
ModalLoad
(
url
,
title
,
class_tag
)
function
ModalLoad
(
url
,
title
,
class_tag
,
full
,
full_max
)
{
class_tag
=
class_tag
||
''
;
// class 定义
var
ent
=
'
popup-iframe
'
;
// 自定义 class
if
((
class_tag
||
null
)
!=
null
)
{
ent
+=
'
'
+
class_tag
;
}
// 是否满屏
if
((
full
||
0
)
==
1
)
{
ent
+=
'
popup-full
'
;
}
// 满屏最大限制
if
((
full_max
||
0
)
==
1
)
{
ent
+=
'
popup-full-max
'
;
}
// 调用弹窗组件
AMUI
.
dialog
.
popup
({
title
:
title
||
''
,
content
:
'
<iframe src="
'
+
url
+
'
" width="100%" height="100%"></iframe>
'
,
class
:
'
popup-iframe
'
+
class_tag
class
:
ent
});
}
...
...
@@ -2904,9 +2927,11 @@ $(function()
// 基础参数
var
title
=
$
(
this
).
data
(
'
title
'
)
||
''
;
var
class_tag
=
$
(
this
).
data
(
'
class
'
)
||
''
;
var
full
=
parseInt
(
$
(
this
).
data
(
'
full
'
))
||
0
;
var
full_max
=
parseInt
(
$
(
this
).
data
(
'
full-max
'
))
||
0
;
// 调用弹窗方法
ModalLoad
(
url
,
title
,
class_tag
);
ModalLoad
(
url
,
title
,
class_tag
,
full
,
full_max
);
});
// 地图弹窗
...
...
public/static/index/default/css/order.css
浏览文件 @
624a9e58
...
...
@@ -122,7 +122,7 @@ ul.progress li.current .title {
box-shadow
:
none
;
}
.order-base
.am-panel-bd
,
.order-base
.base-right
{
padding
:
5px
10px
;
padding
:
10px
;
}
.order-base
,
.order-base
.status
{
overflow
:
hidden
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录