Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Y
yyh
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
wildfirecode13
yyh
Commits
81d4b6dc
Commit
81d4b6dc
authored
Dec 13, 2019
by
wangzhujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1232
parent
10f8e48e
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
24 additions
and
18 deletions
+24
-18
index.html
egret/index.html
+3
-3
joinshare_bg.jpg
egret/resource/assets/joinshare/joinshare_bg.jpg
+0
-0
pkscorebg2.png
egret/resource/assets/pk/pkscorebg2.png
+0
-0
default.res.json
egret/resource/default.res.json
+10
-10
GuideSkin.exml
egret/resource/skins/GuideSkin.exml
+2
-2
JoinShareSkin.exml
egret/resource/skins/JoinShareSkin.exml
+4
-0
PKSkin.exml
egret/resource/skins/PKSkin.exml
+1
-1
JoinShareScene.ts
egret/src/yazuwei/JoinShareScene.ts
+2
-0
PKScene.ts
egret/src/yazuwei/PKScene.ts
+2
-2
No files found.
egret/index.html
View file @
81d4b6dc
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
// window['pageID'] = 'TeamShareScene';
// window['pageID'] = 'TeamShareScene';
// window['pageID'] = 'JoinShareScene';
// window['pageID'] = 'JoinShareScene';
// window['pageID'] = 'TransScene';
// window['pageID'] = 'TransScene';
window
[
'pageID'
]
=
'Share2Scene'
;
//
window['pageID'] = 'Share2Scene';
window
[
'indexhtml'
]
=
'https://yazuwei.activity-1.m.duiba.com.cn/projectx/pbe1f2241/index.html'
window
[
'indexhtml'
]
=
'https://yazuwei.activity-1.m.duiba.com.cn/projectx/pbe1f2241/index.html'
window
[
'TransLink'
]
=
''
;
window
[
'TransLink'
]
=
''
;
window
[
'projectId'
]
=
"1"
;
window
[
'projectId'
]
=
"1"
;
...
@@ -344,9 +344,9 @@
...
@@ -344,9 +344,9 @@
alert
(
"进入分享"
);
alert
(
"进入分享"
);
AlipayJSBridge
.
call
(
'esportsShare'
,
{
title
:
'测试标题'
,
content
:
'测试内容'
,
imgUrl
:
'http://yun.duiba.com.cn/duibaManagerWeb/fgzpqk6zzo.png'
,
url
:
'http://activity.m.duiba.com.cn/customShare/share?id=3327&myavater'
+
encodeURIComponent
(
data
),
type
:
'3'
});
AlipayJSBridge
.
call
(
'esportsShare'
,
{
title
:
'测试标题'
,
content
:
'测试内容'
,
imgUrl
:
'http://yun.duiba.com.cn/duibaManagerWeb/fgzpqk6zzo.png'
,
url
:
'http://activity.m.duiba.com.cn/customShare/share?id=3327&myavater'
+
encodeURIComponent
(
data
),
type
:
'3'
});
}
}
function
shareteam
(
data
){
function
shareteam
(
data
,
data2
){
alert
(
"进入分享"
);
alert
(
"进入分享"
);
AlipayJSBridge
.
call
(
'esportsShare'
,
{
title
:
'测试标题'
,
content
:
'测试内容'
,
imgUrl
:
'http://yun.duiba.com.cn/duibaManagerWeb/fgzpqk6zzo.png'
,
url
:
'http://activity.m.duiba.com.cn/customShare/share?id=3327&joinTeamCode'
+
encodeURIComponent
(
data
),
type
:
'3'
});
AlipayJSBridge
.
call
(
'esportsShare'
,
{
title
:
'测试标题'
,
content
:
'测试内容'
,
imgUrl
:
'http://yun.duiba.com.cn/duibaManagerWeb/fgzpqk6zzo.png'
,
url
:
'http://activity.m.duiba.com.cn/customShare/share?id=3327&joinTeamCode'
+
encodeURIComponent
(
data
)
+
'&avatar='
+
encodeURIComponent
(
data2
)
,
type
:
'3'
});
}
}
function
shareImg
(
num
){
function
shareImg
(
num
){
console
.
log
(
"进入分享图片"
);
console
.
log
(
"进入分享图片"
);
...
...
egret/resource/assets/joinshare/joinshare_bg.jpg
View replaced file @
10f8e48e
View file @
81d4b6dc
This diff is collapsed.
Click to expand it.
egret/resource/assets/pk/pkscorebg2.png
View replaced file @
10f8e48e
View file @
81d4b6dc
88.3 KB
|
W:
|
H:
88.4 KB
|
W:
|
H:
2-up
Swipe
Onion skin
egret/resource/default.res.json
View file @
81d4b6dc
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
"name"
:
"Garbage"
"name"
:
"Garbage"
},
},
{
{
"keys"
:
"pkwinlogo_png,pkwinlight_png,pkwinBtn_png,pkwinbg_png,pkscorebg
2_png,pkscorebg_png,pkrulebtn_png,pkrulebg_png,pkprizeBtn_png,pkprizebg_png,pkpeacelogo_png,pkpeacelight_png,pkotherline2_png,pknoton_png,pkmyline2_png,pkloselogo_png,pkloselight_png,pkfinishbg_png,pkendbg_png,pkcirle_png,pkBtn_png,pkaskBtn_png,pkagainBtn_png,pkadd_png,head1_png,box
_png"
,
"keys"
:
"pkwinlogo_png,pkwinlight_png,pkwinBtn_png,pkwinbg_png,pkscorebg
_png,pkrulebtn_png,pkrulebg_png,pkprizeBtn_png,pkprizebg_png,pkpeacelogo_png,pkpeacelight_png,pkotherline2_png,pknoton_png,pkmyline2_png,pkloselogo_png,pkloselight_png,pkfinishbg_png,pkendbg_png,pkcirle_png,pkBtn_png,pkaskBtn_png,pkagainBtn_png,pkadd_png,head1_png,box_png,pkscorebg2
_png"
,
"name"
:
"Delay"
"name"
:
"Delay"
},
},
{
{
...
@@ -241,11 +241,6 @@
...
@@ -241,11 +241,6 @@
"type"
:
"image"
,
"type"
:
"image"
,
"name"
:
"pkscorebg_png"
"name"
:
"pkscorebg_png"
},
},
{
"url"
:
"assets/pk/pkscorebg2.png"
,
"type"
:
"image"
,
"name"
:
"pkscorebg2_png"
},
{
{
"url"
:
"assets/pk/pkwinbg.png"
,
"url"
:
"assets/pk/pkwinbg.png"
,
"type"
:
"image"
,
"type"
:
"image"
,
...
@@ -667,14 +662,19 @@
...
@@ -667,14 +662,19 @@
"name"
:
"mrbg_jpg"
"name"
:
"mrbg_jpg"
},
},
{
{
"url"
:
"assets/
joinshare/join
share_bg.jpg"
,
"url"
:
"assets/
teamshare/team
share_bg.jpg"
,
"type"
:
"image"
,
"type"
:
"image"
,
"name"
:
"
join
share_bg_jpg"
"name"
:
"
team
share_bg_jpg"
},
},
{
{
"url"
:
"assets/
teamshare/teamshare_bg.jp
g"
,
"url"
:
"assets/
pk/pkscorebg2.pn
g"
,
"type"
:
"image"
,
"type"
:
"image"
,
"name"
:
"teamshare_bg_jpg"
"name"
:
"pkscorebg2_png"
},
{
"url"
:
"assets/joinshare/joinshare_bg.jpg"
,
"type"
:
"image"
,
"name"
:
"joinshare_bg_jpg"
}
}
]
]
}
}
\ No newline at end of file
egret/resource/skins/GuideSkin.exml
View file @
81d4b6dc
...
@@ -29,8 +29,8 @@
...
@@ -29,8 +29,8 @@
<e:Button
id=
"closeBtn"
label=
"Button"
skinName=
"ui.IconButtonSkin"
icon=
"closeBtn_png"
scaleX=
"1"
scaleY=
"1"
width=
"48"
height=
"48"
anchorOffsetX=
"24"
anchorOffsetY=
"24"
x=
"640"
y=
"24"
/>
<e:Button
id=
"closeBtn"
label=
"Button"
skinName=
"ui.IconButtonSkin"
icon=
"closeBtn_png"
scaleX=
"1"
scaleY=
"1"
width=
"48"
height=
"48"
anchorOffsetX=
"24"
anchorOffsetY=
"24"
x=
"640"
y=
"24"
/>
<e:Button
id=
"fireBtn"
label=
"Button"
skinName=
"ui.IconButtonSkin"
icon=
"xuanshiBtn_png"
scaleX=
"1"
scaleY=
"1"
width=
"291"
height=
"82"
anchorOffsetX=
"145.5"
anchorOffsetY=
"41"
x=
"318.5"
y=
"522"
/>
<e:Button
id=
"fireBtn"
label=
"Button"
skinName=
"ui.IconButtonSkin"
icon=
"xuanshiBtn_png"
scaleX=
"1"
scaleY=
"1"
width=
"291"
height=
"82"
anchorOffsetX=
"145.5"
anchorOffsetY=
"41"
x=
"318.5"
y=
"522"
/>
</e:Group>
</e:Group>
<e:Group
id=
"dianran"
width=
"750"
height=
"
607"
horizontalCenter=
"0"
verticalCenter=
"-197.5"
visible=
"false
"
>
<e:Group
id=
"dianran"
width=
"750"
height=
"
1073"
anchorOffsetY=
"0"
horizontalCenter=
"0"
verticalCenter=
"35.5
"
>
<e:Image
width=
"327"
height=
"327"
x=
"435"
y=
"0"
source=
"ydlight_png"
scaleX=
"1"
scaleY=
"1
"
/>
<e:Image
width=
"327"
height=
"327"
source=
"ydlight_png"
scaleX=
"1"
scaleY=
"1"
horizontalCenter=
"223.5"
verticalCenter=
"-373
"
/>
<e:Image
width=
"200"
height=
"241"
x=
"488"
y=
"52"
source=
"CHNhangzhou_png"
scaleX=
"1"
scaleY=
"1"
/>
<e:Image
width=
"200"
height=
"241"
x=
"488"
y=
"52"
source=
"CHNhangzhou_png"
scaleX=
"1"
scaleY=
"1"
/>
<e:Image
width=
"484"
height=
"485"
x=
"133"
y=
"122"
source=
"ydlight2_png"
scaleX=
"1"
scaleY=
"1"
/>
<e:Image
width=
"484"
height=
"485"
x=
"133"
y=
"122"
source=
"ydlight2_png"
scaleX=
"1"
scaleY=
"1"
/>
<e:Label
text=
"恭喜您成为"
x=
"0"
y=
"308"
size=
"40"
textColor=
"0xfefff8"
width=
"750"
textAlign=
"center"
scaleX=
"1"
scaleY=
"1"
/>
<e:Label
text=
"恭喜您成为"
x=
"0"
y=
"308"
size=
"40"
textColor=
"0xfefff8"
width=
"750"
textAlign=
"center"
scaleX=
"1"
scaleY=
"1"
/>
...
...
egret/resource/skins/JoinShareSkin.exml
View file @
81d4b6dc
...
@@ -3,6 +3,10 @@
...
@@ -3,6 +3,10 @@
<e:Group
verticalCenter=
"0"
>
<e:Group
verticalCenter=
"0"
>
<e:Image
source=
"joinshare_bg_jpg"
scaleX=
"1"
scaleY=
"1"
/>
<e:Image
source=
"joinshare_bg_jpg"
scaleX=
"1"
scaleY=
"1"
/>
<e:Image
id=
"btn"
source=
"joinshare_btn_png"
y=
"797"
horizontalCenter=
"0"
x=
"192.21"
scaleX=
"1"
scaleY=
"1"
/>
<e:Image
id=
"btn"
source=
"joinshare_btn_png"
y=
"797"
horizontalCenter=
"0"
x=
"192.21"
scaleX=
"1"
scaleY=
"1"
/>
<e:Group
x=
"304.56"
y=
"316.83"
scaleX=
"1"
scaleY=
"1"
>
<e:Image
id=
"avatar"
y=
"0"
width=
"136"
height=
"136"
x=
"0"
source=
""
/>
<e:Rect
id=
"avatarMask"
width=
"136"
height=
"136"
y=
"0"
ellipseWidth=
"136"
ellipseHeight=
"136"
/>
</e:Group>
</e:Group>
</e:Group>
<e:Group
id=
"sharemask"
x=
"0"
y=
"0"
visible=
"false"
>
<e:Group
id=
"sharemask"
x=
"0"
y=
"0"
visible=
"false"
>
<e:Rect
id=
"rect0"
width=
"750"
height=
"1624"
x=
"0"
y=
"0"
fillAlpha=
"0.7"
/>
<e:Rect
id=
"rect0"
width=
"750"
height=
"1624"
x=
"0"
y=
"0"
fillAlpha=
"0.7"
/>
...
...
egret/resource/skins/PKSkin.exml
View file @
81d4b6dc
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<e:Skin
class=
"PKSkin"
width=
"750"
height=
"1624"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Skin
class=
"PKSkin"
width=
"750"
height=
"1624"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Image
width=
"750"
height=
"1624"
x=
"0"
y=
"0"
source=
"pkBG_jpg"
/>
<e:Image
width=
"750"
height=
"1624"
x=
"0"
y=
"0"
source=
"pkBG_jpg"
/>
<e:Image
id=
"myline"
width=
"212"
height=
"941"
scale9Grid=
"26,139,160,144"
bottom=
"0"
horizontalCenter=
"-157"
anchorOffsetY=
"0"
source=
"pkmyline2_png"
/>
<e:Image
id=
"myline"
width=
"212"
height=
"941"
scale9Grid=
"26,139,160,144"
bottom=
"0"
horizontalCenter=
"-157"
anchorOffsetY=
"0"
source=
"pkmyline2_png"
/>
<e:Image
id=
"otherline"
width=
"212"
height=
"
505
"
scale9Grid=
"26,103,159,429"
bottom=
"0"
horizontalCenter=
"157"
source=
"pkotherline2_png"
anchorOffsetY=
"0"
/>
<e:Image
id=
"otherline"
width=
"212"
height=
"
809
"
scale9Grid=
"26,103,159,429"
bottom=
"0"
horizontalCenter=
"157"
source=
"pkotherline2_png"
anchorOffsetY=
"0"
/>
<e:Label
id=
"myteam"
text=
"我方队伍"
x=
"112"
y=
"613"
size=
"29"
textAlign=
"center"
verticalAlign=
"middle"
textColor=
"0xfcffff"
width=
"212"
/>
<e:Label
id=
"myteam"
text=
"我方队伍"
x=
"112"
y=
"613"
size=
"29"
textAlign=
"center"
verticalAlign=
"middle"
textColor=
"0xfcffff"
width=
"212"
/>
<e:Label
id=
"myteamnum"
text=
"总步数:9999"
x=
"112"
y=
"648"
size=
"30"
verticalAlign=
"middle"
textColor=
"0xfe0f5a"
width=
"212"
textAlign=
"center"
/>
<e:Label
id=
"myteamnum"
text=
"总步数:9999"
x=
"112"
y=
"648"
size=
"30"
verticalAlign=
"middle"
textColor=
"0xfe0f5a"
width=
"212"
textAlign=
"center"
/>
<e:Label
id=
"otherteam"
text=
"PK方队伍"
x=
"426"
y=
"738"
size=
"29"
textAlign=
"center"
verticalAlign=
"middle"
textColor=
"0xFCFFFF"
width=
"212"
/>
<e:Label
id=
"otherteam"
text=
"PK方队伍"
x=
"426"
y=
"738"
size=
"29"
textAlign=
"center"
verticalAlign=
"middle"
textColor=
"0xFCFFFF"
width=
"212"
/>
...
...
egret/src/yazuwei/JoinShareScene.ts
View file @
81d4b6dc
...
@@ -20,6 +20,8 @@ export default class JoinShareScene extends Scene {
...
@@ -20,6 +20,8 @@ export default class JoinShareScene extends Scene {
NetManager
.
ins
.
showLog
(
getlogItem
(
5
));
NetManager
.
ins
.
showLog
(
getlogItem
(
5
));
// this['from'].text = '11111111';
// this['from'].text = '11111111';
// this['to'].text = '22222222';
// this['to'].text = '22222222';
this
[
'avatar'
].
mask
=
this
[
'avatarMask'
];
this
[
'avatar'
].
source
=
GameConst
.
getQueryString
(
'avatar'
);
}
}
onTap_btn
()
{
onTap_btn
()
{
...
...
egret/src/yazuwei/PKScene.ts
View file @
81d4b6dc
...
@@ -247,7 +247,7 @@ export default class PKScene extends Scene{
...
@@ -247,7 +247,7 @@ export default class PKScene extends Scene{
return
return
}
}
let
data
=
DataManager
.
ins
.
getData
(
'genInvite'
).
data
;
let
data
=
DataManager
.
ins
.
getData
(
'genInvite'
).
data
;
window
[
'shareteam'
](
data
);
window
[
'shareteam'
](
data
,
this
.
myavater
);
},
window
[
'projectId'
])
},
window
[
'projectId'
])
// window['share']();
// window['share']();
}
}
...
@@ -266,7 +266,7 @@ export default class PKScene extends Scene{
...
@@ -266,7 +266,7 @@ export default class PKScene extends Scene{
return
return
}
}
let
data
=
DataManager
.
ins
.
getData
(
'genInvite'
).
data
;
let
data
=
DataManager
.
ins
.
getData
(
'genInvite'
).
data
;
window
[
'shareteam'
](
data
);
window
[
'shareteam'
](
data
,
this
.
myavater
);
},
window
[
'projectId'
])
},
window
[
'projectId'
])
// window['share']();
// window['share']();
}
}
...
...
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