(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-around-index"],{"0a58":function(t,i,a){"use strict";var e=a("1e2c"),s=a.n(e);s.a},"10e9":function(t,i,a){"use strict";a.r(i);var e=a("6c10"),s=a("ff14");for(var n in s)["default"].indexOf(n)<0&&function(t){a.d(i,t,(function(){return s[t]}))}(n);a("0a58");var r=a("f0c5"),c=Object(r["a"])(s["default"],e["b"],e["c"],!1,null,"719b56de",null,!1,e["a"],void 0);i["default"]=c.exports},"1e2c":function(t,i,a){var e=a("e5e9");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var s=a("4f06").default;s("0a34ae2a",e,!0,{sourceMap:!1,shadowMode:!1})},"6c10":function(t,i,a){"use strict";a.d(i,"b",(function(){return e})),a.d(i,"c",(function(){return s})),a.d(i,"a",(function(){}));var e=function(){var t=this,i=t.$createElement,a=t._self._c||i;return a("v-uni-view",{staticClass:"around"},[t.ismask?a("v-uni-view",{staticClass:"mask flex_items flex_center",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.closemsk.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"mk plr50 pos flex_column flex_items"},[a("v-uni-view",{staticClass:"f40 abs bold",staticStyle:{color:"#CA7340",top:"24rpx"}},[t._v("活动规则")]),a("v-uni-view",{staticClass:"plr50 flex_column f24",staticStyle:{color:"#2B6DA8"}},[a("v-uni-view",{staticStyle:{"margin-top":"130rpx"}},[t._v("1.【活动时间】2023年11月1日至2023年12月31日。")]),a("v-uni-view",{staticClass:"mt20"},[t._v("2.【活动内容】此为文字内容此为文字内容此为文字内容此为文字内容此为文字内容此为文字内容此为文字内容此为文字内容此为文字内容此为文字内容此为文字内容此为文字内容此为文字内容。")]),a("v-uni-view",{staticClass:"mt20"},[t._v("3.【活动细则】此为文字内容此为文字内容此为文字内容此为文字内容此为文字内容此为文字内容此为文字内容此为文字内容此为文字内容此为文字内容此为文字内容此为文字内容此为文字内容。")]),a("v-uni-view",{staticClass:"mt20"},[t._v("4【活动细则】此为文字内容此为文字内容此为文字内容此为文字内容此为文字内容此为文字内容此为。")])],1),a("v-uni-image",{staticClass:"abs",staticStyle:{width:"52rpx",height:"52rpx",bottom:"-100rpx"},attrs:{src:t.imgUrl+"cha.png",mode:""},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.closemsk.apply(void 0,arguments)}}})],1)],1):t._e(),t.ismask2?a("v-uni-view",{staticClass:"mask flex_items flex_center"},[a("v-uni-view",{staticClass:"mk2 plr50 flex_column flex_items pos"},["很遗憾,未中奖"!=t.jiang?a("v-uni-view",{staticClass:"f36 bold",staticStyle:{color:"#003A6E","margin-top":"150rpx"}},[t._v("恭喜您获得")]):t._e(),a("v-uni-view",{staticClass:"f40",staticStyle:{color:"#003A6E","margin-top":"150rpx"}},[t._v(t._s(t.jiang))]),a("v-uni-view",{staticClass:"mt30 f24",staticStyle:{color:"#003A6E"}},[t._v("请到【我的奖品】中查看")]),a("v-uni-view",{staticClass:"flex_items flex_center btnl mt40",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.gomyp.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"f32",staticStyle:{color:"#fff"}},[t._v("确认")])],1),a("v-uni-image",{staticClass:"abs",staticStyle:{width:"52rpx",height:"52rpx",bottom:"-100rpx"},attrs:{src:t.imgUrl+"cha.png",mode:""},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.closemsk.apply(void 0,arguments)}}})],1)],1):t._e(),a("v-uni-view",{staticClass:"flex_column flex_items"},[a("v-uni-view",{staticClass:"mt80"},[a("v-uni-image",{staticStyle:{width:"600rpx",height:"126rpx"},attrs:{src:t.imgUrl+"zzz.png",mode:""}})],1),a("v-uni-view",{staticClass:"mt20 f32",staticStyle:{color:"#fff"}},[t._v("刮出积分礼")])],1),a("v-uni-view",{staticClass:"flex_between flex_items"},[a("v-uni-view"),a("v-uni-view",{staticClass:"flex_column flex_items mt30"},[a("v-uni-view",{staticClass:"tagr flex_items flex_center",staticStyle:{color:"#fff","z-index":"8"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.openmask.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"f24"},[t._v("活动规则")]),a("v-uni-image",{staticClass:"ml10",staticStyle:{width:"22rpx",height:"20rpx"},attrs:{src:t.imgUrl+"rightg.png",mode:""}})],1),a("v-uni-view",{staticClass:"tagr flex_items flex_center mt20",staticStyle:{color:"#fff","z-index":"8"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.gomyp.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"f24"},[t._v("我的奖品")]),a("v-uni-image",{staticClass:"ml10",staticStyle:{width:"22rpx",height:"20rpx"},attrs:{src:t.imgUrl+"rightg.png",mode:""}})],1)],1)],1),a("v-uni-view",{staticClass:"flex_center flex_items pos"},[a("v-uni-view",{staticClass:"abs tit f-center f22",staticStyle:{color:"#fff"}},[t._v("已有200000人参与")]),a("v-uni-view",{staticClass:"flex_warp flex_items abs",staticStyle:{left:"50%",transform:"translate(-50%)",width:"350rpx",height:"300rpx",top:"96rpx"}},[t._l(t.prizeList,(function(i,e){return e<6?[a("v-uni-image",{key:e+"_0",staticClass:"prize",class:t.currentIndex==e?"active":"",style:{width:"40rpx",height:"50rpx","margin-left":"20rpx","margin-right":2==e||5==e?"0":"80rpx"},attrs:{src:t.imgUrl+"hb.png"}})]:t._e()}))],2),a("v-uni-view",{staticClass:"t2",staticStyle:{color:"#fff"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.start.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"flex_column flex_items abs",staticStyle:{bottom:"112rpx",left:"50%",transform:"translateX(-50%)"}},[a("v-uni-text",{staticClass:"f44 bold",staticStyle:{color:"#fff"}},[t._v("点我开始")]),a("v-uni-text",{staticClass:"f20",staticStyle:{color:"#fff"}},[t._v("剩余"+t._s(t.times)+"次抽奖机会")])],1)],1)],1),a("v-uni-view",{staticClass:"flex_items flex_center"},[a("v-uni-view",{staticClass:"t3 pos"},[a("v-uni-text",{staticClass:"abs f32 bold",staticStyle:{color:"#E05942",left:"50%",transform:"translate(-50%)",top:"10rpx"}},[t._v("中奖名单")]),a("v-uni-view",{staticClass:"mt30 ptb30"},[a("div",{staticClass:"marquee"},[a("div",{ref:"marquee_box",staticClass:"marquee_box"},[a("div",{staticClass:"marquee_list",class:{marquee_top:t.animate}},[a("div",{staticClass:"flex_items flex_column"},t._l(t.zjlist,(function(i,e){return a("div",{key:e,staticClass:"mt30 flex_start flex_items",staticStyle:{width:"100%",color:"#E57524"}},[a("v-uni-text",{staticClass:"f24 ml10"},[t._v("恭喜:"+t._s(i.user_name)+"的用户获得")]),a("v-uni-text",{staticClass:"f24"},[t._v(t._s(i.prize))])],1)})),0)])])])])],1)],1),a("v-uni-view",{staticStyle:{width:"100%",height:"30rpx"}}),a("Ywatermark",{attrs:{info:"蓝色兄弟"}})],1)},s=[]},d025:function(t,i,a){"use strict";a("7a82"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,a("d3b7"),a("159b"),a("a9e3"),a("14d9");var e={data:function(){return{zjlist:[],animate:!1,showNum:10,ismask:!1,ismask2:!1,acid:"",currentIndex:0,runIndexList:[0,1,2,4,5,3],lastRunStepList:[0,1,2,3,5,4],btnDisabled:!1,prizeList:[],jiang:"",chosejp:0,times:0,imgUrl:""}},onLoad:function(t){this.acid=t.id,this.imgUrl=this.api.imgUrl,this.getData()},created:function(){setInterval(this.showMarquee,2e3)},mounted:function(){this.$refs.marquee_box.style.height=30*this.showNum+"px"},methods:{getData:function(t){var i=this;uni.showLoading({title:"加载中..."}),this.api.getdatas({id:this.acid}).then((function(t){console.log(t),200==t.data.code?(i.zjlist=t.data.data.win_list,i.prizeList=t.data.data.prizes,t.data.data.left_num.limit?(i.times=t.data.data.left_num.num,uni.hideLoading()):i.times=9999,uni.hideLoading(),i.istrue=!0):(uni.hideLoading(),i.istrue=!0,uni.showToast({title:t.data.message,icon:"none"}))}))},getover:function(){var t=this;t.api.getover({id:t.acid}).then((function(i){console.log(i),200==i.data.code?0!=i.data.data.length?t.prizeList.forEach((function(a,e){a.prize_id==i.data.data.prize_id&&(t.chosejp=e,t.startchou())})):(t.chosejp=3,t.startchou("未中奖")):(t.istrue=!0,uni.showToast({title:i.data.message,icon:"none"}))}))},startchou:function(t){var i=this,a=10,e=0,s=setInterval((function(){if(a--,e++,i.currentIndex=i.runIndexList[e%6],a<2*i.prizeList.length){clearInterval(s);var n=setInterval((function(){if(a--,e++,i.currentIndex=i.runIndexList[e%6],a<1*i.prizeList.length-3){clearInterval(n);var s=setInterval((function(){a--,e++,i.currentIndex=i.chosejp,a<=0&&(clearInterval(s),i.btnDisabled=!1,i.jiang=t?"很遗憾,未中奖":"".concat(i.prizeList[i.currentIndex].name),i.ismask2=!0)}),400)}}),200)}}),100)},start:function(){this.getover()},getResultIndex:function(){var t=0;for(var i in this.prizeList)t+=Number(this.prizeList[i].chance?this.prizeList[i].chance:1);var a=Math.random(),e=0,s=0;for(var n in this.prizeList)if(s+=Number(this.prizeList[n].chance)/t,a