frontend_h5/static/js/pages-award-index.0b454d37.js

1 line
9.8 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-award-index"],{2985:function(t,i,e){var s=e("ccb8");s.__esModule&&(s=s.default),"string"===typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);var a=e("4f06").default;a("081b59a5",s,!0,{sourceMap:!1,shadowMode:!1})},"35ec":function(t,i,e){"use strict";e.r(i);var s=e("f358"),a=e("5928");for(var n in a)["default"].indexOf(n)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(n);e("e6aa");var c=e("f0c5"),o=Object(c["a"])(a["default"],s["b"],s["c"],!1,null,"552ea9f0",null,!1,s["a"],void 0);i["default"]=o.exports},4755:function(t,i,e){"use strict";e("7a82"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var s={data:function(){return{form:{phone:"",code:""},code:"",codemsg:"获取验证码",int:null,ismask2:!1,ismask:!1,imgUrl:"",imgcode:""}},onLoad:function(){this.imgUrl=this.api.imgUrl,this.getimgcode()},methods:{getimgcode:function(){this.imgcode=this.api.imgUrl2+"?tike="+Math.round(1e6*Math.random())},getcode:function(){var t=this;if(""==t.form.phone)return uni.showToast({title:"请输入手机号",icon:"none"}),!1;"获取验证码"!=t.codemsg&&"重新发送"!=t.codemsg||(t.codemsg=5,t.comecode(),t.int=setInterval((function(){t.codemsg-=1,0==t.codemsg&&(clearInterval(t.int),t.codemsg="重新发送")}),1e3))},comecode:function(){var t=this;this.api.getcode({phone:this.form.phone,serial_number:"655b0f130468bbmcwng",code:this.code}).then((function(i){console.log(i),200==i.data.code?uni.hideLoading():uni.showToast({title:i.data.message,icon:"none"}),t.istrue=!0}))},submitgo:function(){var t=this;uni.showLoading({title:"兑换中..."}),this.api.getgift({phone:this.form.phone,serial_number:"655b0f12f1243gnxehu",code:this.form.code}).then((function(i){console.log(i),200==i.data.code?(uni.showToast({title:"兑换成功",icon:"success"}),t.ismask2=!0,uni.hideLoading()):uni.showToast({title:i.data.message,icon:"none"})}))},zhi:function(t){"zhi"==t?(this.ismask=!1,this.ismask2=!1):(this.ismask2=!1,this.ismask=!0)},closemsk:function(){this.ismask=!1,this.ismask2=!1}}};i.default=s},5928:function(t,i,e){"use strict";e.r(i);var s=e("4755"),a=e.n(s);for(var n in s)["default"].indexOf(n)<0&&function(t){e.d(i,t,(function(){return s[t]}))}(n);i["default"]=a.a},ccb8:function(t,i,e){var s=e("24fb");i=s(!1),i.push([t.i,".award[data-v-552ea9f0]{background-image:url(http://jifenshop1.test.86698.cn/api/static/images/dhbg.png);background-size:100% 100%;width:100%;height:100vh;position:fixed;left:0;top:0;overflow-y:auto}.deng[data-v-552ea9f0]{background-image:url(http://jifenshop1.test.86698.cn/api/static/images/light.png);background-size:100% 100%;width:%?105?%;height:%?105?%;position:absolute;border-radius:50%}.kk[data-v-552ea9f0]{width:100%;height:%?620?%;background-image:url(http://jifenshop1.test.86698.cn/api/static/images/kk.png);background-size:100% 100%}.wk[data-v-552ea9f0]{position:fixed;left:0;bottom:0}.subg[data-v-552ea9f0]{width:%?220?%;height:%?60?%;background-image:url(http://jifenshop1.test.86698.cn/api/static/images/lqbg.png);background-size:100% 100%;color:#fff;line-height:%?60?%}.anqi[data-v-552ea9f0]{width:%?264?%;height:%?80?%;background-image:url(http://jifenshop1.test.86698.cn/api/static/images/anqi.png);background-size:100% 100%;color:#fff;line-height:%?80?%}.mask[data-v-552ea9f0]{background:rgba(0,0,0,.6);width:100%;height:100vh;position:fixed;left:0;top:0;z-index:10}.mk2[data-v-552ea9f0]{background-image:url(http://jifenshop1.test.86698.cn/api/static/images/zjl.png);background-size:100% 100%;width:%?440?%;height:%?692?%}",""]),t.exports=i},e6aa:function(t,i,e){"use strict";var s=e("2985"),a=e.n(s);a.a},f358:function(t,i,e){"use strict";e.d(i,"b",(function(){return s})),e.d(i,"c",(function(){return a})),e.d(i,"a",(function(){}));var s=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",{staticClass:"award"},[e("v-uni-view",{staticClass:"t1 flex_items flex_center"},[e("v-uni-view",{staticClass:"flex_around mt120",staticStyle:{width:"calc(100% - 160rpx)"}},[e("v-uni-image",{staticStyle:{width:"100rpx",height:"80rpx"},attrs:{src:t.imgUrl+"hg.png",mode:""}}),e("v-uni-image",{staticStyle:{width:"360rpx",height:"160rpx"},attrs:{src:t.imgUrl+"wz.png",mode:""}}),e("v-uni-image",{staticStyle:{width:"100rpx",height:"80rpx"},attrs:{src:t.imgUrl+"hg.png",mode:""}})],1)],1),e("v-uni-view",{staticClass:"pos",staticStyle:{width:"100%",height:"400rpx"}},[e("v-uni-view",{staticClass:"deng flex_column flex_items",staticStyle:{left:"120rpx",top:"100rpx"}},[e("v-uni-text",{staticClass:"bold f28 mt15",staticStyle:{color:"#FEA100"}},[t._v("X5")]),e("v-uni-text",{staticClass:"f16",staticStyle:{color:"#FEA100"}},[t._v("积分领取")])],1),e("v-uni-view",{staticClass:"deng flex_column flex_items",staticStyle:{left:"40rpx",top:"260rpx"}},[e("v-uni-text",{staticClass:"bold f28 mt15",staticStyle:{color:"#FEA100"}},[t._v("X2")]),e("v-uni-text",{staticClass:"f16",staticStyle:{color:"#FEA100"}},[t._v("积分领取")])],1),e("v-uni-view",{staticClass:"deng flex_column flex_items",staticStyle:{right:"80rpx",top:"200rpx"}},[e("v-uni-text",{staticClass:"bold f28 mt15",staticStyle:{color:"#FEA100"}},[t._v("X6")]),e("v-uni-text",{staticClass:"f16",staticStyle:{color:"#FEA100"}},[t._v("积分领取")])],1)],1),e("v-uni-view",{staticClass:"flex_items flex_center wk",staticStyle:{width:"100%"}},[e("v-uni-view",{staticClass:"kk"},[e("v-uni-view",{staticClass:"flex_items flex_center mt40",staticStyle:{width:"100%"}},[e("v-uni-view",{staticClass:"flex_around flex_items",staticStyle:{width:"calc(100% - 340rpx)"}},[e("v-uni-image",{staticStyle:{width:"90rpx",height:"90rpx"},attrs:{src:t.imgUrl+"xq.png",mode:""}}),e("v-uni-image",{staticStyle:{width:"432rpx",height:"100rpx"},attrs:{src:t.imgUrl+"xwz.png",mode:""}}),e("v-uni-image",{staticStyle:{width:"90rpx",height:"90rpx"},attrs:{src:t.imgUrl+"xq2.png",mode:""}})],1)],1),e("v-uni-view",{staticClass:"flex_items flex_center",staticStyle:{width:"100%"}},[e("v-uni-view",{staticClass:"plr30",staticStyle:{width:"calc(100% - 160rpx)"}},[e("v-uni-view",{staticClass:"ptb15",staticStyle:{background:"#FFFFFF","border-radius":"8rpx",border:"1rpx solid #DCD1AE"}},[e("v-uni-input",{staticClass:"uni-input plr10",attrs:{focus:!0,placeholder:"输入手机号"},model:{value:t.form.phone,callback:function(i){t.$set(t.form,"phone",i)},expression:"form.phone"}})],1)],1)],1),e("v-uni-view",{staticClass:"flex_items flex_center mt30",staticStyle:{width:"100%"}},[e("v-uni-view",{staticClass:"plr30",staticStyle:{width:"calc(100% - 160rpx)"}},[e("v-uni-view",{staticClass:"ptb15 flex_start flex_items",staticStyle:{background:"#FFFFFF","border-radius":"8rpx",border:"1rpx solid #DCD1AE"}},[e("v-uni-input",{staticClass:"uni-input plr10",attrs:{focus:!0,placeholder:"验证码"},model:{value:t.code,callback:function(i){t.code=i},expression:"code"}}),e("v-uni-image",{staticStyle:{width:"210rpx",height:"50rpx"},attrs:{src:t.imgcode,mode:""},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.getimgcode.apply(void 0,arguments)}}})],1)],1)],1),e("v-uni-view",{staticClass:"flex_items flex_center mt30",staticStyle:{width:"100%"}},[e("v-uni-view",{staticClass:"plr30",staticStyle:{width:"calc(100% - 160rpx)"}},[e("v-uni-view",{staticClass:"ptb15 flex_start flex_items",staticStyle:{background:"#FFFFFF","border-radius":"8rpx",border:"1rpx solid #DCD1AE"}},[e("v-uni-input",{staticClass:"uni-input plr10",attrs:{focus:!0,placeholder:"输入手机验证码"},model:{value:t.form.code,callback:function(i){t.$set(t.form,"code",i)},expression:"form.code"}}),e("v-uni-view",{staticClass:"f30 f-center",staticStyle:{width:"210rpx",color:"#F5363A","border-left":"1px solid #ECCACB"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.getcode.apply(void 0,arguments)}}},[t._v(t._s(t.codemsg))])],1)],1)],1),e("v-uni-view",{staticClass:"flex_items flex_center",staticStyle:{width:"100%"}},[e("v-uni-view",{staticClass:"subg mt40 f24 f-center",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.submitgo.apply(void 0,arguments)}}},[t._v("立即领取")])],1)],1)],1),t.ismask2?e("v-uni-view",{staticClass:"mask flex_items flex_center"},[e("v-uni-view",{staticClass:"mk2 plr50 flex_column flex_items pos"},[e("v-uni-image",{staticStyle:{width:"144rpx",height:"38rpx","margin-top":"260rpx"},attrs:{src:t.imgUrl+"cgl.png",mode:""}}),e("v-uni-image",{staticClass:"abs",staticStyle:{width:"52rpx",height:"52rpx",bottom:"-100rpx"},attrs:{src:t.imgUrl+"qudiao.png",mode:""},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.closemsk.apply(void 0,arguments)}}}),e("v-uni-view",{staticClass:"mt30 f24 f-center",staticStyle:{width:"464rpx",height:"60rpx","line-height":"60rpx",background:"#FFEFE2","border-radius":"20rpx",color:"#DE9D68"}},[t._v("领取成功后在个人中心我的积分查看")]),e("v-uni-view",{staticClass:"anqi f-center f24 mt80",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.zhi("cha")}}},[t._v("查看规则")])],1)],1):t._e(),t.ismask?e("v-uni-view",{staticClass:"mask flex_items flex_center"},[e("v-uni-view",{staticClass:"mk2 plr50 flex_column flex_items pos"},[e("v-uni-image",{staticStyle:{width:"144rpx",height:"38rpx","margin-top":"260rpx"},attrs:{src:t.imgUrl+"hdgz.png",mode:""}}),e("v-uni-image",{staticClass:"abs",staticStyle:{width:"52rpx",height:"52rpx",bottom:"-100rpx"},attrs:{src:t.imgUrl+"qudiao.png",mode:""},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.closemsk.apply(void 0,arguments)}}}),e("v-uni-view",{staticClass:"mt30 f32",staticStyle:{"overflow-y":"auto",height:"144rpx",width:"100%",color:"#666"}},[t._v("啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊啊")]),e("v-uni-view",{staticClass:"anqi f-center f24 mt80",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.zhi("zhi")}}},[t._v("我已知晓")])],1)],1):t._e(),e("Ywatermark",{attrs:{info:"蓝色兄弟"}})],1)},a=[]}}]);