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
b6a53179
Commit
b6a53179
authored
Aug 01, 2024
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
整理一下代码1
parent
eafaf56f
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
9 deletions
+14
-9
RulePanel.ts
assets/Scripts/Panels/RulePanel.ts
+5
-1
index.html
build/web-mobile/index.html
+5
-5
projectRule.query.json
preview-template/mock/projectX/projectRule.query.json
+4
-3
No files found.
assets/Scripts/Panels/RulePanel.ts
View file @
b6a53179
...
...
@@ -25,7 +25,11 @@ export default class RulePanel extends Panel {
ruleTxt
.
maxWidth
=
content
.
getComponent
(
UITransform
).
width
;
this
.
scheduleOnce
(()
=>
{
ruleTxt
.
string
=
txt
.
replace
(
/<p
\b
.*
?(?:\>
|
\/
>
)
/gi
,
""
).
replace
(
/<
\/
p
\>
/gi
,
"<br/>"
);
ruleTxt
.
string
=
txt
.
replace
(
/<p
\b
.*
?(?:\>
|
\/
>
)
/gi
,
""
)
.
replace
(
/<
\/
p
\>
/gi
,
"<br/>"
)
.
replace
(
/<strong>/gi
,
"<b>"
)
.
replace
(
/<
\/
strong>/gi
,
"</b>"
);
content
.
getComponent
(
UITransform
).
height
=
ruleNode
.
getComponent
(
UITransform
).
height
;
},
0.188
);
}
...
...
build/web-mobile/index.html
View file @
b6a53179
...
...
@@ -39,7 +39,7 @@
<script
src=
"//yun.duiba.com.cn/polaris/SVGA.Lite.v2.1.1.d3a67cbc13c591c53c6f87ab34c57ce387010374.js"
crossorigin=
"anonymous"
></script>
<script
src=
"//yun.duiba.com.cn/aurora/assets/2403d1edf2acd15b179306b6ddaa5f0967d78a8f.js"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1722
430524442
/style.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1722
502435064
/style.css"
/>
<style>
.sui-captcha
{
...
...
@@ -99,16 +99,16 @@
</script>
<!-- Polyfills bundle. -->
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1722
430524442
/src/polyfills.bundle.js"
charset=
"utf-8"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1722
502435064
/src/polyfills.bundle.js"
charset=
"utf-8"
></script>
<!-- SystemJS support. -->
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1722
430524442
/src/system.bundle.js"
charset=
"utf-8"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1722
502435064
/src/system.bundle.js"
charset=
"utf-8"
></script>
<!-- Import map -->
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1722
430524442
/src/import-map.json"
type=
"systemjs-importmap"
charset=
"utf-8"
></script>
<script
src=
"//yun.duiba.com.cn/db_games/ccc_game/template3d/1722
502435064
/src/import-map.json"
type=
"systemjs-importmap"
charset=
"utf-8"
></script>
<script>
System
.
import
(
'//yun.duiba.com.cn/db_games/ccc_game/template3d/1722
430524442
/index.js'
).
catch
(
function
(
err
)
{
System
.
import
(
'//yun.duiba.com.cn/db_games/ccc_game/template3d/1722
502435064
/index.js'
).
catch
(
function
(
err
)
{
console
.
error
(
err
);
})
</script>
...
...
preview-template/mock/projectX/projectRule.query.json
View file @
b6a53179
This diff is collapsed.
Click to expand it.
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