Commit 4f211c0b authored by wjf's avatar wjf

l

parent b44f3847
import { LotteryData } from "../../../libs/tw/data/common/lottery/LotteryData";
import ImgSizeType from "./ImgSizeType";
import { LotteryType } from "../../../libs/tw/enum/LotteryType"
const getOptionImgSize = (lottery: LotteryData) => {
return ImgSizeType.BIG
}
// const getOptionImgSize = (lottery: LotteryData) => {
// let size:string;
// if (
// lottery.type == LotteryType.VIRTUAL ||
// lottery.type == LotteryType.OBJECT) {
// size = ImgSizeType.SMALL
// } else {
// size = ImgSizeType.BIG;
// }
// return size;
// return ImgSizeType.BIG
// }
const getOptionImgSize = (lottery: LotteryData) => {
let size: string;
if (
lottery.type == LotteryType.VIRTUAL ||
lottery.type == LotteryType.OBJECT ||
lottery.type == LotteryType.ALIPAY ||
lottery.type == LotteryType.QB ||
lottery.type == LotteryType.PHONEBILL) {
size = ImgSizeType.SMALL
} else {
size = ImgSizeType.BIG;
}
return size;
}
export default getOptionImgSize
\ No newline at end of file
......@@ -43,6 +43,6 @@
"customInfo": {
"isLuckyStar": true
},
"success": false,
"success": true,
"logId": 81338132946820
}
\ 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