Commit 810f11bf authored by 邱旭's avatar 邱旭

Merge branch 'dev' of http://gitlab2.dui88.com/wanghongyuan/xiaoxiaole into dev

parent 1e2c853e
...@@ -2210,21 +2210,6 @@ export class NetManager extends ABNetManager { ...@@ -2210,21 +2210,6 @@ export class NetManager extends ABNetManager {
this.send(net); this.send(net);
} }
public getSignConfig(callback: Function): void {
const net: INetData = {
name: 'getSignConfig',
uri: window['duiba'] + '/customActivity/happyclear/getSignConfig',
type: 'get',
dataType: 'json',
hideMsg: true,
param: {
activityId: DataManager.ins.customCfgData.actId
},
callback: callback
};
this.send(net);
}
/** /**
* 获取邀请码 * 获取邀请码
* @param callback * @param callback
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<e:Skin class="SignSkin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing"> <e:Skin class="SignSkin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<e:Image source="signbg_png" y="66.75" horizontalCenter="0"/> <e:Image source="signbg_png" y="66.75" horizontalCenter="0"/>
<e:Button id="closeBtn" label="" x="630" y="211.77"> <e:Button id="closeBtn" label="" x="632" y="257.77">
<e:skinName> <e:skinName>
<e:Skin states="up,down,disabled" xmlns:w="http://ns.egret.com/wing"> <e:Skin states="up,down,disabled" xmlns:w="http://ns.egret.com/wing">
<e:Image width="100%" height="100%" source="closeCommonBtn_png" source.down="closeCommonBtn_png" source.disabled="closeCommonBtn_png"/> <e:Image width="100%" height="100%" source="closeCommonBtn_png" source.down="closeCommonBtn_png" source.disabled="closeCommonBtn_png"/>
......
...@@ -10,6 +10,7 @@ import PanelCtrl from "../../libs/new_wx/ctrls/panelCtrl"; ...@@ -10,6 +10,7 @@ import PanelCtrl from "../../libs/new_wx/ctrls/panelCtrl";
import { getlogItem } from "../Main"; import { getlogItem } from "../Main";
import {hortileLayout} from "../layout/hortileLayout"; import {hortileLayout} from "../layout/hortileLayout";
import Utils from "../Utils"; import Utils from "../Utils";
import { NetName } from "../../libs/tw/enum/NetName";
export default class SignPanel extends Panel { export default class SignPanel extends Panel {
list: eui.List; list: eui.List;
...@@ -134,9 +135,10 @@ export default class SignPanel extends Panel { ...@@ -134,9 +135,10 @@ export default class SignPanel extends Panel {
// { nums: 'x1', type: 'steps' }, // { nums: 'x1', type: 'steps' },
// { nums: '0.3元', type: 'quan30' } // { nums: '0.3元', type: 'quan30' }
private getConfigs() { private getConfigs() {
const getSignConfig = DataManager.ins.getData('getSignConfig'); let config = DataManager.ins.getData(NetName.GET_CONFIG).data;
if (getSignConfig && getSignConfig.data && getSignConfig.data.sixDaysBeforeOptions && getSignConfig.data.theSeventhDayOptions) { let getSignConfig = config && config.signConf;
const { sixDaysBeforeOptions, theSeventhDayOptions } = getSignConfig.data; if (getSignConfig && getSignConfig.sixDaysBeforeOptions && getSignConfig.theSeventhDayOptions) {
const { sixDaysBeforeOptions, theSeventhDayOptions } = getSignConfig;
const result = []; const result = [];
sixDaysBeforeOptions.forEach(option => { //todo假设按天数排序 sixDaysBeforeOptions.forEach(option => { //todo假设按天数排序
//类型 2 次数,3 道具,4 元宝,5其他 //类型 2 次数,3 道具,4 元宝,5其他
......
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