Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
ZheShangBank_TaoQuan_20240612
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
SparkProjects
ZheShangBank_TaoQuan_20240612
Commits
df58f832
Commit
df58f832
authored
Jul 26, 2024
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
整理一下代码
parent
66c2c4bb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
116 additions
and
130 deletions
+116
-130
TaskItem.ts
assets/Scripts/Panels/TaskPanel/TaskItem.ts
+1
-1
index.html
build/web-mobile-001/index.html
+115
-129
No files found.
assets/Scripts/Panels/TaskPanel/TaskItem.ts
View file @
df58f832
...
@@ -57,7 +57,7 @@ export class TaskItem extends ScrollListItem {
...
@@ -57,7 +57,7 @@ export class TaskItem extends ScrollListItem {
}
else
if
(
code
===
"bank_2202"
)
{
}
else
if
(
code
===
"bank_2202"
)
{
const
descObj
=
desc
?
JSON
.
parse
(
desc
)
:
{};
const
descObj
=
desc
?
JSON
.
parse
(
desc
)
:
{};
const
t
=
descObj
?.
progressAmount
||
0
;
const
t
=
descObj
?.
progressAmount
||
0
;
this
.
title
.
string
=
strFormat
(
`
${
title
}
(
${
~~
(
t
/
1000
)}
/
10
)`
,
30
);
this
.
title
.
string
=
strFormat
(
`
${
title
}
(
${
~~
(
t
/
1000
)}
/
${
intervalLimitSize
}
)`
,
30
);
this
.
subTitle
.
string
=
strFormat
(
`累计已提升金额:
${
t
}
元`
,
38
);
this
.
subTitle
.
string
=
strFormat
(
`累计已提升金额:
${
t
}
元`
,
38
);
}
else
{
}
else
{
this
.
title
.
string
=
strFormat
(
title
,
24
);
this
.
title
.
string
=
strFormat
(
title
,
24
);
...
...
build/web-mobile-001/index.html
View file @
df58f832
<!DOCTYPE html>
<!DOCTYPE html>
<html>
<html>
<head>
<head>
<meta
charset=
"utf-8"
>
<meta
charset=
"utf-8"
>
<title>
套圈挑战赛
</title>
<title>
套圈挑战赛
</title>
<script
id=
"monitorjs"
src=
"//yun.duiba.com.cn/woodpecker/sdk/0.0.36/woodpecker_outer.js"
></script>
<script
id=
"registerMonitor"
>
<!--http://www.html5rocks.com/en/mobile/mobifying/-->
// 烽火台注入前端监控脚本,请勿修改
<meta
name=
"viewport"
try
{
content=
"width=device-width,user-scalable=no,initial-scale=1,minimum-scale=1,maximum-scale=1,minimal-ui=true"
/>
woodpecker
.
setConfig
({
projectId
:
"p7bdf2f84"
,
<!--https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/MetaTags.html-->
developer
:
[
<meta
name=
"apple-mobile-web-app-capable"
content=
"yes"
>
"fa17c4667c62b5ba014f382c0802a462"
<meta
name=
"apple-mobile-web-app-status-bar-style"
content=
"black-translucent"
>
],
<meta
name=
"format-detection"
content=
"telephone=no"
>
});
}
catch
(
e
)
{
<!-- force webkit on 360 -->
console
.
error
(
e
);
<meta
name=
"renderer"
content=
"webkit"
/>
}
<meta
name=
"force-rendering"
content=
"webkit"
/>
</script>
<!-- force edge on IE -->
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
/>
<meta
name=
"msapplication-tap-highlight"
content=
"no"
>
<!--http://www.html5rocks.com/en/mobile/mobifying/-->
<meta
name=
"viewport"
<!-- force full screen on some browser -->
content=
"width=device-width,user-scalable=no,initial-scale=1,minimum-scale=1,maximum-scale=1,minimal-ui=true"
/>
<meta
name=
"full-screen"
content=
"yes"
/>
<meta
name=
"x5-fullscreen"
content=
"true"
/>
<!--https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/MetaTags.html-->
<meta
name=
"360-fullscreen"
content=
"true"
/>
<meta
name=
"apple-mobile-web-app-capable"
content=
"yes"
>
<meta
name=
"apple-mobile-web-app-status-bar-style"
content=
"black-translucent"
>
<!--fix fireball/issues/3568 -->
<meta
name=
"format-detection"
content=
"telephone=no"
>
<!--<meta name="browsermode" content="application">-->
<meta
name=
"x5-page-mode"
content=
"app"
>
<!-- force webkit on 360 -->
<meta
name=
"renderer"
content=
"webkit"
/>
<!--<link rel="apple-touch-icon" href=".png" />-->
<meta
name=
"force-rendering"
content=
"webkit"
/>
<!--<link rel="apple-touch-icon-precomposed" href=".png" />-->
<!-- force edge on IE -->
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge,chrome=1"
/>
<script
src=
"//yun.duiba.com.cn/h5/lib/zepto.min.js"
></script>
<meta
name=
"msapplication-tap-highlight"
content=
"no"
>
<script
src=
"//yun.duiba.com.cn/polaris/declare-process.edbd0793356569c4e3aa91ec7d0aebf5a7bd7364.js"
crossorigin=
"anonymous"
></script>
<!-- force full screen on some browser -->
<script
src=
"//yun.duiba.com.cn/polaris/SVGA.Lite.v2.1.1.d3a67cbc13c591c53c6f87ab34c57ce387010374.js"
crossorigin=
"anonymous"
></script>
<meta
name=
"full-screen"
content=
"yes"
/>
<script
src=
"//yun.duiba.com.cn/aurora/assets/2403d1edf2acd15b179306b6ddaa5f0967d78a8f.js"
></script>
<meta
name=
"x5-fullscreen"
content=
"true"
/>
<meta
name=
"360-fullscreen"
content=
"true"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1721979133810/style.css"
/>
<!--fix fireball/issues/3568 -->
<style>
<!--<meta name="browsermode" content="application">-->
.sui-captcha
{
<meta
name=
"x5-page-mode"
content=
"app"
>
visibility
:
hidden
;
position
:
fixed
;
<!--<link rel="apple-touch-icon" href=".png" />-->
z-index
:
10000
;
<!--<link rel="apple-touch-icon-precomposed" href=".png" />-->
top
:
0
;
right
:
0
;
<script
src=
"//yun.duiba.com.cn/h5/lib/zepto.min.js"
></script>
bottom
:
0
;
left
:
0
;
<script
src=
"//yun.duiba.com.cn/polaris/declare-process.edbd0793356569c4e3aa91ec7d0aebf5a7bd7364.js"
crossorigin=
"anonymous"
></script>
background-color
:
rgba
(
0
,
0
,
0
,
0.7
);
<script
src=
"//yun.duiba.com.cn/polaris/SVGA.Lite.v2.1.1.d3a67cbc13c591c53c6f87ab34c57ce387010374.js"
crossorigin=
"anonymous"
></script>
/*.neCaptcha-dialog::after {
<script
src=
"//yun.duiba.com.cn/aurora/assets/2403d1edf2acd15b179306b6ddaa5f0967d78a8f.js"
></script>
position: absolute;
content: '加载中…';
<link
rel=
"stylesheet"
type=
"text/css"
href=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1721960744877/style.css"
/>
width: 100%;
height: 30px;
<style>
top: -40px;
.sui-captcha
{
left: 0;
visibility
:
hidden
;
text-align: center;
position
:
fixed
;
line-height: 30px;
z-index
:
10000
;
font-size: 16px;
top
:
0
;
color: #ffff00;
right
:
0
;
}*/
bottom
:
0
;
}
left
:
0
;
background-color
:
rgba
(
0
,
0
,
0
,
0.7
);
.neCaptcha-dialog
{
/*.neCaptcha-dialog::after {
visibility
:
hidden
;
position: absolute;
background-color
:
#fff
;
content: '加载中…';
box-shadow
:
0
0
8px
0
rgba
(
0
,
0
,
0
,
0.35
);
width: 100%;
-webkit-box-shadow
:
0
0
8px
0
rgba
(
0
,
0
,
0
,
0.35
);
height: 30px;
position
:
absolute
;
top: -40px;
left
:
50%
;
left: 0;
top
:
45%
;
text-align: center;
-moz-transform
:
translate
(
-50%
,
-50%
);
line-height: 30px;
-ms-transform
:
translate
(
-50%
,
-50%
);
font-size: 16px;
-o-transform
:
translate
(
-50%
,
-50%
);
color: #ffff00;
transform
:
translate
(
-50%
,
-50%
);
}*/
-webkit-transform
:
translate
(
-50%
,
-50%
);
}
padding
:
10px
;
min-width
:
100px
;
.neCaptcha-dialog
{
border-radius
:
10px
;
visibility
:
hidden
;
width
:
80%
;
background-color
:
#fff
;
}
box-shadow
:
0
0
8px
0
rgba
(
0
,
0
,
0
,
0.35
);
</style>
-webkit-box-shadow
:
0
0
8px
0
rgba
(
0
,
0
,
0
,
0.35
);
position
:
absolute
;
</head>
left
:
50%
;
<body>
top
:
45%
;
<div
id=
"GameDiv"
cc_exact_fit_screen=
"true"
>
-moz-transform
:
translate
(
-50%
,
-50%
);
<div
id=
"Cocos3dGameContainer"
>
-ms-transform
:
translate
(
-50%
,
-50%
);
<canvas
id=
"GameCanvas"
oncontextmenu=
"event.preventDefault()"
tabindex=
"99"
></canvas>
-o-transform
:
translate
(
-50%
,
-50%
);
</div>
transform
:
translate
(
-50%
,
-50%
);
</div>
-webkit-transform
:
translate
(
-50%
,
-50%
);
padding
:
10px
;
<script>
min-width
:
100px
;
window
.
voucherPackUrl
=
"https://mobapp.czbank.com/life/voucherPack.html"
;
border-radius
:
10px
;
</script>
width
:
80%
;
}
<!-- Polyfills bundle. -->
</style>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1721979133810/src/polyfills.bundle.js"
charset=
"utf-8"
></script>
</head>
<body>
<!-- SystemJS support. -->
<div
id=
"GameDiv"
cc_exact_fit_screen=
"true"
>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1721979133810/src/system.bundle.js"
charset=
"utf-8"
></script>
<div
id=
"Cocos3dGameContainer"
>
<canvas
id=
"GameCanvas"
oncontextmenu=
"event.preventDefault()"
tabindex=
"99"
></canvas>
<!-- Import map -->
</div>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1721979133810/src/import-map.json"
type=
"systemjs-importmap"
charset=
"utf-8"
></script>
</div>
<script>
<script>
System
.
import
(
'//yun.duiba.com.cn/db_games/ccc_game/template3d/1721979133810/index.js'
).
catch
(
function
(
err
)
{
window
.
voucherPackUrl
=
"https://mobapp.czbank.com/life/voucherPack.html"
;
console
.
error
(
err
);
</script>
})
</script>
<!-- Polyfills bundle. -->
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1721960744877/src/polyfills.bundle.js"
charset=
"utf-8"
></script>
</body>
</html>
<!-- SystemJS support. -->
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1721960744877/src/system.bundle.js"
charset=
"utf-8"
></script>
<!-- Import map -->
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1721960744877/src/import-map.json"
type=
"systemjs-importmap"
charset=
"utf-8"
></script>
<script>
System
.
import
(
'//yun.duiba.com.cn/db_games/ccc_game/template3d/1721960744877/index.js'
).
catch
(
function
(
err
)
{
console
.
error
(
err
);
})
</script>
</body>
</html>
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