(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-goods-lottery-grids-record"],{"07f6":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* crmeb颜色变量 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.record[data-v-c27ffeee]{background-color:#eee}.record-list[data-v-c27ffeee]{display:flex;align-items:center;background-color:#fff;padding:%?30?%;border-bottom:1px solid #eee;height:100%}.record-list .goods-img[data-v-c27ffeee]{width:%?170?%;height:%?170?%;border-radius:%?6?%;margin-right:%?15?%}.record-list .right-data[data-v-c27ffeee]{display:flex;flex-direction:column;justify-content:space-between;min-height:%?170?%}.record-list .right-data .title[data-v-c27ffeee]{font-size:%?28?%}.record-list .right-data .goods-msg[data-v-c27ffeee]{font-size:%?24?%;color:#999}.record-list .right-data .goods-msg .num[data-v-c27ffeee]{color:var(--view-theme)}.record-list .right-data .goods-msg .copy[data-v-c27ffeee]{display:-webkit-inline-box;display:-webkit-inline-flex;width:%?60?%;margin-left:%?10?%;padding:%?0?% %?4?%;border:%?2?% solid}.record-list .right-data .exchange[data-v-c27ffeee]{color:#fff;background-color:var(--view-theme);border-radius:%?30?%;text-align:center;padding:%?4?% 0}.record-list .mask[data-v-c27ffeee]{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.8);z-index:9}',""]),t.exports=e},"0c3c":function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i("26cb"),r=n(i("7c3b")),s=i("5318"),o={name:"Home",props:{},mixins:[r.default],data:function(){return{top:"545",imgHost:s.HTTP_REQUEST_URL}},computed:(0,a.mapGetters)(["homeActive"]),methods:{setTouchMove:function(t){t.touches[0].clientY<545&&t.touches[0].clientY>66&&(this.top=t.touches[0].clientY)},open:function(){this.homeActive?this.$store.commit("CLOSE_HOME"):this.$store.commit("OPEN_HOME")}},created:function(){},beforeDestroy:function(){this.$store.commit("CLOSE_HOME")}};e.default=o},"0e6e":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* crmeb颜色变量 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.aleart[data-v-6cea6bd1]{width:%?500?%;position:fixed;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);z-index:999;top:50%;margin-top:%?-357?%;border-radius:%?12?%}.aleart .title[data-v-6cea6bd1]{padding:0;margin:0;height:%?110?%}.aleart .title .title-img[data-v-6cea6bd1]{width:100%;height:100%}.aleart .aleart-body[data-v-6cea6bd1]{display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:#fdf7e7}.aleart .aleart-body .form-data[data-v-6cea6bd1]{width:100%}.aleart .aleart-body .goods-img[data-v-6cea6bd1]{width:%?150?%;height:%?150?%}.aleart .aleart-body .msg[data-v-6cea6bd1]{font-size:%?30?%;color:#282828}.aleart .close[data-v-6cea6bd1]{width:%?46?%;height:%?75?%;position:fixed;right:%?20?%;top:%?-73?%;display:block}.addAddress[data-v-6cea6bd1]{width:100%;padding:%?30?% %?30?%}.addAddress .list[data-v-6cea6bd1]{background-color:#fdf7e7}.addAddress .list .item[data-v-6cea6bd1]{border:%?1?% solid #a05644;margin-bottom:%?24?%;padding:%?10?%;border-radius:%?6?%}.addAddress .list .item .name[data-v-6cea6bd1]{width:%?195?%;font-size:%?30?%;color:#333}.addAddress .list .item .address[data-v-6cea6bd1]{flex:1;margin-left:%?20?%}.addAddress .list .item uni-input[data-v-6cea6bd1]{font-size:%?30?%}.addAddress .list .item .placeholder[data-v-6cea6bd1]{color:#ccc}.addAddress .list .item uni-picker .picker[data-v-6cea6bd1]{font-size:%?30?%}.addAddress .list .item uni-picker .iconfont[data-v-6cea6bd1]{font-size:%?43?%}.addAddress .default[data-v-6cea6bd1]{padding:0 %?30?%;height:%?90?%;background-color:#fff;margin-top:%?23?%}.addAddress .default uni-checkbox[data-v-6cea6bd1]{margin-right:%?15?%}.addAddress .keepBnt[data-v-6cea6bd1]{width:100%;height:%?86?%;border-radius:%?6?%;text-align:center;line-height:%?86?%;font-size:%?32?%;color:#452015;font-weight:700;background:#eebe6b;box-shadow:0 5px 9px 0 rgba(220,166,72,.24)}.addAddress .wechatAddress[data-v-6cea6bd1]{height:%?86?%;border-radius:%?6?%;text-align:center;line-height:%?86?%;margin:0 auto;font-size:%?32?%;color:#fe960f;border:1px solid #fe960f}',""]),t.exports=e},"21be":function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("3b06")),r=i("2506"),s=n(i("e1a2e")),o=n(i("67c8")),d=n(i("7c3b")),c={components:{emptyPage:o.default,userAddress:s.default},mixins:[d.default],data:function(){return{loading:!1,addressModel:!1,where:{page:1,limit:20},lotteryList:[],loadTitle:""}},onLoad:function(){this.getLotteryList()},filters:{typeName:function(t){return 2==t?"积分":3==t?"余额":4==t?"红包":5==t?"优惠券":6==t?"商品":void 0}},onReady:function(){this.$nextTick((function(){var t=this,e=new a.default(".copy-data");e.on("success",(function(){t.$util.Tips({title:t.$t("复制成功")})}))}))},methods:{getAddress:function(t){var e=this,i=t;i.id=this.addid,i.address=t.address.province+t.address.city+t.address.district+t.detail,(0,r.receiveLottery)(i).then((function(t){e.$util.Tips({title:e.$t("领取成功")}),e.addressModel=!1,e.where.page=1,e.loadend=!1,e.lotteryList=[],e.getLotteryList()})).catch((function(t){e.$util.Tips({title:t})}))},fromAddress:function(t){this.addid=t.id,this.addressModel=!0},getLotteryList:function(){var t=this,e=this;this.loadend||this.loading||(this.loading=!0,this.loadTitle="",(0,r.getLotteryList)(this.where).then((function(i){var n=i.data,a=t.$util.SplitArray(n,t.lotteryList),r=n.length0?i("v-uni-view",{staticClass:"loadingicon acea-row row-center-wrapper"},[i("v-uni-text",{staticClass:"loading iconfont icon-jiazai",attrs:{hidden:0==t.loading}}),t._v(t._s(t.loadTitle))],1):t._e()],2):t._e(),0!==t.lotteryList.length||t.loading?t._e():[i("emptyPage",{attrs:{title:t.$t("暂无中奖记录")}})],i("userAddress",{attrs:{aleartStatus:t.addressModel},on:{getAddress:function(e){arguments[0]=e=t.$handleEvent(e),t.getAddress.apply(void 0,arguments)},close:function(e){arguments[0]=e=t.$handleEvent(e),function(){t.addressModel=!1}.apply(void 0,arguments)}}}),t.addressModel?i("v-uni-view",{staticClass:"mask",on:{close:function(e){arguments[0]=e=t.$handleEvent(e),function(){t.addressModel=!1}.apply(void 0,arguments)}}}):t._e()],2)},a=[]},efe6:function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("5318"),a={props:{title:{type:String,default:""}},data:function(){return{imgHost:n.HTTP_REQUEST_URL}}};e.default=a},f006:function(t,e,i){var n=i("6397");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("17166856",n,!0,{sourceMap:!1,shadowMode:!1})}}]);