drawlottery.js.map 20.1 KB
{"version":3,"sources":["webpack:///G:/项目/program/zhongmianprogram/main.js","webpack:///G:/项目/program/zhongmianprogram/pages/homepage/drawlottery.vue?8dc8","webpack:///G:/项目/program/zhongmianprogram/pages/homepage/drawlottery.vue?ee6e","webpack:///G:/项目/program/zhongmianprogram/pages/homepage/drawlottery.vue?7f96","webpack:///G:/项目/program/zhongmianprogram/pages/homepage/drawlottery.vue?6b98","webpack:///G:/项目/program/zhongmianprogram/pages/homepage/drawlottery.vue","webpack:///G:/项目/program/zhongmianprogram/pages/homepage/drawlottery.vue?2e59","webpack:///G:/项目/program/zhongmianprogram/pages/homepage/drawlottery.vue?6d1d"],"names":["createPage","Page","interval","intime","data","color","opa","name","tab","images","btnconfirm","clickLuck","luckPosition","giftshow","methods","tabchange","e","currentTarget","dataset","id","hidegift","input","Number","detail","value","mygift","uni","navigateTo","url","clickLucks","isNaN","showModal","title","content","showCancel","success","res","fail","complete","clearInterval","index","setInterval","stoptime","setTimeout","stop","which","current","i","length","stopLuck","time","splittime","confirmColor","confirm","loadAnimation","onLoad","hideLoading"],"mappings":";;;;;;;;;;kDAAA,wCAAmB;;AAEnB;AACA,4G;AACAA,UAAU,CAACC,oBAAD,CAAV,C;;;;;;;;;;;;;ACJA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA0F;AAC3B;AACL;AACa;;;AAGvE;AAC4H;AAC5H,gBAAgB,0IAAU;AAC1B,EAAE,iFAAM;AACR,EAAE,sFAAM;AACR,EAAE,+FAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACvCf;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACNA;AAAA;AAAA;AAAA;AAAusB,CAAgB,wtBAAG,EAAC,C;;;;;;;;;;;;mICA3tB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,IAAIC,QAAQ,GAAG,IAAf;AACA;AACA,IAAIC,MAAM,GAAG,EAAb,C;AACe;AACdC,MADc,kBACP;AACN,WAAO;AACNC,WAAK,EAAE,CAAC;AACNC,WAAG,EAAE,GADC;AAENC,YAAI,EAAE,IAFA,EAAD;;AAIN;AACCD,WAAG,EAAE,GADN;AAECC,YAAI,EAAE,OAFP,EAJM;;AAQN;AACCD,WAAG,EAAE,GADN;AAECC,YAAI,EAAE,KAFP,EARM;;AAYN;AACCD,WAAG,EAAE,GADN;AAECC,YAAI,EAAE,KAFP,EAZM;;AAgBN;AACCD,WAAG,EAAE,GADN;AAECC,YAAI,EAAE,KAFP,EAhBM;;AAoBN;AACCD,WAAG,EAAE,GAD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CAAC8B,WAAJ;AACA,SAAKF,aAAL;AACA,GAnNa,E;;;;;;;;;;;;;ACzKf;AAAA;AAAA;AAAA;AAA46B,CAAgB,y6BAAG,EAAC,C;;;;;;;;;;;ACAh8B,uC","file":"pages/homepage/drawlottery.js","sourcesContent":["import 'uni-pages';import '@dcloudio/uni-stat';\n\nimport Vue from 'vue'            \nimport Page from './pages/homepage/drawlottery.vue'\ncreatePage(Page)","import { render, staticRenderFns } from \"./drawlottery.vue?vue&type=template&id=3b581654&\"\nimport script from \"./drawlottery.vue?vue&type=script&lang=js&\"\nexport * from \"./drawlottery.vue?vue&type=script&lang=js&\"\nimport style0 from \"./drawlottery.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\n/* hot reload */\nif (module.hot) {\n  var api = require(\"F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n  api.install(require('vue'))\n  if (api.compatible) {\n    module.hot.accept()\n    if (!module.hot.data) {\n      api.createRecord('3b581654', component.options)\n    } else {\n      api.reload('3b581654', component.options)\n    }\n    module.hot.accept(\"./drawlottery.vue?vue&type=template&id=3b581654&\", function () {\n      api.rerender('3b581654', {\n        render: render,\n        staticRenderFns: staticRenderFns\n      })\n    })\n  }\n}\ncomponent.options.__file = \"G:/项目/program/zhongmianprogram/pages/homepage/drawlottery.vue\"\nexport default component.exports","export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./drawlottery.vue?vue&type=template&id=3b581654&\"","var render = function() {\n  var _vm = this\n  var _h = _vm.$createElement\n  var _c = _vm._self._c || _h\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","import mod from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./drawlottery.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./drawlottery.vue?vue&type=script&lang=js&\"","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\n//计数器\nvar interval = null;\n//值越大旋转时间越长  即旋转速度\nvar intime = 50;\nexport default {\n\tdata() {\n\t\treturn {\n\t\t\tcolor: [{\n\t\t\t\t\topa: 0.5,\n\t\t\t\t\tname: \"积分\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\topa: 0.5,\n\t\t\t\t\tname: \"零食大礼包\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\topa: 0.5,\n\t\t\t\t\tname: \"大礼包\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\topa: 0.5,\n\t\t\t\t\tname: \"大礼包\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\topa: 0.5,\n\t\t\t\t\tname: \"大礼包\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\topa: 0.5,\n\t\t\t\t\tname: \"大礼包\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\topa: 0.5,\n\t\t\t\t\tname: \"大礼包\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\topa: 0.5,\n\t\t\t\t\tname: \"大礼包\"\n\t\t\t\t},\n\t\t\t\t\n\t\t\t],\n\t\t\ttab:2,\n\t\t\timages: ['../../static/jichange.png', '../../static/add.png', '../../static/add.png', '../../static/add.png',\n\t\t\t\t'../../static/add.png', '../../static/add.png', '../../static/add.png', '../../static/add.png',\n\t\t\t\t'../../static/doorin.png'\n\t\t\t],\n\t\t\tbtnconfirm: '../../static/dianjichoujiangd.png',\n\t\t\tclickLuck: 'clickLuck',\n\t\t\tluckPosition: 0,\n\t\t\tgiftshow:false\n\t\t}\n\t},\n\tmethods: {\n\t\t// 头部切换\n\t\ttabchange(e){\n\t\t\tthis.tab=e.currentTarget.dataset.id\n\t\t},\n\t\thidegift(){\n\t\t\tthis.giftshow=false\n\t\t},\n\t\tinput: function(e) {\n\t\t\tvar data = Number(e.detail.value);\n\t\t\tthis.luckPosition = data;\n\t\t},\n\t\tmygift(){\n\t\t\tuni.navigateTo({\n\t\t\t\turl:'/pages/homepage/mygift'\n\t\t\t})\n\t\t},\n\t\t//点击抽奖按钮\n\t\tclickLucks: function() {\n\t\t\t\n\t\t\tif (this.clickLuck == 'clickLuck') {\n\t\t\t\tvar e = this;\n\t\t\t\te.giftshow=false\n\t\t\t\t//判断中奖位置格式\n\t\t\t\tif (e.luckPosition == null || isNaN(e.luckPosition) || e.luckPosition > 7) {\n\t\t\t\t\tuni.showModal({\n\t\t\t\t\t\ttitle: '提示',\n\t\t\t\t\t\tcontent: '请填写正确数值',\n\t\t\t\t\t\tshowCancel: false,\n\t\t\t\t\t\tsuccess: res => {},\n\t\t\t\t\t\tfail: () => {},\n\t\t\t\t\t\tcomplete: () => {}\n\t\t\t\t\t});\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\t//设置按钮不可点击\n\t\t\t\te.btnconfirm = '../../static/sherpa-jiugonggedianjichoujiangd.png';\n\t\t\t\te.clickLuck = '';\n\n\t\t\t\t//清空计时器\n\t\t\t\tclearInterval(interval);\n\t\t\t\tvar index = 0;\n\t\t\t\t//循环设置每一项的透明度\n\t\t\t\tinterval = setInterval(function() {\n\t\t\t\t\tif (index > 7) {\n\t\t\t\t\t\tindex = 0;\n\t\t\t\t\t\te.color[7].opa = 0.5\n\t\t\t\t\t} else if (index != 0) {\n\t\t\t\t\t\te.color[index - 1].opa = 0.5\n\t\t\t\t\t}\n\t\t\t\t\te.color[index].opa = 1;\n\t\t\t\t\tindex++;\n\t\t\t\t}, intime);\n\t\t\t\t//模拟网络请求时间  设为两秒\n\t\t\t\tvar stoptime = 2000;\n\t\t\t\tsetTimeout(function() {\n\t\t\t\t\te.stop(e.luckPosition);\n\t\t\t\t}, stoptime)\n\t\t\t}\n\t\t},\n\t\tstop: function(which) {\n\t\t\tvar e = this;\n\t\t\t//清空计数器\n\t\t\tclearInterval(interval);\n\t\t\t//初始化当前位置\n\t\t\tvar current = -1;\n\t\t\tvar color = e.color;\n\t\t\tfor (var i = 0; i < color.length; i++) {\n\t\t\t\tif (color[i].opa == 1) {\n\t\t\t\t\tcurrent = i;\n\t\t\t\t}\n\t\t\t}\n\t\t\t//下标从1开始\n\t\t\tvar index = current + 1;\n\t\t\te.stopLuck(which, index, intime, 10);\n\t\t},\n\t\tstopLuck: function(which, index, time, splittime) {\n\t\t\tvar e = this;\n\t\t\t//值越大出现中奖结果后减速时间越长\n\t\t\tsetTimeout(function() {\n\t\t\t\t//重置前一个位置\n\t\t\t\tif (index > 7) {\n\t\t\t\t\tindex = 0;\n\t\t\t\t\te.color[7].opa = 0.5\n\t\t\t\t} else if (index != 0) {\n\t\t\t\t\te.color[index - 1].opa = 0.5\n\t\t\t\t}\n\t\t\t\t//当前位置为选中状态\n\t\t\t\te.color[index].opa = 1;\n\t\t\t\t//如果旋转时间过短或者当前位置不等于中奖位置则递归执行\n\t\t\t\t//直到旋转至中奖位置\n\t\t\t\tif (time < 400 || index != which) {\n\t\t\t\t\t//越来越慢\n\t\t\t\t\tsplittime++;\n\t\t\t\t\ttime += splittime;\n\t\t\t\t\t//当前位置+1\n\t\t\t\t\tindex++;\n\t\t\t\t\te.stopLuck(which, index, time, splittime);\n\t\t\t\t} else {\n\t\t\t\t\t//1秒后显示弹窗\n\t\t\t\t\tsetTimeout(function() {\n\t\t\t\t\t\tif (which == 0) {\n\t\t\t\t\t\t\te.giftshow=true;\n\t\t\t\t\t\t\te.clickLuck = 'clickLuck';\n\t\t\t\t\t\t\t//中奖\n\t\t\t\t\t\t\t// uni.showModal({\n\t\t\t\t\t\t\t// \tcontent: '恭喜获得:' + e.color[which].name,\n\t\t\t\t\t\t\t// \tshowCancel: false,\n\t\t\t\t\t\t\t// \tconfirmColor: \"#F8C219\",\n\t\t\t\t\t\t\t// \tsuccess: res => {\n\t\t\t\t\t\t\t// \t\tif (res.confirm) {\n\t\t\t\t\t\t\t// \t\t\t//设置按钮可以点击\n\t\t\t\t\t\t\t// \t\t\te.btnconfirm = '../../static/sherpa-jiugonggedianjichoujiang.png';\n\t\t\t\t\t\t\t// \t\t\te.clickLuck = 'clickLuck';\n\t\t\t\t\t\t\t// \t\t\te.loadAnimation();\n\t\t\t\t\t\t\t// \t\t}\n\t\t\t\t\t\t\t// \t},\n\t\t\t\t\t\t\t// \tfail: () => {},\n\t\t\t\t\t\t\t// \tcomplete: () => {}\n\t\t\t\t\t\t\t// });\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t//未中奖\n\t\t\t\t\t\t\tuni.showModal({\n\t\t\t\t\t\t\t\tcontent: '很遗憾未中奖',\n\t\t\t\t\t\t\t\tshowCancel: false,\n\t\t\t\t\t\t\t\tconfirmColor: \"#F8C219\",\n\t\t\t\t\t\t\t\tsuccess: res => {\n\t\t\t\t\t\t\t\t\tif (res.confirm) {\n\t\t\t\t\t\t\t\t\t\t//设置按钮可以点击\n\t\t\t\t\t\t\t\t\t\te.btnconfirm = '../../static/sherpa-jiugonggedianjichoujiang.png';\n\t\t\t\t\t\t\t\t\t\te.clickLuck = 'clickLuck';\n\t\t\t\t\t\t\t\t\t\te.loadAnimation();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tfail: () => {},\n\t\t\t\t\t\t\t\tcomplete: () => {}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t}, 1000);\n\t\t\t\t}\n\t\t\t}, time);\n\t\t},\n\t\tloadAnimation: function() {\n\t\t\tvar e = this;\n\t\t\tvar index = 0;\n\t\t\tif (interval == null) {\n\t\t\t\tinterval = setInterval(function() {\n\t\t\t\t\tif (index > 7) {\n\t\t\t\t\t\tindex = 0;\n\t\t\t\t\t\te.color[7].opa = 0.5\n\t\t\t\t\t} else if (index != 0) {\n\t\t\t\t\t\te.color[index - 1].opa = 0.5\n\t\t\t\t\t}\n\t\t\t\t\te.color[index].opa = 1;\n\t\t\t\t\tindex++;\n\t\t\t\t}, 1000);\n\t\t\t}\n\t\t}\n\t},\n\tonLoad() {\n\t\tuni.hideLoading()\n\t\tthis.loadAnimation();\n\t}\n}\n","import mod from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\index.js??ref--6-oneOf-1-2!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./drawlottery.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\index.js??ref--6-oneOf-1-2!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-custom-block-loader\\\\index.js??ref--0-1!F:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./drawlottery.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin"],"sourceRoot":""}