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

1 line
9.8 KiB
JavaScript
Raw Normal View History

2024-06-17 15:25:46 +08:00
(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:"8