You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
23 KiB
1 lines
23 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-activity-collect_coupons-index"],{1578:function(t,e,o){"use strict";o.d(e,"b",(function(){return i})),o.d(e,"c",(function(){return n})),o.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"my-coupon",style:t.viewColor},[i("v-uni-view",{staticClass:"header"},[i("v-uni-view",{staticClass:"nav acea-row row-around"},[i("v-uni-view",{staticClass:"item",class:-1==t.type?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.statusClick(-1)}}},[i("v-uni-view",[t._v("全部")])],1),i("v-uni-view",{staticClass:"item",class:10==t.type?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.statusClick(10)}}},[i("v-uni-view",[t._v("通用券")])],1),i("v-uni-view",{staticClass:"item",class:11==t.type?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.statusClick(11)}}},[i("v-uni-view",[t._v("品类券")])],1),i("v-uni-view",{staticClass:"item",class:12==t.type?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.statusClick(12)}}},[i("v-uni-view",[t._v("跨店券")])],1),i("v-uni-view",{staticClass:"item",class:0==t.type?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.statusClick(0)}}},[i("v-uni-view",[t._v("店铺券")])],1)],1)],1),i("v-uni-view",{staticClass:"listBox"},[t._l(t.list,(function(e){return[i("v-uni-view",{key:e.coupon_id+"_0",staticClass:"list acea-row row-around"},[1==e.ProductLst.length||0==e.ProductLst.length?i("v-uni-view",{staticClass:"left cross"},[t._l(e.ProductLst,(function(o,n){return 1==e.ProductLst.length?i("v-uni-view",{key:n,staticClass:"cross-left"},[i("easyLoadimage",{attrs:{"image-src":o.image}})],1):t._e()})),0==e.ProductLst.length?i("v-uni-view",{staticClass:"cross-left"},[i("v-uni-image",{attrs:{src:o("ad73")}})],1):t._e(),i("v-uni-view",{staticClass:"tips cross-right"},[i("v-uni-view",{staticClass:"title line2"},[t._v(t._s(e.title||""))]),i("v-uni-view",{staticClass:"time"},[t._v(t._s(e.create_time))])],1)],2):i("v-uni-view",{staticClass:"left"},[i("v-uni-view",{staticClass:"tips line1"},[t._v(t._s(e.title||""))]),i("v-uni-view",{staticClass:"info"},t._l(e.ProductLst,(function(e,o){return i("v-uni-view",{key:o,staticClass:"info-box"},[i("easyLoadimage",{attrs:{"image-src":e.image}}),i("v-uni-view",{staticClass:"money"},[t._v("¥ "+t._s(e.price))])],1)})),1)],1),i("v-uni-view",{staticClass:"right"},[10==e.type?i("v-uni-view",{staticClass:"couponlogo"},[t._v("通用券")]):t._e(),11==e.type?i("v-uni-view",{staticClass:"couponlogo"},[t._v("品类券")]):t._e(),12==e.type?i("v-uni-view",{staticClass:"couponlogo"},[t._v("跨店券")]):t._e(),0==e.type?i("v-uni-view",{staticClass:"couponlogo"},[t._v("店铺券")]):t._e(),i("v-uni-view",{staticClass:"title"},[i("v-uni-view",[i("p",[i("v-uni-text",{staticClass:"font1"},[t._v("¥")]),i("v-uni-text",{staticClass:"font2"},[t._v(t._s(t.parsePrice(e.coupon_price)))])],1),i("p",[0==e.use_min_price?i("v-uni-text",{staticClass:"font3"},[t._v("无使用门槛")]):i("v-uni-text",{staticClass:"font3"},[t._v("满"+t._s(t.parsePrice(e.use_min_price))+"元可用")])],1)]),e.issue?t._e():i("v-uni-view",{staticClass:"btn",class:0==e.ProductLst.length?"disabled":"",on:{click:function(o){arguments[0]=o=t.$handleEvent(o),t.receiveCoupon(e)}}},[t._v("立即领取")]),e.issue&&e.ProductLst.length>0?i("v-uni-navigator",{staticClass:"btn shiyong",attrs:{url:"/pages/columnGoods/goods_coupon_list/index?coupon_id="+e.coupon_id,"hover-class":"none"}},[t._v("去使用")]):t._e(),e.issue&&0==e.ProductLst.length?i("v-uni-view",{staticClass:"btn shiyong disabled"},[t._v("去使用")]):t._e()],1)],1)],1)]}))],2),i("v-uni-view",{staticClass:"loadingicon acea-row row-center-wrapper"},[i("v-uni-text",{staticClass:"loading iconfont icon-jiazai",staticStyle:{color:"#33"},attrs:{hidden:0==t.loading}})],1),!t.list.length&&t.loaded?i("v-uni-view",{staticClass:"noCommodity"},[i("v-uni-view",{staticClass:"pictrue"},[i("v-uni-image",{attrs:{src:"/static/images/noCoupon.png"}})],1)],1):t._e()],1)},n=[]},"3b3e":function(t,e,o){"use strict";o("7a82");var i=o("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.assistHelpList=function(t,e){return n.default.get("store/product/assist/user/"+t,e)},e.assistUserData=function(){return n.default.get("store/product/assist/count",{},{noAuth:!0})},e.getActivitycategory=function(t){return n.default.get("product/spu/active/category/"+t,{},{noAuth:!0})},e.getAssistDetail=function(t){return n.default.get("store/product/assist/detail/"+t)},e.getAssistList=function(t){return n.default.get("store/product/assist/lst",t,{noAuth:!0})},e.getAssistUser=function(t){return n.default.get("store/product/assist/share/"+t)},e.getBargainUserCancel=function(t){return n.default.post("store/product/assist/set/delete/"+t)},e.getBargainUserList=function(t){return n.default.get("store/product/assist/set/lst",t)},e.getCombinationDetail=function(t){return n.default.get("store/product/group/detail/"+t,{},{noAuth:!0})},e.getCombinationList=function(t){return n.default.get("store/product/group/lst",t,{noAuth:!0})},e.getCombinationPink=function(t){return n.default.get("store/product/group/get/"+t)},e.getCombinationPoster=function(t){return n.default.post("combination/poster",t)},e.getCombinationUser=function(t){return n.default.get("store/product/group/count",t,{noAuth:!0})},e.getCouponLst=function(t){return n.default.get("coupon/getlst",t,{noAuth:!0})},e.getMerchantServiceLst=function(t){return n.default.get("store/merchant/local",t,{noAuth:!0})},e.getNewPeopleCouponLst=function(t){return n.default.get("coupon/new_people",t,{noAuth:!0})},e.getPresellList=function(t){return n.default.get("store/product/presell/lst",t,{noAuth:!0})},e.getSeckillDetail=function(t){return n.default.get("store/product/seckill/detail/"+t,{},{noAuth:!0})},e.getSeckillIndexTime=function(){return n.default.get("store/product/seckill/select",{},{noAuth:!0})},e.getSeckillList=function(t){return n.default.get("store/product/seckill/lst",t,{noAuth:!0})},e.getTopicDetail=function(t){return n.default.get("activity/info/".concat(t),{},{noAuth:!0})},e.getTopicList=function(t,e){return n.default.get("activity/lst/".concat(t),e,{noAuth:!0})},e.getTopicProLst=function(t){return n.default.get("product/spu/labels",t,{noAuth:!0})},e.hotRankingApi=function(t){return n.default.get("product/spu/get_hot_ranking",t,{noAuth:!0})},e.initiateAssistApi=function(t){return n.default.post("store/product/assist/create/"+t)},e.postAssistHelp=function(t){return n.default.post("store/product/assist/set/"+t)},e.postCombinationRemove=function(t){return n.default.post("store/product/group/cancel",t)},e.presellAgreement=function(){return n.default.get("store/product/presell/agree")},e.scombinationCode=function(t){return n.default.get("combination/code/"+t)},e.seckillCode=function(t,e){return n.default.get("seckill/code/"+t,e)},e.spuTop=function(t){return n.default.get("store/product/category/hotranking",{},{noAuth:!0})},e.spuTopList=function(t){return n.default.get("product/spu/get_hot_ranking",t,{noAuth:!0})};var n=i(o("b5ef"))},a9da:function(t,e,o){"use strict";var i=o("e1cb"),n=o.n(i);n.a},ad73:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAMAAAC3Ycb+AAAAgVBMVEUAAADf39/f39/g4ODf39/o6Ojf39/f39/i4uLi4uLe3t7f39/g4ODg4ODf39/g4ODf39/f39/f39/////f39/f39+ZmZm3t7fJycmoqKiqqqq8vLzOzs6dnZ3ExMTS0tKgoKDAwMCvr6/U1NTZ2dnW1tazs7Pb29umpqaioqKurq70JknqAAAAFXRSTlMA+fGCug3YZxYe6KNyN8FGkFgIBc+EZJNrAAAMH0lEQVR42uzZS3LCMBAA0ZHlvwGDw9z/qqmQLKhAKitwL/pdoUtTIykebGtd2r5JvVTTt0tdt/jHdGhL6m1Ke5jib+PZGm9X6hjPddU5tYumdvHE1Kd20k/xYPV47Gg+x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pyQnROkgY8UWDvOC1VZYn2SFaB5H04FCDvOCFIGmTneRBLmnINMgLXphDYo8BSRZkNoC67H3BC0HMosc6yLUcZEGDbHk6SLDLHusgU+nE0NuMBwANsvJsEO9ItrhbBRlnRx+GxB59/F5AWrMlDyKWpBMsjKRFsvzPj+Mgl/vyQINET6yyxLL4KN3Nml57skdyGCTY+fgKOZgbew9i7oYTBOntlkWQ0ZGcBCueSxcke0F60lrO8ukcEj0xh7TsPUouljfTMCLZDTIwch3+0iBfrPWPXrvgKftHwGL+8AF1+0FHuOegQSqjQSqjQSqjQSqjQSqjQX61Zye5DcNAFES/ZlmDY1vm/a+aOUAcB1nFqkW9KxTYRJMwBoExCIxBYAwCYxAYg8AYBMYgMAaBMQiMQWAMAmMQGIPAGATGIDAGgTEIjEFgDAJjEBiDwBgExiAwBoExCIxBYAwCYxAYg8AYBMYgMAaBMQiMQWAMAmMQGIPAGATGIDAGgTEIjEFgDAJjEBiDwBgExiAwBoExCIxBYAwCYxAYg8AYBMYgMAaBMQiMQWAMAmMQGIPAGATGIDAGgTEIjEFgDAJjEBiDwBgEJnURSJ2+CKTPsQjkmLkIZM6pCOSUcxHIOV1VhFF1SVuE0SYZijCGJGMRxpgXTRFEk1fdVIQwdXmzFCEsebf5fIJw3PJhdGgBTGO+rG6Hu6vWfHIZITjnm8EzsqtqyI3Vr8MdTWt+OFyLdnIdc8e2eEh2US9b7utO3iQPVzVdfndYWps8UNUuh/zh8tTMbe/0+md1387N0yW3ngFetGqLQ9czoQAAAABJRU5ErkJggg=="},af88:function(t,e,o){var i=o("24fb"),n=o("1de5"),a=o("b915");e=i(!1);var s=n(a);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/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.my-coupon .header[data-v-57908dab]{height:%?200?%;padding:0 %?15?%;background-color:var(--view-theme);border-bottom-left-radius:10%;border-bottom-right-radius:10%}.my-coupon .header .nav[data-v-57908dab]{border-radius:%?6?%;padding-top:%?30?%}.my-coupon .header .nav .item[data-v-57908dab]{text-align:center;font-size:%?26?%;color:#fff;padding:%?29?% 0;opacity:.7;line-height:%?2?%}.my-coupon .header .nav .item .num[data-v-57908dab]{margin-top:%?18?%}.my-coupon .header .nav .item.on[data-v-57908dab]{opacity:1;font-weight:700;border-bottom:%?5?% solid #fff}.my-coupon .listBox[data-v-57908dab]{margin:%?-73?% auto 0 auto;padding:0 %?30?%}.my-coupon .listBox .list[data-v-57908dab]{width:100%;height:%?260?%;overflow:hidden;background:#fff;border-radius:%?12?%;margin-bottom:%?25?%;text-align:center}.my-coupon .listBox .list .cross[data-v-57908dab]{display:flex}.my-coupon .listBox .list .cross .cross-left[data-v-57908dab]{margin-top:%?6?%}.my-coupon .listBox .list .cross .cross-left .easy-loadimage[data-v-57908dab], .my-coupon .listBox .list .cross .cross-left uni-image[data-v-57908dab]{width:%?200?%;height:%?200?%;border-radius:%?12?%}.my-coupon .listBox .list .cross .cross-right[data-v-57908dab]{margin-left:%?20?%;margin-top:%?6?%}.my-coupon .listBox .list .cross .cross-right .title[data-v-57908dab]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.my-coupon .listBox .list .cross .cross-right .time[data-v-57908dab]{margin-top:%?40?%;font-size:%?22?%;font-weight:400;color:#666}.my-coupon .listBox .list .left[data-v-57908dab]{width:75%;height:%?210?%;margin-top:%?20?%;border-right:%?2?% dashed #e5e5e5;text-align:left;padding-left:%?30?%}.my-coupon .listBox .list .left .tips[data-v-57908dab]{font-size:%?26?%;font-weight:600;color:#282828;display:block;overflow:auto}.my-coupon .listBox .list .left .info[data-v-57908dab]{margin-top:%?18?%;display:flex;justify-content:flex-start}.my-coupon .listBox .list .left .info .info-box[data-v-57908dab]{margin-right:%?25?%}.my-coupon .listBox .list .left .info .info-box .easy-loadimage[data-v-57908dab]{display:inline-block;width:%?130?%;height:%?130?%;border-radius:%?8?%}.my-coupon .listBox .list .left .info .info-box .money[data-v-57908dab]{text-align:center;font-size:%?24?%;font-weight:400;color:#666;margin-top:%?4?%}.my-coupon .listBox .list .right[data-v-57908dab]{width:25%;height:100%;position:relative}.my-coupon .listBox .list .right[data-v-57908dab]::before, .my-coupon .listBox .list .right[data-v-57908dab]::after{content:"";display:inline-block;width:%?24?%;height:%?24?%;background:#f5f5f5;border-radius:100%;position:absolute;bottom:%?-12?%}.my-coupon .listBox .list .right[data-v-57908dab]::before{left:%?-12?%}.my-coupon .listBox .list .right[data-v-57908dab]::after{top:%?-12?%;left:%?-12?%}.my-coupon .listBox .list .right .couponlogo[data-v-57908dab]{width:%?112?%;height:%?32?%;margin:0 auto;font-size:%?20?%;font-weight:400;line-height:%?38?%;color:#9b5434;background-image:url('+s+");background-size:%?112?% %?32?%}.my-coupon .listBox .list .right .title[data-v-57908dab]{width:%?146?%;height:%?169?%;margin:%?30?% auto 0;color:var(--view-priceColor);font-weight:600}.my-coupon .listBox .list .right .title .font1[data-v-57908dab]{font-size:%?26?%}.my-coupon .listBox .list .right .title .font2[data-v-57908dab]{font-size:%?32?%}.my-coupon .listBox .list .right .title .font3[data-v-57908dab]{font-size:%?24?%;font-weight:400;color:var(--view-theme)}.my-coupon .listBox .list .right .title p[data-v-57908dab]{margin-top:%?10?%}.my-coupon .listBox .list .right .title .btn[data-v-57908dab]{width:%?142?%;background:linear-gradient(270deg,var(--view-bntColor21),var(--view-bntColor22));border-radius:%?26?%;font-size:%?24?%;font-weight:400;color:#fff;line-height:%?44?%;text-align:center;margin-top:%?20?%}.my-coupon .listBox .list .right .title .btn.disabled[data-v-57908dab]{pointer-events:none;background:#ccc;color:#fff;border-color:#ccc;cursor:not-allowed}.my-coupon .listBox .list .right .title .shiyong[data-v-57908dab]{border:%?2?% solid var(--view-theme);background:none;color:var(--view-theme);border-radius:%?26?%}.my-coupon .listBox .list .right .title .shiyong.disabled[data-v-57908dab]{pointer-events:none;color:#ccc;border-color:#ccc;cursor:not-allowed;background:none}.my-coupon .listBox .list:nth-child(1) .right[data-v-57908dab]::after{background-color:var(--view-theme)}.noCommodity[data-v-57908dab]{width:100%;margin-top:%?4?%;background-color:#f5f5f5}.noCommodity .pictrue[data-v-57908dab]{margin:0 auto}",""]),t.exports=e},b915:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHAAAAAgCAMAAAD9sAyOAAAA/FBMVEUAAAD5zKj4wKj1wJj5za70v5n+1rr0vpf917r2xJ/yuI//2b3+1bn3x6L92LvvtIv1wp780rTwtYv6za3xtoz2xqP/2b/wtoz4y6r/2b/4yqnwtoz3yabyt47xuY/5zKvxt43/28HzvZX7z7DxuJD91rv80rTzv5v80rP/z7f+2b75y6v0v5jwtYv2w5/2xaHxuI7917v80rT5za31wZzzvJXzu5P81Lf807b6z7D1wp391bj70LL4yqn4yqj4yKb3x6XzvZb/2sD2xqPyupH/28H92Lz91rn6zq73xqT3yKb0wJr0v5rxuZHxto360LLyuZD70LH6z7Hwt46k42WHAAAAKnRSTlMADwhDJtrZonJbU09ANPnz8e7e2cjAtaymlIyJci719O7q0768qJOEWyANhWbjAAABJElEQVRIx73V5VLDYBCF4ROpuzuu1aAh1FJBApQK938vZMgMMyWb9gff9jnzzl7CQooF8+OnneywFFHxI+of1x2ctyThl5yvPzMvHsGa0yte8SjWyf6XLueC+Cuid3WdLT/cUg8OneMG4XZ2zegSbhe93rzHVAqE6NKYG8vVymC4GRDUV4NtxyBIN3yKoOw32JRByfT7/QZPVVByg8FgyFMIlOLbkGsKKGXTMk1zYif8qqBUJ5a9SccSf2VQQh0uSZCUNhcfSGr70SH85kCSbrkEQEt+vPPsHLRAk0kMNGU0GjUZ8sHL0R2LELyE7zn44C0wnU0XdlOBd6+GDU4W2kwTWxibyAXtS9MEdhDDFkq29SlsiYqE7WqVbLr1f4l0IUx8iW94zIc0Zo16nQAAAABJRU5ErkJggg=="},d485:function(t,e,o){"use strict";o("7a82");var i=o("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,o("acd8"),o("99af");var n=o("3b3e"),a=o("ef5b"),s=o("26cb"),u=i(o("ae65")),r={computed:(0,s.mapGetters)(["viewColor"]),components:{easyLoadimage:u.default},data:function(){return{type:"",list:[],loading:!1,loaded:!1,page:1,limit:15}},onLoad:function(){this.statusClick(-1)},methods:{parsePrice:function(t){return t>=100?parseFloat(t):t},receiveCoupon:function(t){(0,a.setCouponReceive)(t.coupon_id).then((function(e){t.issue=1,uni.showToast({title:e.message,icon:"none"})})).catch((function(t){uni.showToast({title:t,icon:"none"})}))},getList:function(){var t=this;this.loading||this.loaded||(this.loading=!0,(0,n.getCouponLst)({product:1,type:-1==this.type?"":this.type,page:this.page,limit:this.limit}).then((function(e){t.list=t.list.concat(e.data.list),t.loading=!1,t.loaded=e.data.list.length!=t.limit,t.page++})))},statusClick:function(t){t!=this.type&&(this.loaded=!1,this.loading=!1,this.page=1,this.list=[],this.type=t,this.getList())}},onPageScroll:function(t){uni.$emit("scroll")},onReachBottom:function(){this.getList()}};e.default=r},e1cb:function(t,e,o){var i=o("af88");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=o("4f06").default;n("1c8f5336",i,!0,{sourceMap:!1,shadowMode:!1})},e2f9:function(t,e,o){"use strict";o.r(e);var i=o("1578"),n=o("f79a");for(var a in n)["default"].indexOf(a)<0&&function(t){o.d(e,t,(function(){return n[t]}))}(a);o("a9da");var s=o("f0c5"),u=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"57908dab",null,!1,i["a"],void 0);e["default"]=u.exports},ef5b:function(t,e,o){"use strict";o("7a82");var i=o("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.ajcaptchaCheck=function(t){return n.default.post("ajcheck",t,{noAuth:!0})},e.appleAppAuth=function(t){return n.default.post("auth/apple",t,{noAuth:!0})},e.appletsDecrypt=function(t){return n.default.post("user/mp/binding",t)},e.bindingPhone=function(t){return n.default.post("user/binding",t)},e.getAjcaptcha=function(t){return n.default.get("ajcaptcha",t,{noAuth:!0})},e.getAppVersion=function(){return n.default.get("appVersion",{},{noAuth:!0})},e.getArticleBannerList=function(){return n.default.get("article/banner/list",{},{noAuth:!0})},e.getArticleCategoryList=function(){return n.default.get("article/category/lst",{},{noAuth:!0})},e.getArticleDetails=function(t){return n.default.get("article/detail/"+t,{},{noAuth:!0})},e.getArticleHotList=function(){return n.default.get("article/hot/list",{},{noAuth:!0})},e.getArticleList=function(t,e){return n.default.get("article/lst/"+t,e,{noAuth:!0})},e.getCity=function(){return n.default.get("system/city/lst",{},{noAuth:!0})},e.getCityList=function(t){return n.default.get("v2/system/city",{address:t},{noAuth:!0})},e.getCityV2=function(t){return n.default.get("v2/system/city/lst/"+t,{},{noAuth:!0})},e.getCoupons=function(t){return n.default.get("coupon/product",t,{noAuth:!0})},e.getDiy=function(t){return n.default.get("diy",t,{noAuth:!0})},e.getIndexData=function(){return n.default.get("common/home",{},{noAuth:!0})},e.getLiveList=function(t,e){return n.default.get("wechat/live",{page:t,limit:e},{noAuth:!0})},e.getLogo=function(){return n.default.get("wechat/get_logo",{},{noAuth:!0})},e.getPageDiy=function(t){return n.default.get("micro",t,{noAuth:!0})},e.getShopCoupons=function(t){return n.default.get("coupon/store/"+t,{},{noAuth:!0})},e.getTemlIds=function(){return n.default.get("wechat/teml_ids",{},{noAuth:!0})},e.getUserCoupons=function(t){return n.default.get("coupon/list",t)},e.loginMobile=function(t){return n.default.post("login/mobile",t,{noAuth:!0})},e.logout=function(){return n.default.get("logout")},e.modifyPassword=function(t){return n.default.post("user/change/password",t)},e.modifyPhone=function(t){return n.default.post("user/change/phone",t)},e.phoneLogin=function(t){return n.default.post("login",t,{noAuth:!0})},e.phoneRegister=function(t){return n.default.post("register",t,{noAuth:!0})},e.phoneRegisterReset=function(t){return n.default.post("register/reset",t,{noAuth:!0})},e.pink=function(){return n.default.get("pink",{},{noAuth:!0})},e.registerVerify=function(t,e,o,i){return n.default.post("register/verify",{phone:t,type:void 0===e?"reset":e,key:o,code:i},{noAuth:!0})},e.setCouponReceive=function(t){return n.default.post("coupon/receive/"+t)},e.setFormId=function(t){return n.default.post("wechat/set_form_id",{formId:t})},e.switchH5Login=function(t){return n.default.post("user/switch",t)},e.verifyCode=function(){return n.default.get("verify_code",{},{noAuth:!0})},e.wechatAppAuth=function(t){return n.default.post("auth/app",t,{noAuth:!0})};var n=i(o("b5ef"))},f79a:function(t,e,o){"use strict";o.r(e);var i=o("d485"),n=o.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){o.d(e,t,(function(){return i[t]}))}(a);e["default"]=n.a}}]); |