Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
fuyue82
o2oa
提交
9246673e
o2oa
项目概览
fuyue82
/
o2oa
与 Fork 源项目一致
Fork自
浙江兰德纵横网络技术股份有限公司 / o2oa
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
o2oa
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
9246673e
编写于
3月 01, 2022
作者:
NoSubject
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修复不支持浏览器的提示
上级
3e628115
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
47 addition
and
42 deletion
+47
-42
o2web/source/x_desktop/index.html
o2web/source/x_desktop/index.html
+1
-42
o2web/source/x_desktop/js/unsupported.js
o2web/source/x_desktop/js/unsupported.js
+46
-0
未找到文件。
o2web/source/x_desktop/index.html
浏览文件 @
9246673e
...
...
@@ -24,48 +24,7 @@
<div
id=
"appContent"
class=
"appContent"
style=
"overflow: hidden; height: 100%;"
></div>
<div
id=
"browser_error"
style=
"overflow: hidden; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%; display: none;background: #f1f1f1"
>
<div
style=
"height:540px; width: 920px; overflow: hidden; margin: 8% auto;"
>
<div
id=
"browser_error_area"
style=
"height:540px; width: 920px;"
></div>
<div
style=
"height:540px; width: 920px; position: relative; top: -540px"
>
<div
style=
"background-image: url(img/warn1.png); background-repeat: no-repeat; background-position:center center; width: 90px; height: 80px; float:left; margin-left: 144px; margin-top: 74px"
></div>
<div
style=
"color: #333333; width: 530px; height: 80px; float:left; margin-left: 30px; margin-top: 74px; font-size: 28px; line-height: 40px;"
id=
"browser_error_area_text"
>
您的浏览器版本过低啦!~系统已经不支持IE9及以下版本了!
</div>
<div
style=
"color: #666666; width: 650px; text-align:center; height: 50px; float:left; margin-left: 144px; margin-top: 60px; font-size: 28px; line-height: 40px; border-bottom: 2px solid #999999"
id=
"browser_error_area_up_text"
>
请升级您的浏览器:
</div>
<div
style=
"width: 100px; height: 100px; float:left; margin-left: 144px; margin-top: 20px"
>
<div
style=
"background-position: center; background-repeat: no-repeat; background-image: url(img/logo_edge.png); width: 100px; height: 100px;"
></div>
<div
style=
"width: 100px; height: 40px; font-size: 24px; color: #666666; line-height: 40px; text-align: center"
>
Edge
</div>
</div>
<div
style=
"width: 100px; height: 100px; float:left; margin-left: 80px; margin-top: 20px"
>
<div
style=
"background-position: center; background-repeat: no-repeat;background-image: url(img/logo_chrome.png); width: 100px; height: 100px;"
></div>
<div
style=
"width: 100px; height: 40px; font-size: 24px; color: #666666; line-height: 40px; text-align: center"
>
Chrome
</div>
</div>
<div
style=
"width: 100px; height: 100px; float:left; margin-left: 80px; margin-top: 20px"
>
<div
style=
"background-position: center; background-repeat: no-repeat;background-image: url(img/logo_firefox.png); width: 100px; height: 100px;"
></div>
<div
style=
"width: 100px; height: 40px; font-size: 24px; color: #666666; line-height: 40px; text-align: center"
>
Firefox
</div>
</div>
<div
style=
"width: 100px; height: 100px; float:left; margin-left: 80px; margin-top: 20px"
>
<div
style=
"background-position: center; background-repeat: no-repeat;background-image: url(img/logo_safari.png); width: 100px; height: 100px;"
></div>
<div
style=
"width: 100px; height: 40px; font-size: 24px; color: #666666; line-height: 40px; text-align: center"
>
Safari
</div>
</div>
</div>
</div>
</div>
<script
type=
"javascript"
>
if
(
!
window
.
FormData
||
!
window
.
WebSocket
||
!
window
.
JSON
){
var
loadingNode
=
document
.
getElementById
(
"
browser_loading
"
);
var
errorNode
=
document
.
getElementById
(
"
browser_error
"
);
if
(
loadingNode
)
loadingNode
.
style
.
display
=
"
none
"
;
if
(
errorNode
)
errorNode
.
style
.
display
=
"
block
"
;
}
</script>
<script
src=
"js/unsupported.js"
></script>
<script
src=
"../o2_core/o2.min.js"
></script>
<script
src=
"js/base.min.js"
></script>
<script
src=
"js/x.min.js"
></script>
...
...
o2web/source/x_desktop/js/unsupported.js
0 → 100644
浏览文件 @
9246673e
if
(
!
window
.
FormData
||
!
window
.
WebSocket
||
!
window
.
JSON
){
var
loadingNode
=
document
.
getElementById
(
"
browser_loading
"
);
if
(
loadingNode
)
loadingNode
.
style
.
display
=
"
none
"
;
var
errorHtml
=
"
<div id=
\"
browser_error
\"
style=
\"
overflow: hidden; position: absolute; top: 0px; left: 0px; width: 100%; height: 100%;background: #f1f1f1
\"
>
\n
"
+
"
<div style=
\"
height:540px; width: 920px; overflow: hidden; margin: 8% auto;
\"
>
\n
"
+
"
<div id=
\"
browser_error_area
\"
style=
\"
height:540px; width: 920px;
\"
></div>
\n
"
+
"
<div style=
\"
height:540px; width: 920px; position: relative; top: -540px
\"
>
\n
"
+
"
<div style=
\"
background-image: url(img/warn1.png); background-repeat: no-repeat; background-position:center center; width: 90px; height: 80px; float:left; margin-left: 144px; margin-top: 74px
\"
></div>
\n
"
+
"
<div style=
\"
color: #333333; width: 530px; height: 80px; float:left; margin-left: 30px; margin-top: 74px; font-size: 28px; line-height: 40px;
\"
id=
\"
browser_error_area_text
\"
>
\n
"
+
"
您的浏览器版本过低啦!~系统已经不支持IE9及以下版本了!
\n
"
+
"
</div>
\n
"
+
"
<div style=
\"
color: #666666; width: 650px; text-align:center; height: 50px; float:left; margin-left: 144px; margin-top: 60px; font-size: 28px; line-height: 40px; border-bottom: 2px solid #999999
\"
id=
\"
browser_error_area_up_text
\"
>
\n
"
+
"
请升级您的浏览器:
\n
"
+
"
</div>
\n
"
+
"
<div style=
\"
width: 100px; height: 100px; float:left; margin-left: 144px; margin-top: 20px
\"
>
\n
"
+
"
<div style=
\"
background-position: center; background-repeat: no-repeat; background-image: url(img/logo_edge.png); width: 100px; height: 100px;
\"
></div>
\n
"
+
"
<div style=
\"
width: 100px; height: 40px; font-size: 24px; color: #666666; line-height: 40px; text-align: center
\"
>Edge</div>
\n
"
+
"
</div>
\n
"
+
"
\n
"
+
"
<div style=
\"
width: 100px; height: 100px; float:left; margin-left: 80px; margin-top: 20px
\"
>
\n
"
+
"
<div style=
\"
background-position: center; background-repeat: no-repeat;background-image: url(img/logo_chrome.png); width: 100px; height: 100px;
\"
></div>
\n
"
+
"
<div style=
\"
width: 100px; height: 40px; font-size: 24px; color: #666666; line-height: 40px; text-align: center
\"
>Chrome</div>
\n
"
+
"
</div>
\n
"
+
"
\n
"
+
"
<div style=
\"
width: 100px; height: 100px; float:left; margin-left: 80px; margin-top: 20px
\"
>
\n
"
+
"
<div style=
\"
background-position: center; background-repeat: no-repeat;background-image: url(img/logo_firefox.png); width: 100px; height: 100px;
\"
></div>
\n
"
+
"
<div style=
\"
width: 100px; height: 40px; font-size: 24px; color: #666666; line-height: 40px; text-align: center
\"
>Firefox</div>
\n
"
+
"
</div>
\n
"
+
"
\n
"
+
"
<div style=
\"
width: 100px; height: 100px; float:left; margin-left: 80px; margin-top: 20px
\"
>
\n
"
+
"
<div style=
\"
background-position: center; background-repeat: no-repeat;background-image: url(img/logo_safari.png); width: 100px; height: 100px;
\"
></div>
\n
"
+
"
<div style=
\"
width: 100px; height: 40px; font-size: 24px; color: #666666; line-height: 40px; text-align: center
\"
>Safari</div>
\n
"
+
"
</div>
\n
"
+
"
</div>
\n
"
+
"
</div>
\n
"
+
"
</div>
"
;
document
.
body
.
insertAdjacentHTML
(
"
beforeend
"
,
errorHtml
);
window
.
layout
=
{};
layout
.
desktop
=
{}
layout
.
addReady
=
function
(){};
layout
.
isReady
=
true
;
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录