Commit 888e49c3 authored by 邱旭's avatar 邱旭

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

parents 0482083f 8667bcfe
...@@ -166,9 +166,9 @@ export default class Turntable extends Panel { ...@@ -166,9 +166,9 @@ export default class Turntable extends Panel {
PanelCtrl.instance.show("TurntableNoPrizePanel", {type: 3}); PanelCtrl.instance.show("TurntableNoPrizePanel", {type: 3});
} else { } else {
loadSvga(getResPath() + 'resource/assets/svgas/turnprize.svga').then(async (mv: any) => { loadSvga(getResPath() + 'resource/assets/svgas/turnprize.svga').then(async (mv: any) => {
let _data = Utils.deepClone(data); // let _data = Utils.deepClone(data);
_data.mv = mv; data.mv = mv;
PanelCtrl.instance.show('TurnPrizePanel', _data); PanelCtrl.instance.show('TurnPrizePanel', data);
}); });
} }
}); });
......
...@@ -37,6 +37,8 @@ export default class TurnPrizePanel extends Panel { ...@@ -37,6 +37,8 @@ export default class TurnPrizePanel extends Panel {
updateOption(option: any) { updateOption(option: any) {
const { categoryType, img, num, propType } = option;// 2次数 3道具 4元宝 5实物 6优惠券 7虚拟商品 const { categoryType, img, num, propType } = option;// 2次数 3道具 4元宝 5实物 6优惠券 7虚拟商品
this['propnums'].text = 'x1';
if(num)
this['propnums'].text = 'x' + num; this['propnums'].text = 'x' + num;
switch (categoryType) { switch (categoryType) {
case 2: case 2:
......
{ {"success":true,"code":"0000000000","desc":"OK","timestamp":1572269035379,"data":{"isScratchCard":false,"option":{"id":"","day":null,"categoryType":3,"title":"11","rate":"11","minValue":null,"maxValue":null,"coinType":null,"propType":2,"num":null,"img":"","appItemId":null,"name":"","value":""},"orderNum":null}}
"success": true, \ No newline at end of file
"code": "0000000000",
"desc": "OK",
"timestamp": 1572262646931,
"data": {
"isScratchCard": false,
"option": null,
"orderNum": null
}
}
\ 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