pages-goods-lottery-grids-record.c6c8cf35.js 27 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-goods-lottery-grids-record"],{1390:function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.getLotteryData=function(t){return a.default.get("v2/lottery/info/".concat(t))},e.getLotteryList=function(t){return a.default.get("v2/lottery/record",t)},e.receiveLottery=function(t){return a.default.post("v2/lottery/receive",t)},e.startLottery=function(t){return a.default.post("v2/lottery",t)};var a=n(i("fb81"))},"13c7":function(t,e,i){var n=i("8636");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("7341c59f",n,!0,{sourceMap:!1,shadowMode:!1})},"2bb8":function(t,e,i){var n=i("e6ac");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("bf49ac90",n,!0,{sourceMap:!1,shadowMode:!1})},"31d6":function(t,e,i){"use strict";i.r(e);var n=i("d11f"),a=i.n(n);for(var s in n)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(s);e["default"]=a.a},"3b71":function(t,e,i){"use strict";i.r(e);var n=i("8b3c"),a=i("7b1b");for(var s in a)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(s);i("77b4");var o=i("f0c5"),r=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"5c721f6d",null,!1,n["a"],void 0);e["default"]=r.exports},"424a":function(t,e,i){t.exports=i.p+"static/img/address-aleart-header.cf1d5133.png"},"42ff":function(t,e,i){"use strict";i.r(e);var n=i("eeb2"),a=i("59a7");for(var s in a)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(s);i("55a0");var o=i("f0c5"),r=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"40a2f1ee",null,!1,n["a"],void 0);e["default"]=r.exports},"43ee":function(t,e,i){"use strict";var n=i("13c7"),a=i.n(n);a.a},"55a0":function(t,e,i){"use strict";var n=i("2bb8"),a=i.n(n);a.a},"59a7":function(t,e,i){"use strict";i.r(e);var n=i("f339"),a=i.n(n);for(var s in n)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(s);e["default"]=a.a},6346:function(t,e,i){var n=i("d104");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("4e5561af",n,!0,{sourceMap:!1,shadowMode:!1})},"63aa":function(t,e,i){"use strict";i.r(e);var n=i("bcd2"),a=i.n(n);for(var s in n)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(s);e["default"]=a.a},"6cbb":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"),s=n(i("19b6")),o=i("00a0"),r={name:"Home",props:{},mixins:[s.default],data:function(){return{top:"545",imgHost:o.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=r},"750e":function(t,e,i){"use strict";i.r(e);var n=i("d158"),a=i("63aa");for(var s in a)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(s);i("c7de");var o=i("f0c5"),r=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"c27ffeee",null,!1,n["a"],void 0);e["default"]=r.exports},"77b4":function(t,e,i){"use strict";var n=i("efc4"),a=i.n(n);a.a},"7b1b":function(t,e,i){"use strict";i.r(e);var n=i("6cbb"),a=i.n(n);for(var s in n)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(s);e["default"]=a.a},8636:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* crmeb颜色变量 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\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},"8b3c":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{style:t.colorStyle},[i("v-uni-view",{staticStyle:{"touch-action":"none"}},[i("v-uni-view",{staticClass:"home",staticStyle:{position:"fixed"},style:{top:t.top+"px"},attrs:{id:"right-nav"},on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.setTouchMove.apply(void 0,arguments)}}},[t.homeActive?i("v-uni-view",{staticClass:"homeCon bg-color",class:!0===t.homeActive?"on":""},[i("v-uni-navigator",{staticClass:"iconfont icon-shouye-xianxing",attrs:{"hover-class":"none","open-type":"switchTab",url:"/pages/index/index"}}),i("v-uni-navigator",{staticClass:"iconfont icon-caigou-xianxing",attrs:{"hover-class":"none","open-type":"switchTab",url:"/pages/order_addcart/order_addcart"}}),i("v-uni-navigator",{staticClass:"iconfont icon-yonghu1",attrs:{"hover-class":"none","open-type":"switchTab",url:"/pages/user/index"}})],1):t._e(),i("v-uni-view",{staticClass:"pictrueBox",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.open.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"pictrue"},[i("v-uni-image",{staticClass:"image",attrs:{src:!0===t.homeActive?t.imgHost+"/statics/images/close.gif":t.imgHost+"/statics/images/open.gif"}})],1)],1)],1)],1)],1)},a=[]},"8bec":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAABLCAYAAAAPgLXeAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQyIDc5LjE2MDkyNCwgMjAxNy8wNy8xMy0wMTowNjozOSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iI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ABAP1fyHzQ0oCyAAAAAElFTkSuQmCC"},a13a:function(t,e,i){"use strict";i.r(e);var n=i("b0da"),a=i("31d6");for(var s in a)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(s);i("43ee");var o=i("f0c5"),r=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"6cea6bd1",null,!1,n["a"],void 0);e["default"]=r.exports},aae6:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,".pictrueBox[data-v-5c721f6d]{width:%?130?%;height:%?120?%}\n\n/*返回主页按钮*/.home[data-v-5c721f6d]{position:fixed;color:#fff;text-align:center;z-index:999;right:%?15?%;display:flex}.home .homeCon[data-v-5c721f6d]{border-radius:%?50?%;opacity:0;height:0;color:var(--view-theme);width:0}.home .homeCon.on[data-v-5c721f6d]{opacity:1;-webkit-animation:bounceInRight .5s cubic-bezier(.215,.61,.355,1);animation:bounceInRight .5s cubic-bezier(.215,.61,.355,1);width:%?300?%;height:%?86?%;margin-bottom:%?20?%;display:flex;justify-content:center;align-items:center;background:var(--view-theme)!important;opacity:.8;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.home .homeCon .iconfont[data-v-5c721f6d]{font-size:%?48?%;color:#fff;display:inline-block;margin:0 auto}.home .pictrue[data-v-5c721f6d]{width:%?86?%;height:%?86?%;border-radius:50%;margin:0 auto;background-color:var(--view-theme)}.home .pictrue .image[data-v-5c721f6d]{width:100%;height:100%;border-radius:50%;-webkit-transform:rotate(90deg);transform:rotate(90deg);ms-transform:rotate(90deg);moz-transform:rotate(90deg);webkit-transform:rotate(90deg);o-transform:rotate(90deg)}",""]),t.exports=e},b0da:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.aleartStatus?n("v-uni-view",{staticClass:"aleart"},[n("v-uni-image",{staticClass:"close",attrs:{src:i("8bec")},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.posterImageClose.apply(void 0,arguments)}}}),n("v-uni-view",{staticClass:"title"},[n("v-uni-image",{staticClass:"title-img",attrs:{src:i("424a"),mode:""}})],1),n("v-uni-view",{staticClass:"aleart-body"},[n("v-uni-form",{staticClass:"form-data",on:{submit:function(e){arguments[0]=e=t.$handleEvent(e),t.formSubmit.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"addAddress"},[n("v-uni-view",{staticClass:"list"},[n("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[n("v-uni-input",{attrs:{type:"text",placeholder:t.$t("请输入姓名"),name:"name",value:t.userAddress.name,"placeholder-class":"placeholder"}})],1),n("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[n("v-uni-input",{attrs:{type:"number",placeholder:t.$t("请输入手机号"),name:"phone",value:t.userAddress.phone,"placeholder-class":"placeholder",pattern:"\\d*"}})],1),n("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[n("v-uni-view",{staticClass:"address"},[n("v-uni-picker",{attrs:{mode:"multiSelector",value:t.valueRegion,range:t.multiArray},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.bindRegionChange.apply(void 0,arguments)},columnchange:function(e){arguments[0]=e=t.$handleEvent(e),t.bindMultiPickerColumnChange.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"acea-row"},[n("v-uni-view",{staticClass:"picker"},[t._v(t._s(t.region[0])+","+t._s(t.region[1])+","+t._s(t.region[2]))])],1)],1)],1)],1),n("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[n("v-uni-input",{attrs:{type:"text",placeholder:t.$t("请填写具体地址"),name:"detail","placeholder-class":"placeholder",value:t.userAddress.detail}})],1)],1),n("v-uni-button",{staticClass:"keepBnt",attrs:{"form-type":"submit"}},[t._v(t._s(t.$t("提交")))])],1)],1)],1)],1):t._e()},a=[]},bcd2: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("8a87")),s=i("1390"),o=n(i("a13a")),r=n(i("42ff")),d=n(i("19b6")),c={components:{emptyPage:r.default,userAddress:o.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,s.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,s.getLotteryList)(this.where).then((function(i){var n=i.data,a=t.$util.SplitArray(n,t.lotteryList),s=n.length<t.where.limit;t.loadend=s,t.loading=!1,t.loadTitle=s?e.$t("没有更多内容啦~"):e.$t("加载更多"),t.$set(t,"lotteryList",a),t.$set(t.where,"page",t.where.page+1)})).catch((function(t){e.loading=!1,e.loadTitle=e.$t("加载更多")})))}},onReachBottom:function(){this.lotteryList.length,this.getLotteryList()}};e.default=c},c7de:function(t,e,i){"use strict";var n=i("6346"),a=i.n(n);a.a},d104:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* crmeb颜色变量 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\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},d11f:function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("d3b7"),i("159b"),i("14d9"),i("d81d"),i("ac1f"),i("00b4");var a=i("d1ea"),s=i("5743"),o=i("86eb"),r=i("26cb"),d=n(i("3b71")),c={components:{home:d.default},props:{aleartStatus:{type:Boolean,default:!1}},data:function(){return{regionDval:["浙江省","杭州市","滨江区"],id:0,userAddress:{is_default:!1},region:[this.$t("省"),this.$t("市"),this.$t("区")],valueRegion:[0,0,0],isAuto:!1,isShowAuth:!1,district:[],multiArray:[],multiIndex:[0,0,0],cityId:0,defaultRegion:["广东省","广州市","番禺区"],defaultRegionCode:"110101"}},computed:(0,r.mapGetters)(["isLogin"]),watch:{isLogin:{handler:function(t,e){t&&this.getUserAddress()},deep:!0}},created:function(t){this.isLogin?(this.getCityList(),this.getUserAddress()):(0,o.toLogin)()},methods:{getCityList:function(){var t=this,e=this;(0,s.getCity)().then((function(i){t.district=i.data,e.initialize()}))},initialize:function(){var t=[],e=[],i=[];if(this.district.length){var n=this.district[0].c||[],a=n.length&&n[0].c||[];this.district.forEach((function(e){t.push(e.n)})),n.forEach((function(t){e.push(t.n)})),a.forEach((function(t){i.push(t.n)})),this.multiArray=[t,e,i]}},bindRegionChange:function(t){var e=this.multiIndex,i=this.district[e[0]]||{c:[]},n=i.c[e[1]]||{v:0},a=this.multiArray,s=t.detail.value;this.region=[a[0][s[0]],a[1][s[1]],a[2][s[2]]],this.cityId=n.v,this.valueRegion=[0,0,0],this.initialize()},bindMultiPickerColumnChange:function(t){var e=t.detail.column,i=t.detail.value,n=this.district[i]||{c:[]},a=this.multiArray,s=this.multiIndex;switch(s[e]=i,e){case 0:var o=n.c[0]||{c:[]};a[1]=n.c.map((function(t){return t.n})),a[2]=o.c.map((function(t){return t.n}));break;case 1:var r=this.district[s[0]].c[s[1]].c||[];a[2]=r.map((function(t){return t.n}));break;case 2:break}this.multiArray=a,this.multiIndex=s},onLoadFun:function(){this.getUserAddress()},authColse:function(t){this.isShowAuth=t},toggleTab:function(t){this.$refs[t].show()},onConfirm:function(t){this.region=t.checkArr[0]+"-"+t.checkArr[1]+"-"+t.checkArr[2]},getUserAddress:function(){if(!this.id)return!1;var t=this;(0,a.getAddressDetail)(this.id).then((function(e){var i=[e.data.province,e.data.city,e.data.district];t.$set(t,"userAddress",e.data),t.$set(t,"region",i),t.cityId=e.data.city_id}))},getWxAddress:function(){var t=this;uni.authorize({scope:"scope.address",success:function(e){uni.chooseAddress({success:function(e){var i={};i.province=e.provinceName,i.city=e.cityName,i.district=e.countyName,(0,a.editAddress)({address:i,is_default:1,real_name:e.userName,post_code:e.postalCode,phone:e.telNumber,detail:e.detailInfo,id:0,type:1}).then((function(e){return setTimeout((function(){if(t.cartId){t.cartId,t.pinkId,t.couponId;t.cartId="",t.pinkId="",t.couponId="",uni.navigateTo({url:t.id})}else uni.navigateBack({delta:1})}),1e3),t.$util.Tips({title:t.$t("添加成功"),icon:"success"})})).catch((function(e){return t.$util.Tips({title:e})}))},fail:function(e){if("chooseAddress:cancel"==e.errMsg)return t.$util.Tips({title:t.$t("取消")})}})},fail:function(e){uni.showModal({title:t.$t("您已拒绝导入微信地址权限"),content:t.$t("是否进入权限管理,调整授权?"),success:function(e){if(e.confirm)uni.openSetting({success:function(t){}});else if(e.cancel)return t.$util.Tips({title:t.$t("已取消")})}})}})},getAddress:function(){var t=this,e=this;e.$wechat.openAddress().then((function(i){(0,a.editAddress)({id:t.id,real_name:i.userName,phone:i.telNumber,address:{province:i.provinceName,city:i.cityName,district:i.countryName},detail:i.detailInfo,is_default:1,post_code:i.postalCode,type:1}).then((function(){setTimeout((function(){uni.navigateTo({url:e.id})}),1e3),e.$util.Tips({title:e.$t("添加成功"),icon:"success"})})).catch((function(t){return e.$util.Tips({title:t||e.$t("添加失败")})}))})).catch((function(t){}))},formSubmit:function(t){var e=t.detail.value;if(!e.name)return this.$util.Tips({title:this.$t("请填写收货人姓名")});if(!e.phone)return this.$util.Tips({title:this.$t("请输入手机号")});if(!/^1(3|4|5|7|8|9|6)\d{9}$/i.test(e.phone))return this.$util.Tips({title:this.$t("请输入正确的手机号码")});if("省"==this.region[0])return this.$util.Tips({title:this.$t("请选择所在地区")});if(!e.detail)return this.$util.Tips({title:this.$t("请填写详细地址")});var i=this.region;e.address={province:i[0],city:i[1],district:i[2],city_id:this.cityId},this.$emit("getAddress",e)},posterImageClose:function(){this.$emit("close",!1)}}};e.default=c},d158:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{style:t.colorStyle},[t.lotteryList.length?i("v-uni-view",{staticClass:"record"},[t._l(t.lotteryList,(function(e){return i("v-uni-view",{key:e.id,staticClass:"record-list"},[i("v-uni-image",{staticClass:"goods-img",attrs:{src:e.prize.image,mode:""}}),i("v-uni-view",{staticClass:"right-data"},[i("v-uni-view",{staticClass:"title line1"},[t._v(t._s(e.prize.name))]),i("v-uni-view",{staticClass:"goods-msg"},[t._v(t._s(t.$t("奖品类型"))+":"),i("v-uni-text",{staticClass:"num"},[t._v(t._s(t._f("typeName")(e.prize.type)))])],1),6!=e.type||e.receive_time?i("v-uni-view",{staticClass:"goods-msg"},[t._v(t._s(t.$t("兑换时间"))+":\n\t\t\t\t\t"+t._s(e.receive_time||"--"))]):i("v-uni-view",{staticClass:"goods-msg exchange",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.fromAddress(e)}}},[t._v(t._s(t.$t("立即兑换")))]),e.deliver_info.deliver_name?i("v-uni-view",{staticClass:"goods-msg"},[t._v(t._s(t.$t("快递公司"))+":\n\t\t\t\t\t"+t._s(e.deliver_info.deliver_name||"--"))]):t._e(),e.deliver_info.deliver_number?i("v-uni-view",{staticClass:"goods-msg"},[t._v(t._s(t.$t("快递单号"))+":\n\t\t\t\t\t"+t._s(e.deliver_info.deliver_number||"--")),e.deliver_info.deliver_number?i("v-uni-view",{staticClass:"copy copy-data",attrs:{"data-clipboard-text":e.deliver_info.deliver_number}},[t._v(t._s(t.$t("复制")))]):t._e()],1):t._e()],1)],1)})),t.lotteryList.length>0?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=[]},e6ac:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* crmeb颜色变量 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.empty-box[data-v-40a2f1ee]{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:%?200?%}.empty-box uni-image[data-v-40a2f1ee]{width:%?414?%;height:%?240?%}.empty-box .txt[data-v-40a2f1ee]{font-size:%?26?%;color:#999}',""]),t.exports=e},eeb2:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticClass:"empty-box"},[e("v-uni-image",{attrs:{src:this.imgHost+"/statics/images/empty-box.png"}}),e("v-uni-view",{staticClass:"txt"},[this._v(this._s(this.title||this.$t("暂无记录")))])],1)},a=[]},efc4:function(t,e,i){var n=i("aae6");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("24378372",n,!0,{sourceMap:!1,shadowMode:!1})},f339:function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("00a0"),a={props:{title:{type:String,default:""}},data:function(){return{imgHost:n.HTTP_REQUEST_URL}}};e.default=a}}]);