1 line
9.7 KiB
JavaScript
1 line
9.7 KiB
JavaScript
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-award-index"],{2989:function(t,i,e){var s=e("cab0");s.__esModule&&(s=s.default),"string"===typeof s&&(s=[[t.i,s,""]]),s.locals&&(t.exports=s.locals);var a=e("4f06").default;a("f8ed7c3e",s,!0,{sourceMap:!1,shadowMode:!1})},"35ec":function(t,i,e){"use strict";e.r(i);var s=e("6fc4"),a=e("5928");for(var n in a)["default"].indexOf(n)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(n);e("b426");var c=e("f0c5"),o=Object(c["a"])(a["default"],s["b"],s["c"],!1,null,"65d2e7f8",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},"6fc4":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:{widt
|