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
a861c39f
Commit
a861c39f
authored
Dec 05, 2019
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
805b763b
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
50 additions
and
38 deletions
+50
-38
index.html
egret/index.html
+6
-0
default.thm.json
egret/resource/default.thm.json
+29
-29
DreamSkin.exml
egret/resource/skins/DreamSkin.exml
+2
-2
gotoShare.ts
egret/src/gotoShare.ts
+10
-4
index.json
mock/esports/index.json
+1
-1
join1dreamDetail.json
mock/esports/join1dreamDetail.json
+2
-2
No files found.
egret/index.html
View file @
a861c39f
...
@@ -62,6 +62,12 @@
...
@@ -62,6 +62,12 @@
</script>
</script>
<script
src=
"output.js"
></script>
<script
src=
"output.js"
></script>
<!-- <script src="https://yun.duiba.com.cn/db_games/debug/vconsole.min.js"></script>
<script>
// init vConsole 11111
var vConsole = new VConsole();
console.log('Hello world');
</script> -->
</body>
</body>
</html>
</html>
\ No newline at end of file
egret/resource/default.thm.json
View file @
a861c39f
{
{
"skins"
:
{},
"skins"
:
{},
"autoGenerateExmlsList"
:
true
,
"autoGenerateExmlsList"
:
true
,
"exmls"
:
[
"exmls"
:
[
"resource/skins/AdminItemSkin.exml"
,
"resource/skins/AdminItemSkin.exml"
,
"resource/skins/AdminPanel2Skin.exml"
,
"resource/skins/AdminPanel2Skin.exml"
,
"resource/skins/AdminPanelSkin.exml"
,
"resource/skins/AdminPanelSkin.exml"
,
"resource/skins/AdminSkin.exml"
,
"resource/skins/AdminSkin.exml"
,
"resource/skins/CostSkin.exml"
,
"resource/skins/CostSkin.exml"
,
"resource/skins/DreamAdminSkin.exml"
,
"resource/skins/DreamAdminSkin.exml"
,
"resource/skins/DreamSkin.exml"
,
"resource/skins/DreamSkin.exml"
,
"resource/skins/HScrollBarSkin.exml"
,
"resource/skins/HScrollBarSkin.exml"
,
"resource/skins/HisDreamSkin.exml"
,
"resource/skins/HisDreamSkin.exml"
,
"resource/skins/IntroSkin.exml"
,
"resource/skins/IntroSkin.exml"
,
"resource/skins/ListItemSkin.exml"
,
"resource/skins/ListItemSkin.exml"
,
"resource/skins/ListSkin.exml"
,
"resource/skins/ListSkin.exml"
,
"resource/skins/MainSceneSkin.exml"
,
"resource/skins/MainSceneSkin.exml"
,
"resource/skins/MyDreamSkin.exml"
,
"resource/skins/MyDreamSkin.exml"
,
"resource/skins/PassSkin.exml"
,
"resource/skins/PassSkin.exml"
,
"resource/skins/ReFuseSkin.exml"
,
"resource/skins/ReFuseSkin.exml"
,
"resource/skins/RuleSkin.exml"
,
"resource/skins/RuleSkin.exml"
,
"resource/skins/ScrollerSkin.exml"
,
"resource/skins/ScrollerSkin.exml"
,
"resource/skins/ShareDreamSkin.exml"
,
"resource/skins/ShareDreamSkin.exml"
,
"resource/skins/StarAniSkin.exml"
,
"resource/skins/StarAniSkin.exml"
,
"resource/skins/StarSkin.exml"
,
"resource/skins/StarSkin.exml"
,
"resource/skins/SuccessSkin.exml"
,
"resource/skins/SuccessSkin.exml"
,
"resource/skins/ToastSkin.exml"
,
"resource/skins/ToastSkin.exml"
,
"resource/skins/VScrollBarSkin.exml"
"resource/skins/VScrollBarSkin.exml"
],
],
"path"
:
"resource/default.thm.json"
"path"
:
"resource/default.thm.json"
}
}
\ No newline at end of file
egret/resource/skins/DreamSkin.exml
View file @
a861c39f
...
@@ -16,8 +16,8 @@
...
@@ -16,8 +16,8 @@
<e:Label
id=
"nametxt"
text=
"XXX"
x=
"135"
y=
"8"
textColor=
"0x707070"
/>
<e:Label
id=
"nametxt"
text=
"XXX"
x=
"135"
y=
"8"
textColor=
"0x707070"
/>
</e:Group>
</e:Group>
<e:Group
x=
"24.65"
y=
"519.64"
>
<e:Group
x=
"24.65"
y=
"519.64"
>
<e:Image
source=
"dream_text1_png"
x=
"
26
.72"
y=
"55.86"
/>
<e:Image
source=
"dream_text1_png"
x=
"
47
.72"
y=
"55.86"
/>
<e:Image
source=
"common_dot_png"
x=
"
0
"
y=
"66.84"
/>
<e:Image
source=
"common_dot_png"
x=
"
21
"
y=
"66.84"
/>
<e:Image
source=
"common_line_png"
y=
"29.26"
x=
"-30.59"
/>
<e:Image
source=
"common_line_png"
y=
"29.26"
x=
"-30.59"
/>
</e:Group>
</e:Group>
<e:Group
id=
"imgGroup"
x=
"0"
y=
"0"
width=
"616"
>
<e:Group
id=
"imgGroup"
x=
"0"
y=
"0"
width=
"616"
>
...
...
egret/src/gotoShare.ts
View file @
a861c39f
...
@@ -4,13 +4,16 @@ export default () => {
...
@@ -4,13 +4,16 @@ export default () => {
const
{
avatar
,
dreamPic
:
url
,
address
,
id
,
dreamTitle
:
title
,
dreamContent
:
content
}
=
DataManager
.
ins
.
getData
(
'yyh_join1_dreamDetail'
).
data
;
const
{
avatar
,
dreamPic
:
url
,
address
,
id
,
dreamTitle
:
title
,
dreamContent
:
content
}
=
DataManager
.
ins
.
getData
(
'yyh_join1_dreamDetail'
).
data
;
let
shareUrl
=
location
.
origin
+
'/projectx/pa1462f11/fea2bff6f.html'
;
let
shareUrl
=
'http://yazuwei.activity-1.m.duiba.com.cn/projectx/pa1462f11/fea2bff6f.html'
;
// let shareUrl = location.origin + '/projectx/pa1462f11/fea2bff6f.html';
// let shareUrl = window.location.href.replace('index','fea2bff6f');
// let shareUrl = window.location.href.replace('index','fea2bff6f');
const
prefix
=
`?avatar=
${
encodeURIComponent
(
avatar
)}
&url=
${
encodeURIComponent
(
url
)}
&address=
${
address
}
&id2=
${
id
}
&title=
${
title
}
&content=
${
content
}
`
const
prefix
=
`?avatar=
${
(
avatar
)}
&url=
${
(
url
)}
&address=
${
address
}
&id2=
${
id
}
&title=
${
title
}
&content=
${
content
}
`
shareUrl
+=
prefix
;
shareUrl
+=
prefix
;
console
.
log
(
prefix
);
shareUrl
=
'http://aghzact.zjkczn.com/h5/defaultActive.html?activeUrl='
+
encodeURIComponent
(
shareUrl
)
console
.
log
(
shareUrl
,
prefix
);
window
[
'AlipayJSBridge'
].
call
(
window
[
'AlipayJSBridge'
].
call
(
'esportsShare'
,
'esportsShare'
,
...
@@ -20,4 +23,7 @@ export default () => {
...
@@ -20,4 +23,7 @@ export default () => {
imgUrl
:
'https://yun.duiba.com.cn/db_games/yyhlogo2.png'
,
imgUrl
:
'https://yun.duiba.com.cn/db_games/yyhlogo2.png'
,
url
:
shareUrl
,
type
:
'3'
url
:
shareUrl
,
type
:
'3'
});
});
}
}
\ No newline at end of file
mock/esports/index.json
View file @
a861c39f
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
"lightUpWindow"
:
0
,
"lightUpWindow"
:
0
,
"reviewPassedWindow"
:
0
,
"reviewPassedWindow"
:
0
,
"reviewFailedWindow"
:
0
,
"reviewFailedWindow"
:
0
,
"reviewDeadline"
:
0
,
"reviewDeadline"
:
9995748944100
0
,
"assistDeadline"
:
99957489441000
,
"assistDeadline"
:
99957489441000
,
"doAssistCount"
:
10
,
"doAssistCount"
:
10
,
...
...
mock/esports/join1dreamDetail.json
View file @
a861c39f
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
"consumerId"
:
"500208012"
,
"consumerId"
:
"500208012"
,
"dreamContent"
:
"test content2"
,
"dreamContent"
:
"test content2"
,
"dreamPic"
:
"http://yun.duiba.com.cn/duibaimage/1574660334863500208012.png"
,
"dreamPic"
:
"http://yun.duiba.com.cn/duibaimage/1574660334863500208012.png"
,
"dreamStatus"
:
"
1
"
,
"dreamStatus"
:
"
2
"
,
"dreamTitle"
:
"testtitle2"
,
"dreamTitle"
:
"testtitle2"
,
"energy"
:
2
,
"energy"
:
2
,
"energyLimit"
:
100
,
"energyLimit"
:
100
,
...
@@ -20,4 +20,4 @@
...
@@ -20,4 +20,4 @@
},
},
"message"
:
null
,
"message"
:
null
,
"success"
:
true
"success"
:
true
}
}
\ 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