Commit 61085011 authored by wildfirecode's avatar wildfirecode

1

parent 5b8e8b36
egret/resource/assets/share2.jpg

114 KB | W: | H:

egret/resource/assets/share2.jpg

114 KB | W: | H:

egret/resource/assets/share2.jpg
egret/resource/assets/share2.jpg
egret/resource/assets/share2.jpg
egret/resource/assets/share2.jpg
  • 2-up
  • Swipe
  • Onion skin
egret/resource/assets/share3.jpg

195 KB | W: | H:

egret/resource/assets/share3.jpg

196 KB | W: | H:

egret/resource/assets/share3.jpg
egret/resource/assets/share3.jpg
egret/resource/assets/share3.jpg
egret/resource/assets/share3.jpg
  • 2-up
  • Swipe
  • Onion skin
egret/resource/assets/showoff.jpg

205 KB | W: | H:

egret/resource/assets/showoff.jpg

190 KB | W: | H:

egret/resource/assets/showoff.jpg
egret/resource/assets/showoff.jpg
egret/resource/assets/showoff.jpg
egret/resource/assets/showoff.jpg
  • 2-up
  • Swipe
  • Onion skin
egret/resource/assets/showoff1.jpg

238 KB | W: | H:

egret/resource/assets/showoff1.jpg

168 KB | W: | H:

egret/resource/assets/showoff1.jpg
egret/resource/assets/showoff1.jpg
egret/resource/assets/showoff1.jpg
egret/resource/assets/showoff1.jpg
  • 2-up
  • Swipe
  • Onion skin
...@@ -2,14 +2,14 @@ ...@@ -2,14 +2,14 @@
<e:Skin class="Share2Skin" width="750" height="1624" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing"> <e:Skin class="Share2Skin" width="750" height="1624" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<w:Config id="16cd6d4c8ff"/> <w:Config id="16cd6d4c8ff"/>
<e:Rect width="750" height="1624" fillAlpha="0.7"/> <e:Rect width="750" height="1624" fillAlpha="0.7"/>
<e:Group id="pic1" x="86" y="46"> <e:Group id="pic1" y="46" horizontalCenter="0" visible="false">
<e:Image source="share3_jpg" y="0" x="0"/> <e:Image source="share3_jpg" y="0" x="0"/>
<e:Label id="lvTxt" text="188" x="247.65" y="721.82" size="14" anchorOffsetX="0" width="61.33" textAlign="center" verticalAlign="middle" textColor="0xEA2917"/> <e:Label id="lvTxt" text="188" x="247.65" y="721.82" size="14" anchorOffsetX="0" width="61.33" textAlign="center" verticalAlign="middle" textColor="0xEA2917" visible="false"/>
</e:Group> </e:Group>
<e:Group id="pic2" y="15" horizontalCenter="0"> <e:Group id="pic2" y="46" horizontalCenter="0">
<e:Image x="0" y="0" scaleX="0.8" scaleY="0.8" source="showoff1_jpg"/> <e:Image x="0" y="0" scaleX="0.8" scaleY="0.8" source="showoff1_jpg"/>
<e:Label id="lvTxt0" text="14" x="222.44" y="218.25" anchorOffsetX="0" width="130.67" anchorOffsetY="0" bold="true" textColor="0xEC1F09" textAlign="center" verticalAlign="middle" size="106"/> <e:Label id="lvTxt0" text="14" x="222.44" y="218.25" anchorOffsetX="0" width="130.67" anchorOffsetY="0" bold="true" textColor="0xEC1F09" textAlign="center" verticalAlign="middle" size="106" visible="false"/>
<e:Label id="tipsTxt0" text="超过了60%的好友" y="324.22" anchorOffsetX="0" anchorOffsetY="0" textColor="0xEC1F09" textAlign="center" verticalAlign="middle" size="29" horizontalCenter="0"/> <e:Label id="tipsTxt0" text="超过了60%的好友" y="324.22" anchorOffsetX="0" anchorOffsetY="0" textColor="0xEC1F09" textAlign="center" verticalAlign="middle" size="29" horizontalCenter="0" visible="false"/>
</e:Group> </e:Group>
<e:Group id="inviteGroup" x="0" bottom="0"> <e:Group id="inviteGroup" x="0" bottom="0">
<e:Image source="朋友圈中间分享蒙层1_jpg" y="0" x="0"/> <e:Image source="朋友圈中间分享蒙层1_jpg" y="0" x="0"/>
......
...@@ -2,5 +2,5 @@ ...@@ -2,5 +2,5 @@
<e:Skin class="ShareSkin" width="750" height="1624" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing"> <e:Skin class="ShareSkin" width="750" height="1624" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<e:Rect width="750" height="1624" fillAlpha="0.7"/> <e:Rect width="750" height="1624" fillAlpha="0.7"/>
<e:Image source="share2_jpg"/> <e:Image source="share2_jpg"/>
<e:Label id="lvTxt" text="11" x="336.65" y="920.94" size="20" anchorOffsetX="0" width="42.33" textAlign="center" textColor="0xea2917"/> <e:Label id="lvTxt" text="11" x="336.65" y="920.94" size="20" anchorOffsetX="0" width="42.33" textAlign="center" textColor="0xea2917" visible="false"/>
</e:Skin> </e:Skin>
\ No newline at end of file
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<e:Skin class="ShowOffSkin" width="750" height="1624" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing"> <e:Skin class="ShowOffSkin" width="750" height="1624" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<e:Group id="pic" x="0" y="0"> <e:Group id="pic" x="0" y="0">
<e:Image source="showoff_jpg" x="0" y="0"/> <e:Image source="showoff_jpg" x="0" y="0"/>
<e:Label id="lvTxt" text="0" x="280.3" y="304.97" anchorOffsetX="0" width="179" anchorOffsetY="0" bold="true" textColor="0xec1f09" textAlign="center" verticalAlign="middle" size="106"/> <e:Label id="lvTxt" text="0" x="280.3" y="304.97" anchorOffsetX="0" width="179" anchorOffsetY="0" bold="true" textColor="0xec1f09" textAlign="center" verticalAlign="middle" size="106" visible="false"/>
<e:Label id="tipsTxt" text="超过了60%的好友" y="427" anchorOffsetX="0" anchorOffsetY="0" textColor="0xEC1F09" textAlign="center" verticalAlign="middle" size="29" x="259"/> <e:Label id="tipsTxt" text="超过了60%的好友" y="427" anchorOffsetX="0" anchorOffsetY="0" textColor="0xEC1F09" textAlign="center" verticalAlign="middle" size="29" x="259" visible="false"/>
</e:Group> </e:Group>
</e:Skin> </e:Skin>
\ No newline at end of file
...@@ -50,18 +50,21 @@ class Share2 extends ComponentBase { ...@@ -50,18 +50,21 @@ class Share2 extends ComponentBase {
}, this); }, this);
} }
//channel 1 好友 2 朋友圈 //channel 1 好友 2 朋友圈
getFunc(type: string) { getFunc(channel: string) {
let base64; // let base64;
if(this.type==1) // if(this.type==1)
base64= getPrintScreenData(this['pic' + this.type], 0, 0, 579, 866); // base64= getPrintScreenData(this['pic' + this.type], 0, 0, 579, 866);
else // else
base64= getPrintScreenData(this['pic' + this.type], 0, 0, 600, 965); // base64= getPrintScreenData(this['pic' + this.type], 0, 0, 600, 965);
NetManager.ins.imgUrl((success) => { // NetManager.ins.imgUrl((success) => {
const data = DataManager.ins.getData('imgURL'); // const data = DataManager.ins.getData('imgURL');
img.src = base64; // img.src = base64;
// img.src = data.data; // img.src = data.data;
callShareApi(data.data, type); if(this.type==1)
}, base64); callShareApi('https://yun.duiba.com.cn/db_games/xxshareshare.jpg', channel);
else
callShareApi('https://yun.duiba.com.cn/db_games/xxlshare.jpg', channel);
// }, base64);
} }
get skinKey() { get skinKey() {
......
...@@ -7,356 +7,6 @@ ...@@ -7,356 +7,6 @@
"wealth": 7960, "wealth": 7960,
"totalStars": 145, "totalStars": 145,
"levels": [ "levels": [
{
"levelNum": 1,
"maxScore": 36320,
"stars": 3
},
{
"levelNum": 2,
"maxScore": 18680,
"stars": 3
},
{
"levelNum": 3,
"maxScore": 19530,
"stars": 3
},
{
"levelNum": 4,
"maxScore": 20230,
"stars": 3
},
{
"levelNum": 5,
"maxScore": 10710,
"stars": 3
},
{
"levelNum": 6,
"maxScore": 42580,
"stars": 3
},
{
"levelNum": 7,
"maxScore": 23700,
"stars": 3
},
{
"levelNum": 8,
"maxScore": 99999,
"stars": 3
},
{
"levelNum": 9,
"maxScore": 70330,
"stars": 3
},
{
"levelNum": 10,
"maxScore": 27710,
"stars": 3
},
{
"levelNum": 11,
"maxScore": 19410,
"stars": 3
},
{
"levelNum": 12,
"maxScore": 23650,
"stars": 3
},
{
"levelNum": 13,
"maxScore": 34150,
"stars": 1
},
{
"levelNum": 14,
"maxScore": 37110,
"stars": 1
},
{
"levelNum": 15,
"maxScore": 99999,
"stars": 2
},
{
"levelNum": 16,
"maxScore": 99999,
"stars": 3
},
{
"levelNum": 17,
"maxScore": 42420,
"stars": 3
},
{
"levelNum": 18,
"maxScore": 99999,
"stars": 2
},
{
"levelNum": 19,
"maxScore": 99999,
"stars": 3
},
{
"levelNum": 20,
"maxScore": 47520,
"stars": 3
},
{
"levelNum": 21,
"maxScore": 14080,
"stars": 3
},
{
"levelNum": 22,
"maxScore": 75790,
"stars": 1
},
{
"levelNum": 23,
"maxScore": 50340,
"stars": 3
},
{
"levelNum": 24,
"maxScore": 83590,
"stars": 3
},
{
"levelNum": 25,
"maxScore": 45570,
"stars": 3
},
{
"levelNum": 26,
"maxScore": 99999,
"stars": 3
},
{
"levelNum": 27,
"maxScore": 44540,
"stars": 2
},
{
"levelNum": 28,
"maxScore": 112230,
"stars": 3
},
{
"levelNum": 29,
"maxScore": 67810,
"stars": 3
},
{
"levelNum": 30,
"maxScore": 43530,
"stars": 2
},
{
"levelNum": 31,
"maxScore": 99999,
"stars": 3
},
{
"levelNum": 32,
"maxScore": 18450,
"stars": 1
},
{
"levelNum": 33,
"maxScore": 28560,
"stars": 1
},
{
"levelNum": 34,
"maxScore": 99999,
"stars": 1
},
{
"levelNum": 35,
"maxScore": 99999,
"stars": 3
},
{
"levelNum": 36,
"maxScore": 14860,
"stars": 0
},
{
"levelNum": 37,
"maxScore": 22300,
"stars": 0
},
{
"levelNum": 38,
"maxScore": 43380,
"stars": 3
},
{
"levelNum": 39,
"maxScore": 27610,
"stars": 0
},
{
"levelNum": 40,
"maxScore": 99999,
"stars": 3
},
{
"levelNum": 41,
"maxScore": 30890,
"stars": 2
},
{
"levelNum": 42,
"maxScore": 15660,
"stars": 3
},
{
"levelNum": 43,
"maxScore": 48170,
"stars": 1
},
{
"levelNum": 44,
"maxScore": 18080,
"stars": 1
},
{
"levelNum": 45,
"maxScore": 29170,
"stars": 1
},
{
"levelNum": 46,
"maxScore": 37980,
"stars": 1
},
{
"levelNum": 47,
"maxScore": 37800,
"stars": 3
},
{
"levelNum": 48,
"maxScore": 19950,
"stars": 1
},
{
"levelNum": 49,
"maxScore": 36190,
"stars": 0
},
{
"levelNum": 50,
"maxScore": 42610,
"stars": 2
},
{
"levelNum": 51,
"maxScore": 34300,
"stars": 1
},
{
"levelNum": 52,
"maxScore": 31650,
"stars": 3
},
{
"levelNum": 53,
"maxScore": 5140,
"stars": 0
},
{
"levelNum": 54,
"maxScore": 49630,
"stars": 3
},
{
"levelNum": 55,
"maxScore": 99999,
"stars": 1
},
{
"levelNum": 56,
"maxScore": 99999,
"stars": 3
},
{
"levelNum": 57,
"maxScore": 34090,
"stars": 2
},
{
"levelNum": 58,
"maxScore": 13030,
"stars": 3
},
{
"levelNum": 59,
"maxScore": 72760,
"stars": 1
},
{
"levelNum": 60,
"maxScore": 16250,
"stars": 1
},
{
"levelNum": 61,
"maxScore": 81870,
"stars": 3
},
{
"levelNum": 62,
"maxScore": 36110,
"stars": 1
},
{
"levelNum": 63,
"maxScore": 28240,
"stars": 3
},
{
"levelNum": 64,
"maxScore": 23910,
"stars": 1
},
{
"levelNum": 65,
"maxScore": 47990,
"stars": 1
},
{
"levelNum": 66,
"maxScore": 60740,
"stars": 3
},
{
"levelNum": 67,
"maxScore": 33670,
"stars": 1
},
{
"levelNum": 68,
"maxScore": 25370,
"stars": 3
},
{
"levelNum": 69,
"maxScore": 11650,
"stars": 0
},
{
"levelNum": 70,
"maxScore": 15910,
"stars": 1
}
], ],
"remainProp": [ "remainProp": [
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment