var tools = {
	showDefaultImg: function(type) {
		var src = '';
		switch(type) {
			case 1: { //积分
				src = 'miniapp/images/luckDraw/jf.png';
				break;
			};
			case 2: { //成长值
				src = 'miniapp/images/luckDraw/czz.png';
				break;
			};
			case 3: { //优惠券
				src = 'miniapp/images/luckDraw/yhq.png';
				break;
			};
			case 4: { //服务项目
				src = 'miniapp/images/luckDraw/fw.png';
				break;
			};
			case 5: { //赠品
				src = 'miniapp/images/luckDraw/zp.png';
				break;
			};
			case 6: { //礼包
				src = 'miniapp/images/luckDraw/lb.png';
				break;
			};
			case 7: { //礼包
				src = 'miniapp/images/luckDraw/ylb.png';
				break;
			};
		};
		return src;
	},
};

module.exports = {
	showDefaultImg: tools.showDefaultImg,
}