Commit bf12145e authored by zhangjinzhou's avatar zhangjinzhou

去掉更新必读

parent 1c9e9460
......@@ -83,7 +83,7 @@
<div id="mainDiv" style="margin: auto;width: 100%;height: 100%; background: #ff00ff;" class="egret-player"
data-entry-class="Main" data-orientation="auto" data-scale-mode="showAll" data-frame-rate="60"
data-content-width="750" data-content-height="1624" data-multi-fingered="2" data-show-fps="true"
data-content-width="750" data-content-height="1624" data-multi-fingered="2" data-show-fps="false
data-show-log="false" data-show-fps-style="x:0,y:0,size:12,textColor:0xffffff,bgAlpha:0.9">
</div>
<img id="shareImg" />
......
......@@ -19,7 +19,7 @@
</e:Skin>
</ns1:skinName>
</ns1:MButton>
<ns1:MButton id="btnMustRead" label="更新必读" x="20.22" y="68.4">
<ns1:MButton id="btnMustRead" label="更新必读" x="20.22" y="68.4" visible="false">
<ns1:skinName>
<e:Skin states="up,down,disabled">
<e:Image id="image" width="100%" height="100%" source="start_btn_bg_png" />
......
......@@ -36,6 +36,7 @@ export default class StartScene extends Scene {
onSkinComplete() {
super.onSkinComplete();
this.btnMustRead.visible = false;
let div = document.getElementById("mainDiv");
const test = (node: egret.DisplayObject, childIndex: number, color: string) => {
......@@ -58,12 +59,12 @@ export default class StartScene extends Scene {
PanelCtrl.instance.show(RankListPanel, { defaultToggle: 1 });
});
this.btnMustRead.image.filters = [new egret.ColorMatrixFilter([
1, 1, 0, 0, 40,
0, 0, 0, 0, 40,
1, 0, 0, 0, 40,
0, 0, 0, 1, 0
])];
// this.btnMustRead.image.filters = [new egret.ColorMatrixFilter([
// 1, 1, 0, 0, 40,
// 0, 0, 0, 0, 40,
// 1, 0, 0, 0, 40,
// 0, 0, 0, 1, 0
// ])];
this.btnRule.onTap(this, () => {
PanelCtrl.instance.show(RulePanel, { msg: MConfigs.rule });
......@@ -94,9 +95,9 @@ export default class StartScene extends Scene {
});
});
this.btnMustRead.onTap(this, () => {
location.href = "http://activity.m.duiba.com.cn/customShare/share?id=3530";
});
// this.btnMustRead.onTap(this, () => {
// location.href = "http://activity.m.duiba.com.cn/customShare/share?id=3530";
// });
this.btnStart.onOnceTap(this, (resume) => {
let leftTimes = this.leftTimes;
......
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