SOURCE

var lotteryVo ={
    "title": "抽奖",
    "bgImage": "https://dss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=1808639024,3139822447&fm=26&gp=0.jpg",
    "initImage": "https://dss1.bdstatic.com/70cFuXSh_Q1YnxGkpoWK1HF6hhy/it/u=1808639024,3139822447&fm=26&gp=0.jpg",
    "rule": "抽奖规则",
    "termService": "抽奖法务条款",
    "buttonText": "点击抽奖",
    "timePeriod": "2020-04-20:2020-04-30",
    "market": "Y",
    "city": "",
    "store": "NJG211",
    "linkId": "",
    "itemType": "",
    "activityType": "2,3",
    "activityTag": "",
    "activityId": "13be7f0b6383401c993704dd908dca6f",
    "winTitle": "恭喜您,获得$title$,奖品为$name$",
    "winDescSwlp": "请凭KFC注册手机号,前往小米官网领取",
    "winDescSwdyq": "请凭KFC注册手机号,前往卢米埃影城领取",
    "winDescYhq": "请查收优惠券",
    "winDescDyq": "请查收电影券",
    "winDescVGold": "请查收V金",
    "loseTitle": "抱歉,您没有抽中小米手环",
    "loseDesc": "谢谢您的参与~",
    "detailButtonText": "抽奖",
    "detailLotteryTip": "订单完成后即可抽奖",
    "starttime":"2020/1/16 10:00:00",
    "endtime":"2020/5/10 00:00:00"
};

let spliceDesc = 'winDesc' + "Swlp"; // winDescSwlp
var winDesc = lotteryVo[spliceDesc];

console.log(winDesc)
console 命令行工具 X clear

                    
>
console