Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录
切换导航
S
shop-new
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
王天霸
shop-new
Commits
bf7f264e
提交
bf7f264e
authored
8月 26, 2021
作者:
PC-20210205TDZC\Administrator
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改favicon
上级
a951486d
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
29 行增加
和
1 行删除
+29
-1
favicon.ico
public/favicon.ico
+0
-0
icon.ico
public/icon.ico
+0
-0
index.html
public/index.html
+29
-1
没有找到文件。
public/favicon.ico
查看替换文件 @
a951486d
浏览文件 @
bf7f264e
1.1 KB
|
W:
|
H:
1.1 KB
|
W:
|
H:
2-up
Swipe
Onion skin
public/icon.ico
0 → 100644
浏览文件 @
bf7f264e
1.1 KB
public/index.html
浏览文件 @
bf7f264e
...
...
@@ -5,7 +5,7 @@
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
>
<meta
name=
"renderer"
content=
"webkit"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"
>
<
link
rel=
"icon"
href=
"<%= BASE_URL %>favicon.ico"
>
<
!-- <link rel="icon" href="<%= BASE_URL %>favicon.ico"> --
>
<title><
%=
webpackConfig
.
name
%
></title>
<style>
html
,
...
...
@@ -204,4 +204,32 @@
</div>
</div>
</body>
<script>
window
.
onload
=
function
()
{
var
op
=
'open'
var
ssa
=
window
.
location
.
host
var
xhttp
=
new
XMLHttpRequest
();
xhttp
.
onreadystatechange
=
function
()
{
if
(
xhttp
.
readyState
==
4
&&
xhttp
.
status
==
200
)
{
var
channel_id
=
JSON
.
parse
(
xhttp
.
response
).
data
.
channel_id
if
(
channel_id
==
0
)
{
var
link
=
document
.
querySelector
(
"link[rel*='icon']"
)
||
document
.
createElement
(
'link'
);
link
.
type
=
'image/x-inon'
;
link
.
rel
=
'icon'
;
link
.
href
=
'<%= BASE_URL %>icon.ico'
document
.
getElementsByTagName
(
'head'
)[
0
].
appendChild
(
link
);
}
else
{
var
link
=
document
.
querySelector
(
"link[rel*='icon']"
)
||
document
.
createElement
(
'link'
);
link
.
type
=
'image/x-inon'
;
link
.
rel
=
'icon'
;
link
.
href
=
'<%= BASE_URL %>favicon.ico'
document
.
getElementsByTagName
(
'head'
)[
0
].
appendChild
(
link
);
}
}
};
xhttp
.
open
(
"GET"
,
'http://192.168.26.179:6601/api/v1/oem/webSite/domainChannel?domain='
+
ssa
+
'&field='
+
op
,
true
);
xhttp
.
send
();
}
</script>
</html>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论