lottery-flip-card/unpackage/dist/build/web/static/js/pages-my-index.69eb844a.js

1 line
5.6 KiB
JavaScript
Raw Normal View History

2024-05-30 11:01:36 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-my-index"],{"0951":function(t,i,e){"use strict";e.r(i);var n=e("cabd"),a=e.n(n);for(var o in n)["default"].indexOf(o)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(o);i["default"]=a.a},1135:function(t,i,e){t.exports=e.p+"static/ydh.png"},"1de5":function(t,i,e){"use strict";t.exports=function(t,i){return i||(i={}),t=t&&t.__esModule?t.default:t,"string"!==typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),i.hash&&(t+=i.hash),/["'() \t\n]/.test(t)||i.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},"1e57":function(t,i,e){"use strict";e.r(i);var n=e("2f8a"),a=e("0951");for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(o);e("adfc");var s=e("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"29c2cdf1",null,!1,n["a"],void 0);i["default"]=c.exports},"2e76":function(t,i,e){t.exports=e.p+"static/yidui.png"},"2f8a":function(t,i,e){"use strict";e.d(i,"b",(function(){return n})),e.d(i,"c",(function(){return a})),e.d(i,"a",(function(){}));var n=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",{staticClass:"plr20"},[0!=t.list.length?e("v-uni-view",t._l(t.list,(function(i,n){return e("v-uni-view",{key:n,class:[1==i.state?"okdui":"nodui","mt30","flex_start"]},[e("v-uni-view",{staticClass:"flex_column flex_items mt10",staticStyle:{width:"200rpx"}},[e("v-uni-view",{staticClass:"flex_start",style:{color:1==i.state?"#E91619":"#333"}},[e("v-uni-text",{staticClass:"f26 bold mt20"},[t._v("¥")]),i.product?e("v-uni-text",{staticClass:"bold",staticStyle:{"font-size":"72rpx"}},[t._v(t._s(Math.floor(i.product.price)))]):t._e()],1),e("v-uni-view",{staticClass:"plr10 f22 ml20",style:1==i.state?{"border-radius":"48rpx",height:"40rpx","line-height":"40rpx",color:"#E91619",border:"1px solid #E91619"}:{"border-radius":"48rpx",height:"40rpx","line-height":"40rpx",color:"#333",border:"1px solid #333"}},[t._v("微信立减金")])],1),e("v-uni-view",{staticClass:"ml20 flex_start flex_items"},[e("v-uni-view",{staticClass:"flex_column"},[e("v-uni-text",{staticClass:"f26 mt20",staticStyle:{color:"#fff"}},[t._v(t._s(i.activity_name))]),e("v-uni-text",{staticClass:"mt20 f22",style:{color:1==i.state?"#FFD6D6":"#fff"}},[t._v("单击“去兑换”立即领取立减金")]),e("v-uni-text",{staticClass:"mt20 f22",style:{color:1==i.state?"#FFD6D6":"#fff"}},[t._v(t._s(i.create_time))])],1),1==i.state?e("v-uni-image",{staticClass:"ml20",staticStyle:{width:"121rpx",height:"56rpx"},attrs:{src:t.godui,mode:""},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.qudui(i.voucher_link)}}}):e("v-uni-image",{staticClass:"ml20",staticStyle:{width:"121rpx",height:"56rpx"},attrs:{src:t.yidui,mode:""}})],1)],1)})),1):e("v-uni-view",{staticClass:"p30 f26 f-center",staticStyle:{color:"#9a9a9a","margin-top":"50rpx"}},[t._v("--暂无数据--")]),e("v-uni-view",{staticStyle:{width:"100%",height:"30rpx"}})],1)},a=[]},"5d77":function(t,i,e){var n=e("f0ad");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=e("4f06").default;a("6ae607c2",n,!0,{sourceMap:!1,shadowMode:!1})},adfc:function(t,i,e){"use strict";var n=e("5d77"),a=e.n(n);a.a},cabd:function(t,i,e){"use strict";(function(t){e("7a82"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,e("d3b7"),e("159b"),e("14d9");var n={data:function(){return{istrue:!1,godui:e("ea4e"),yidui:e("2e76"),form:{pageSize:10,page:1,state:""},list:[]}},onLoad:function(){void 0!=getApp().globalData.token?this.getlist():uni.navigateTo({url:"/pages/index/index"})},methods:{getlist:function(){var i=this;uni.showLoading({title:"加载中..."}),this.api.zjlist(this.form).then((function(e){t.log(e),200==e.data.code?(uni.hideLoading(),uni.stopPullDownRefresh(),0==e.data.data.data.length?uni.showToast({title:"暂无数据",icon:"none"}):e.data.data.data.forEach((function(t,e){i.list.push(t)}))):uni.showToast({icon:"none",title:e.data.message})}))},gopay:function(t){uni.navigateTo({url:"/pages/pay/index?order_id="+t})},