Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xiaoxiaole
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
xiaoxiaole
Commits
dd34e744
Commit
dd34e744
authored
Apr 08, 2020
by
wildfirecode
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of gitlab2.dui88.com:wanghongyuan/xiaoxiaole into dev
parents
34423508
33d3fa00
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
84 deletions
+30
-84
RulePanel.ts
egret/libs/new_wx/components/RulePanel.ts
+2
-2
BagSkin.exml
egret/resource/skins/BagSkin.exml
+6
-6
ShareCodePanel.ts
egret/src/panels/ShareCodePanel.ts
+2
-2
Chapter23.ts
egret/src/something/chapters/Chapter23.ts
+20
-74
No files found.
egret/libs/new_wx/components/RulePanel.ts
View file @
dd34e744
...
...
@@ -13,9 +13,9 @@ export default class RulePanel extends Panel {
group
:
eui
.
Group
;
private
addRule
()
{
console
.
log
(
"游戏规则"
,
DataManager
.
ins
.
ajaxElementData
.
rule
);
//
console.log("游戏规则",DataManager.ins.ajaxElementData.rule);
var
str1
:
string
=
DataManager
.
ins
.
ajaxElementData
.
rule
;
var
str2
=
str1
.
replace
(
/ 
/g
,
"
\n
"
);
var
str2
=
str1
.
replace
(
/ 
;/g
,
";
\n
"
);
const
text
=
'<br>'
+
str2
;
this
.
labContent
.
textFlow
=
(
new
HtmlTextParser
).
parser
(
text
);
}
...
...
egret/resource/skins/BagSkin.exml
View file @
dd34e744
<?xml version="1.0" encoding="utf-8"?>
<e:Skin
class=
"BagSkin"
width=
"750"
height=
"1206"
xmlns:e=
"http://ns.egret.com/eui"
xmlns:w=
"http://ns.egret.com/wing"
>
<e:Image
id=
"combglight"
source=
"combglight_png"
y=
"
414.06
"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight1"
source=
"combglight_png"
y=
"
414.06
"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
source=
"bagbg_png"
horizontalCenter=
"0"
verticalCenter=
"-
71
.5"
/>
<e:Group
id=
"group1"
y=
"3
77
"
horizontalCenter=
"0"
visible=
"false"
>
<e:Image
id=
"combglight"
source=
"combglight_png"
y=
"
374.67
"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
id=
"combglight1"
source=
"combglight_png"
y=
"
374.67
"
anchorOffsetX=
"375"
anchorOffsetY=
"418"
horizontalCenter=
"0"
/>
<e:Image
source=
"bagbg_png"
horizontalCenter=
"0"
verticalCenter=
"-
110
.5"
/>
<e:Group
id=
"group1"
y=
"3
37.61
"
horizontalCenter=
"0"
visible=
"false"
>
<e:Image
source=
"bag我的道具_png"
y=
"0"
x=
"0"
/>
<e:Image
id=
"btn1"
source=
"bagbtn我的奖券_png"
x=
"56.14"
y=
"6"
/>
<e:Image
id=
"shopbtn"
source=
"bag按钮 副本 9_png"
y=
"619"
horizontalCenter=
"0"
/>
...
...
@@ -20,7 +20,7 @@
</e:layout>
</e:List>
</e:Group>
<e:Group
id=
"group2"
y=
"3
77"
horizontalCenter=
"0
"
>
<e:Group
id=
"group2"
y=
"3
37.61"
horizontalCenter=
"0.5
"
>
<e:Image
y=
"0"
source=
"bag我的奖券_png"
horizontalCenter=
"0"
/>
<e:Image
id=
"btn2"
x=
"302.41"
y=
"5"
source=
"bagbtn我的道具_png"
/>
<e:Image
id=
"recordbtn"
source=
"bag按钮 副本 10_png"
y=
"619"
horizontalCenter=
"0.5"
/>
...
...
@@ -41,7 +41,7 @@
</e:Group>
</e:Scroller>
</e:Group>
<e:Button
id=
"closeBtn"
label=
""
x=
"599.94"
y=
"2
55.92
"
>
<e:Button
id=
"closeBtn"
label=
""
x=
"599.94"
y=
"2
16.53
"
>
<e:skinName>
<e:Skin
states=
"up,down,disabled"
>
<e:Image
width=
"100%"
height=
"100%"
source=
"closeCommonBtn_png"
source.down=
"closeCommonBtn_png"
source.disabled=
"closeCommonBtn_png"
/>
...
...
egret/src/panels/ShareCodePanel.ts
View file @
dd34e744
...
...
@@ -304,8 +304,8 @@ export const showShareCodePanel = (channel: CodeChannels, shareCode?: string, ad
* @param shareCode 分享加体力暂时没有分享码(27号版本要加上),排行榜邀请一起玩也没有分享码,默认传0
*/
function
generateCode
(
callback
:
Function
,
channel
:
CodeChannels
,
shareCode
:
string
=
"0"
)
{
//
var activityCode = getParamString("snactCode") || "ACT0000002664";//上线必须改回来,动态获取
var
activityCode
=
"ACT0000002664"
;
var
activityCode
=
getParamString
(
"snactCode"
)
||
"ACT0000002664"
;
//上线必须改回来,动态获取
//
var activityCode = "ACT0000002664";
var
sceneCode
=
channel
;
var
token
=
shareCode
||
"0"
;
window
[
'$'
].
ajax
({
...
...
egret/src/something/chapters/Chapter23.ts
View file @
dd34e744
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