frontend_h5/static/js/pages-redeem-index.a8621875.js

1 line
5.4 KiB
JavaScript
Raw Permalink Normal View History

2024-06-17 15:25:46 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-redeem-index"],{2964:function(t,e,i){"use strict";i.r(e);var a=i("ebab"),s=i("9ebe");for(var n in s)["default"].indexOf(n)<0&&function(t){i.d(e,t,(function(){return s[t]}))}(n);i("b1df");var r=i("f0c5"),c=Object(r["a"])(s["default"],a["b"],a["c"],!1,null,"bcd24bf6",null,!1,a["a"],void 0);e["default"]=c.exports},"5ede":function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={data:function(){return{form:{phone:uni.getStorageSync("phone")},info:{},ismask:!1}},onLoad:function(t){this.info=JSON.parse(t.item)},methods:{dui:function(){uni.showLoading({title:"兑换中..."});var t=this;t.api.getdui({joinId:this.info.id,phone:this.form.phone}).then((function(e){console.log(e),200==e.data.code?t.ismask=!0:(uni.hideLoading(),uni.showToast({title:e.data.message,icon:"none"}))}))},gomy:function(){uni.switchTab({url:"/pages/my/index"})}}};e.default=a},"9ebe":function(t,e,i){"use strict";i.r(e);var a=i("5ede"),s=i.n(a);for(var n in a)["default"].indexOf(n)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(n);e["default"]=s.a},b1df:function(t,e,i){"use strict";var a=i("f8be"),s=i.n(a);s.a},c8e7:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,"uni-page-body[data-v-bcd24bf6]{background:#f5f5f5!important}body.?%PAGE?%[data-v-bcd24bf6]{background:#f5f5f5!important}.redeem[data-v-bcd24bf6]{height:100vh}",""]),t.exports=e},ebab:function(t,e,i){"use strict";i.d(e,"b",(function(){return s})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){return a}));var a={"u-Input":i("1096").default},s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"redeem pos"},[t.ismask?i("v-uni-view",{staticClass:"mask flex_center flex_items",staticStyle:{width:"100%",height:"100vh",position:"fixed","z-index":"1",background:"rgba(0,0,0,.6)"}},[i("v-uni-view",{staticClass:"flex_column flex_items bgwhite",staticStyle:{padding:"50rpx","border-radius":"16rpx",width:"calc(100% - 200rpx)"}},[i("v-uni-image",{staticStyle:{width:"120rpx",height:"120rpx"},attrs:{src:t.imgUrl+"dcg.png",mode:""}}),i("v-uni-text",{staticClass:"f40 mt50",staticStyle:{color:"#333"}},[t._v("领取成功")]),i("v-uni-text",{staticClass:"f28 mt30",staticStyle:{color:"#808080"}},[t._v("恭喜,奖品已经成功兑换,请到平台查看。")]),i("v-uni-view",{staticClass:"flex_items flex_center mt50"},[i("v-uni-view",{staticClass:"f32 f-center",staticStyle:{width:"280rpx",height:"80rpx","line-height":"80rpx",background:"linear-gradient(270deg, #FF9843 0%, #F43139 100%)","border-radius":"54rpx",color:"#fff"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.gomy.apply(void 0,arguments)}}},[t._v("确认")])],1)],1)],1):t._e(),i("v-uni-view",{staticClass:"flex_items flex_center",staticStyle:{width:"100%"}},[i("v-uni-view",{staticClass:"bgwhite pb30 plr20 pt20 mt35",staticStyle:{width:"calc(100% - 100rpx)","border-radius":"20rpx"}},[i("v-uni-view",{staticClass:"flex_between flex_items pb20 bbe9s"},[i("v-uni-view",{staticClass:"flex_start flex_items"},[i("v-uni-image",{staticStyle:{width:"104rpx",height:"104rpx","border-radius":"12rpx"},attrs:{src:t.info.prize_data.main_image,mode:""}}),i("v-uni-view",{staticClass:"flex_column f30 ml30",staticStyle:{color:"#333"}},[i("v-uni-text",{staticClass:"bold"},[t._v(t._s(t.info.prize))]),i("v-uni-view",{staticClass:"f24 mt15",staticStyle:{color:"#666"}},[t._v(t._s(t.info.goodsExchangeRecord.receive_expire_time))])],1)],1),i("v-uni-view",{staticClass:"flex_start flex_items mr20",staticStyle:{color:"#EB5E42"}},[i("v-uni-view",{staticClass:"f24"},[t._v("¥")]),i("v-uni-text",{staticClass:"f48 bolder one"},[t._v(t._s(t.info.prize_data.price))])],1)],1),i("v-uni-view",{staticClass:"pt20 f22",staticStyle:{color:"#666"}},[t._v(t._s(t.info.prize_data.price)+"元积分兑换券,积分已经充值到用户")])],1)],1),i("v-uni-view",{staticClass:"flex_items flex_center",staticStyle:{width:"100%"}},[i("v-uni-view",{staticClass:"bgwhite pb30 plr20 pt20 mt35 flex_column",staticStyle:{width:"calc