Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
IPC-footer
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Allen Bai
IPC-footer
Commits
e977b180
Commit
e977b180
authored
Feb 01, 2021
by
Allen Bai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 添加跳转链接
parent
9493c2bf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
h5_online.html
example/inHTML/h5_online.html
+1
-1
index.ts
src/index.ts
+1
-0
No files found.
example/inHTML/h5_online.html
View file @
e977b180
...
...
@@ -26,7 +26,7 @@
function
loadScript
()
{
var
r
=
document
.
createElement
(
"script"
);
(
r
.
async
=
!
0
),
(
r
.
src
=
"//yun.
dui88
.com/ipc-footer-sdk/ipc-footer-sdk.js"
),
(
r
.
src
=
"//yun.
tuisnake
.com/ipc-footer-sdk/ipc-footer-sdk.js"
),
(
r
.
crossOrigin
=
"anonymous"
),
(
r
.
onload
=
function
()
{
window
.
__TUIA_IPC_HELPER__
&&
window
.
__TUIA_IPC_HELPER__
.
mountIPCFooter
(
IPCFooterConfig
)
...
...
src/index.ts
View file @
e977b180
...
...
@@ -109,6 +109,7 @@ async function mountIPCFooter(opts: IPCFooterOptions = {}) {
addStyles
(
IPCFooter
,
{
...
defaultFooterStyles
,
...(
opts
.
footerStyles
||
{})
})
addStyles
(
IPCBoard
,
{
...
defaultBoardStyles
,
...(
opts
.
footerStyles
||
{})
})
IPCBoard
.
innerText
=
(
IPCNumberString
as
string
)
||
'IPC备-'
IPCBoard
.
href
=
'https://beian.miit.gov.cn/#/Integrated/index'
IPCFooter
.
appendChild
(
IPCBoard
)
targetDom
.
appendChild
(
IPCFooter
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment