Commit d38c0088 authored by wildfirecode's avatar wildfirecode

1

parent 464acbfa
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="NewFile" width="400" height="300" xmlns:e="http://ns.egret.com/eui">
</e:Skin>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="SloganSkin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<e:Image source="slogan_bg_png" y="222" horizontalCenter="0"/>
<e:Image id="btn" source="slogan_btn_png" y="636" horizontalCenter="0"/>
<e:Image id="closeBtn" source="关闭按钮 _png" x="652" y="139"/>
</e:Skin>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<e:Skin class="ShareSkin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<e:Group x="0" verticalCenter="0">
<e:Image source="teamshare_bg_jpg" x="0" scaleX="1" scaleY="1"/>
<e:Image id="btn" source="teamshare_btn_png" y="847" horizontalCenter="0.5" x="180" scaleX="1" scaleY="1"/>
</e:Group>
</e:Skin>
\ No newline at end of file
...@@ -36,6 +36,12 @@ export enum ModuleTypes { ...@@ -36,6 +36,12 @@ export enum ModuleTypes {
PKRULE_PANEL, PKRULE_PANEL,
CertificateScene,
ConfirmPanel,
JoinShareScene,
Share2Scene,
ShareStarterScene,
TransRecordPanel,
TOAST TOAST
} }
\ No newline at end of file
import Scene from "../views/Scene";
import PanelCtrl from "../ctrls/panelCtrl";
import { ModuleTypes } from "../types/sceneTypes";
export default class ShareStarterScene extends Scene {
protected get skinKey() { return 'ShareStarter' }
constructor(data) {
super();
this.initUI(data);
}
initUI(data) {
}
onTap_sharebtn() {
}
onTap_transbtn() {
PanelCtrl.instance.show(ModuleTypes.TransRecordPanel)
}
initEvents() {
this.onTap(this['transbtn'], this.onTap_transbtn);
this.onTap(this['sharebtn'], this.onTap_sharebtn);
}
}
\ No newline at end of file
import Panel from "../views/Panel";
export default class SloganPanel extends Panel {
protected get skinKey() { return 'Slogan' }
constructor(data) {
super();
this.initUI();
}
initUI() {
}
initEvents() {
super.initEvents();
this.onTap(this['btn'], this.onTap_btn);
}
onTap_btn() {
console.log('onTap_btn');
}
}
\ No newline at end of file
import Scene from "../views/Scene";
import PanelCtrl from "../ctrls/panelCtrl";
import { ModuleTypes } from "../types/sceneTypes";
export default class TeamShareScene extends Scene{
protected get skinKey(){return 'TeamShare'}
constructor(data){
super();
this.initUI(data);
}
initUI(data){
}
onTap_btn(){
}
initEvents(){
this.onTap(this['btn'],this.onTap_btn);
}
}
\ No newline at end of file
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