Commit acbce1cf authored by 邱旭's avatar 邱旭

1

parent 01c7408c
......@@ -123,13 +123,13 @@
</script>
<script>
window['signconfigs'] = [
{nums: '0.08元', type: 'quan8'},
{nums: '0.10元', type: 'quan10'},
{nums: '*1', type: 'hammer'},
{nums: '0.12元', type: 'quan12'},
{nums: '0.15元', type: 'quan15'},
{nums: '*1', type: 'boom'},
{nums: '0.16元', type: 'quan16'},
{nums: '0.23元', type: 'quan23'},
{nums: '*1', type: 'steps'},
{nums: '0.28元', type: 'quan28'}
{nums: '0.36元', type: 'quan36'}
];
// localStorage.clear();
window['imgver'] = '11112'
......
......@@ -73,7 +73,7 @@
"name": "exchange"
},
{
"keys": "signitem_png,signicon6_png,signicon5_png,signicon4_png,signicon3_png,signicon2_png,signicon_blood_png,signbtn4_png,signbtn3_png,signbtn2_png,signbtn1_png,signbg_png,sign_quan88_png,sign_quan8_png,sign_quan58_png,sign_quan38_png,sign_quan28_png,sign_quan16_png,sign_quan15_png,sign_quan12_png,sign_line2_png,sign_line_png,sign_light_png,sign_icon1_png",
"keys": "signitem_png,signicon6_png,signicon5_png,signicon4_png,signicon3_png,signicon2_png,signicon_blood_png,signbtn4_png,signbtn3_png,signbtn2_png,signbtn1_png,signbg_png,sign_quan88_png,sign_quan8_png,sign_quan58_png,sign_quan38_png,sign_quan28_png,sign_quan16_png,sign_quan15_png,sign_quan12_png,sign_line2_png,sign_line_png,sign_light_png,sign_icon1_png,sign_quan10_png,sign_quan23_png,sign_quan36_png",
"name": "sign"
},
{
......@@ -3675,6 +3675,21 @@
"url": "assets/map/txtbg_purple.png",
"type": "image",
"name": "txtbg_purple_png"
},
{
"url": "assets/sign/sign_quan10.png",
"type": "image",
"name": "sign_quan10_png"
},
{
"url": "assets/sign/sign_quan23.png",
"type": "image",
"name": "sign_quan23_png"
},
{
"url": "assets/sign/sign_quan36.png",
"type": "image",
"name": "sign_quan36_png"
}
]
}
\ No newline at end of file
......@@ -14,6 +14,9 @@
<e:Image id="blood" x="98.04" y="60.35" source="signicon_blood_png" visible="false"/>
<e:Image id="random" x="98.73" y="50.4" source="signicon6_png" visible="false"/>
<e:Image id="quan15" x="95.42" y="56.76" anchorOffsetX="0" anchorOffsetY="0" height="79.34" source="sign_quan15_png" visible="false"/>
<e:Image id="quan10" x="95" y="56" anchorOffsetX="0" anchorOffsetY="0" height="79.34" source="sign_quan10_png" visible="false"/>
<e:Image id="quan23" x="95" y="56" anchorOffsetX="0" anchorOffsetY="0" height="79.34" source="sign_quan23_png" visible="false"/>
<e:Image id="quan36" x="95" y="56" anchorOffsetX="0" anchorOffsetY="0" height="79.34" source="sign_quan36_png" visible="false"/>
<e:Image id="quan38" x="95.42" y="56.76" anchorOffsetX="0" anchorOffsetY="0" source="sign_quan38_png" visible="false"/>
<e:Image id="quan58" x="99.42" y="56.76" anchorOffsetX="0" anchorOffsetY="0" source="sign_quan58_png" visible="false"/>
<e:Image id="quan12" source="sign_quan12_png" x="95" y="56" visible="false"/>
......
import Panel from "../../../libs/new_wx/components/Panel";
import getSkinPath from "../../../libs/new_wx/utils/getSkinPath";
import log = egret.log;
import { createRedBagIcon } from "../../mapScene/RedBagAni";
import nrSetRenderMode = egret_native.nrSetRenderMode;
import { NetName } from "../../../libs/tw/enum/NetName";
import { NetManager } from "../../../libs/tw/manager/NetManager";
import PanelCtrl from "../../../libs/new_wx/ctrls/panelCtrl";
import { ModuleTypes } from "../../../libs/new_wx/types/sceneTypes";
import Bitmap = egret.Bitmap;
export default class TaskCenter extends Panel {
public closeBtn: eui.Button;
......@@ -60,12 +57,12 @@ export default class TaskCenter extends Panel {
* 任务中心列表
*/
class TaskCenterItem extends eui.ItemRenderer {
public taskImg:eui.Image;
public title:eui.Label;
public remark:eui.Label;
public btnGroup:eui.Group;
public btnImg:eui.Image;
public btnLabel:eui.Label;
public taskImg: eui.Image;
public title: eui.Label;
public remark: eui.Label;
public btnGroup: eui.Group;
public btnImg: eui.Image;
public btnLabel: eui.Label;
constructor() {
super();
......@@ -104,7 +101,6 @@ class TaskCenterItem extends eui.ItemRenderer {
}
PanelCtrl.instance.show('taskCenterPrize', res.data);
}, this.data.subActivityId);
}, this);
} else if(done < limit) { // 已完成
this.btnImg.source = 'TaskCenter_' + 'goTask' + 'Btn_png';
......@@ -112,7 +108,7 @@ class TaskCenterItem extends eui.ItemRenderer {
this.btnLabel.strokeColor = 0x1376df;
this.btnGroup.addEventListener(egret.TouchEvent.TOUCH_TAP, () => {
// 跳转任务链接
window.location.href = this.data.appIncompletelink;
window.location.assign(this.data.appIncompletelink);
}, this);
} else {
this.btnImg.source = 'TaskCenter_' + 'done' + 'Btn_png';
......
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