Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
飞鱼0526
ShopXO
提交
eaaa78db
ShopXO
项目概览
飞鱼0526
/
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,发现更多精彩内容 >>
提交
eaaa78db
编写于
2月 15, 2020
作者:
D
devil
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
编辑器支持iframe
上级
0149ba3e
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
5 addition
and
4 deletion
+5
-4
application/admin/view/default/index/index.html
application/admin/view/default/index/index.html
+1
-1
application/admin/view/default/store/index.html
application/admin/view/default/store/index.html
+1
-1
public/static/common/css/common.css
public/static/common/css/common.css
+1
-1
public/static/common/js/common.js
public/static/common/js/common.js
+1
-1
public/static/common/lib/ueditor/ueditor.config.js
public/static/common/lib/ueditor/ueditor.config.js
+1
-0
未找到文件。
application/admin/view/default/index/index.html
浏览文件 @
eaaa78db
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
{{include file="public/menu" /}}
{{include file="public/menu" /}}
<!-- right content -->
<!-- right content -->
<iframe
id=
"ifcontent"
src=
"{{:MyUrl('admin/index/init')}}"
></iframe>
<iframe
id=
"ifcontent"
src=
"{{:MyUrl('admin/index/init')}}"
width=
"100%"
height=
"100%"
></iframe>
<!-- right content end -->
<!-- right content end -->
</div>
</div>
...
...
application/admin/view/default/store/index.html
浏览文件 @
eaaa78db
{{include file="public/header" /}}
{{include file="public/header" /}}
<!-- right content -->
<!-- right content -->
<iframe
id=
"ifcontent"
src=
"{{$store_url}}
"
></iframe>
<iframe
src=
"{{$store_url}}"
width=
"100%"
height=
"100%
"
></iframe>
<!-- right content end -->
<!-- right content end -->
<!-- footer -->
<!-- footer -->
...
...
public/static/common/css/common.css
浏览文件 @
eaaa78db
...
@@ -62,7 +62,7 @@ form.am-form .am-form-group-refreshing, .plug-file-upload-view, .content-app-ite
...
@@ -62,7 +62,7 @@ form.am-form .am-form-group-refreshing, .plug-file-upload-view, .content-app-ite
/**
/**
* iframe
* iframe
*/
*/
iframe
{
width
:
100%
;
height
:
100%
;
border
:
0
;
}
iframe
{
border
:
0
;
}
/**
/**
...
...
public/static/common/js/common.js
浏览文件 @
eaaa78db
...
@@ -781,7 +781,7 @@ function ModalLoad(url, title, tag, class_tag)
...
@@ -781,7 +781,7 @@ function ModalLoad(url, title, tag, class_tag)
html
+=
'
<h4 class="am-popup-title">
'
+
(
title
||
'
温馨提示
'
)
+
'
</h4>
'
;
html
+=
'
<h4 class="am-popup-title">
'
+
(
title
||
'
温馨提示
'
)
+
'
</h4>
'
;
html
+=
'
<span data-am-modal-close class="am-close">×</span>
'
;
html
+=
'
<span data-am-modal-close class="am-close">×</span>
'
;
html
+=
'
</div>
'
;
html
+=
'
</div>
'
;
html
+=
'
<iframe src="
'
+
url
+
'
"></iframe>
'
;
html
+=
'
<iframe src="
'
+
url
+
'
"
width="100%" height="100%"
></iframe>
'
;
html
+=
'
</div>
'
;
html
+=
'
</div>
'
;
html
+=
'
</div>
'
;
html
+=
'
</div>
'
;
$
(
'
body
'
).
append
(
html
);
$
(
'
body
'
).
append
(
html
);
...
...
public/static/common/lib/ueditor/ueditor.config.js
浏览文件 @
eaaa78db
...
@@ -367,6 +367,7 @@
...
@@ -367,6 +367,7 @@
,
outputXssFilter
:
true
,
outputXssFilter
:
true
// xss过滤白名单 名单来源: https://raw.githubusercontent.com/leizongmin/js-xss/master/lib/default.js
// xss过滤白名单 名单来源: https://raw.githubusercontent.com/leizongmin/js-xss/master/lib/default.js
,
whitList
:
{
,
whitList
:
{
iframe
:
[
'
src
'
,
'
width
'
,
'
height
'
,
'
border
'
,
'
alt
'
,
'
style
'
,
'
class
'
,
'
frameborder
'
,
'
align
'
,
'
longdesc
'
,
'
marginheight
'
,
'
marginwidth
'
,
'
name
'
,
'
sandbox
'
,
'
scrolling
'
,
'
seamless
'
,
'
srcdoc
'
],
a
:
[
'
target
'
,
'
href
'
,
'
title
'
,
'
class
'
,
'
style
'
],
a
:
[
'
target
'
,
'
href
'
,
'
title
'
,
'
class
'
,
'
style
'
],
abbr
:
[
'
title
'
,
'
class
'
,
'
style
'
],
abbr
:
[
'
title
'
,
'
class
'
,
'
style
'
],
address
:
[
'
class
'
,
'
style
'
],
address
:
[
'
class
'
,
'
style
'
],
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录