Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
db-game-template
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
崔立强
db-game-template
Commits
42a9c134
Commit
42a9c134
authored
Dec 04, 2020
by
李硕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
写死appID
parent
18d7d41e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
69 additions
and
68 deletions
+69
-68
index.html
weekVerb/project/public/index.html
+69
-68
No files found.
weekVerb/project/public/index.html
View file @
42a9c134
<!DOCTYPE html>
<html
lang=
"zh"
>
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
<meta
name=
"theme-color"
content=
"#000000"
>
<script
async
src=
"getTokenKey"
id=
"scriptkey"
></script>
<script
async
id=
"scriptjs"
src=
"//yun.duiba.com.cn/js-libs/px-token/0.0.3/px-token.min.js"
></script>
<title>
上海联通周周领
</title>
<script>
!
(
function
(
e
,
i
)
{
var
t
=
e
.
documentElement
,
n
=
navigator
.
userAgent
.
match
(
/iphone|ipod|ipad/gi
),
a
=
n
?
Math
.
min
(
i
.
devicePixelRatio
,
3
)
:
1
,
m
=
'orientationchange'
in
window
?
'orientationchange'
:
'resize'
;
t
.
dataset
.
dpr
=
a
;
for
(
var
d
,
l
,
c
=
!
1
,
o
=
e
.
getElementsByTagName
(
'meta'
),
r
=
0
;
r
<
o
.
length
;
r
++
)
(
l
=
o
[
r
]),
'viewport'
==
l
.
name
&&
((
c
=
!
0
),
(
d
=
l
));
if
(
c
)
d
.
content
=
'width=device-width,initial-scale=1.0,maximum-scale=1.0, minimum-scale=1.0,user-scalable=no'
;
else
{
var
o
=
e
.
createElement
(
'meta'
);
(
o
.
name
=
'viewport'
),
(
o
.
content
=
'width=device-width,initial-scale=1.0,maximum-scale=1.0, minimum-scale=1.0,user-scalable=no'
),
t
.
firstElementChild
.
appendChild
(
o
);
}
var
s
=
function
()
{
var
e
=
t
.
clientWidth
;
e
/
a
>
750
&&
(
e
=
750
*
a
),
(
window
.
remScale
=
e
/
750
),
(
t
.
style
.
fontSize
=
200
*
(
e
/
750
)
+
'px'
);
};
s
(),
e
.
addEventListener
&&
i
.
addEventListener
(
m
,
s
,
!
1
);
})(
document
,
window
);
</script>
<script
src=
"//yun.duiba.com.cn/h5/lib/zepto.min.js"
></script>
<script>
function
getApp
(){
return
{
cloud
:{},
cloudName
:
"clientTemplate2C"
,
requestType
:
"mock"
}
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1, shrink-to-fit=no"
>
<meta
name=
"theme-color"
content=
"#000000"
>
<script
async
src=
"getTokenKey"
id=
"scriptkey"
></script>
<script
async
id=
"scriptjs"
src=
"//yun.duiba.com.cn/js-libs/px-token/0.0.3/px-token.min.js"
></script>
<title>
上海联通周周领
</title>
<script>
!
(
function
(
e
,
i
)
{
var
t
=
e
.
documentElement
,
n
=
navigator
.
userAgent
.
match
(
/iphone|ipod|ipad/gi
),
a
=
n
?
Math
.
min
(
i
.
devicePixelRatio
,
3
)
:
1
,
m
=
'orientationchange'
in
window
?
'orientationchange'
:
'resize'
;
t
.
dataset
.
dpr
=
a
;
for
(
var
d
,
l
,
c
=
!
1
,
o
=
e
.
getElementsByTagName
(
'meta'
),
r
=
0
;
r
<
o
.
length
;
r
++
)
(
l
=
o
[
r
]),
'viewport'
==
l
.
name
&&
((
c
=
!
0
),
(
d
=
l
));
if
(
c
)
d
.
content
=
'width=device-width,initial-scale=1.0,maximum-scale=1.0, minimum-scale=1.0,user-scalable=no'
;
else
{
var
o
=
e
.
createElement
(
'meta'
);
(
o
.
name
=
'viewport'
),
(
o
.
content
=
'width=device-width,initial-scale=1.0,maximum-scale=1.0, minimum-scale=1.0,user-scalable=no'
),
t
.
firstElementChild
.
appendChild
(
o
);
}
var
s
=
function
()
{
var
e
=
t
.
clientWidth
;
e
/
a
>
750
&&
(
e
=
750
*
a
),
(
window
.
remScale
=
e
/
750
),
(
t
.
style
.
fontSize
=
200
*
(
e
/
750
)
+
'px'
);
};
s
(),
e
.
addEventListener
&&
i
.
addEventListener
(
m
,
s
,
!
1
);
})(
document
,
window
);
</script>
<script
src=
"//yun.duiba.com.cn/h5/lib/zepto.min.js"
></script>
<script>
function
getApp
()
{
return
{
cloud
:
{},
cloudName
:
"clientTemplate2C"
,
requestType
:
"mock"
}
}
var
CFG
=
CFG
||
{};
CFG
.
projectId
=
location
.
pathname
.
split
(
'/'
)[
2
]
||
'1'
;
function
getUrlParam
(
name
)
{
const
search
=
window
.
location
.
search
;
const
matched
=
search
.
slice
(
1
)
.
match
(
new
RegExp
(
'(^|&)'
+
name
+
'=([^&]*)(&|$)'
,
'i'
));
return
search
.
length
?
matched
&&
matched
[
2
]
:
null
;
}
CFG
.
appID
=
getUrlParam
(
"appID"
)
||
52397
// CFG.appID='${appId}';
</script>
</head>
var
CFG
=
CFG
||
{};
CFG
.
projectId
=
location
.
pathname
.
split
(
'/'
)[
2
]
||
'1'
;
function
getUrlParam
(
name
)
{
const
search
=
window
.
location
.
search
;
const
matched
=
search
.
slice
(
1
)
.
match
(
new
RegExp
(
'(^|&)'
+
name
+
'=([^&]*)(&|$)'
,
'i'
));
return
search
.
length
?
matched
&&
matched
[
2
]
:
null
;
}
CFG
.
appID
=
getUrlParam
(
"appID"
)
||
1
// CFG.appID='${appId}';
</script>
</head>
<body>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<div
id=
"root"
></div>
<!--
<body>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<div
id=
"root"
></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
...
...
@@ -77,7 +78,7 @@
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</body>
</html>
</html>
\ No newline at end of file
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