1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["Home"],{"00d0":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"after-sales-page"},t._l(t.lists,(function(e){return n("div",{key:e,staticClass:"order mt10"},[n("div",{staticClass:"top"},[n("span",{staticClass:"no"},[t._v("订单编号:"+t._s(e.order_no))]),n("span",{staticClass:"status"},[t._v(t._s(t.statusMaps[e.status]))])]),t._l(e.order_detail,(function(e){return n("van-card",{key:e,staticClass:"card",attrs:{price:e.unit_price,num:e.num,title:"",thumb:e.goods_id_images[0]},scopedSlots:t._u([{key:"title",fn:function(){return[n("p",{staticClass:"title"},[t._v(t._s(e.goods_id_name))])]},proxy:!0},{key:"footer",fn:function(){},proxy:!0}],null,!0)})})),n("div",{staticClass:"bottom"},[n("span",{staticClass:"total"},[t._v("订单金额:"),n("b",{staticClass:"fb"},[t._v("¥"+t._s(e.pay_price))])]),n("span",{staticClass:"btn-g"},[9==e.status&&0==e.exchange.status?[n("van-button",{staticClass:"btn",attrs:{round:"",plain:"",size:"mini"},on:{click:function(n){return t.cacleReturnGood(e.exchange.id)}}},[t._v("取消售后")]),n("van-button",{staticClass:"btn",attrs:{round:"",plain:"",size:"mini",type:"danger"}},[t._v("审核中")])]:t._e(),9==e.status&&1==e.exchange.status?[""==e.exchange.ship_number?n("van-button",{staticClass:"btn",attrs:{round:"",plain:"",size:"mini",type:"danger"},on:{click:function(n){return t.returnGood(e)}}},[t._v("填写物流")]):t._e(),e.exchange.ship_number?n("van-button",{staticClass:"btn",attrs:{round:"",plain:"",size:"mini",type:"danger"}},[t._v("已填物流单号")]):t._e()]:t._e(),9==e.status&&3==e.exchange.status?[n("van-button",{staticClass:"btn",attrs:{round:"",plain:"",size:"mini",type:"danger"}},[t._v("已完成")])]:t._e(),9==e.status&&4==e.exchange.status?[n("van-button",{staticClass:"btn",attrs:{round:"",plain:"",size:"mini"},on:{click:function(n){return t.cacleReturnGood(e.exchange.id)}}},[t._v("已取消")])]:t._e(),9==e.status&&2==e.exchange.status?[n("van-button",{staticClass:"btn",attrs:{round:"",plain:"",size:"mini",type:"danger"},on:{click:function(n){return t.go("/returnGood?id="+e.exchange.order_id+"&exchange_id="+e.exchange.id)}}},[t._v("审核失败,点击修改")])]:t._e()],2)])],2)})),0)},s=[],r=n("a34a"),i=n.n(r),o=n("c24f"),c=n("f8b7");function u(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function l(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){u(r,a,s,i,o,"next",t)}function o(t){u(r,a,s,i,o,"throw",t)}i(void 0)}))}}var d={components:{},data:function(){return{lists:[],statusMaps:["未知","待支付","待发货","支付失败","取消订单","已发货","确认收货","已完成","订单失效","退换货"]}},computed:{},mounted:function(){var t=this;return l(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["k"])();case 2:n=e.sent,a=n.data,t.lists=a;case 5:case"end":return e.stop()}}),e)})))()},methods:{cacleReturnGood:function(t){var e=this;return l(i.a.mark((function n(){var a,s;return i.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,Object(c["f"])(t);case 2:a=n.sent,s=a.code,2e3==s&&e.$toast("提交成功"),e.go("/orders");case 6:case"end":return n.stop()}}),n)})))()},returnGood:function(t){this.go("/retrunGoodLogistics?id="+t.exchange.id)},go:function(t){this.$router.push(t)}}},p=d,f=(n("3d14"),n("2877")),v=Object(f["a"])(p,a,s,!1,null,"306d1950",null);e["default"]=v.exports},"0157":function(t,e,n){"use strict";n("2aa8")},"052d":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"step3-page"},[t._m(0),n("div",{staticClass:"title-info mt10"},[t._v("收款信息:")]),t._m(1),n("div",{staticClass:"upload mt10"},[t._m(2),n("van-uploader",{staticClass:"upload-img",attrs:{accept:"image/*","max-count":1,"after-read":t.upload},model:{value:t.fileList,callback:function(e){t.fileList=e},expression:"fileList"}})],1),n("van-button",{staticClass:"btn",attrs:{round:"",block:"",type:"danger"},on:{click:t.saveImg}},[t._v(" 提交 ")])],1)},s=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"des"},[t._v(" 通过网银、银行柜台或手机银行向如下专属收款账号转账 "),n("p",[t._v("待缴保证金:¥2000")])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card-box"},[n("div",{staticClass:"row"},[n("span",{staticClass:"name"},[t._v("收款人")]),n("span",{staticClass:"value"},[t._v("深圳杰安易购商城德国际酒业有限公司")]),n("span",{staticClass:"clone"},[t._v("复制")])]),n("div",{staticClass:"row"},[n("span",{staticClass:"name"},[t._v("账号")]),n("span",{staticClass:"value"},[t._v("123456789")]),n("span",{staticClass:"clone"},[t._v("复制")])]),n("div",{staticClass:"row"},[n("span",{staticClass:"name"},[t._v("开户行")]),n("span",{staticClass:"value"},[t._v("中国建设银行")]),n("span",{staticClass:"clone"},[t._v("复制")])]),n("div",{staticClass:"row"},[n("span",{staticClass:"name"},[t._v("银联号")]),n("span",{staticClass:"value"},[t._v("987456321")]),n("span",{staticClass:"clone"},[t._v("复制")])])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("p",{staticClass:"title"},[t._v("上传图片"),n("span",[t._v("(支持jpg/png格式)")])])}],r=n("a34a"),i=n.n(r),o=n("121a");function c(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){c(r,a,s,i,o,"next",t)}function o(t){c(r,a,s,i,o,"throw",t)}i(void 0)}))}}var l={components:{},data:function(){return{fileList:[]}},computed:{},mounted:function(){},methods:{saveImg:function(){this.go("/progress")},upload:function(t){var e=this;return u(i.a.mark((function n(){var a,s;return i.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return console.log(t),a=new FormData,a.append("file",t.file,t.file.name),n.next=5,Object(o["c"])(a);case 5:s=n.sent,2e3==s.code&&e.fileList.push({url:s.data.path});case 7:case"end":return n.stop()}}),n)})))()},go:function(t){this.$router.push(t)}}},d=l,p=(n("91ad"),n("2877")),f=Object(p["a"])(d,a,s,!1,null,"792cb139",null);e["default"]=f.exports},"062b":function(t,e,n){},"085b":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD4AAAA0CAYAAADSWosiAAAHVElEQVRoQ+2aeWwUVRzHv78pvbvdllJKEaOJJmqIUTEBREMUxAsjCqWAQLgPkZsCQjmGAuWwRaAItFBuAhTEmOBOjMQYMYj1DyXEK9FEA1J6d7vbspTdeWa6O3vMzuzs0mnmD5i/2r7fe7/3eb/j/d57JdynH92n3HgAfr9ZvssW33K+zcYYe9OMhSMiYdXo1LfuRXeXwTefc9oYEAKuNShTzLDLygGhMC/NHPBNZ502xnzgShLmQyVFg7wCYfLelZHF5e5hFvX1I0BYM9Yk8KIqpw0yOJQ2vRcnjKEPkbAu3yTwDaedNiByjGsZOAZEDVES1o83CZw/1WpjjLwxrhe0Cs+/15gPLCQT+Anp5sT4upOtNiiSW3hM+lbETyqvgE8ybAVkeUVDWK5gQtFEk8DXSuD+GO+688Y4grBxklngJyRXD93OpMkzDoXx8ZYSPp86YoQJEeerWILnrqOAidisHIcI5oEXHrcHwFlgn0lIslj4fHJ2BVruy1extA6XwyGnEH8AEITiySZZfPXRIPCQ5EarGl2W0oo5dLcr8LPLWXxWkmMZGNsSbnESiqeYBL7yiN1G2jEuGSfIQN6px7jbS8upul8wgrBtqtWcrL7ykN2f1cP3a+9fAgWcd/5MgR5OFerUgXGVzk7Ctukmga+olFxdUcBolKJ+Vw0LVl+LXh0gD+CvB0jYPsMk8IKDdhtMOp2BSCiZaRL4sooW/QLGb+poa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KO2xZfPFE8savoPrcg2xtWnba3XdXUl5cYZGXiol/p21uH2bmfSl5RIOF2kndX/a3BjbaV+iATrP/yRQeBTt8QO/tLTiZgx0qJpdSnRSQnvjcEpmPteuqZc5ZcOfH/tjl5Yh7QfWWUQ+JTiALjmY56smrzOIYXp+qkZeLRPvOak226LSI1Qx/9z6y42HLH7y2FpoGj0H1vd2xhXn7ypLszVw2JLBa+XNQ78tAykp8Z+SGltE8EfbkGD3aO6cJH0H19jEPikjeHg0fpev+w4LB1nRXZG9MfS+hYPdpyx40a9OrSe7hNrDQKfWFQXSNrK526tZ3CfT0qWsaQQxg1LxdBnknQvIr676sKZb9rgaA91Ms3ndhX9J9cZBD6Br9XO6rov+QH7SCXp4P6JeObxhE4PsKRwcLSLkCx89a+7uPKrCzVNPitHu4+o6D/F5xgT4+PXRwDX8zsT2k9vMAh83LqugEd9a2rYEp0pMgh87JpbTM6igdkpX0pC5x1+66r1khCZV/kSE43+qo19jHH1vMJb0UZc7Fa7t/WIqOfcZoPAx6zuRvDYl0q3x2fFBoGPXqUG3n1OEEqm5bXa+s9vyTXG1d9dWaNSuXmnp7e/apkn/F9avJLR7o5KueDxPt9qEPioFeHguv5mosAX2w0CN5GhW1RHfdnYLdpNHPQBuImLb4rq/wFkys9Tur1kugAAAABJRU5ErkJggg=="},"0a2b":function(t,e,n){},"0bad":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"shop-page"},[t.shops.length?t._e():n("van-empty",{attrs:{description:"没有找到相关门店"}}),t.shops.length?t._l(t.shops,(function(e){return n("van-card",{key:e,staticClass:"card",attrs:{thumb:e.img},on:{click:function(n){return t.go(e)}},scopedSlots:t._u([{key:"title",fn:function(){return[n("p",{staticClass:"title"},[t._v(t._s(e.name))])]},proxy:!0},{key:"desc",fn:function(){return[n("p",{staticClass:"row"},[t._v(" 电 话:"),n("a",{staticClass:"tel",attrs:{href:"tel:"+e.phone}},[n("van-icon",{staticClass:"icon",attrs:{name:"phone",size:"14"}}),t._v(t._s(e.phone))],1)]),n("p",{staticClass:"row"},[t._v("运营时间:"+t._s(e.s_time)+"-"+t._s(e.e_time))])]},proxy:!0},{key:"price",fn:function(){return[n("span",{staticClass:"address"},[t._v(t._s(e.detail))])]},proxy:!0},{key:"footer",fn:function(){return[n("div",{staticClass:"number"},[t._v(t._s(e.distance)+"km")])]},proxy:!0}],null,!0)})})):t._e()],2)},s=[],r=n("a34a"),i=n.n(r),o=n("e692"),c=n("121a");function u(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function l(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){u(r,a,s,i,o,"next",t)}function o(t){u(r,a,s,i,o,"throw",t)}i(void 0)}))}}var d=n("18a0"),p={components:{},data:function(){return{shops:[],lists:[],lists_loading:!1,lists_finished:!1,lists_nums:0,back_order:!1,is_empty:!1,active:0}},computed:{},mounted:function(){var t=this.$route.query.is_order;t&&(this.back_order=!0),this.getShops(),this.share()},methods:{getShops:function(){var t=this;return l(i.a.mark((function e(){var n,a,s;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["b"])();case 2:n=e.sent,a=n.code,s=n.data,2e3==a&&(t.shops=s);case 6:case"end":return e.stop()}}),e)})))()},getLists:function(){var t=this;return l(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["b"])(t.heder);case 2:n=e.sent,a=n.data,t.lists=t.goods.concat(a.data),t.lists_nums=a.count,t.lists_nums<=t.lists.length?t.lists_finished=!0:t.heder.page+=1,t.lists_loading=!1;case 8:case"end":return e.stop()}}),e)})))()},go:function(t){this.back_order&&this.$router.push("/order?shop_id="+t.id)},share:function(){var t=this;return l(i.a.mark((function e(){var n,a,s;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(c["b"])(["updateAppMessageShareData","updateTimelineShareData"]);case 2:n=e.sent,a=n.data,console.log(t.$store.getters.userInfo.id,"this.$store.getters.userInfo.id"),s=t.$store.getters.userInfo.id,d.config({debug:!1,appId:a.appId,timestamp:a.timestamp,nonceStr:a.nonceStr,signature:a.signature,jsApiList:a.jsApiList}),d.ready((function(){var t=Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_TITLE||"杰安易购商城",e=Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_DESC||"杰安易购商城",n=(Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_LINK||"http://h5.jiean91.cn")+"?pid="+s,a=Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_IMG||"http://admin.jiean91.cn/upload/20230403/0bbf8f28376ee8782f9d990d8a5307b5.png";d.updateAppMessageShareData({title:t,desc:e,link:n,imgUrl:a,success:function(){console.log("分享成功")}}),d.updateTimelineShareData({title:t,desc:e,link:n,imgUrl:a,success:function(){console.log("分享成功")}})}));case 8:case"end":return e.stop()}}),e)})))()}}},f=p,v=(n("6a54"),n("2877")),h=Object(v["a"])(f,a,s,!1,null,"c774794c",null);e["default"]=h.exports},"0c64":function(t,e,n){},"0ce0":function(t,e,n){t.exports=n.p+"static/img/yiquxiao.2d6a94b8.png"},"0d67":function(t,e,n){},"0df5":function(t,e,n){"use strict";n("bbde")},"0e0d":function(t,e,n){"use strict";n("4b21")},"0ffc":function(t,e,n){},"10de":function(t,e,n){},"11d4":function(t,e,n){"use strict";n.d(e,"d",(function(){return i})),n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return u})),n.d(e,"f",(function(){return l})),n.d(e,"g",(function(){return d})),n.d(e,"e",(function(){return p}));var a=n("4328"),s=n.n(a),r=n("b775");function i(t){return Object(r["a"])({url:"askFor/get_pid",method:"post",data:s.a.stringify(t),hideloading:!0})}function o(t){return Object(r["a"])({url:"askFor/city",method:"post",data:s.a.stringify(t),hideloading:!0})}function c(t){return t.id?Object(r["a"])({url:"askFor/intelligence_edit",method:"post",data:s.a.stringify(t),hideloading:!0}):Object(r["a"])({url:"askFor/shiye",method:"post",data:s.a.stringify(t),hideloading:!0})}function u(t){return Object(r["a"])({url:"askFor/chengshiMoney",method:"post",data:s.a.stringify(t),hideloading:!0})}function l(t){return Object(r["a"])({url:"askFor/shiyeMoney",method:"post",data:s.a.stringify(t),hideloading:!0})}function d(t){return Object(r["a"])({url:"askFor/vipWhere",method:"post",data:s.a.stringify(t),hideloading:!0})}function p(t){return Object(r["a"])({url:"askFor/intelligence",method:"post",data:s.a.stringify(t),hideloading:!0})}},"121a":function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"b",(function(){return c}));var a=n("4328"),s=n.n(a),r=n("b775");function i(t){var e={key:t};return Object(r["a"])({url:"content/get_gvrp",method:"post",data:s.a.stringify(e),hideloading:!0})}function o(t){return Object(r["a"])({url:"index/upload",method:"post",data:t,headers:{"Content-Type":"multipart/form-data"},hideloading:!0})}function c(t){var e={apis:t,url:window.location.href};return Object(r["a"])({url:"wechat/jssdk",method:"post",data:s.a.stringify(e),hideloading:!0})}},"124b":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD4AAAA0CAYAAADSWosiAAAI4UlEQVRoQ+1afWxddRl+3nO7tV1boGSuQjIBY3CiCYnD7Q9Q0jjLV8Q5SYz+gfEDJxEVMDNkxLhoQGIwfATdWA4aA9ZAYAFXlAEr3dZ9o0MSjMaIMYHEbl1ax3rvbe8972N+53e+z7mXFrJD4naTpvf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){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tixian-page"},[n("van-form",[n("van-cell-group",[n("van-field",{attrs:{type:"text",label:"积分:",placeholder:"单次可提现积分最高500"},model:{value:t.form.money,callback:function(e){t.$set(t.form,"money",e)},expression:"form.money"}})],1),n("div",{staticClass:"title"},[t._v("可提现积分:"+t._s(t.user.rebate_m)+"个(1积分等于人民币1元)")]),n("van-cell",{attrs:{title:"可提现方式","is-link":"",value:"微信"},on:{click:t.changeType}}),n("van-button",{staticClass:"btn",attrs:{round:"",block:"",type:"danger"},on:{click:function(e){return e.stopPropagation(),t.save.apply(null,arguments)}}},[t._v(" 提交 ")])],1)],1)},s=[],r=n("a34a"),i=n.n(r),o=n("c24f");function c(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){c(r,a,s,i,o,"next",t)}function o(t){c(r,a,s,i,o,"throw",t)}i(void 0)}))}}var l={components:{},data:function(){return{form:{content:"",money:null},user:{rebate_m:0},tSatus:!1,applyCode:0}},computed:{},mounted:function(){this.load(),this.isHaveApply()},methods:{save:function(){var t=this;return u(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(4e3!=t.applyCode){e.next=3;break}return t.tSatus=!1,e.abrupt("return",t.$notify("您有提现申请正在审核,暂不可提现"));case 3:if(!(t.form.money>500)){e.next=6;break}return t.tSatus=!1,e.abrupt("return",t.$notify("单次可提现积分最高500"));case 6:if(!(t.form.money<=0)){e.next=9;break}return t.tSatus=!1,e.abrupt("return",t.$notify("提现积分不能等于0"));case 9:if(!(100*t.user.rebate_m<100*t.form.money)){e.next=12;break}return t.tSatus=!1,e.abrupt("return",t.$notify("提现积分不能超过最大可提现积分"));case 12:if(!t.tSatus){e.next=17;break}return t.$notify("已经提交,请勿重复提交!"),e.abrupt("return");case 17:t.tSatus=!0;case 18:return e.next=20,Object(o["E"])(t.form);case 20:return n=e.sent,a=n.code,t.tSatus=!1,2e3==a&&(t.$toast("申请已提交"),setTimeout((function(){t.$router.go(-1)}),2e3)),e.next=26,t.isHaveApply();case 26:case"end":return e.stop()}}),e)})))()},isHaveApply:function(){var t=this;return u(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["c"])();case 2:n=e.sent,a=n.code,t.applyCode=a;case 5:case"end":return e.stop()}}),e)})))()},load:function(){var t=this;return u(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["J"])();case 2:n=e.sent,a=n.data,t.user=a;case 5:case"end":return e.stop()}}),e)})))()},changeType:function(){this.$toast("目前仅支持微信")},go:function(){this.$router.push("/good")}}},d=l,p=(n("df0d"),n("2877")),f=Object(p["a"])(d,a,s,!1,null,"0e74ffde",null);e["default"]=f.exports},"166e":function(t,e,n){t.exports=n.p+"static/img/daifahuo.73d205a2.png"},"18a0":function(t,e){!function(e,n){t.exports=n(e)}(window,(function(t,e){if(!t.jWeixin){var n,a={config:"preVerifyJSAPI",onMenuShareTimeline:"menu:share:timeline",onMenuShareAppMessage:"menu:share:appmessage",onMenuShareQQ:"menu:share:qq",onMenuShareWeibo:"menu:share:weiboApp",onMenuShareQZone:"menu:share:QZone",previewImage:"imagePreview",getLocation:"geoLocation",openProductSpecificView:"openProductViewWithPid",addCard:"batchAddCard",openCard:"batchViewCard",chooseWXPay:"getBrandWCPayRequest",openEnterpriseRedPacket:"getRecevieBizHongBaoRequest",startSearchBeacons:"startMonitoringBeacons",stopSearchBeacons:"stopMonitoringBeacons",onSearchBeacons:"onBeaconsInRange",consumeAndShareCard:"consumedShareCard",openAddress:"editAddress"},s=function(){var t={};for(var e in a)t[a[e]]=e;return t}(),r=t.document,i=r.title,o=navigator.userAgent.toLowerCase(),c=navigator.platform.toLowerCase(),u=!(!c.match("mac")&&!c.match("win")),l=-1!=o.indexOf("wxdebugger"),d=-1!=o.indexOf("micromessenger"),p=-1!=o.indexOf("android"),f=-1!=o.indexOf("iphone")||-1!=o.indexOf("ipad"),v=(n=o.match(/micromessenger\/(\d+\.\d+\.\d+)/)||o.match(/micromessenger\/(\d+\.\d+)/))?n[1]:"",h={initStartTime:V(),initEndTime:0,preVerifyStartTime:0,preVerifyEndTime:0},m={version:1,appId:"",initTime:0,preVerifyTime:0,networkType:"",isPreVerifyOk:1,systemType:f?1:p?2:-1,clientVersion:v,url:encodeURIComponent(location.href)},g={},b={_completes:[]},A={state:0,data:{}};D((function(){h.initEndTime=V()}));var _=!1,y=[],w={config:function(e){j("config",g=e);var n=!1!==g.check;D((function(){if(n)C(a.config,{verifyJsApiList:O(g.jsApiList),verifyOpenTagList:O(g.openTagList)},function(){b._complete=function(t){h.preVerifyEndTime=V(),A.state=1,A.data=t},b.success=function(t){m.isPreVerifyOk=0},b.fail=function(t){b._fail?b._fail(t):A.state=-1};var t=b._completes;return t.push((function(){!function(){if(!(u||l||g.debug||v<"6.0.2"||m.systemType<0)){var t=new Image;m.appId=g.appId,m.initTime=h.initEndTime-h.initStartTime,m.preVerifyTime=h.preVerifyEndTime-h.preVerifyStartTime,w.getNetworkType({isInnerInvoke:!0,success:function(e){m.networkType=e.networkType;var n="https://open.weixin.qq.com/sdk/report?v="+m.version+"&o="+m.isPreVerifyOk+"&s="+m.systemType+"&c="+m.clientVersion+"&a="+m.appId+"&n="+m.networkType+"&i="+m.initTime+"&p="+m.preVerifyTime+"&u="+m.url;t.src=n}})}}()})),b.complete=function(e){for(var n=0,a=t.length;n<a;++n)t[n]();b._completes=[]},b}()),h.preVerifyStartTime=V();else{A.state=1;for(var t=b._completes,e=0,s=t.length;e<s;++e)t[e]();b._completes=[]}})),w.invoke||(w.invoke=function(e,n,a){t.WeixinJSBridge&&WeixinJSBridge.invoke(e,E(n),a)},w.on=function(e,n){t.WeixinJSBridge&&WeixinJSBridge.on(e,n)})},ready:function(t){0!=A.state?t():(b._completes.push(t),!d&&g.debug&&t())},error:function(t){v<"6.0.2"||(-1==A.state?t(A.data):b._fail=t)},checkJsApi:function(t){C("checkJsApi",{jsApiList:O(t.jsApiList)},(t._complete=function(t){if(p){var e=t.checkResult;e&&(t.checkResult=JSON.parse(e))}t=function(t){var e=t.checkResult;for(var n in e){var a=s[n];a&&(e[a]=e[n],delete e[n])}return t}(t)},t))},onMenuShareTimeline:function(t){S(a.onMenuShareTimeline,{complete:function(){C("shareTimeline",{title:t.title||i,desc:t.title||i,img_url:t.imgUrl||"",link:t.link||location.href,type:t.type||"link",data_url:t.dataUrl||""},t)}},t)},onMenuShareAppMessage:function(t){S(a.onMenuShareAppMessage,{complete:function(e){"favorite"===e.scene?C("sendAppMessage",{title:t.title||i,desc:t.desc||"",link:t.link||location.href,img_url:t.imgUrl||"",type:t.type||"link",data_url:t.dataUrl||""}):C("sendAppMessage",{title:t.title||i,desc:t.desc||"",link:t.link||location.href,img_url:t.imgUrl||"",type:t.type||"link",data_url:t.dataUrl||""},t)}},t)},onMenuShareQQ:function(t){S(a.onMenuShareQQ,{complete:function(){C("shareQQ",{title:t.title||i,desc:t.desc||"",img_url:t.imgUrl||"",link:t.link||location.href},t)}},t)},onMenuShareWeibo:function(t){S(a.onMenuShareWeibo,{complete:function(){C("shareWeiboApp",{title:t.title||i,desc:t.desc||"",img_url:t.imgUrl||"",link:t.link||location.href},t)}},t)},onMenuShareQZone:function(t){S(a.onMenuShareQZone,{complete:function(){C("shareQZone",{title:t.title||i,desc:t.desc||"",img_url:t.imgUrl||"",link:t.link||location.href},t)}},t)},updateTimelineShareData:function(t){C("updateTimelineShareData",{title:t.title,link:t.link,imgUrl:t.imgUrl},t)},updateAppMessageShareData:function(t){C("updateAppMessageShareData",{title:t.title,desc:t.desc,link:t.link,imgUrl:t.imgUrl},t)},startRecord:function(t){C("startRecord",{},t)},stopRecord:function(t){C("stopRecord",{},t)},onVoiceRecordEnd:function(t){S("onVoiceRecordEnd",t)},playVoice:function(t){C("playVoice",{localId:t.localId},t)},pauseVoice:function(t){C("pauseVoice",{localId:t.localId},t)},stopVoice:function(t){C("stopVoice",{localId:t.localId},t)},onVoicePlayEnd:function(t){S("onVoicePlayEnd",t)},uploadVoice:function(t){C("uploadVoice",{localId:t.localId,isShowProgressTips:0==t.isShowProgressTips?0:1},t)},downloadVoice:function(t){C("downloadVoice",{serverId:t.serverId,isShowProgressTips:0==t.isShowProgressTips?0:1},t)},translateVoice:function(t){C("translateVoice",{localId:t.localId,isShowProgressTips:0==t.isShowProgressTips?0:1},t)},chooseImage:function(t){C("chooseImage",{scene:"1|2",count:t.count||9,sizeType:t.sizeType||["original","compressed"],sourceType:t.sourceType||["album","camera"]},(t._complete=function(t){if(p){var e=t.localIds;try{e&&(t.localIds=JSON.parse(e))}catch(t){}}},t))},getLocation:function(t){},previewImage:function(t){C(a.previewImage,{current:t.current,urls:t.urls},t)},uploadImage:function(t){C("uploadImage",{localId:t.localId,isShowProgressTips:0==t.isShowProgressTips?0:1},t)},downloadImage:function(t){C("downloadImage",{serverId:t.serverId,isShowProgressTips:0==t.isShowProgressTips?0:1},t)},getLocalImgData:function(t){!1===_?(_=!0,C("getLocalImgData",{localId:t.localId},(t._complete=function(t){if(_=!1,0<y.length){var e=y.shift();wx.getLocalImgData(e)}},t))):y.push(t)},getNetworkType:function(t){C("getNetworkType",{},(t._complete=function(t){t=function(t){var e=t.errMsg;t.errMsg="getNetworkType:ok";var n=t.subtype;if(delete t.subtype,n)t.networkType=n;else{var a=e.indexOf(":"),s=e.substring(a+1);switch(s){case"wifi":case"edge":case"wwan":t.networkType=s;break;default:t.errMsg="getNetworkType:fail"}}return t}(t)},t))},openLocation:function(t){C("openLocation",{latitude:t.latitude,longitude:t.longitude,name:t.name||"",address:t.address||"",scale:t.scale||28,infoUrl:t.infoUrl||""},t)},getLocation:function(t){C(a.getLocation,{type:(t=t||{}).type||"wgs84"},(t._complete=function(t){delete t.type},t))},hideOptionMenu:function(t){C("hideOptionMenu",{},t)},showOptionMenu:function(t){C("showOptionMenu",{},t)},closeWindow:function(t){C("closeWindow",{},t=t||{})},hideMenuItems:function(t){C("hideMenuItems",{menuList:t.menuList},t)},showMenuItems:function(t){C("showMenuItems",{menuList:t.menuList},t)},hideAllNonBaseMenuItem:function(t){C("hideAllNonBaseMenuItem",{},t)},showAllNonBaseMenuItem:function(t){C("showAllNonBaseMenuItem",{},t)},scanQRCode:function(t){C("scanQRCode",{needResult:(t=t||{}).needResult||0,scanType:t.scanType||["qrCode","barCode"]},(t._complete=function(t){if(f){var e=t.resultStr;if(e){var n=JSON.parse(e);t.resultStr=n&&n.scan_code&&n.scan_code.scan_result}}},t))},openAddress:function(t){C(a.openAddress,{},(t._complete=function(t){t=function(t){return t.postalCode=t.addressPostalCode,delete t.addressPostalCode,t.provinceName=t.proviceFirstStageName,delete t.proviceFirstStageName,t.cityName=t.addressCitySecondStageName,delete t.addressCitySecondStageName,t.countryName=t.addressCountiesThirdStageName,delete t.addressCountiesThirdStageName,t.detailInfo=t.addressDetailInfo,delete t.addressDetailInfo,t}(t)},t))},openProductSpecificView:function(t){C(a.openProductSpecificView,{pid:t.productId,view_type:t.viewType||0,ext_info:t.extInfo},t)},addCard:function(t){for(var e=t.cardList,n=[],s=0,r=e.length;s<r;++s){var i=e[s],o={card_id:i.cardId,card_ext:i.cardExt};n.push(o)}C(a.addCard,{card_list:n},(t._complete=function(t){var e=t.card_list;if(e){for(var n=0,a=(e=JSON.parse(e)).length;n<a;++n){var s=e[n];s.cardId=s.card_id,s.cardExt=s.card_ext,s.isSuccess=!!s.is_succ,delete s.card_id,delete s.card_ext,delete s.is_succ}t.cardList=e,delete t.card_list}},t))},chooseCard:function(t){C("chooseCard",{app_id:g.appId,location_id:t.shopId||"",sign_type:t.signType||"SHA1",card_id:t.cardId||"",card_type:t.cardType||"",card_sign:t.cardSign,time_stamp:t.timestamp+"",nonce_str:t.nonceStr},(t._complete=function(t){t.cardList=t.choose_card_info,delete t.choose_card_info},t))},openCard:function(t){for(var e=t.cardList,n=[],s=0,r=e.length;s<r;++s){var i=e[s],o={card_id:i.cardId,code:i.code};n.push(o)}C(a.openCard,{card_list:n},t)},consumeAndShareCard:function(t){C(a.consumeAndShareCard,{consumedCardId:t.cardId,consumedCode:t.code},t)},chooseWXPay:function(t){C(a.chooseWXPay,P(t),t)},openEnterpriseRedPacket:function(t){C(a.openEnterpriseRedPacket,P(t),t)},startSearchBeacons:function(t){C(a.startSearchBeacons,{ticket:t.ticket},t)},stopSearchBeacons:function(t){C(a.stopSearchBeacons,{},t)},onSearchBeacons:function(t){S(a.onSearchBeacons,t)},openEnterpriseChat:function(t){C("openEnterpriseChat",{useridlist:t.userIds,chatname:t.groupName},t)},launchMiniProgram:function(t){C("launchMiniProgram",{targetAppId:t.targetAppId,path:function(t){if("string"==typeof t&&0<t.length){var e=t.split("?")[0],n=t.split("?")[1];return e+=".html",void 0!==n?e+"?"+n:e}}(t.path),envVersion:t.envVersion},t)},openBusinessView:function(t){C("openBusinessView",{businessType:t.businessType,queryString:t.queryString||"",envVersion:t.envVersion},(t._complete=function(t){if(p){var e=t.extraData;if(e)try{t.extraData=JSON.parse(e)}catch(e){t.extraData={}}}},t))},miniProgram:{navigateBack:function(t){t=t||{},D((function(){C("invokeMiniProgramAPI",{name:"navigateBack",arg:{delta:t.delta||1}},t)}))},navigateTo:function(t){D((function(){C("invokeMiniProgramAPI",{name:"navigateTo",arg:{url:t.url}},t)}))},redirectTo:function(t){D((function(){C("invokeMiniProgramAPI",{name:"redirectTo",arg:{url:t.url}},t)}))},switchTab:function(t){D((function(){C("invokeMiniProgramAPI",{name:"switchTab",arg:{url:t.url}},t)}))},reLaunch:function(t){D((function(){C("invokeMiniProgramAPI",{name:"reLaunch",arg:{url:t.url}},t)}))},postMessage:function(t){D((function(){C("invokeMiniProgramAPI",{name:"postMessage",arg:t.data||{}},t)}))},getEnv:function(e){D((function(){e({miniprogram:"miniprogram"===t.__wxjs_environment})}))}}},x=1,k={};return r.addEventListener("error",(function(t){if(!p){var e=t.target,n=e.tagName,a=e.src;if(("IMG"==n||"VIDEO"==n||"AUDIO"==n||"SOURCE"==n)&&-1!=a.indexOf("wxlocalresource://")){t.preventDefault(),t.stopPropagation();var s=e["wx-id"];if(s||(s=x++,e["wx-id"]=s),k[s])return;k[s]=!0,wx.ready((function(){wx.getLocalImgData({localId:a,success:function(t){e.src=t.localData}})}))}}}),!0),r.addEventListener("load",(function(t){if(!p){var e=t.target,n=e.tagName;if(e.src,"IMG"==n||"VIDEO"==n||"AUDIO"==n||"SOURCE"==n){var a=e["wx-id"];a&&(k[a]=!1)}}}),!0),e&&(t.wx=t.jWeixin=w),w}function C(e,n,a){t.WeixinJSBridge?WeixinJSBridge.invoke(e,E(n),(function(t){I(e,t,a)})):j(e,a)}function S(e,n,a){t.WeixinJSBridge?WeixinJSBridge.on(e,(function(t){a&&a.trigger&&a.trigger(t),I(e,t,n)})):j(e,a||n)}function E(t){return(t=t||{}).appId=g.appId,t.verifyAppId=g.appId,t.verifySignType="sha1",t.verifyTimestamp=g.timestamp+"",t.verifyNonceStr=g.nonceStr,t.verifySignature=g.signature,t}function P(t){return{timeStamp:t.timestamp+"",nonceStr:t.nonceStr,package:t.package,paySign:t.paySign,signType:t.signType||"SHA1"}}function I(t,e,n){"openEnterpriseChat"!=t&&"openBusinessView"!==t||(e.errCode=e.err_code),delete e.err_code,delete e.err_desc,delete e.err_detail;var a=e.errMsg;a||(a=e.err_msg,delete e.err_msg,a=function(t,e){var n=t,a=s[n];a&&(n=a);var r="ok";if(e){var i=e.indexOf(":");"confirm"==(r=e.substring(i+1))&&(r="ok"),"failed"==r&&(r="fail"),-1!=r.indexOf("failed_")&&(r=r.substring(7)),-1!=r.indexOf("fail_")&&(r=r.substring(5)),"access denied"!=(r=(r=r.replace(/_/g," ")).toLowerCase())&&"no permission to execute"!=r||(r="permission denied"),"config"==n&&"function not exist"==r&&(r="ok"),""==r&&(r="fail")}return n+":"+r}(t,a),e.errMsg=a),(n=n||{})._complete&&(n._complete(e),delete n._complete),a=e.errMsg||"",g.debug&&!n.isInnerInvoke&&alert(JSON.stringify(e));var r=a.indexOf(":");switch(a.substring(r+1)){case"ok":n.success&&n.success(e);break;case"cancel":n.cancel&&n.cancel(e);break;default:n.fail&&n.fail(e)}n.complete&&n.complete(e)}function O(t){if(t){for(var e=0,n=t.length;e<n;++e){var s=t[e],r=a[s];r&&(t[e]=r)}return t}}function j(t,e){if(!(!g.debug||e&&e.isInnerInvoke)){var n=s[t];n&&(t=n),e&&e._complete&&delete e._complete,console.log('"'+t+'",',e||"")}}function V(){return(new Date).getTime()}function D(e){d&&(t.WeixinJSBridge?e():r.addEventListener&&r.addEventListener("WeixinJSBridgeReady",e,!1))}}))},"18ac":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"step10-page"},[a("div",{staticClass:"vip-img"},[a("van-image",{staticClass:"img",attrs:{src:n("824b")}})],1),a("div",{staticClass:"content mt10"},[a("p",[t._v("直接推荐"+t._s(t.info.need_count)+"人城市合伙人即可升级为代理商,还差"+t._s(t.info.need_count-t.info.has_count)+"人")]),a("p",[a("van-slider",{staticClass:"slider",attrs:{disabled:"",min:0,max:100},scopedSlots:t._u([{key:"button",fn:function(){return[a("p",{staticClass:"progress"},[a("van-progress",{attrs:{percentage:t.info.has_count/t.info.need_count*100>100?100:parseInt(t.info.has_count/t.info.need_count*100)}})],1)]},proxy:!0}]),model:{value:t.value,callback:function(e){t.value=e},expression:"value"}})],1),a("p",{staticClass:"goal"},[t.info.is_ok?a("van-button",{staticClass:"btn",attrs:{round:"",block:"",type:"danger"},on:{click:t.goTo}},[t._v(" 升级成为代理商 ")]):a("van-button",{staticClass:"btn",attrs:{round:"",block:"",disabled:"",type:"danger"}},[t._v(" 请先完成任务,再升级成为代理商 ")]),a("span",[t._v("Tips:成功推荐"+t._s(t.info.need_count)+"人城市合伙人后,方可解锁升级任务。")])],1)])])},s=[],r=n("a34a"),i=n.n(r),o=n("c24f");function c(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){c(r,a,s,i,o,"next",t)}function o(t){c(r,a,s,i,o,"throw",t)}i(void 0)}))}}var l={components:{},data:function(){return{value:0,info:{count_percentage:0,has_count:0,is_ok:!1,need_count:0}}},computed:{},mounted:function(){var t=this;return u(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["q"])();case 2:n=e.sent,a=n.data,t.info=a[0],t.value=parseInt(t.info.has_count/t.info.need_count*100),console.log(a);case 7:case"end":return e.stop()}}),e)})))()},methods:{goTo:function(){this.go("/step11")},go:function(t){this.$router.push(t)},onLoad:function(){for(var t=0;t<10;t++)this.list.push(this.list.length+1)}}},d=l,p=(n("1ed9"),n("2877")),f=Object(p["a"])(d,a,s,!1,null,"0eade30f",null);e["default"]=f.exports},"1a9f":function(t,e,n){"use strict";n("e24f")},"1cfa":function(t,e,n){},"1d9a":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD4AAAA0CAYAAADSWosiAAAHAklEQVRoQ+2aaWwUZRjH///ZrSsFBUGMiCIeaAxqMGrUCBr4oGiMYpBLEUQEJLTb3XZBOdQ1CGiPbbcFIihgVWwoKiqCfCFEjUaOGFExGo+AXPGoWECwtDuPme227DHTmXl3EQnOp83Oc/3med7nPWaI0/TiacqN/8FPt8znNOPyabATGj3DAd4LYgAgvQDGAOwDsBXkGpyR/z4Hh1tO9oPOGbisC00AORcivW2gvoXHE+LQF9adTPiswWV9oQ+6bwmA8e0gYoNECITzcE/Z0zR+n4Qre/C1oToIRsdjt0Kw9ML5vLds9kngzq6ryzvTg4BElAOPZ1sbxvtK31O2oaionHF5e2YPsPk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rNfXNPfBuAz4UEniGiPVrr4Ww2++f5LDE0NJROpVIyfhErXxhjNZkdDSilDjqOIzB5zlWpVM6v1+uzXk7qguu6g5FptFAo9BHRLoOiBOb9zLw7m83+NO5JS6XS28NCJkOrxqxHZkjfCvFO7OTN9/13hljrXRE1aYPruuORCoSVVLqhjzHzBRHC/koyjmVZX42z3p49e86ZnJy8SCnFtm3/Os5NZKhQrVY/DGALEUXxlpfb6XmedIyz1lx1oGGFqyKGt/+U5k1rXV7svN/3/VVKqSwAwTqzZlEApPJ+M8xMc75+XENzHjPfEk7NpkcuRga527btwUwm8/s492rel9Y1dJMbIqZx0/FnWdZQJpOR8c68K1EalUxg23YPM0sOFxjdvAT4PWBZlmD678/FLRwSXy2dmFJqZtLQOC+zKGYertVqd8VlwMgYiNNU9sOBb5f4asSkWlDs45LTq9Xql/r6+qZnN+Pj423VanWj1loyijlpkCM/E6S6YsWK+5JW8wUr0HyxUCisFTdg5vdF4JijAL4hjTozSysaNWm4V2u9O5fLPZrEeHOdSeRC8zGoVCprgiDIa627icicYMzOGETSjFSmpqZG8vm8DNIWvRatQEOCoaGhs9PpdLcoQ0RrjCA5rJQaPHny5P6kPUVSzVqmQIOhBOvq1avXBkFwiUQ3ET3quu7DSbq6pEK3JAYWwmwp7rT8BZZCyPlo/hdvz4ta0sTGuAAAAABJRU5ErkJggg=="},"20ed":function(t,e,n){},2157:function(t,e,n){},"21b1":function(t,e,n){"use strict";n("88cf")},22415:function(t,e,n){t.exports=n.p+"static/img/shiye.7c19f9cf.png"},2671:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAESUlEQVR4Xu2bXcgVRRjHf0IXIkWi+QGiKFkkpCBGaogoSJII4sX7kkoWZZlEBPmVIFKKpYYkEoVfSB9KYImYdpWVSKiEIVreFOiNiGYhXQvK/zD7smfcs2dnd2fO+HoG9uacmed5/r+dmZ3PATzgaUCO/oeAOeaZ4pnTSeB9zz4yzbc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wtDmrTdp0knhBaADQGb3fMwKO/cB0EcbSpmV61eh06rsMkojUhQktYNppAfAbcK2It4jyTAW0SLsaGGTFpV2ovi37BEC7DY2ItFUK5apZt9TGayOlq3mrTY1KHiMrPM7edLXbeR3b2pFpboSjr8DzZuG2Kb6sjk73hHUNTfeG+0PSRSpdqMpMeT29QCTPk/cRCbVzHcj8E9CZgxt5sfeHT12ld3MXIEPo6giwoH4AAAAASUVORK5CYII="},"26bc":function(t,e,n){},"29bd":function(t,e,n){},"2a5f":function(t,e,n){},"2aa8":function(t,e,n){},"2d10":function(t,e,n){},"307a":function(t,e,n){},"33f4":function(t,e,n){"use strict";n("3960")},3483:function(t,e,n){"use strict";n("86d5")},3745:function(t,e,n){"use strict";n("867a")},3873:function(t,e,n){t.exports=n.p+"static/img/user-info.cc4c3e5d.png"},"38aa":function(t,e,n){"use strict";n("73a6")},"38b0":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABYCAYAAABxlTA0AAAOf0lEQVR4Xu2dC3BU1RnH/9+GYAWtMDKKllowKiMFO7K7iKDy6Ew7U40lAygoJFUUoQRBq4bKwyCgRFFQgiIKNqKiQsfHzvStSABhcnexBWWGaoSp1CJiA1JQCezXOXfvJvee3Lv33MeGRL0zmcxkz/kev/Pl7jnfeRHaylPJkf6XoDcReoP03xeBcQEIXcA4HWj6ERYfNv0cBOFDZvwTjF3M2LVtO3ahktJtwTU6mUbE3+Afp09gOAHDGRhCjK5h2MOEBgI2MPBWpABvadfS+2HI9SOj1QFHX+UiSmM8oP+cb2t01ir245JtnY8ArOYIVqdKqD40qQqCWgXw6Fe4YE8EY5kwCcAgMNT0hg2aIJrsHWIs75nGmrXX0QkFRoGKqDnqU0WfV7hj5wjKGKgAo6gJqxyZTiDlv8vWZuWoNoS5HKGegKojadTsvI6O+XTRtVreAMfWcimABWD0UIxX6PFl9zhZ6dRQWRlyA9hL3wtgZnI0PedKy0eB0AHHXuK+iGAZgKtc7VED4CrGd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ZJK793YvexBBbVfTfTLiAGF0YOJ2A04yrf4W4wwz8j8RvwkFifMikL5jZJX5v69F2rv39P9sF94AtmblQAAAAAElFTkSuQmCC"},3960:function(t,e,n){},"3b8a":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"success-page"},["success"==t.type?[a("img",{staticClass:"img",attrs:{src:n("8c16")}}),a("p",{staticClass:"msg"},[t._v("支付成功!")]),a("van-button",{staticClass:"btn",attrs:{round:"",type:"danger"},on:{click:function(e){return t.go("/home")}}},[t._v("返回首页")])]:t._e(),"error"==t.type?[a("img",{staticClass:"img",attrs:{src:n("bee4")}}),a("p",{staticClass:"msg"},[t._v("支付失败!")]),a("van-button",{staticClass:"btn",attrs:{round:"",type:"danger"},on:{click:function(e){return t.go("/home")}}},[t._v("返回首页")])]:t._e()],2)},s=[],r={name:"Success",data:function(){return{type:"success"}},mounted:function(){this.type=this.$route.query.type||"success"},methods:{go:function(t){this.$router.push(t)}}},i=r,o=(n("0df5"),n("2877")),c=Object(o["a"])(i,a,s,!1,null,"26324dab",null);e["default"]=c.exports},"3d14":function(t,e,n){"use strict";n("a673")},"3e85":function(t,e,n){"use strict";n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return o})),n.d(e,"b",(function(){return c}));var a=n("4328"),s=n.n(a),r=n("b775");function i(t){return Object(r["a"])({url:"content/get_news",method:"post",data:s.a.stringify(t),hideloading:!0})}function o(t){var e={id:t};return Object(r["a"])({url:"content/news_detail",method:"post",data:s.a.stringify(e),hideloading:!0})}function c(t){return Object(r["a"])({url:"content/get_first_news",method:"post",data:s.a.stringify(t),hideloading:!0})}},"3f82":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"appraise-page"},[t._l(t.goods,(function(e,a){return n("div",{key:e,staticClass:"appraise mt10"},[n("van-card",{staticClass:"card",attrs:{price:e.money,num:e.num,thumb:e.goods.images[0]},scopedSlots:t._u([{key:"title",fn:function(){return[n("p",{staticClass:"title"},[t._v(t._s(e.goods.item_name))])]},proxy:!0}],null,!0)}),n("van-field",{attrs:{label:"商品评分",placeholder:"请输入用户名"},scopedSlots:t._u([{key:"input",fn:function(){return[n("van-rate",{model:{value:t.form[a].star,callback:function(e){t.$set(t.form[a],"star",e)},expression:"form[index].star"}}),n("span",{staticClass:"des"},[t._v("请选择评分")])]},proxy:!0}],null,!0),model:{value:t.value,callback:function(e){t.value=e},expression:"value"}}),n("van-field",{attrs:{rows:"2",autosize:"",type:"textarea",maxlength:"500",placeholder:"请谈谈对我们的评价","show-word-limit":""},model:{value:t.form[a].content,callback:function(e){t.$set(t.form[a],"content",e)},expression:"form[index].content"}}),n("div",{staticClass:"upload-box"},[t._m(0,!0),n("van-grid",{attrs:{border:!1,"column-num":3,gutter:"10"}},[t._l(t.form[a].img,(function(t){return n("van-grid-item",{key:t},[n("van-image",{attrs:{src:t}})],1)})),n("van-grid-item",[n("van-uploader",{attrs:{accept:"image/*","after-read":t.upload,name:a,multiple:"","max-count":6}})],1)],2)],1)],1)})),n("div",{staticClass:"btn"},[n("van-button",{attrs:{round:"",block:"",type:"danger",size:"large"},on:{click:t.save}},[t._v(" 发布评论 ")])],1)],2)},s=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("p",{staticClass:"title"},[t._v("上传图片"),n("span",[t._v("(最多6张)")])])}],r=n("a34a"),i=n.n(r),o=n("f8b7"),c=n("121a");function u(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function l(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){u(r,a,s,i,o,"next",t)}function o(t){u(r,a,s,i,o,"throw",t)}i(void 0)}))}}var d={components:{},data:function(){return{order:null,goods:null,form:[],tStatus:!1}},computed:{},mounted:function(){var t=this;return l(i.a.mark((function e(){var n;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:n=t.$route.query.id,t.id=n,t.load();case 3:case"end":return e.stop()}}),e)})))()},methods:{save:function(){var t=this;this.tSatus?this.$notify("已经提交,请勿重复提交!"):(this.tSatus=!0,this.form.map(function(){var t=l(i.a.mark((function t(e){return i.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(o["m"])(e);case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),this.tStatus=!1,this.$toast("提交成功"),setTimeout((function(){t.$router.go(-1)}),2e3))},load:function(){var t=this;return l(i.a.mark((function e(){var n,a,s;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["h"])(t.id);case 2:n=e.sent,a=n.data,t.order=a.order,t.goods=a.goods,s=[],t.goods.map((function(e,n){console.log(n),s.push({order_id:t.order.id,goods_id:e.goods_id,content:"",star:0,img:[]})})),t.form=s;case 9:case"end":return e.stop()}}),e)})))()},upload:function(t,e){var n=this;return l(i.a.mark((function a(){var s,r,o;return i.a.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return s=e.index,console.log(s),r=new FormData,console.log(r),r.append("file",t.file,t.file.name),a.next=7,Object(c["c"])(r);case 7:o=a.sent,2e3==o.code&&n.form[s].img.push(o.data.path);case 9:case"end":return a.stop()}}),a)})))()},go:function(t){this.$router.push(t)}}},p=d,f=(n("c78e"),n("2877")),v=Object(f["a"])(p,a,s,!1,null,"8280ef5a",null);e["default"]=v.exports},"41ec":function(t,e,n){"use strict";n("b061")},"41ff":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAABDdJREFUaEPtmVvIVkUUhh8hEBRS0kglzU5g4OFCJRFFA0PSDA9oFx0gBEUFD3fqjXqld6KioaZgJohFgacMBRUjzBTUQgNFoVCCVOwiJBKKV9b+mab59szsbz5LcMFmf/+/16x535k9a9a8uxuPuHV7xPHzmIAzgyOACcAQYJBzyeUn5/oROA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LKVhEqDF6pfb+sozJ4rcHHIIqEl3YKPplqE+JMlITb4CXLW7/F62Lzu6awAqhcGP0TLbtCKUS6CKo8Wmd1ZXCRNwXTnq94N+mxJwiWi7f8MWew4ZqWz6/qBDVDbwqqN2CbiAtdAlyeirTt2H7ssmjdR+OkodiZIEUvss6veYQNHhbBDsb92u3DGV6sT+AAAAAElFTkSuQmCC"},4227:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"user-page"},[n("div",{staticClass:"divider-box"}),n("van-form",{on:{submit:t.onSubmit}},[n("div",{staticClass:"user-img"},[n("van-image",{staticClass:"img",attrs:{round:"",src:t.formUser.header_img}}),n("van-uploader",{staticClass:"upload",attrs:{"result-type":"file",accept:"image/*","after-read":t.upload}},[n("span",[t._v("点击编辑")])])],1),n("div",{staticClass:"divider-box"}),n("van-cell-group",[n("van-field",{attrs:{label:"姓名",placeholder:"请输入姓名"},model:{value:t.formUser.username,callback:function(e){t.$set(t.formUser,"username",e)},expression:"formUser.username"}}),n("van-field",{attrs:{type:"tel",label:"手机号",readonly:"",placeholder:"请输入用户名"},scopedSlots:t._u([{key:"button",fn:function(){return[n("van-button",{attrs:{size:"small",border:!1},on:{click:function(e){return t.go("/mobile")}}},[t._v("修改手机号")])]},proxy:!0}]),model:{value:t.formUser.mobile,callback:function(e){t.$set(t.formUser,"mobile",e)},expression:"formUser.mobile"}}),n("van-field",{attrs:{label:"性别",placeholder:"请输入用户名"},scopedSlots:t._u([{key:"input",fn:function(){return[n("van-radio-group",{attrs:{direction:"horizontal"},model:{value:t.formUser.sex,callback:function(e){t.$set(t.formUser,"sex",e)},expression:"formUser.sex"}},[n("van-radio",{attrs:{"icon-size":"15px",name:1}},[t._v("男")]),n("van-radio",{attrs:{"icon-size":"15px",name:2}},[t._v("女")])],1)]},proxy:!0}]),model:{value:t.value,callback:function(e){t.value=e},expression:"value"}}),n("van-field",{attrs:{label:"身份证号",placeholder:"请输入身份证号"},model:{value:t.formUser.card_id,callback:function(e){t.$set(t.formUser,"card_id",e)},expression:"formUser.card_id"}}),n("van-field",{attrs:{label:"城市",placeholder:"请输入城市"},model:{value:t.formUser.address,callback:function(e){t.$set(t.formUser,"address",e)},expression:"formUser.address"}})],1),n("van-button",{staticClass:"btn",attrs:{round:"",block:"",type:"danger"},on:{click:t.saveUser}},[t._v(" 保存 ")])],1)],1)},s=[],r=n("a34a"),i=n.n(r),o=n("c24f"),c=n("121a");function u(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function l(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){u(r,a,s,i,o,"next",t)}function o(t){u(r,a,s,i,o,"throw",t)}i(void 0)}))}}var d={components:{},data:function(){return{userInfo:null,formUser:{username:"",mobile:"",sex:"",card_id:"",address:"",header_img:""},tStatus:!1}},computed:{},mounted:function(){var t=this;return l(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["J"])();case 2:n=e.sent,a=n.data,t.userInfo=a,t.load();case 6:case"end":return e.stop()}}),e)})))()},methods:{load:function(){this.formUser.username=this.userInfo.username,this.formUser.mobile=this.userInfo.mobile,this.formUser.sex=this.userInfo.sex,this.formUser.card_id=this.userInfo.card_id,this.formUser.address=this.userInfo.address,this.formUser.header_img=this.userInfo.header_img},saveUser:function(){var t=this;return l(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(console.log(t.formUser),!t.tSatus){e.next=7;break}return t.$notify("已经提交,请勿重复提交!"),t.tStatus=!1,e.abrupt("return");case 7:t.tSatus=!0;case 8:return e.next=10,Object(o["H"])(t.formUser);case 10:n=e.sent,a=n.code,t.tStatus=!1,2e3==a&&t.$router.go(-1);case 14:case"end":return e.stop()}}),e)})))()},go:function(t){this.$router.push(t)},upload:function(t){var e=this;return l(i.a.mark((function n(){var a,s;return i.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return console.log(t),a=new FormData,console.log(a),a.append("file",t.file,t.file.name),n.next=6,Object(c["c"])(a);case 6:s=n.sent,2e3==s.code&&(e.userInfo.header_img=s.data.path,e.formUser.header_img=s.data.path);case 8:case"end":return n.stop()}}),n)})))()}}},p=d,f=(n("686b"),n("2877")),v=Object(f["a"])(p,a,s,!1,null,"4db39a9d",null);e["default"]=v.exports},"428e":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"reflect-page"},[n("van-tabs",{on:{change:t.changeOrderStatus},model:{value:t.status,callback:function(e){t.status=e},expression:"status"}},[n("van-tab",{attrs:{title:"全部",name:0}}),n("van-tab",{attrs:{title:"待付款",name:1}}),n("van-tab",{attrs:{title:"待发货",name:2}}),n("van-tab",{attrs:{title:"待收货",name:5}}),n("van-tab",{attrs:{title:"已收货",name:6}}),n("van-tab",{attrs:{title:"待评价",name:7}}),n("van-tab",{attrs:{title:"已取消",name:4}})],1),t.lists.length?t._e():n("van-empty",{staticClass:"empty",attrs:{description:"暂无订单"}}),t.lists.length?n("van-list",{attrs:{finished:t.lists_finished,"finished-text":"没有更多了"},on:{load:t.getLists},model:{value:t.lists_loading,callback:function(e){t.lists_loading=e},expression:"lists_loading"}},t._l(t.lists,(function(e,a){return n("div",{key:a,staticClass:"order mt10",on:{click:function(n){return t.go("/orderDetail?id="+e.id)}}},[n("div",{staticClass:"top"},[n("span",{staticClass:"no"},[t._v("订单编号:"+t._s(e.order_no))]),n("span",{staticClass:"status"},[t._v(t._s(t.statusMaps[e.status]))])]),t._l(e.order_detail,(function(e){return n("van-card",{key:e,staticClass:"card",attrs:{title:"",price:e.unit_price,num:e.num,thumb:e.goods_id_images[0]},scopedSlots:t._u([{key:"title",fn:function(){return[n("p",{staticClass:"title"},[t._v(t._s(e.goods_id_name))])]},proxy:!0},{key:"tags",fn:function(){return[n("p",{staticClass:"type",staticStyle:{padding:"5px 0",color:"#999"}},[t._v(t._s(e.sku_id_name))])]},proxy:!0}],null,!0)})})),n("div",{staticClass:"bottom"},[n("span",{staticClass:"total"},[t._v("订单金额:"),n("b",{staticClass:"fb"},[t._v("¥"+t._s(e.pay_price))])]),n("span",{staticClass:"btn-g"},[1==e.status||3==e.status?[n("van-button",{staticClass:"btn",attrs:{round:"",plain:"",size:"mini",type:"danger"},on:{click:function(n){return n.stopPropagation(),t.closeOrder(e.id)}}},[t._v("关闭订单")]),n("van-button",{staticClass:"btn",attrs:{round:"",size:"mini",type:"danger"},on:{click:function(n){return n.stopPropagation(),t.payOrder(e.id)}}},[t._v("立即付款")])]:t._e(),2==e.status?[0==e.bill_id?n("van-button",{staticClass:"btn",attrs:{round:"",plain:"",size:"mini",type:"danger"},on:{click:function(n){return n.stopPropagation(),t.applayInvoice(e.id)}}},[t._v("申请开票")]):t._e(),n("van-button",{staticClass:"btn",attrs:{round:"",size:"mini",type:"danger"},on:{click:function(n){return n.stopPropagation(),t.showCacalModel(e.id)}}},[t._v("取消订单")])]:t._e(),4==e.status?[n("van-button",{staticClass:"btn",attrs:{round:"",plain:"",size:"mini",disable:"",type:"default"}},[t._v("订单关闭")])]:t._e(),5==e.status?[n("van-button",{staticClass:"btn",attrs:{round:"",plain:"",size:"mini",type:"danger"},on:{click:function(n){return n.stopPropagation(),t.lookLogistics(e.id)}}},[t._v("查看物流")]),n("van-button",{staticClass:"btn",attrs:{round:"",size:"mini",type:"danger"},on:{click:function(n){return n.stopPropagation(),t.setOrderOver(e)}}},[t._v("确认收货")])]:t._e(),6==e.status?[n("van-button",{staticClass:"btn",attrs:{round:"",plain:"",size:"mini",type:"danger"},on:{click:function(n){return n.stopPropagation(),t.setOrderOk(e)}}},[t._v("确认完成")]),n("van-button",{staticClass:"btn",attrs:{round:"",size:"mini",type:"danger"},on:{click:function(n){return n.stopPropagation(),t.applayAfterSale(e)}}},[t._v("申请售后")])]:t._e(),9==e.status?[n("van-button",{staticClass:"btn",attrs:{round:"",size:"mini",type:"danger"},on:{click:function(n){return n.stopPropagation(),t.lookAfterSale(e)}}},[t._v("查看售后")])]:t._e(),7==e.status?[n("van-button",{staticClass:"btn",attrs:{round:"",plain:"",size:"mini",disable:"",type:"default"}},[t._v("已完成")]),e.has_appraise?t._e():n("van-button",{staticClass:"btn",attrs:{round:"",size:"mini",type:"danger"},on:{click:function(n){return n.stopPropagation(),t.pingjia(e)}}},[t._v("待评价")])]:t._e(),8==e.status?[n("van-button",{staticClass:"btn",attrs:{round:"",plain:"",size:"mini",disable:"",type:"default"}},[t._v("订单失效")])]:t._e()],2)])],2)})),0):t._e(),n("van-action-sheet",{attrs:{title:"提醒"},model:{value:t.isCacalOrderShow,callback:function(e){t.isCacalOrderShow=e},expression:"isCacalOrderShow"}},[n("div",{staticClass:"cacal-order"},[n("van-field",{staticClass:"cacal",attrs:{rows:"4",autosize:"",type:"textarea",maxlength:"200",placeholder:"请输入原因","show-word-limit":""},model:{value:t.cacalOrderForm.cancelled,callback:function(e){t.$set(t.cacalOrderForm,"cancelled",e)},expression:"cacalOrderForm.cancelled"}}),n("van-button",{staticClass:"btn",attrs:{round:"",block:"",type:"danger"},on:{click:t.cacalPayOrder}},[t._v("确认取消")])],1)]),n("van-action-sheet",{attrs:{title:"发票"},model:{value:t.isShowInvoices,callback:function(e){t.isShowInvoices=e},expression:"isShowInvoices"}},[n("div",{staticClass:"content"},[t.invoices.length?t._l(t.invoices,(function(e,a){return n("van-cell",{key:a,attrs:{title:e.to_order,value:"内容",label:e.tax_number},on:{click:function(n){return t.selectInvoice(e)}},scopedSlots:t._u([{key:"default",fn:function(){return[n("van-checkbox",{staticClass:"invoice_checkbox",attrs:{"v-model":t.checkInvoice.id==e.id}})]},proxy:!0}],null,!0)})})):n("van-empty",{staticClass:"empty",attrs:{description:"暂无发票"}},[n("van-button",{staticClass:"bottom-button",staticStyle:{padding:"5px 25px"},attrs:{round:"",type:"danger"},on:{click:function(e){return t.go("/invoice")}}},[t._v(" 添加发票 ")])],1)],2)])],1)},s=[],r=n("a34a"),i=n.n(r),o=n("f8b7"),c=n("c24f"),u=n("121a");function l(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function d(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){l(r,a,s,i,o,"next",t)}function o(t){l(r,a,s,i,o,"throw",t)}i(void 0)}))}}var p=n("18a0"),f={components:{},data:function(){return{status:5,lists_loading:!1,lists_finished:!1,lists_nums:0,lists:[],heder:{page:1,status:null},isCacalOrderShow:!1,cacalOrderForm:{id:0,cancelled:""},statusMaps:["未知","待支付","待发货","支付失败","取消订单","已发货","确认收货","已完成","订单失效","退换货"],isShowInvoices:!1,invoices:[],checkInvoice:{id:null,bill_id:null},tStatus:!1}},computed:{},mounted:function(){var t=this.$route.query.status||0;this.status=Number(t),this.getLists(),this.share()},methods:{selectInvoice:function(t){var e=this;return d(i.a.mark((function n(){var a,s;return i.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!e.tSatus){n.next=5;break}return e.$notify("已经提交,请勿重复提交!"),n.abrupt("return");case 5:e.tSatus=!0;case 6:return e.checkInvoice.bill_id=t.id,console.log(t,"invoice"),n.next=10,Object(o["a"])(e.checkInvoice);case 10:a=n.sent,s=a.code,e.tStatus=!1,2e3==s&&(e.$toast("申请成功"),e.reLoadList()),e.isShowInvoices=!1;case 15:case"end":return n.stop()}}),n)})))()},showInvoices:function(){var t=this;return d(i.a.mark((function e(){var n,a,s;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=t.isShowInvoices,n){e.next=7;break}return e.next=4,Object(c["p"])();case 4:a=e.sent,s=a.data,t.invoices=s;case 7:t.isShowInvoices=!n;case 8:case"end":return e.stop()}}),e)})))()},pingjia:function(t){this.go("/appraise?id="+t.id)},lookAfterSale:function(t){this.go("/afterSales?id="+t.id)},applayAfterSale:function(t){this.go("/returnGood?id="+t.id)},againBuy:function(t){this.go("/good?id="+t.order_detail[0].id)},setOrderOver:function(t){var e=this;return d(i.a.mark((function n(){var a,s;return i.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,Object(o["o"])(t.id);case 2:a=n.sent,s=a.code,2e3==s&&(e.$toast("操作完成"),e.reLoadList());case 5:case"end":return n.stop()}}),n)})))()},setOrderOk:function(t){var e=this;return d(i.a.mark((function n(){var a,s;return i.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,Object(o["p"])(t.id);case 2:a=n.sent,s=a.code,2e3==s&&(e.$toast("操作完成"),e.reLoadList());case 5:case"end":return n.stop()}}),n)})))()},lookLogistics:function(t){this.go("/logistics?id="+t)},applayInvoice:function(t){var e=this;return d(i.a.mark((function n(){return i.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:e.checkInvoice.id=t,e.showInvoices();case 2:case"end":return n.stop()}}),n)})))()},showCacalModel:function(t){this.isCacalOrderShow=!0,this.cacalOrderForm.id=t},cacalPayOrder:function(){var t=this;return d(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.isCacalOrderShow=!1,e.next=3,Object(o["c"])(t.cacalOrderForm);case 3:n=e.sent,a=n.code,2e3==a&&(t.isCacalOrderShow=!1,t.$toast("操作成功"),t.reLoadList());case 6:case"end":return e.stop()}}),e)})))()},changeOrderStatus:function(t){this.status=t,this.reLoadList()},payOrder:function(t){var e=this;return d(i.a.mark((function n(){var a,s;return i.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,Object(o["l"])(t);case 2:a=n.sent,s=a.data,e.tStatus=!1,p.config({debug:!1,appId:"wx64edccf0a6405738",timestamp:s.timeStamp,nonceStr:s.nonceStr,signature:s.paySign,jsApiList:["chooseWXPay"]}),p.chooseWXPay({timestamp:s.timeStamp,nonceStr:s.nonceStr,package:s["package"],signType:s.signType,paySign:s.paySign,success:function(){e.tStatus=!1,e.go("/success")},fail:function(){e.tStatus=!1,e.$toast("支付失败")}});case 7:case"end":return n.stop()}}),n)})))()},closeOrder:function(t){this.isCacalOrderShow=!0,this.cacalOrderForm.id=t},reLoadList:function(){this.lists_loading=!1,this.lists_finished=!1,this.lists_nums=0,this.lists=[],this.heder.page=1,this.getLists()},getLists:function(){var t=this;return d(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.heder.status=t.status,e.next=3,Object(o["i"])(t.heder);case 3:n=e.sent,a=n.data,t.lists=t.lists.concat(a.data),t.lists_nums=a.count,t.lists_nums<=t.lists.length?t.lists_finished=!0:t.heder.page+=1,t.lists_loading=!1;case 9:case"end":return e.stop()}}),e)})))()},go:function(t){this.$router.push(t)},share:function(){var t=this;return d(i.a.mark((function e(){var n,a,s;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])(["updateAppMessageShareData","updateTimelineShareData"]);case 2:n=e.sent,a=n.data,console.log(t.$store.getters.userInfo.id,"this.$store.getters.userInfo.id"),s=t.$store.getters.userInfo.id,p.config({debug:!1,appId:a.appId,timestamp:a.timestamp,nonceStr:a.nonceStr,signature:a.signature,jsApiList:a.jsApiList}),p.ready((function(){var t=Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_TITLE||"杰安易购商城",e=Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_DESC||"杰安易购商城",n=(Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_LINK||"http://h5.jiean91.cn")+"?pid="+s,a=Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_IMG||"http://admin.jiean91.cn/upload/20230403/0bbf8f28376ee8782f9d990d8a5307b5.png";p.updateAppMessageShareData({title:t,desc:e,link:n,imgUrl:a,success:function(){console.log("分享成功")}}),p.updateTimelineShareData({title:t,desc:e,link:n,imgUrl:a,success:function(){console.log("分享成功")}})}));case 8:case"end":return e.stop()}}),e)})))()}}},v=f,h=(n("eb63"),n("2877")),m=Object(h["a"])(v,a,s,!1,null,"0c831676",null);e["default"]=m.exports},"428f":function(t,e,n){"use strict";n("9c66")},4399:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"order-page"},[n("van-nav-bar",{attrs:{title:"杰安易购商城","left-text":"返回","left-arrow":""},on:{"click-left":function(e){return t.go("/home")}}}),n("van-tabs",{attrs:{border:!0},on:{change:t.changeTab},model:{value:t.express_type,callback:function(e){t.express_type=e},expression:"express_type"}},[n("van-tab",{staticStyle:{"padding-bottom":"80px"},attrs:{title:"送货上门",name:0}},[null!=t.address&&t.address?n("van-cell",{staticClass:"address",attrs:{center:"",title:"单元格","is-link":"",label:t.address.province_text+t.address.city_text+t.address.county_text+t.address.detail},on:{click:t.goAddress},scopedSlots:t._u([{key:"title",fn:function(){return[n("span",[t._v(t._s(t.address.username))]),n("span",{staticClass:"tel"},[t._v(t._s(t.address.phone))])]},proxy:!0}])}):n("van-cell",{attrs:{title:"请选择收货人","is-link":"",value:""},on:{click:t.goAddress}}),n("div",{staticClass:"goods mt10"},[n("van-cell",{attrs:{title:"商品信息"}}),t._l(t.goods,(function(e,a){return n("van-card",{key:a,staticClass:"card",attrs:{price:e.sku.money,title:"",thumb:e.goods.images[0]},scopedSlots:t._u([{key:"title",fn:function(){return[n("p",{staticClass:"title"},[t._v(t._s(e.goods.item_name))])]},proxy:!0},{key:"tags",fn:function(){return[n("p",{staticClass:"type",staticStyle:{padding:"5px 0",color:"#999"}},[t._v(t._s(e.sku.sku_name))])]},proxy:!0},{key:"num",fn:function(){return[n("van-stepper",{attrs:{theme:"round","button-size":"22","disable-input":""},on:{change:t.checkNum},model:{value:e.num,callback:function(n){t.$set(e,"num",n)},expression:"good.num"}})]},proxy:!0}],null,!0)})}))],2),n("van-cell-group",{staticClass:"mt10"},[n("van-cell",{attrs:{title:"发票","is-link":"",value:t.checkInvoice.id?t.checkInvoice.to_order:"暂不开"},on:{click:t.showInvoices}}),n("van-cell",{attrs:{title:"商品金额",value:t.goods_money}}),n("van-cell",{attrs:{title:"运费",value:t.freight_money},scopedSlots:t._u([{key:"title",fn:function(){return[t._v("运费"),n("span",{staticStyle:{"font-size":"12px"}},[t._v("(量大运费过高联系客服处理)")])]},proxy:!0}])})],1),n("van-cell-group",{staticClass:"mt10"},[n("van-cell",{attrs:{title:"支付方式"}}),n("van-cell",{staticClass:"mt10",on:{click:function(e){return t.changePayType("jifen")}},scopedSlots:t._u([{key:"title",fn:function(){return[n("div",[t._v("积分抵扣(可用积分"+t._s(t.total_jifen)+")")])]},proxy:!0},{key:"right-icon",fn:function(){return[t.is_jifen?n("van-icon",{staticClass:"checked",staticStyle:{"margin-right":"15px"},attrs:{name:"checked",color:"#EF4353",size:"20"}}):n("van-icon",{staticClass:"circle",staticStyle:{"margin-right":"15px"},attrs:{name:"circle",size:"18"}})]},proxy:!0},t.is_jifen&&t.total_jifen>0?{key:"label",fn:function(){return[t.jifen>=t.total_goods_money?n("span",{staticClass:"custom-title"},[t._v("本次使用"+t._s(t.jifen_yong)+"积分,抵扣"+t._s(t.total_goods_money)+"元")]):n("div",{staticClass:"jifen-dikou"},[t._v("积分抵扣"+t._s(t.jifen)+",还需微信支付"+t._s(t.jifen_sy)+"元")])]},proxy:!0}:null],null,!0)}),n("van-cell",{staticClass:"mt10",attrs:{title:"微信支付"},on:{click:function(e){return t.changePayType("wechat")}},scopedSlots:t._u([{key:"right-icon",fn:function(){return[t.is_wechat?n("van-icon",{staticClass:"checked",staticStyle:{"margin-right":"15px"},attrs:{name:"checked",color:"#EF4353",size:"20"}}):n("van-icon",{staticClass:"circle",staticStyle:{"margin-right":"15px"},attrs:{name:"circle",size:"18"}})]},proxy:!0}])})],1)],1),n("van-tab",{staticStyle:{"padding-bottom":"80px"},attrs:{title:"门店自提",name:1}},[null==t.shop?n("van-cell",{attrs:{title:"请选择门店","is-link":"",value:""},on:{click:t.goShops}}):n("van-cell",{staticClass:"address",attrs:{center:"",title:t.shop.name,"is-link":""},on:{click:t.goShops},scopedSlots:t._u([{key:"label",fn:function(){return[n("p",{staticClass:"row"},[t._v(" 电话:"),n("span",{staticClass:"shop-tel"},[t._v(t._s(t.shop.phone))])]),n("p",{staticClass:"row"},[t._v("地址:"+t._s(t.shop.detail))]),n("p",{staticClass:"row"},[t._v(" 距离:"+t._s(t.shop.distance)+"km ")])]},proxy:!0},{key:"title",fn:function(){return[t._v(" "+t._s(t.shop.name)+" "),n("div",{staticStyle:{float:"right",color:"#0091FF"},on:{click:function(e){return e.stopPropagation(),t.goToMap.apply(null,arguments)}}},[n("van-icon",{staticStyle:{"vertical-align":"middle"},attrs:{name:"location-o"}}),t._v("导航前往")],1)]},proxy:!0}])}),n("div",{staticClass:"goods mt10"},[n("van-cell",{attrs:{title:"商品信息"}}),t._l(t.goods,(function(e,a){return n("van-card",{key:a,staticClass:"card",attrs:{price:e.sku.money,title:"",thumb:e.goods.images[0]},scopedSlots:t._u([{key:"title",fn:function(){return[n("p",{staticClass:"title"},[t._v(t._s(e.goods.item_name))])]},proxy:!0},{key:"tags",fn:function(){return[n("p",{staticClass:"type",staticStyle:{padding:"5px 0",color:"#999"}},[t._v(t._s(e.sku.sku_name))])]},proxy:!0},{key:"num",fn:function(){return[n("van-stepper",{attrs:{theme:"round","button-size":"22","disable-input":""},on:{change:t.checkNum},model:{value:e.num,callback:function(n){t.$set(e,"num",n)},expression:"good.num"}})]},proxy:!0}],null,!0)})}))],2),n("van-cell-group",{staticClass:"mt10"},[n("van-cell",{attrs:{title:"发票","is-link":"",value:t.checkInvoice.id?t.checkInvoice.to_order:"暂不开"},on:{click:t.showInvoices}}),n("van-cell",{attrs:{title:"商品金额",value:t.goods_money}})],1),n("van-cell-group",{staticClass:"mt10"},[n("van-cell",{attrs:{title:"支付方式"}}),n("van-cell",{staticClass:"mt10",on:{click:function(e){return t.changePayType("jifen")}},scopedSlots:t._u([{key:"title",fn:function(){return[n("div",[t._v("积分抵扣(可用积分"+t._s(t.total_jifen)+")")])]},proxy:!0},{key:"right-icon",fn:function(){return[t.is_jifen?n("van-icon",{staticClass:"checked",staticStyle:{"margin-right":"15px"},attrs:{name:"checked",color:"#EF4353",size:"20"}}):n("van-icon",{staticClass:"circle",staticStyle:{"margin-right":"15px"},attrs:{name:"circle",size:"18"}})]},proxy:!0},t.is_jifen&&t.total_jifen>0?{key:"label",fn:function(){return[t.jifen>=t.total_goods_money?n("span",{staticClass:"custom-title"},[t._v("本次使用"+t._s(t.jifen_yong)+"积分,抵扣"+t._s(t.total_goods_money)+"元")]):n("div",{staticClass:"jifen-dikou"},[t._v("积分抵扣"+t._s(t.jifen)+",还需微信支付"+t._s(t.jifen_sy)+"元")])]},proxy:!0}:null],null,!0)}),n("van-cell",{staticClass:"mt10",attrs:{title:"微信支付"},on:{click:function(e){return t.changePayType("wechat")}},scopedSlots:t._u([{key:"right-icon",fn:function(){return[t.is_wechat?n("van-icon",{staticClass:"checked",staticStyle:{"margin-right":"15px"},attrs:{name:"checked",color:"#EF4353",size:"20"}}):n("van-icon",{staticClass:"circle",staticStyle:{"margin-right":"15px"},attrs:{name:"circle",size:"18"}})]},proxy:!0}])})],1)],1)],1),n("van-submit-bar",{attrs:{"button-text":"提交订单"},on:{submit:t.onSubmit},scopedSlots:t._u([{key:"default",fn:function(){return["jifen"==t.pay_type?n("span",{staticStyle:{"margin-right":"7px"}},[n("span",[t._v("合计:积分:")]),n("span",{staticStyle:{color:"#EF4353","font-weight":"500","font-size":"22px"}},[t._v(t._s(t.jifen_yong))])]):t._e(),0!==t.wechat_pay?n("span",{staticStyle:{"margin-right":"5px"}},[n("span",[t._v("微信:")]),n("span",{staticStyle:{color:"#EF4353","font-size":"16px"}},[t._v("¥")]),n("span",{staticStyle:{color:"#EF4353","font-weight":"500","font-size":"22px"}},[t._v(t._s(t.pay_money))])]):t._e()]},proxy:!0}])}),n("van-action-sheet",{attrs:{title:"发票"},model:{value:t.isShowInvoices,callback:function(e){t.isShowInvoices=e},expression:"isShowInvoices"}},[n("div",{staticClass:"content"},[t.invoices.length?t._e():n("van-empty",{staticClass:"empty",attrs:{description:"暂无发票"}},[n("van-button",{staticClass:"bottom-button",staticStyle:{padding:"5px 25px"},attrs:{round:"",type:"danger"},on:{click:function(e){return t.go("/invoice")}}},[t._v(" 添加发票 ")])],1),t._l(t.invoices,(function(e,a){return n("van-cell",{key:a,attrs:{title:e.to_order,value:"内容",label:e.tax_number},on:{click:function(n){return t.selectInvoice(e)}},scopedSlots:t._u([{key:"default",fn:function(){return[n("van-checkbox",{staticClass:"invoice_checkbox",attrs:{"v-model":t.checkInvoice.id==e.id}})]},proxy:!0}],null,!0)})}))],2)])],1)},s=[],r=n("a34a"),i=n.n(r),o=n("f8b7"),c=n("8d49"),u=n("c24f"),l=n("e692"),d=n("121a");function p(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function f(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){p(r,a,s,i,o,"next",t)}function o(t){p(r,a,s,i,o,"throw",t)}i(void 0)}))}}var v=n("18a0"),h={components:{},data:function(){return{goods:[],freight:0,address:null,express_type:0,isShowInvoices:!1,invoices:[],checkInvoice:{id:null},type:null,shop:null,is_empty:!1,active:0,tSatus:!1,orderStatus:!1,jifen:0,jifen_sy:0,is_jifen:!1,is_wechat:!0,pay_type:"jifen",total_goods_money:0,jifen_yong:0,wechat_pay:0,pay_money:0,total_jifen:""}},methods:{goToMap:function(){var t=this;return f(i.a.mark((function e(){var n,a,s;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(d["b"])(["openLocation"]);case 2:n=e.sent,a=n.data,s=t,v.config({debug:!1,appId:a.appId,timestamp:a.timestamp,nonceStr:a.nonceStr,signature:a.signature,jsApiList:a.jsApiList}),console.log(s.shop),v.ready((function(){v.openLocation({latitude:parseFloat(s.shop.latitude),longitude:parseFloat(s.shop.longitude),name:s.shop.name,address:s.shop.detail,scale:1})}));case 8:case"end":return e.stop()}}),e)})))()},changeTab:function(t){var e=this;return f(i.a.mark((function n(){return i.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:console.log(t,"changeTab"),e.express_type=t,e.load(e.address.id);case 3:case"end":return n.stop()}}),n)})))()},checkNum:function(){var t=this;return f(i.a.mark((function e(){return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.load(t.address?t.address.id:null);case 1:case"end":return e.stop()}}),e)})))()},goShops:function(){this.go({name:"shops",query:{is_order:1}})},selectInvoice:function(t){this.checkInvoice=t,this.isShowInvoices=!1},showInvoices:function(){var t=this;return f(i.a.mark((function e(){var n,a,s;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=t.isShowInvoices,n){e.next=7;break}return e.next=4,Object(u["p"])();case 4:a=e.sent,s=a.data,t.invoices=s;case 7:t.isShowInvoices=!n;case 8:case"end":return e.stop()}}),e)})))()},goAddress:function(){this.go({name:"address",query:{is_order:1}})},toInvoice:function(){this.go({name:"invoice",query:{is_order:1}})},go:function(t){this.$router.push(t)},delShoppingCars:function(){var t=this;return f(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=t.$store.getters.orderCards,n){e.next=6;break}return a=[],t.goods.map((function(t){a.push(t.goods.id)})),e.next=6,Object(c["b"])(a);case 6:return e.next=8,t.$store.dispatch("init",!0);case 8:case"end":return e.stop()}}),e)})))()},onSubmit:function(){var t=this;return f(i.a.mark((function e(){var n,a,s,r;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=[],t.goods.map((function(t){n.push({sku_id:t.sku.id,goods_id:t.goods.id,num:t.num})})),a={},console.log(t.express_type,"this.express_type"),!t.express_type){e.next=16;break}if(t.shop){e.next=9;break}return t.orderStatus=!1,t.$notify("请选择自提门店"),e.abrupt("return");case 9:if(t.shop.id){e.next=13;break}return t.orderStatus=!1,t.$notify("请选择自提门店"),e.abrupt("return");case 13:a={t:"pay",order_goods:n,get_type:parseInt(t.express_type)+1,salesroom_id:t.shop.id,bill_id:t.checkInvoice.id,pay_type:t.pay_type,jifen:"jifen"==t.pay_type?t.jifen_yong:0,wechat_pay:t.wechat_pay},e.next=25;break;case 16:if(t.address){e.next=20;break}return t.orderStatus=!1,t.$notify("请选择收货地址"),e.abrupt("return");case 20:if(t.address.id){e.next=24;break}return t.orderStatus=!1,t.$notify("请选择收货地址"),e.abrupt("return");case 24:a={t:"pay",order_goods:n,get_type:t.express_type+1,address_id:t.address.id,bill_id:t.checkInvoice.id,pay_type:t.pay_type,jifen:"jifen"==t.pay_type?t.jifen_yong:0,wechat_pay:t.wechat_pay};case 25:if(!t.orderStatus){e.next=29;break}return t.$toast("请勿重复提交"),setTimeout((function(){t.go("/orders")}),2e3),e.abrupt("return");case 29:if(console.log(a,"支付参数"),"jifen"!=t.pay_type||0!=t.total_jifen){e.next=33;break}return t.$toast("您暂无积分,请选择微信支付"),e.abrupt("return");case 33:return t.orderStatus=!0,e.next=36,Object(o["d"])(a);case 36:s=e.sent,r=s.data,t.orderStatus=!1,null==t.type&&t.delShoppingCars(),"wechat"==t.pay_type||"jifen"==t.pay_type&&0!==t.wechat_pay?(v.config({debug:!1,appId:"wx64edccf0a6405738",timestamp:r.timeStamp,nonceStr:r.nonceStr,signature:r.paySign,jsApiList:["chooseWXPay"]}),t.tSatus=!1,v.chooseWXPay({timestamp:r.timeStamp,nonceStr:r.nonceStr,package:r["package"],signType:r.signType,paySign:r.paySign,success:function(e){console.log(e,"lll"),t.go("/success")},fail:function(e){console.log(e,"支付失败"),t.$toast("支付失败")}})):t.go("/success");case 41:case"end":return e.stop()}}),e)})))()},load:function(){var t=arguments,e=this;return f(i.a.mark((function n(){var a,s,r,c,u,l,d,p;return i.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(a=t.length>0&&void 0!==t[0]?t[0]:null,s=t.length>1?t[1]:void 0,r=[],e.goods.map((function(t){r.push({sku_id:t.sku.id,goods_id:t.goods.id,num:t.num})})),0!=e.express_type){n.next=10;break}return n.next=7,Object(o["d"])({t:"create",order_goods:r,get_type:e.express_type+1,address_id:a});case 7:c=n.sent,n.next=13;break;case 10:return n.next=12,Object(o["d"])({t:"create",order_goods:r,get_type:e.express_type+1,address_id:a});case 12:c=n.sent;case 13:u=c,l=u.data,console.log(l,"createOrder"),e.freight=parseFloat(l.youfei),e.total_goods_money=l.pay_price,e.jifen=parseFloat(l.rebate_m),e.total_jifen=parseFloat(l.rebate_m),d=Number(e.jifen),p=Number(e.total_goods_money),1!==s&&(d>0?d>p?(e.is_jifen=!0,e.is_wechat=!1):(e.is_jifen=!0,e.is_wechat=!0):(e.is_jifen=!1,e.is_wechat=!0)),e.is_jifen&&!e.is_wechat?(e.wechat_pay=0,e.jifen_yong=p,e.jifen_sy=(d-p).toFixed(2),e.pay_money=0,e.pay_type="jifen"):!e.is_jifen&&e.is_wechat?(e.jifen=0,e.wechat_pay=e.total_goods_money,e.pay_money=e.total_money,e.jifen_sy=0,e.pay_type="wechat"):e.is_jifen&&e.is_wechat&&(e.jifen_yong=d,console.log(p-d,"ppppp"),e.jifen_sy=(p-d).toFixed(2),e.wechat_pay=e.jifen_sy,e.pay_money=Number(e.jifen_sy).toFixed(2),e.pay_type="jifen"),console.log(l.address,"data.address",e.pay_money),l.address&&0!=l.address.length&&(e.address=l.address);case 25:case"end":return n.stop()}}),n)})))()},changePayType:function(t){if("jifen"!=t||0!=this.total_jifen){var e=Number(this.total_jifen),n=Number(this.total_goods_money);if(console.log(this.wechat_pay,this.is_jifen,"this.is_wechat",e,n),e>0)if(e>n){if(0==this.wechat_pay&&"wechat"==t&&0==this.is_wechat)return this.is_wechat=!0,this.is_jifen=!1,void this.load("",1);if(this.jifen_sy<=0&&"jifen"==t&&0==this.is_jifen)return this.is_wechat=!1,this.is_jifen=!0,void this.load("",1)}else if(this.jifen_sy>0&&"wechat"==t&&1==this.is_wechat)return void this.$toast("您当前积分不足,必须同时选用微信支付");(0!=this.is_jifen||"wechat"!=t||1!=this.is_wechat)&&(1!=this.is_jifen||"jifen"!=t||0!=this.is_wechat)?("jifen"==t&&(this.is_jifen=!this.is_jifen),"wechat"==t&&(this.is_wechat=!this.is_wechat),this.load("",1)):this.$toast("必须选择一种支付方式!")}else this.$toast("您当前暂无积分,不可选择积分支付")}},mounted:function(){var t=this;return f(i.a.mark((function e(){var n,a,s,r,o,u,d,p,f;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=t.$route.query.type||"",a=null,"nowBuy"!=n){e.next=14;break}return s={sku_id:t.$route.query.sku_id,num:t.$route.query.num,goods_id:t.$route.query.goods_id},e.next=6,Object(c["c"])(s);case 6:r=e.sent,o=r.data,a=o,t.$store.commit("saveNowOrderCards",!0),t.type=n,t.$store.commit("saveOrderCards",a),e.next=16;break;case 14:a=t.$store.getters.orderCards,t.$store.commit("saveNowOrderCards",!1);case 16:if(u=t.$route.query.shop_id||!1,!u){e.next=26;break}return e.next=20,Object(l["a"])(u);case 20:d=e.sent,p=d.data,t.shop=p,t.express_type=1,e.next=27;break;case 26:t.express_type=0;case 27:null!=a&&(t.goods=a),f=t.$route.query.address_id||null,t.load(f);case 30:case"end":return e.stop()}}),e)})))()},computed:{total_money:function(){var t=0;return 0==this.goods.length?0:(this.goods.map((function(e){console.log(e.sku.money*e.num,"mead"),t+=e.sku.money*e.num})),(t+this.freight).toFixed(2))},goods_money:function(){var t=0;return 0==this.goods.length?0:(this.goods.map((function(e){console.log(e.sku.money*e.num,"mead"),t+=e.sku.money*e.num})),"¥"+t.toFixed(2))},freight_money:function(){return"¥"+this.freight.toFixed(2)}}},m=h,g=(n("e5cd"),n("2877")),b=Object(g["a"])(m,a,s,!1,null,"65e9e9e2",null);e["default"]=b.exports},4440:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"verification-page"},[n("div",{staticClass:"box"},[n("van-search",{attrs:{"show-action":"",label:"",placeholder:"请输入取货码"},on:{search:t.onSearch},scopedSlots:t._u([{key:"action",fn:function(){return[n("van-button",{attrs:{block:"",size:"small",type:"danger"},on:{click:function(e){return e.stopPropagation(),t.onSearch.apply(null,arguments)}}},[t._v(" 查找 ")])]},proxy:!0}]),model:{value:t.code,callback:function(e){t.code=e},expression:"code"}})],1),null!=t.order?[n("div",{staticClass:"order-box"},[n("div",{staticClass:"order mt10"},[n("div",{staticClass:"top"},[n("span",{staticClass:"no"},[t._v("订单编号:"+t._s(t.order.order_no))])]),t._l(t.goods,(function(e){return n("van-card",{key:e,staticClass:"card",attrs:{title:"",price:e.money,num:e.num,thumb:e.goods.images[0]},scopedSlots:t._u([{key:"title",fn:function(){return[n("p",{staticClass:"title"},[t._v(t._s(e.goods.item_name))])]},proxy:!0},{key:"tags",fn:function(){return[n("p",{staticClass:"type",staticStyle:{padding:"5px 0",color:"#999"}},[t._v(t._s(e.sku.sku_name))])]},proxy:!0}],null,!0)})})),n("div",{staticClass:"bottom"},[n("span",{staticClass:"total"},[t._v("应付金额:"),n("b",{staticClass:"fb"},[t._v("¥"+t._s(t.order.pay_price))])])])],2)]),n("van-cell-group",{staticClass:"mt10"},[n("van-field",{attrs:{label:"其他费用",placeholder:"请输入","input-align":"right"},model:{value:t.money,callback:function(e){t.money=e},expression:"money"}}),n("van-cell",{staticClass:"order-money",attrs:{title:"费用合计",value:"¥"+t.order.shop_price}})],1),n("div",{staticClass:"btn"},[n("van-button",{attrs:{round:"",block:"",type:"danger"},on:{click:function(e){return e.stopPropagation(),t.orderOk.apply(null,arguments)}}},[t._v(" 确认 ")])],1)]:t._e()],2)},s=[],r=n("a34a"),i=n.n(r),o=n("f8b7"),c=n("121a");function u(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function l(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){u(r,a,s,i,o,"next",t)}function o(t){u(r,a,s,i,o,"throw",t)}i(void 0)}))}}var d=n("18a0"),p={components:{},data:function(){return{order:null,money:null,goods:[],code:null}},computed:{},mounted:function(){return l(i.a.mark((function t(){return i.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:case"end":return t.stop()}}),t)})))()},methods:{orderOk:function(){var t=this;return l(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["q"])({id:t.order.id,fl_num:t.money});case 2:n=e.sent,a=n.code,2e3==a&&(t.$toast("核销成功"),t.order=null,t.goods=[],t.code=null);case 5:case"end":return e.stop()}}),e)})))()},onSearch:function(){var t=this;return l(i.a.mark((function e(){var n,a,s;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.code){e.next=3;break}return t.$notify("取货码必填"),e.abrupt("return");case 3:return e.next=5,Object(o["b"])({xhcode:t.code});case 5:n=e.sent,a=n.code,s=n.data,2e3==a&&(t.order=s.order,t.goods=s.goods);case 9:case"end":return e.stop()}}),e)})))()},load:function(){return l(i.a.mark((function t(){var e,n;return i.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,Object(c["b"])(["checkJsApi","scanQRCode"]);case 2:e=t.sent,n=e.data,d.config({debug:!1,appId:"wx64edccf0a6405738",timestamp:n.timeStamp,nonceStr:n.nonceStr,signature:n.paySign,jsApiList:["scanQRCode"]}),d.checkJsApi({jsApiList:["scanQRCode"],success:function(){}});case 6:case"end":return t.stop()}}),t)})))()},scan:function(){return l(i.a.mark((function t(){return i.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:d.ready((function(){d.scanQRCode({needResult:1,scanType:["qrCode","barCode"],success:function(t){var e=t.resultStr;alert(e)},fail:function(t){console.log(t)}})}));case 1:case"end":return t.stop()}}),t)})))()},getOrder:function(t){var e=this;return l(i.a.mark((function n(){var a,s;return i.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,Object(o["h"])(t);case 2:a=n.sent,s=a.data,console.log(s),e.order=s;case 6:case"end":return n.stop()}}),n)})))()},go:function(t){this.$router.push(t)}}},f=p,v=(n("6c41"),n("2877")),h=Object(v["a"])(f,a,s,!1,null,"00e5fff2",null);e["default"]=h.exports},"446a":function(t,e,n){t.exports=n.p+"static/img/shouyi.f5ef68a1.png"},"44b7":function(t,e,n){"use strict";n("062b")},"453f":function(t,e,n){},"45d5":function(t,e,n){"use strict";n("e8c9")},"47e9":function(t,e,n){"use strict";n("d5a2")},"47f7":function(t,e,n){"use strict";n("d13d")},4961:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAF0AAABACAYAAAB4OXuGAAAClElEQVR4Xu3cP2sUYRAG8GciVkklgmJlwH9gI4KlYGMrEgiYgOIXuL2FIMFK7UKqu7FLI6KFCIKCn0ICaRIhjdooYn2EQGBH3kRNDhV39l0YzD7X3BXzzLC/zMGyR17BgZctLBzHzs49AOcBXPjxfrCku59FNmC2AZGPMHsuqutNMeRn0Hq9qxB5DeBY02Ydyy2J6v0m17yLbr3eXYg8adKg45lFUV32GoiV5WlUVfqqTHrDrAcwMTEtg8Enj4VYv78Es0VPiLVjAsui6vITK4qXAGYJ2Vjgjaje9KTTpq/D7KInxNoxgU1RTXd6tV9p0612NQv/KCCqv+4C6xARvY7SP2qI3gKitwXRvWIt1BO9BURvC6J7xVqoJ3oLiN4WRPeKtVDvRr928jbv0zPhV7/ixAjPvtVtI1O4RfS6Wn+tO0r0bEN3A6K7yfIDRM83dHcgupssP0D0fEN3B6K7yfIDRM83dHcgupssP0D0fEN3B6K7yfIDTvRzU/N8DJCp/mV0xPcYgD9MZ4oDcD9lJDrR8wUCOnDTiR4gEDCSm070AIGAkdx0ogcIBIzkphM9QCBgJDed6AECASO56UQPEAgYyU0neoBAwEhuOtEDBAJGctP/E/QRD2PI+kttiarrMIv0z7vvAFzJGtvt8JqoXvYQpLMBnsLsjifE2jGBF6I65zFJm/4AwENPiLVjAo9E1eW3d7JRUXwGcIqYDQS2tydlZWXLk9xDL8sZVNUrT5C1uwKFqD72WuwfnFaWl1BV6Tyq694mHaxPx0cNRHXY5Np/O6fE+v0bMEuHxpyF2ZkmTQ9lRuQ9RDYBfJDh8G3ONboOh8kZxOy+ANEDtoHoRA8QCBjJTSd6gEDASG460QMEAkZ+B8vHEVBnHGZbAAAAAElFTkSuQmCC"},"4a71":function(t,e,n){t.exports=n.p+"static/img/mendian.38e9242d.png"},"4b21":function(t,e,n){},"4fd8":function(t,e,n){t.exports=n.p+"static/img/ren.c1c279e5.png"},"50ac":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"reflect-page"},[t.lists.length?t._l(t.lists,(function(e){return n("van-cell",{key:e,attrs:{label:e.create_time},scopedSlots:t._u([{key:"title",fn:function(){return[n("span",[t._v("积分:"),n("b",{staticClass:"fb"},["shop"==e.do_type||"out"==e.do_type?n("span",[t._v("-")]):t._e(),"tuikua"==e.do_type||"in"==e.do_type?n("span",[t._v("+")]):t._e(),t._v(" "+t._s(e.money))])])]},proxy:!0},{key:"default",fn:function(){return["shop"==e.do_type?n("span",[t._v("订单购买")]):t._e(),"tuikuan"==e.do_type?n("span",[t._v("订单退款")]):t._e(),"in"==e.do_type?n("span",[t._v("返利")]):t._e(),"out"==e.do_type?n("span",[t._v("提现")]):t._e(),"admin"==e.do_type?n("span",[t._v("后台调整")]):t._e()]},proxy:!0}],null,!0)})})):n("van-empty",{staticClass:"empty",attrs:{description:"暂无数据"}})],2)},s=[],r=n("a34a"),i=n.n(r),o=n("c24f");function c(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){c(r,a,s,i,o,"next",t)}function o(t){c(r,a,s,i,o,"throw",t)}i(void 0)}))}}var l={components:{},data:function(){return{lists:[]}},computed:{},mounted:function(){var t=this;return u(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["t"])();case 2:n=e.sent,a=n.data,t.lists=a;case 5:case"end":return e.stop()}}),e)})))()},methods:{go:function(){this.$router.push("/good")}}},d=l,p=(n("3483"),n("2877")),f=Object(p["a"])(d,a,s,!1,null,"e0b8df3c",null);e["default"]=f.exports},"51db":function(t,e,n){},5493:function(t,e,n){"use strict";n("c993")},"54fd":function(t,e,n){},5743:function(t,e,n){t.exports=n.p+"static/img/jiantou.1ba08f40.png"},"5a4a":function(t,e,n){"use strict";n.d(e,"d",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"e",(function(){return c})),n.d(e,"b",(function(){return u})),n.d(e,"a",(function(){return l}));var a=n("4328"),s=n.n(a),r=n("b775");function i(t){return Object(r["a"])({url:"goods/list",method:"post",data:s.a.stringify(t),hideloading:!0})}function o(t){var e={id:t};return Object(r["a"])({url:"goods/detail",method:"post",data:s.a.stringify(e),hideloading:!0})}function c(t){var e={id:t};return Object(r["a"])({url:"goods/get_sku",method:"post",data:s.a.stringify(e),hideloading:!0})}function u(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"all",n={id:t,type:e};return Object(r["a"])({url:"goods/appraise_type",method:"post",data:s.a.stringify(n),hideloading:!0})}function l(t){return Object(r["a"])({url:"goods/appraise",method:"post",data:s.a.stringify(t),hideloading:!0})}},"5aa2":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"refund-page"},[n("van-nav-bar",{attrs:{title:"杰安易购商城","left-text":"返回","left-arrow":""},on:{"click-left":function(e){return t.go("/me")}}}),n("div",{staticClass:"top"},[n("p",{staticClass:"icon-box"},[n("van-icon",{staticClass:"icon",attrs:{name:"balance-o"}})],1),n("p",{staticClass:"des"},[t._v("当前城市合伙人保证金")]),n("p",{staticClass:"money"},[t._v(" ¥"),n("span",[t._v(t._s(t.user.recharge_m))])])]),n("van-cell",{staticClass:"mt10",attrs:{title:"请选择银行卡","is-link":"",value:t.bankName,to:"/bank?is_refund=1",icon:"debit-pay"}}),n("van-button",{staticClass:"btn",attrs:{round:"",block:"",type:"danger"},on:{click:t.applay}},[t._v(" 申请退回 ")])],1)},s=[],r=n("a34a"),i=n.n(r),o=n("c24f");function c(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){c(r,a,s,i,o,"next",t)}function o(t){c(r,a,s,i,o,"throw",t)}i(void 0)}))}}var l={components:{},data:function(){return{user:null,bank_id:0,bank:null,tStatus:!1}},computed:{bankName:function(){return this.bank?this.bank.username+"/"+this.bank.bank_name:""}},mounted:function(){var t=this;return u(i.a.mark((function e(){var n,a,s;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t.$route.query.bank_id||0,n&&(t.getBill(n),t.bank_id=n),e.next=4,Object(o["J"])();case 4:a=e.sent,s=a.data,t.user=s;case 7:case"end":return e.stop()}}),e)})))()},methods:{getBill:function(t){var e=this;return u(i.a.mark((function n(){var a,s;return i.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,Object(o["m"])(t);case 2:a=n.sent,s=a.data,console.log(s,"getBill"),e.bank=s;case 6:case"end":return n.stop()}}),n)})))()},applay:function(){var t=this;return u(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.bank_id){e.next=4;break}return t.$notify("请选择绑定的银行卡"),t.tStatus=!1,e.abrupt("return");case 4:if(!t.tSatus){e.next=9;break}return t.$notify("已经提交,请勿重复提交!"),e.abrupt("return");case 9:t.tSatus=!0;case 10:return e.next=12,Object(o["j"])({brank_card_id:t.bank_id});case 12:n=e.sent,a=n.code,t.tStatus=!1,2e3==a&&(t.$toast("申请已提交"),setTimeout((function(){t.go("/me")}),2e3));case 16:case"end":return e.stop()}}),e)})))()},go:function(t){this.$router.push(t)}}},d=l,p=(n("6ce5"),n("2877")),f=Object(p["a"])(d,a,s,!1,null,"3f1ead55",null);e["default"]=f.exports},"5bf2":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD4AAAA0CAYAAADSWosiAAAJhElEQVRoQ+VaW3CUZxl+3u/flILajtN2WqboTQ2Q0AVyAENqLWn2z4KVAkVs1TIj40XHWi88XJRaHUdr6YXaCysKtA0ItZROC6Wa3eyGLIcaRsyJoqlavbIdYMQL8UDTkP91/vP3/YfsbvZfbtwb2P0P3/e8h+d9vvcN4Sp82oZfn8eXUndqAncBWALQQiK+EaAPCTI3wP8ioovE+DOB/2AAx9+fd+XkSPu6/9Zre9ay9fq0lvJrAHyRiO8FYy4RYC7o/muu6/1mfXGvEwh0mcBHhMCeY51r8knvsS7AWwdz94HwHYCXWRBkUA7YIGjTAM5tljFME0hGOUOCv1datfbVpAyQKPDbj/bd1iDEzwDWCWxBdj0sA40FbXk88IxkKEEostHw5cE7uv9aqwESA95Syj0Axk4QX2dvnkHkeDsQ0p53ndD2DRFtKDliBNElAh4qdGQP1AI+EeAtpdz3wfy4F6JyOMugA+FswzQN5HjauS4CqeHnvsMBdvI8UejIfnu24GsG3jqY+ymDH7ZD2n6dTGJe3kbltpvLNq+Fn5MNFbpucoDYkV+pf2U24GsCHudpJa9jve94WyIxE4Bd3qLZ3r4eMC7EE30r9ao9P2vgdk7zi8EwtUArpSlYwtz8d5jbBSnne8hYLsOzzfbhkvi5X6+oLudnBbztaN9tBtEoeUTm1+ByXnNTIrbEy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LZrUfdTtYBOHLj5ws+M9W8D6ElF3HhNQLdYBcgtVvDY8HxD0mO7mzLbawVdF+DmS+8fH3jIgPEMAalo70cMBWKY30xoAbpCmvbIroVdO5MAXTfg5os///ti1jDwAphviFJjwdof/ls2b1jxD4L4wu6mu2ccAlZrkMTILWrhzeNHb23QjH3M3OXWdu/c7DwQ2UH187kkgC0/X9T9brXAyt1fV+DW4sz04FsDW2DgKTDmx7WTFLYnOqeReHTnwq59VqulDp/6A3c2vW749Xkfnjt3i9laAlGawFaV8uq8DfCspmk7cOnf+3bV8W/V65rjMzlp61+OfwTvT3USYwFgQKTEO9Pa9FDvx7J/q4NzI1951Tx+tQBVus7/LfD/AX+SMFP6FKraAAAAAElFTkSuQmCC"},"5d8f":function(t,e,n){t.exports=n.p+"static/img/charge1.3bb60787.png"},"5df9":function(t,e,n){},"5fd8":function(t,e,n){},6005:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"card-page"},[t.cards.length?t._e():a("van-empty",{staticClass:"empty",attrs:{description:"购物车空空如也,赶紧去逛逛吧"}}),t.cards.length?[a("div",{staticClass:"goods"},[a("van-cell",{staticClass:"delete",attrs:{title:"订单",value:"删除"},on:{click:function(e){return t.controlDelBtn()}},scopedSlots:t._u([{key:"default",fn:function(){return[a("span",{staticClass:"fb"},[t._v(t._s(t.is_detele_status?"取消":"删除"))])]},proxy:!0}],null,!1,1939607978)})],1),t._l(t.cards,(function(e,n){return a("div",{key:n,staticClass:"row"},[a("van-checkbox",{staticClass:"left",on:{click:function(a){return t.checkGood(e,n)}},model:{value:e.is_check,callback:function(n){t.$set(e,"is_check",n)},expression:"good.is_check"}}),a("div",{staticClass:"right"},[a("van-card",{staticClass:"card",attrs:{price:e.sku.money,thumb:e.goods.images[0]},scopedSlots:t._u([{key:"title",fn:function(){return[a("p",{staticClass:"title"},[t._v(t._s(e.goods.item_name))])]},proxy:!0},{key:"tags",fn:function(){return[a("p",{staticClass:"type"},[t._v(t._s(e.sku.sku_name))])]},proxy:!0},{key:"num",fn:function(){return[a("van-stepper",{attrs:{theme:"round","button-size":"22","disable-input":""},model:{value:e.num,callback:function(n){t.$set(e,"num",n)},expression:"good.num"}})]},proxy:!0}],null,!0)})],1)],1)})),t.is_detele_status?t._e():a("van-submit-bar",{staticClass:"submit-bar",attrs:{price:t.total_money,"button-text":"提交订单"},on:{submit:t.onSubmit}},[a("van-checkbox",{on:{click:function(e){return t.changeAllStatus()}},model:{value:t.is_all_select_status,callback:function(e){t.is_all_select_status=e},expression:"is_all_select_status"}},[t._v("全选")])],1),t.is_detele_status?a("van-submit-bar",{staticClass:"submit-bar",attrs:{"button-text":"删除"},on:{submit:t.onDelCard}},[a("van-checkbox",{staticStyle:{position:"absolute",left:"20px"},on:{click:function(e){return t.changeAllStatus()}},model:{value:t.is_all_select_status,callback:function(e){t.is_all_select_status=e},expression:"is_all_select_status"}},[t._v("全选")])],1):t._e()]:t._e(),a("van-tabbar",{model:{value:t.menu,callback:function(e){t.menu=e},expression:"menu"}},[a("van-tabbar-item",{attrs:{icon:"home-o",to:"/home"},scopedSlots:t._u([{key:"icon",fn:function(t){return[a("img",{attrs:{src:t.active?n("a5b8"):n("ce9a")}})]}}])},[t._v("首页 ")]),a("van-tabbar-item",{attrs:{icon:"search",to:"/category"},scopedSlots:t._u([{key:"icon",fn:function(t){return[a("img",{attrs:{src:t.active?n("df14"):n("1f20")}})]}}])},[t._v("分类")]),a("van-tabbar-item",{attrs:{icon:"friends-o",to:"shopping",badge:t.carNum||""},scopedSlots:t._u([{key:"icon",fn:function(t){return[a("img",{attrs:{src:t.active?n("f283"):n("e5ba")}})]}}])},[t._v("购物车")]),a("van-tabbar-item",{attrs:{icon:"setting-o",to:"me"},scopedSlots:t._u([{key:"icon",fn:function(t){return[a("img",{attrs:{src:t.active?n("bb60"):n("8089")}})]}}])},[t._v("我的")])],1)],2)},s=[],r=(n("e7e5"),n("d399")),i=n("a34a"),o=n.n(i),c=n("8d49"),u=n("c24f"),l=n("121a");function d(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function p(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){d(r,a,s,i,o,"next",t)}function o(t){d(r,a,s,i,o,"throw",t)}i(void 0)}))}}var f=n("18a0"),v={components:{},data:function(){return{cards:[],is_detele_status:!1,is_empty:!1,is_all_select_status:!0,menu:2,carNum:0}},mounted:function(){this.load(),this.getCarNum(),this.share()},methods:{getCarNum:function(){var t=this;return p(o.a.mark((function e(){var n,a;return o.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["C"])();case 2:n=e.sent,a=n.data,t.carNum=a.number;case 5:case"end":return e.stop()}}),e)})))()},onSubmit:function(){var t=this;return p(o.a.mark((function e(){var n;return o.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=[],t.cards.map((function(t){t.is_check&&n.push(t)})),0!=n.length){e.next=4;break}return e.abrupt("return",Object(r["a"])("请选择商品"));case 4:t.$store.commit("saveOrderCards",n),t.go("/order");case 6:case"end":return e.stop()}}),e)})))()},onDelCard:function(){var t=this;return p(o.a.mark((function e(){var n,a,s,i;return o.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=t.cards,a=[],t.cards.map((function(t){t.is_check&&a.push(t.id)})),0!=a.length){e.next=5;break}return e.abrupt("return",Object(r["a"])("请选择商品"));case 5:return e.next=7,Object(c["b"])(a);case 7:s=e.sent,i=s.code,2e3===i&&a.map((function(t){n.forEach((function(e,a){t!=e.id||n.splice(a,1)}))})),t.cards=n;case 11:case"end":return e.stop()}}),e)})))()},changeAllStatus:function(){var t=!0;t=!!this.is_all_select_status,this.cards.map((function(e){e.is_check=t})),this.is_all_select_status=t},checkGood:function(t,e){var n=!0;n=!!t.is_check,t.is_check=n,this.cards[e]=t},controlDelBtn:function(){this.is_detele_status=!this.is_detele_status},onClickEditAddress:function(){},go:function(t){this.$router.push(t)},load:function(){var t=this;return p(o.a.mark((function e(){var n,a;return o.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(c["d"])();case 2:n=e.sent,a=n.data,t.cards=a;case 5:case"end":return e.stop()}}),e)})))()},share:function(){var t=this;return p(o.a.mark((function e(){var n,a,s;return o.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(l["b"])(["updateAppMessageShareData","updateTimelineShareData"]);case 2:n=e.sent,a=n.data,console.log(t.$store.getters.userInfo.id,"this.$store.getters.userInfo.id"),s=t.$store.getters.userInfo.id,f.config({debug:!1,appId:a.appId,timestamp:a.timestamp,nonceStr:a.nonceStr,signature:a.signature,jsApiList:a.jsApiList}),f.ready((function(){var t=Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_TITLE||"杰安易购商城",e=Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_DESC||"杰安易购商城",n=(Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_LINK||"http://h5.jiean91.cn")+"?pid="+s,a=Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_IMG||"http://admin.jiean91.cn/upload/20230403/0bbf8f28376ee8782f9d990d8a5307b5.png";f.updateAppMessageShareData({title:t,desc:e,link:n,imgUrl:a,success:function(){console.log("分享成功")}}),f.updateTimelineShareData({title:t,desc:e,link:n,imgUrl:a,success:function(){console.log("分享成功")}})}));case 8:case"end":return e.stop()}}),e)})))()}},computed:{total_money:function(){var t=0;return this.cards.map((function(e){e.is_check&&(console.log(e.sku["money"]),console.log(e.sku.moeny*e.num,e.num,e.sku.moeny,"mead"),t+=e.sku["money"]*e.num)})),100*t}}},h=v,m=(n("0157"),n("2877")),g=Object(m["a"])(h,a,s,!1,null,"47b897bd",null);e["default"]=g.exports},"63b6":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"after-sales-page"},[n("van-tabs",{on:{change:t.changeOrderStatus},model:{value:t.index,callback:function(e){t.index=e},expression:"index"}},[n("van-tab",{attrs:{title:"全部",name:-1}}),n("van-tab",{attrs:{title:"审核中",name:0}}),n("van-tab",{attrs:{title:"审核成功",name:1}}),n("van-tab",{attrs:{title:"审核失败",name:2}}),n("van-tab",{attrs:{title:"已完成",name:3}})],1),t.listsF.length?t._e():n("van-empty",{staticClass:"empty",attrs:{description:"暂无订单"}}),t._l(t.listsF,(function(e){return n("div",{key:e,staticClass:"order mt10"},[n("div",{staticClass:"top"},[n("span",{staticClass:"no"},[t._v("订单编号:"+t._s(e.order_no))]),n("span",{staticClass:"status"},[t._v(t._s(t.statusMaps[e.status]))])]),t._l(e.order_detail,(function(e){return n("van-card",{key:e,staticClass:"card",attrs:{price:e.unit_price,num:e.num,title:"",thumb:e.goods_id_images[0]},scopedSlots:t._u([{key:"title",fn:function(){return[n("p",{staticClass:"title"},[t._v(t._s(e.goods_id_name))])]},proxy:!0},{key:"footer",fn:function(){},proxy:!0}],null,!0)})})),n("div",{staticClass:"bottom"},[n("span",{staticClass:"total"},[t._v("订单金额:"),n("b",{staticClass:"fb"},[t._v("¥"+t._s(e.pay_price))])]),n("span",{staticClass:"btn-g"},[9==e.status&&0==e.exchange.status?[n("van-button",{staticClass:"btn",attrs:{round:"",plain:"",size:"mini"},on:{click:function(n){return t.cacleReturnGood(e.exchange.id)}}},[t._v("取消售后")]),n("van-button",{staticClass:"btn",attrs:{round:"",plain:"",size:"mini",type:"danger"}},[t._v("审核中")])]:t._e(),9==e.status&&1==e.exchange.status?[""==e.exchange.ship_number||null==e.exchange.ship_number?n("van-button",{staticClass:"btn",attrs:{round:"",plain:"",size:"mini",type:"danger"},on:{click:function(n){return t.returnGood(e)}}},[t._v("填写物流")]):n("van-button",{staticClass:"btn",attrs:{round:"",plain:"",size:"mini",type:"danger"}},[t._v("已填物流单号")])]:t._e(),9==e.status&&3==e.exchange.status?[n("van-button",{staticClass:"btn",attrs:{round:"",plain:"",size:"mini",type:"danger"}},[t._v("已完成")])]:t._e(),9==e.status&&2==e.exchange.status?[n("van-button",{staticClass:"btn",attrs:{round:"",plain:"",size:"mini",type:"danger"},on:{click:function(n){return t.go("/returnGood?id="+e.exchange.order_id+"&exchange_id="+e.exchange.id)}}},[t._v("审核失败,点击修改")])]:t._e()],2)])],2)}))],2)},s=[],r=n("a34a"),i=n.n(r),o=n("c24f"),c=n("f8b7");function u(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function l(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){u(r,a,s,i,o,"next",t)}function o(t){u(r,a,s,i,o,"throw",t)}i(void 0)}))}}var d={components:{},data:function(){return{lists_loading:!1,lists_finished:!1,lists_nums:0,lists:[],heder:{page:1,status:9},index:-1,statusMaps:["未知","待支付","待发货","支付失败","取消订单","已发货","确认收货","已完成","订单失效","退换货"]}},computed:{listsF:function(){var t=this;if(this.index<0)return this.lists;var e=[];return this.lists.map((function(n){n.exchange.status==t.index&&e.push(n)})),e}},mounted:function(){var t=this;return l(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["k"])();case 2:n=e.sent,a=n.data,t.lists=a;case 5:case"end":return e.stop()}}),e)})))()},methods:{cacleReturnGood:function(t){var e=this;return l(i.a.mark((function n(){var a,s;return i.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,Object(c["f"])(t);case 2:a=n.sent,s=a.code,2e3==s&&e.$toast("提交成功"),e.go("/orders");case 6:case"end":return n.stop()}}),n)})))()},changeOrderStatus:function(t){this.index=t,console.log(t)},returnGood:function(t){this.go("/retrunGoodLogistics?id="+t.exchange.id)},reLoadList:function(){this.lists_loading=!1,this.lists_finished=!1,this.lists_nums=0,this.lists=[],this.heder.page=1,this.getLists()},getLists:function(){var t=this;return l(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(c["i"])(t.heder);case 2:n=e.sent,a=n.data,t.lists=t.lists.concat(a.data),t.lists_nums=a.count,t.lists_nums<=t.lists.length?t.lists_finished=!0:t.heder.page+=1,t.lists_loading=!1;case 8:case"end":return e.stop()}}),e)})))()},go:function(t){this.$router.push(t)}}},p=d,f=(n("5493"),n("2877")),v=Object(f["a"])(p,a,s,!1,null,"789ea239",null);e["default"]=v.exports},"653b":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"success-page"},["success"==t.type?[a("img",{staticClass:"img",attrs:{src:n("8c16")}}),a("p",{staticClass:"msg"},[t._v("支付成功!")]),a("van-button",{staticClass:"btn",attrs:{round:"",type:"danger"},on:{click:function(e){return t.go("/home")}}},[t._v("返回首页")])]:t._e(),"wait"==t.type?[a("img",{staticClass:"img",attrs:{src:n("bee4")}}),a("p",{staticClass:"msg"},[t._v("您提交的代理商申请正在审核中,请耐心等待!")]),a("van-button",{staticClass:"btn",attrs:{round:"",type:"danger"},on:{click:function(e){return t.go("/home")}}},[t._v("返回首页")])]:t._e()],2)},s=[],r={name:"Success",data:function(){return{type:"wait"}},mounted:function(){this.type=this.$route.query.type||"wait"},methods:{go:function(t){this.$router.push(t)}}},i=r,o=(n("1a9f"),n("2877")),c=Object(o["a"])(i,a,s,!1,null,"3013ea7a",null);e["default"]=c.exports},6649:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"edit-page"},[n("van-cell-group",{staticClass:"mt10"},[n("van-field",{attrs:{label:"姓名",required:"",placeholder:"请输入姓名"},model:{value:t.formInvoice.username,callback:function(e){t.$set(t.formInvoice,"username",e)},expression:"formInvoice.username"}}),n("van-field",{attrs:{label:"银行名字",required:"",placeholder:"请输入银行名字"},model:{value:t.formInvoice.bank_name,callback:function(e){t.$set(t.formInvoice,"bank_name",e)},expression:"formInvoice.bank_name"}}),n("van-field",{attrs:{label:"银行卡号",required:"",placeholder:"请输入银行卡号"},model:{value:t.formInvoice.bank_account,callback:function(e){t.$set(t.formInvoice,"bank_account",e)},expression:"formInvoice.bank_account"}})],1),n("div",{staticClass:"btn"},[n("van-button",{attrs:{round:"",block:"",type:"danger"},on:{click:t.addInvoice}},[t._v(" 保存 ")])],1)],1)},s=[],r=n("a34a"),i=n.n(r),o=n("c24f");function c(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){c(r,a,s,i,o,"next",t)}function o(t){c(r,a,s,i,o,"throw",t)}i(void 0)}))}}var l={components:{},data:function(){return{id:0,formInvoice:{id:0,username:"",bank_name:"",bank_account:""},tStatus:!1}},computed:{},mounted:function(){var t=this.$route.query.id||!1;console.log(t,"id"),t&&(this.getBill(t),this.id=t)},methods:{getBill:function(t){var e=this;return u(i.a.mark((function n(){var a,s;return i.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,Object(o["m"])(t);case 2:a=n.sent,s=a.data,console.log(s,"getBill"),e.formInvoice=s;case 6:case"end":return n.stop()}}),n)})))()},addInvoice:function(){var t=this;return u(i.a.mark((function e(){var n,a,s,r,c;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.formInvoice.username){e.next=4;break}return t.$notify("姓名必填"),t.tStatus=!1,e.abrupt("return",!1);case 4:if(t.formInvoice.bank_name){e.next=8;break}return t.$notify("银行名字必填"),t.tStatus=!1,e.abrupt("return",!1);case 8:if(t.formInvoice.bank_account){e.next=12;break}return t.$notify("银行卡号必填"),t.tStatus=!1,e.abrupt("return",!1);case 12:if(!t.tSatus){e.next=18;break}return t.$notify("已经提交,请勿重复提交!"),t.tStatus=!1,e.abrupt("return");case 18:t.tSatus=!0;case 19:if(!t.id){e.next=27;break}return e.next=22,Object(o["F"])(t.formInvoice);case 22:a=e.sent,s=a.code,n=s,e.next=32;break;case 27:return e.next=29,Object(o["a"])(t.formInvoice);case 29:r=e.sent,c=r.code,n=c;case 32:t.tStatus=!1,2e3==n&&t.$router.go(-1);case 34:case"end":return e.stop()}}),e)})))()},go:function(t){this.$router.push(t)}}},d=l,p=(n("a6fd"),n("2877")),f=Object(p["a"])(d,a,s,!1,null,"12ed40fd",null);e["default"]=f.exports},"67a1":function(t,e,n){},"686b":function(t,e,n){"use strict";n("78bf")},"68de":function(t,e,n){"use strict";n("20ed")},"69ab":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAwCAYAAABnjuimAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAuIwAALiMBeKU/dgAAABZ0RVh0Q3JlYXRpb24gVGltZQAwOS8xOS8yMPkbpgsAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzbovLKMAAAI70lEQVRYhdWZ229cVxXGf2ufMzeP7alvsRM7TlInorekkVKgBKkSSEArhADBAy8VErzzH4GQELzRF5AoqkCIUqWtilqVhqYkddvEiRNfY489njnn7L142Oc2TkvtZFKJ9eKZc7z3/vbaa33rW3tEVZX7sGyQKCD+u5Tfq38iqmCkGKMgAuBQFUTKoz7b5P6AOsCg6cr3LuZSYMYvcs8GODDAzMLD/LNfxOWLCKDZgmqxcZek28bZhLBSp1IfgbBG4QmHSLZBlz4zgwLqislEEST97kAtSdJl6/r7bN36N1H7DnG0h6piwgphpULzyGkmjj9Dc2I+HaaIERTDYXx64KN3KIKCpgtozPrqddb+9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00hgsM7Rvn0lv/TdB7SgmN7OGr3uLqhhaPw4xoRkGZ2Vu4ITB2eNsXkq9RZGlM7dpXv8cE/Q9bZXcS4BDI1HjgGlHoisFf7UoQ9ghkqtSb01iaBE7VVsr9N3aia/I8qA7m4gqgTVCo3mOOUbZl8KS9ePAzJNkdSGp1AEG+2R7LX3bUX95aymtd1Fu17uBVXCepMy1UqpXg8qRrMuFVUqzQlUlSTpEnfb/VkvImk18ICSXgd1QlCpoVQHhOZ/4JS0/EpAWKsTSAhOsMleWku9hfvLoWIQo4ip+guHh2yi4MRfVJigivPX27gk6utVwlycikMdRDYiiXpoSrjyMEh+P1hKEtBFOOewtkc5YcNCnBqMgen586yHVSbnzj50gDlQBRVHa+YMQ1MLEAijR75EWcRLoqpefAVp0Xcl9fzwvQnFRRziILFptQ5wWAz+fkqcc1p0e6UukMEl9ucD9SFmcXhNZe75wcTkIJ3mINW5Q11bP6hlwtpgPFWmNy9lrr7P30K/ePtignAA9n8D9L8qWFOkgmRFGQAAAABJRU5ErkJggg=="},"6a54":function(t,e,n){"use strict";n("73e0")},"6b3d":function(t,e,n){"use strict";n("54fd")},"6c41":function(t,e,n){"use strict";n("5df9")},"6ce5":function(t,e,n){"use strict";n("2157")},"6d2b":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"partner-info-page"},[a("van-cell",{staticClass:"user-info",attrs:{center:"",title:"Mead",label:"描述信息"},scopedSlots:t._u([{key:"title",fn:function(){return[a("span",{staticClass:"title"},[t._v(t._s(t.user.username))])]},proxy:!0},{key:"icon",fn:function(){return[a("van-image",{staticClass:"img",attrs:{round:"",width:"70px",height:"70px",src:t.user.header_img?t.user.header_img:n("9d64")}})]},proxy:!0},{key:"label",fn:function(){return[1==t.user.role_id||null==t.user.role_id?a("van-tag",{staticClass:"tag",attrs:{size:"medium",round:"",type:"primary"}},[t._v("普通会员")]):t._e(),2==t.user.role_id?a("van-tag",{staticClass:"tag",attrs:{size:"medium",round:"",type:"primary"}},[t._v("VIP会员")]):t._e(),3==t.user.role_id?a("van-tag",{staticClass:"tag",attrs:{size:"medium",round:"",type:"primary"}},[t._v("城市合伙人")]):t._e(),4==t.user.role_id?a("van-tag",{staticClass:"tag",attrs:{size:"medium",round:"",type:"primary"}},[t._v("代理商")]):t._e()]},proxy:!0}])}),a("van-grid",{staticClass:"money-box",attrs:{"column-num":2,border:!1}},[a("van-grid-item",{staticClass:"grid-item",scopedSlots:t._u([{key:"default",fn:function(){return[a("p",{staticClass:"hint"},[t._v("可提现积分")]),a("p",{staticClass:"money"},[a("span",[t._v(t._s(t.user.rebate_m)),a("span",{staticStyle:{"font-size":"12px"}},[t._v("个")])])]),a("van-button",{staticClass:"btn",attrs:{size:"mini",round:"",type:"danger"},on:{click:function(e){return t.go("/tixian")}}},[t._v("提现1")])]},proxy:!0}])}),a("van-grid-item",{staticClass:"grid-item",scopedSlots:t._u([{key:"default",fn:function(){return[a("p",{staticClass:"hint"},[t._v("保证金金额")]),a("p",{staticClass:"money"},[t._v(" ¥"),a("span",[t._v(t._s(t.user.recharge_m))])]),0==t.user.is_refund?a("van-button",{staticClass:"btn",attrs:{size:"mini",round:"",type:"danger"},on:{click:t.showBaoZhengJin}},[t._v("申请退回")]):t._e(),1==t.user.is_refund?a("van-button",{staticClass:"btn",attrs:{size:"mini",disabled:"",round:"",type:"danger"},on:{click:t.showRefundBaoZhengJin}},[t._v("已申请,待审核")]):t._e()]},proxy:!0}])})],1),t.user.role_status?t._e():a("div",{staticClass:"progress-box"},[t.setting?a("div",{staticClass:"content"},[a("p",[t._v("请在"+t._s(t.dateFormat("YYYY.mm.dd",t.user.role_time))+"至"+t._s(t.dateFormat("YYYY.mm.dd",t.user.role_time+t.setting.time))+"期间累计消费满"+t._s(t.moeny)+"元。")]),a("p",{staticClass:"progress"},[a("van-progress",{attrs:{percentage:t.user.role_money/t.moeny*100>100?100:parseInt(t.user.role_money/t.moeny*100)}})],1),a("p",{staticClass:"goal"},[a("span",[t._v("距离目标完成还差:"),a("b",[t._v("¥"+t._s(t.cha))])]),a("span",{staticClass:"right",on:{click:function(e){return e.stopPropagation(),t.go("/goods?location=1")}}},[t._v("立即去购买"),a("van-icon",{staticClass:"icon",attrs:{size:"15",name:"arrow"}})],1)])]):t._e()]),a("van-grid",{staticClass:"box mt10",attrs:{"column-num":2,border:!1}},[a("van-grid-item",{staticClass:"grid-item",scopedSlots:t._u([{key:"default",fn:function(){return[a("p",{staticClass:"hint"},[t._v("累计消费")]),a("p",{staticClass:"money"},[t._v(" ¥"),a("span",[t._v(t._s(t.user.sale_m))])])]},proxy:!0}])}),a("van-grid-item",{staticClass:"grid-item",scopedSlots:t._u([{key:"default",fn:function(){return[a("p",{staticClass:"hint"},[t._v("累计客户")]),a("p",{staticClass:"money"},[a("span",[t._v(t._s(t.user.children||0))]),t._v("人 ")])]},proxy:!0}])})],1),a("van-grid",{staticClass:"grid"},[a("van-grid-item",{attrs:{text:"我的客户"},on:{click:function(e){return t.go("/customer")}},scopedSlots:t._u([{key:"icon",fn:function(){return[a("van-image",{staticClass:"img",attrs:{src:n("ae22"),fit:"contain"}})]},proxy:!0}])}),a("van-grid-item",{attrs:{text:"直推奖励"},on:{click:function(e){return t.go("/directPush")}},scopedSlots:t._u([{key:"icon",fn:function(){return[a("van-image",{staticClass:"img",attrs:{src:n("d874"),fit:"contain"}})]},proxy:!0}])}),a("van-grid-item",{attrs:{text:"收益订单"},on:{click:function(e){return t.go("/shouYi")}},scopedSlots:t._u([{key:"icon",fn:function(){return[a("van-image",{staticClass:"img",attrs:{src:n("446a"),fit:"contain"}})]},proxy:!0}])}),a("van-grid-item",{attrs:{text:"积分明细"},on:{click:function(e){return t.go("/jifen")}},scopedSlots:t._u([{key:"icon",fn:function(){return[a("van-image",{staticClass:"img",attrs:{src:n("cb10"),fit:"contain"}})]},proxy:!0}])}),a("van-grid-item",{attrs:{text:"提现明细"},on:{click:function(e){return t.go("/reflect")}},scopedSlots:t._u([{key:"icon",fn:function(){return[a("van-image",{staticClass:"img",attrs:{src:n("cb10"),fit:"contain"}})]},proxy:!0}])}),3==t.vip?a("van-grid-item",{attrs:{text:"升级合伙人"},on:{click:function(e){return t.go("/step10")}},scopedSlots:t._u([{key:"icon",fn:function(){return[a("van-image",{staticClass:"img",attrs:{src:n("f950"),fit:"contain"}})]},proxy:!0}],null,!1,3475747152)}):t._e(),a("van-grid-item",{attrs:{text:"管理奖"},on:{click:function(e){return t.go("/manage")}},scopedSlots:t._u([{key:"icon",fn:function(){return[a("van-image",{staticClass:"img",attrs:{src:n("b025"),fit:"contain"}})]},proxy:!0}])}),a("van-grid-item",{attrs:{text:"我的二维码"},on:{click:function(e){return t.go("/code")}},scopedSlots:t._u([{key:"icon",fn:function(){return[a("van-image",{staticClass:"img",attrs:{src:n("38b0"),fit:"contain"}})]},proxy:!0}])})],1),a("van-dialog",{attrs:{confirmButtonText:"知道了"},model:{value:t.isTiXianShow,callback:function(e){t.isTiXianShow=e},expression:"isTiXianShow"}},[a("div",{staticClass:"tixianbox"},[a("p",{staticClass:"title"},[t._v("需要完成消费任务即可提现")]),a("p",{staticClass:"right",on:{click:function(e){return e.stopPropagation(),t.go("/goods?location=1")}}},[t._v("立即去购买"),a("van-icon",{staticClass:"icon",attrs:{size:"15",name:"arrow"}})],1)])]),a("van-dialog",{attrs:{showCancelButton:"",title:"提示",message:"您确定退回保证金吗?"},on:{confirm:function(e){return t.go("/refund")}},model:{value:t.isBaoZhengJinShow,callback:function(e){t.isBaoZhengJinShow=e},expression:"isBaoZhengJinShow"}})],1)},s=[],r=n("a34a"),i=n.n(r),o=n("c24f"),c=n("11d4"),u=n("121a");function l(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function d(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){l(r,a,s,i,o,"next",t)}function o(t){l(r,a,s,i,o,"throw",t)}i(void 0)}))}}var p=n("18a0"),f={components:{},data:function(){return{user:{role_id:1},vip:1,setting:null,value:50,isTiXianShow:!1,isBaoZhengJinShow:!1}},computed:{moeny:function(){return this.user.role_id<=3?this.setting.to_3:this.setting.to_4},cha:function(){var t=this.moeny-this.user.role_money;return t<=0?0:t}},mounted:function(){var t=this;return d(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.load(),e.next=3,Object(c["g"])();case 3:return n=e.sent,a=n.data,t.user.role_id<=3?a.setting.to=a.setting.to_3:t.setting.to=a.setting.to_4,t.setting=a.setting,t.vip=t.$store.getters.userInfo.role_id||1,t.share(),e.next=11,Object(o["r"])();case 11:case"end":return e.stop()}}),e)})))()},methods:{showRefundBaoZhengJin:function(){this.$toast("申请已提交")},showBaoZhengJin:function(){this.isBaoZhengJinShow=!0},showTiXian:function(){this.isTiXianShow=!0},dateFormat:function(t,e){var n;e=new Date(1e3*e);var a={"Y+":e.getFullYear().toString(),"m+":(e.getMonth()+1).toString(),"d+":e.getDate().toString(),"H+":e.getHours().toString(),"M+":e.getMinutes().toString(),"S+":e.getSeconds().toString()};for(var s in a)n=new RegExp("("+s+")").exec(t),n&&(t=t.replace(n[1],1==n[1].length?a[s]:a[s].padStart(n[1].length,"0")));return t},load:function(){var t=this;return d(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["J"])();case 2:n=e.sent,a=n.data,t.user=a;case 5:case"end":return e.stop()}}),e)})))()},go:function(t){this.$router.push(t)},share:function(){var t=this;return d(i.a.mark((function e(){var n,a,s;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])(["updateAppMessageShareData","updateTimelineShareData"]);case 2:n=e.sent,a=n.data,console.log(t.$store.getters.userInfo.id,"this.$store.getters.userInfo.id"),s=t.$store.getters.userInfo.id,p.config({debug:!1,appId:a.appId,timestamp:a.timestamp,nonceStr:a.nonceStr,signature:a.signature,jsApiList:a.jsApiList}),p.ready((function(){var t=Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_TITLE||"杰安易购商城",e=Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_DESC||"杰安易购商城",n=(Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_LINK||"http://h5.jiean91.cn")+"?pid="+s,a=Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_IMG||"http://admin.jiean91.cn/upload/20230403/0bbf8f28376ee8782f9d990d8a5307b5.png";p.updateAppMessageShareData({title:t,desc:e,link:n,imgUrl:a,success:function(){console.log("分享成功")}}),p.updateTimelineShareData({title:t,desc:e,link:n,imgUrl:a,success:function(){console.log("分享成功")}})}));case 8:case"end":return e.stop()}}),e)})))()}}},v=f,h=(n("a415"),n("2877")),m=Object(h["a"])(v,a,s,!1,null,"6aa1de0c",null);e["default"]=m.exports},"6e74":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAF2UlEQVRYR+2YXWgcVRSAz5ndbCIFNa1VIeIPIWprH9SCL1Ilah+0KK0022x2zm78zYNYiwoKrXWtP7U+KKRVDFiTzL2zu90W2yL1pa2pqKAW9UEEbVpBMQpaWywNZjfZOXK2s8tks5OdTRT60At5yNzz8+255957zkWYx9BaXwwAawBgHTPfJqYQ8SsA2AUAe03TPDMP8yVVbNRALpe7qFAorGLmbgBYBQAtPjYmAOAAImYjkciBaDT6T6O+AgOOjIyEx8bGVrpQqwFAItfIkEjuE9i2traDnZ2dU0GVfSPIzJhOp1cwc4yZ1wLAZT5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Y7jCFi5edFERI0A1JNVSr0HAI+4cmfD4fANsVjst1p6NZsjrXUPM9sehW1E9Hw9x0HmlVKVa1DkDcN4KB6PD/np+nZvWut3mblSuyFifyQSebr6jg4CJTKy69vb218DgOc8OlIf9s66C/0m3WMnx8wPlmWY+RAiJojo96Bgbs4tzufzg+5rWEkVEQ+Mj4+v6evrm5wToGs4ks/n5UCWd5rykKLiMSLaFwTSsqz7EHEnAFxZlkfEvZFIJB7kSS5Qg6613uwWniH318uNIbt9g98Ol3fEfD7/BgA84bkQHETcFo/HNwZ9RgkEKFDuVWhVPf6MImLcNM2j3mjatn2z4ziyyZZ6vssu7SWig0EiX4l2I8KDg4OXhsPhd9z3v7KqFLBbWlpatnZ1dTnpdPoZx3Gkqmn2LOkHxWLx8WQy+Vcj/kqr1aiCyNu2HXcc520A8D70fAYABQC4y2PzLCI+ZZrm+3PxM2dAF/Iax3EUAKzwcf4lAJhEdHyucPMCFGVmNrTWcoBL/1HqJaSvYOatJ06c2PJfPN3NaYmrI2JZ1hLDMBJyMUgVb5rmd/OJmlf3Xyoy9UdN04IWAAAAAElFTkSuQmCC"},"6f27":function(t,e,n){},"6f92":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"ologistics-page"},[n("van-card",{staticClass:"top",scopedSlots:t._u([{key:"thumb",fn:function(){return[n("van-image",{staticClass:"img",attrs:{fit:"cover",src:t.goods[0].goods.images[0]}}),n("div",{staticClass:"bg-box"},[n("div",{staticClass:"bg"}),n("div",{staticClass:"font"},[t._v(t._s(t.goods.length)+"件商品")])])]},proxy:!0},{key:"title",fn:function(){return[n("p",{staticClass:"row"},[n("span",[t._v("配送快递:")]),null==t.order.ship_code||"zanwu"==t.order.ship_code?n("span",[t._v("暂无")]):t._e(),"shunfeng"==t.order.ship_code?n("span",[t._v("顺丰快递")]):t._e(),"ems"==t.order.ship_code?n("span",[t._v("EMS")]):t._e(),"youzhengguonei"==t.order.ship_code?n("span",[t._v("邮政包裹")]):t._e(),"huitongkuaidi"==t.order.ship_code?n("span",[t._v("百世汇通")]):t._e(),"shentong"==t.order.ship_code?n("span",[t._v("申通")]):t._e(),"zhongtong"==t.order.ship_code?n("span",[t._v("中通")]):t._e(),"yuantong"==t.order.ship_code?n("span",[t._v("圆通")]):t._e(),"guotongkuaidi"==t.order.ship_code?n("span",[t._v("国通快递")]):t._e(),"yunda"==t.order.ship_code?n("span",[t._v("韵达")]):t._e(),"tiantian"==t.order.ship_code?n("span",[t._v("天天")]):t._e(),"youshuwuliu"==t.order.ship_code?n("span",[t._v("优速")]):t._e(),"jd"==t.order.ship_code?n("span",[t._v("京东")]):t._e()])]},proxy:!0},{key:"tags",fn:function(){return[n("p",{staticClass:"row"},[n("span",[t._v("快递单号:")]),n("span",[t._v(t._s(t.order.ship_number))])])]},proxy:!0}])}),n("div",{staticClass:"goods mt10"},[n("van-cell",{attrs:{title:"商品信息"}}),n("van-steps",{attrs:{direction:"vertical",active:t.logistics.data.length}},t._l(t.logistics.data,(function(e){return n("van-step",{key:e},[n("h3",[t._v(t._s(e.context))]),n("p",[t._v(t._s(e.time))])])})),1)],1)],1)},s=[],r=n("a34a"),i=n.n(r),o=n("f8b7");function c(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){c(r,a,s,i,o,"next",t)}function o(t){c(r,a,s,i,o,"throw",t)}i(void 0)}))}}var l={components:{},data:function(){return{order:null,goods:null,logistics:null}},computed:{},mounted:function(){var t=this.$route.query.id;this.id=t,this.load()},methods:{load:function(){var t=this;return u(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["h"])(t.id);case 2:n=e.sent,a=n.data,t.order=a.order,t.goods=a.goods,t.getOrderLogistics();case 7:case"end":return e.stop()}}),e)})))()},getOrderLogistics:function(){var t=this;return u(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["j"])({type:t.order.ship_code,postid:t.order.ship_number});case 2:n=e.sent,a=n.data,t.logistics=a,console.log(a,"Mead");case 6:case"end":return e.stop()}}),e)})))()},go:function(){this.$router.push("/good")}}},d=l,p=(n("45d5"),n("2877")),f=Object(p["a"])(d,a,s,!1,null,"e9ce67ce",null);e["default"]=f.exports},7034:function(t,e,n){},7252:function(t,e,n){"use strict";n("0ffc")},"739d":function(t,e,n){},"73a6":function(t,e,n){},"73e0":function(t,e,n){},7556:function(t,e,n){},"78bf":function(t,e,n){},"794b":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD4AAAA0CAYAAADSWosiAAAIIElEQVRoQ+2af4wV1RXHz/fO7GJrq6BW1LToSoy/UiFk+WEL4pYFJcvCivxwDZWtxk2rJf4WHlIKUhFLCFEhrSKKYMB2hXWXlRVlK0rLz0KAuEpDEEHwJyGgVVzezD3NzM6P9+bNvLnvPXwxofPPZu+vcz733Hvuuec+0Gn64TTlppzA5x/lWgY9Skw9iVT6cmBecxIXtMnXJKiJQJPuPxtHCzWYsibzjvF4NullW6DHEwHmjRqoZ7fCKffaRajhdk+phqDtm7tS/wbALAReGXzuEd7DzJdnExYczMcOAHuDhJf7pRH1wOiHzkNjUcCf+JwNItZShbFrOESBOa1DLBc6jlsYNYNOORiTH+6OPxcFfM5nLJm9tZouM4a7EAXD+kIgMeV8zClkXOWlPvvTLOCFaJBHXwCJqRcUCfxPH2eCuyvcXfJxDMqz7DSMGtcCn3ZRkcBnHfbBY7ZsHH/h9QKJ6cUCn3mIJUtnj0e7706ouPogepzTd9s7M85AYubPimTx6Qdk8NB2IHFY0+gBJvooqyklXcKS5zHRBYWaHITEzIuLBD7tQ5bkeHXv9LKti4mzLsZSFZjpB/hOZn7WPwbTewXLI/c4ITGrrEjgj+z3wVNCNyKIusfK8KIK+B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="},"7a02":function(t,e,n){"use strict";n("f700")},"7abe":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"home-page"},[a("div",{staticClass:"location-box"},[a("van-icon",{staticClass:"icon",attrs:{size:"25",name:"location-o"}}),t._v(t._s(t.business))],1),a("div",{staticClass:"body"},[a("van-search",{staticClass:"search",attrs:{placeholder:"请输入商品名称",shape:"round","input-align":"center"},on:{search:t.searchGood,focus:function(e){return t.go("/search")}},model:{value:t.keyword,callback:function(e){t.keyword=e},expression:"keyword"}}),a("van-swipe",{staticClass:"bannar",attrs:{autoplay:3e3,"indicator-color":"white"}},t._l(t.bannars,(function(e,n){return a("van-swipe-item",{key:n,on:{click:function(n){return t.goBanner(e)}}},[a("van-image",{staticClass:"img",attrs:{src:e.logo,fit:"contain"}})],1)})),1),a("van-grid",{staticClass:"navigation",attrs:{border:!1,gutter:"0"}},[t._l(t.cates,(function(e,s){return e.is_show&&s<2?a("van-grid-item",{key:s,attrs:{icon:n("e353"),"icon-size":"40",text:e.title},on:{click:function(n){return t.go("/category?cate_id="+e.id)}},scopedSlots:t._u([{key:"icon",fn:function(){return[a("van-image",{staticClass:"img",attrs:{src:e.img,fit:"contain"}})]},proxy:!0}],null,!0)}):t._e()})),a("van-grid-item",{attrs:{icon:"http://admin.jiean91.cn/upload/cate/3.png",text:"力鼎豪车"},on:{click:function(e){return t.linkSelfUrl("https://mp.weixin.qq.com/mp/homepage?__biz=MjM5MTMxMzQ0OA==&hid=8&sn=475f8e3e919206ad376c381b4a075ab5")}},scopedSlots:t._u([{key:"icon",fn:function(){return[a("van-image",{staticClass:"img",attrs:{src:n("ccf7"),fit:"contain"}})]},proxy:!0}])}),a("van-grid-item",{attrs:{icon:"http://admin.jiean91.cn/upload/cate/.png",text:"会员展示"},on:{click:function(e){return t.linkCarUrl()}},scopedSlots:t._u([{key:"icon",fn:function(){return[a("van-image",{staticClass:"img",attrs:{src:n("4fd8"),fit:"contain"}})]},proxy:!0}])}),a("van-grid-item",{attrs:{icon:n("5d8f"),text:"会员福利"},on:{click:function(e){return t.linkVip()}},scopedSlots:t._u([{key:"icon",fn:function(){return[a("van-image",{staticClass:"img",attrs:{src:n("5d8f"),fit:"contain"}})]},proxy:!0}])}),a("van-grid-item",{attrs:{icon:n("4a71"),text:"力鼎分会"},on:{click:function(e){return t.linkDLFH()}},scopedSlots:t._u([{key:"icon",fn:function(){return[a("van-image",{staticClass:"img",attrs:{src:n("4a71"),fit:"contain"}})]},proxy:!0}])}),t.vip<3?a("van-grid-item",{attrs:{icon:n("ebb3"),text:"申请合伙人"},on:{click:function(e){return t.go("/partner")}},scopedSlots:t._u([{key:"icon",fn:function(){return[a("van-image",{staticClass:"img",attrs:{src:n("ebb3"),fit:"contain"}})]},proxy:!0}],null,!1,3600848101)}):a("van-grid-item",{attrs:{text:"合伙人中心"},on:{click:function(e){return t.go("/gPInfo")}},scopedSlots:t._u([{key:"icon",fn:function(){return[a("van-image",{staticClass:"img",attrs:{src:n("ebb3"),fit:"contain"}})]},proxy:!0}])}),a("van-grid-item",{attrs:{icon:n("98e7"),text:"分享分润"},on:{click:function(e){return t.linkUrl()}},scopedSlots:t._u([{key:"icon",fn:function(){return[a("van-image",{staticClass:"img",attrs:{src:n("98e7"),fit:"contain"}})]},proxy:!0}])})],2),t.notice?a("van-notice-bar",{staticClass:"notice mt10",attrs:{color:"#000",background:"#FBFBFB",scrollable:!1,"left-icon":"volume-o",text:t.notice.f_title},on:{click:function(e){return t.go("/new?id="+t.notice.id)}},scopedSlots:t._u([{key:"left-icon",fn:function(){return[a("van-image",{staticStyle:{width:"35px","margin-right":"10px"},attrs:{src:n("13a1")}})]},proxy:!0},{key:"right-icon",fn:function(){return[a("div",{staticClass:"right"},[t._v("查看详情"),a("van-icon",{attrs:{name:"arrow"}})],1)]},proxy:!0}],null,!1,241005828)}):t._e(),a("div",{staticClass:"goods mt5"},[a("van-cell",{attrs:{title:"热销推荐",value:"查看更多","is-link":"",size:"large",to:"/goods"}}),a("van-list",{attrs:{finished:t.lists_finished,"finished-text":"没有更多了"},on:{load:t.onLoadGood},model:{value:t.lists_loading,callback:function(e){t.lists_loading=e},expression:"lists_loading"}},[a("van-grid",{attrs:{"column-num":2,border:!1}},t._l(t.lists,(function(e){return a("van-grid-item",{key:e,staticClass:"good",attrs:{to:"/good?id="+e.id}},[a("van-image",{attrs:{width:"100%",height:"165px",fit:"cover",src:e.images[0]}}),a("div",{staticClass:"name mt5"},[a("van-tag",{staticClass:"tag",attrs:{round:"",type:"primary"}},[t._v("人气")]),t._v(t._s(e.item_name))],1),a("van-cell",{staticClass:"money-box mt5",scopedSlots:t._u([{key:"title",fn:function(){return[1==t.vip?a("van-tag",{staticClass:"tag",attrs:{round:"",type:"primary"}},[t._v("零售价")]):t._e(),2==t.vip?a("van-tag",{staticClass:"tag",attrs:{round:"",type:"primary"}},[t._v("会员价")]):t._e(),3==t.vip?a("van-tag",{staticClass:"tag",attrs:{round:"",type:"primary"}},[t._v("城市合伙人价")]):t._e(),4==t.vip?a("van-tag",{staticClass:"tag",attrs:{round:"",type:"primary"}},[t._v("代理商价")]):t._e()]},proxy:!0},{key:"default",fn:function(){return[a("span",{staticClass:"money"},[t._v("¥"+t._s(e.money))])]},proxy:!0}],null,!0)}),a("div",{staticClass:"number mt5"},[t._v("销售:"+t._s(e.sales_num)+"件")])],1)})),1)],1)],1)],1),a("van-tabbar",{model:{value:t.meun,callback:function(e){t.meun=e},expression:"meun"}},[a("van-tabbar-item",{attrs:{icon:"home-o",to:"/home"},scopedSlots:t._u([{key:"icon",fn:function(t){return[a("img",{attrs:{src:t.active?n("a5b8"):n("ce9a")}})]}}])},[t._v("首页 ")]),a("van-tabbar-item",{attrs:{icon:"search",to:"/category"},scopedSlots:t._u([{key:"icon",fn:function(t){return[a("img",{attrs:{src:t.active?n("df14"):n("1f20")}})]}}])},[t._v("分类")]),a("van-tabbar-item",{attrs:{icon:"friends-o",to:"shopping",badge:t.carNum||""},scopedSlots:t._u([{key:"icon",fn:function(t){return[a("img",{attrs:{src:t.active?n("f283"):n("e5ba")}})]}}])},[t._v("购物车")]),a("van-tabbar-item",{attrs:{icon:"setting-o",to:"me"},scopedSlots:t._u([{key:"icon",fn:function(t){return[a("img",{attrs:{src:t.active?n("bb60"):n("8089")}})]}}])},[t._v("我的")])],1)],1)},s=[],r=n("a34a"),i=n.n(r),o=n("4328"),c=n.n(o),u=n("b775");function l(t){return Object(u["a"])({url:"content/get_advert",method:"post",data:c.a.stringify(t),hideloading:!0})}var d=n("5a4a"),p=n("3e85"),f=n("121a"),v=n("c24f"),h=n("9add");function m(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function g(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){m(r,a,s,i,o,"next",t)}function o(t){m(r,a,s,i,o,"throw",t)}i(void 0)}))}}var b=n("18a0"),A={components:{},data:function(){return{bannars:[],goods:[],notice:!1,lists_loading:!1,lists_finished:!1,lists_nums:0,lists:[],heder:{page:1,is_hot:1},meun:0,keyword:"",vip:1,business:"定位中",cates:[],user:{},carNum:0}},computed:{},mounted:function(){var t=this;return g(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=t.$store.getters.shareId||0,console.log("shareId",n),!n){e.next=6;break}return t.$store.dispatch("setShareId",0),t.go("/good?id="+n),e.abrupt("return");case 6:a=t.$route.query.pid||0,console.log(a,"from"),console.log(window.location.href,"from"),t.vip=t.$store.getters.userInfo.role_id||1,t.share(),t.getLocstion(),t.getCate(),t.load(),t.getUser(),t.getCarNum();case 16:case"end":return e.stop()}}),e)})))()},methods:{linkUrl:function(){window.location.href="https://mp.weixin.qq.com/mp/homepage?__biz=MjM5MTMxMzQ0OA==&hid=6&sn=4c5572bbca3347389afe5c4f918fed3e"},linkSelfUrl:function(t){window.location.href=t},linkCarUrl:function(){window.location.href="https://mp.weixin.qq.com/mp/homepage?__biz=MjM5MTMxMzQ0OA==&hid=10&sn=ddae43ec3705aa792274bd49d2918986"},linkVip:function(){window.location.href="https://mp.weixin.qq.com/mp/homepage?__biz=MjM5MTMxMzQ0OA==&hid=7&sn=38a78b5e67614b47349ce9f826b062de"},linkDLFH:function(){window.location.href="https://mp.weixin.qq.com/mp/homepage?__biz=MjM5MTMxMzQ0OA==&hid=11&sn=b5e67fed204a195108d94f2d4e53d71d"},getCarNum:function(){var t=this;return g(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(v["C"])();case 2:n=e.sent,a=n.data,t.carNum=a.number;case 5:case"end":return e.stop()}}),e)})))()},getUser:function(){var t=this;return g(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(v["J"])();case 2:n=e.sent,a=n.data,t.user=a;case 5:case"end":return e.stop()}}),e)})))()},goBanner:function(t){switch(t.href_type){case"h5":window.open(t.href_url);break;case"detail":var e=this.getQueryString(t.href_url);this.go("/good?id="+e.id);break}},getCate:function(){var t=this;return g(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(h["b"])();case 2:n=e.sent,a=n.data,t.cates=a,console.log(a,"-----------");case 6:case"end":return e.stop()}}),e)})))()},getQueryString:function(t){var e={},n=/[?&][^?&]+=[^?&]+/g,a=t.match(n);return a&&a.forEach((function(t){var n=t.substring(1).split("="),a=decodeURIComponent(n[0]),s=decodeURIComponent(n[1]);e[a]=s})),e},waitOpen:function(){this.$toast("正在努力开发中。。。")},searchGood:function(t){this.$router.push("/search?keyword="+t)},getGoods:function(){var t=this;return g(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(d["d"])(t.heder);case 2:n=e.sent,a=n.data,t.goods=a.data;case 5:case"end":return e.stop()}}),e)})))()},getAdvert:function(){var t=this;return g(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,l();case 2:n=e.sent,a=n.data,t.bannars=a;case 5:case"end":return e.stop()}}),e)})))()},getNotice:function(){var t=this;return g(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(p["b"])();case 2:n=e.sent,a=n.data,t.notice=a;case 5:case"end":return e.stop()}}),e)})))()},go:function(t){this.$router.push(t)},load:function(){var t=this;return g(i.a.mark((function e(){return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.getAdvert(),t.getNotice();case 2:case"end":return e.stop()}}),e)})))()},getLocstion:function(){var t=this;return g(i.a.mark((function e(){var n,a,s;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(f["b"])(["getLocation","openLocation"]);case 2:n=e.sent,a=n.data,s=t,b.config({debug:!1,appId:a.appId,timestamp:a.timestamp,nonceStr:a.nonceStr,signature:a.signature,jsApiList:a.jsApiList}),console.log("res","getLocation"),b.ready((function(){b.getLocation({type:"wgs84",success:function(t){console.log(t,"getLocation"),s.getL(t.latitude,t.longitude)},fail:function(t){console.log(t,"getLocationfail")}},3e3)}));case 8:case"end":return e.stop()}}),e)})))()},getL:function(t,e){var n=this;return g(i.a.mark((function a(){var s,r;return i.a.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,Object(v["u"])(t,e);case 2:s=a.sent,r=s.data,n.business=r.business;case 5:case"end":return a.stop()}}),a)})))()},onLoadGood:function(){var t=this;return g(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(d["d"])(t.heder);case 2:n=e.sent,a=n.data,t.lists=t.lists.concat(a.data),t.lists_nums=a.count,t.lists_nums<=t.lists.length?t.lists_finished=!0:t.heder.page+=1,t.lists_loading=!1;case 8:case"end":return e.stop()}}),e)})))()},share:function(){var t=this;return g(i.a.mark((function e(){var n,a,s;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(f["b"])(["updateAppMessageShareData","updateTimelineShareData"]);case 2:n=e.sent,a=n.data,console.log(t.$store.getters.userInfo.id,"this.$store.getters.userInfo.id"),s=t.$store.getters.userInfo.id,b.config({debug:!1,appId:a.appId,timestamp:a.timestamp,nonceStr:a.nonceStr,signature:a.signature,jsApiList:a.jsApiList}),b.ready((function(){var t=Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_TITLE||"杰安易购商城",e=Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_DESC||"杰安易购商城",n=(Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_LINK||"http://h5.jiean91.cn")+"?pid="+s,a=Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_IMG||"http://admin.jiean91.cn/upload/20230403/0bbf8f28376ee8782f9d990d8a5307b5.png";b.updateAppMessageShareData({title:t,desc:e,link:n,imgUrl:a,success:function(){console.log("分享成功")}}),b.updateTimelineShareData({title:t,desc:e,link:n,imgUrl:a,success:function(){console.log("分享成功")}})}));case 8:case"end":return e.stop()}}),e)})))()}}},_=A,y=(n("7252"),n("2877")),w=Object(y["a"])(_,a,s,!1,null,null,null);e["default"]=w.exports},"7b26":function(t,e,n){"use strict";n("26bc")},"7b75":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"oil_content"},[a("div",{staticClass:"banner"}),a("div",{staticClass:"content"},[a("div",{staticClass:"oil_list_wrap"},[a("img",{attrs:{src:n("94a3"),alt:""}}),a("div",{staticClass:"oil_list"},[a("div",{staticClass:"item1"},[t._m(0),a("div",{staticClass:"right"},[a("div",{staticClass:"title"},[t._v("加油卡卡号")]),a("input",{directives:[{name:"model",rawName:"v-model",value:t.form.card_id,expression:"form.card_id"}],attrs:{type:"text",placeholder:"您要充值的加油卡卡号"},domProps:{value:t.form.card_id},on:{input:function(e){e.target.composing||t.$set(t.form,"card_id",e.target.value)}}})])]),a("div",{staticClass:"item1"},[t._m(1),a("div",{staticClass:"right"},[a("div",{staticClass:"title"},[t._v("充值卡序号")]),a("input",{directives:[{name:"model",rawName:"v-model",value:t.form.serial_number,expression:"form.serial_number"}],attrs:{type:"text",placeholder:"请输入充值卡号"},domProps:{value:t.form.serial_number},on:{input:function(e){e.target.composing||t.$set(t.form,"serial_number",e.target.value)}}})])]),a("div",{staticClass:"item_last"},[t._m(2),a("div",{staticClass:"right"},[a("div",{staticClass:"title"},[t._v("充值密码")]),a("input",{directives:[{name:"model",rawName:"v-model",value:t.form.password,expression:"form.password"}],attrs:{type:"password",placeholder:"请输入充值密码"},domProps:{value:t.form.password},on:{input:function(e){e.target.composing||t.$set(t.form,"password",e.target.value)}}}),a("span",{staticClass:"tags"},[t._v("请仔细核对卡号,避免造成不必要的损失")])])])])]),a("div",{staticClass:"info_wrap"},[a("img",{staticClass:"flag",attrs:{src:n("3873"),alt:""}}),a("div",{staticClass:"info_list"},[a("div",{staticClass:"item1"},[a("img",{attrs:{src:n("69ab"),alt:""}}),a("span",[t._v("姓名")]),a("input",{directives:[{name:"model",rawName:"v-model",value:t.form.name,expression:"form.name"}],attrs:{type:"text",placeholder:"请输入持卡人姓名"},domProps:{value:t.form.name},on:{input:function(e){e.target.composing||t.$set(t.form,"name",e.target.value)}}})]),a("div",{staticClass:"item1"},[a("img",{attrs:{src:n("9ca2"),alt:""}}),a("span",[t._v("手机号")]),a("input",{directives:[{name:"model",rawName:"v-model",value:t.form.phone,expression:"form.phone"}],attrs:{type:"text",placeholder:"请输入持卡人手机号码"},domProps:{value:t.form.phone},on:{input:function(e){e.target.composing||t.$set(t.form,"phone",e.target.value)}}})])])]),t._m(3),a("div",{staticClass:"fujia"},[a("van-checkbox",{attrs:{"icon-size":"14px"},model:{value:t.checked,callback:function(e){t.checked=e},expression:"checked"}}),t._m(4)],1),a("div",{staticClass:"btns"},[a("div",{staticClass:"btn1",on:{click:function(e){return t.go("/oilList")}}},[t._v("查询充值记录")]),a("div",{staticClass:"btn2",on:{click:t.sure}},[t._v("确认充值")])])])])},s=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"crical"},[n("span")])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"crical"},[n("span")])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"crical"},[n("span")])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"shuoming"},[n("div",{staticClass:"title"},[t._v("充值代缴服务说明")]),n("div",{staticClass:"list"},[n("p",[t._v("1、加油卡仅限个人实名制主卡进行充值,中石油(卡号以90开头)的中石化(卡号以1开头)19位卡号。(不支持副卡、车队卡、BB卡、伪卡、刷单套现卡、连号卡、电子卡等充值);")]),n("p",[t._v("2、充值时间为:周一至周五,上午9:00至下午17:00,请勿在非上班时段充值;")]),n("p",[t._v("3、同一时间同一卡号提交多笔,可能会被石化或石油系统限制,导致充值失败,不同省份超限限制不同;")]),n("p",[t._v("4、订单充值成功,一般10分钟内即可到帐,网络高峰时段会延迟在24小时内到账;")]),n("p",[t._v("5、每张加油卡号每天限充金额1000元,每月最多10000元;")]),n("p",[t._v("6、系统充值完后,持卡人需前往附近加油站点进行圈存,方可正常使用;")]),n("p",[t._v("7、本次充值不提供任何票据,敬请悉知。")])])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{staticClass:"read"},[t._v("我已阅读并遵守"),n("span",{staticClass:"fujian"},[t._v("《充值代缴服务说明》")])])}],r=n("a34a"),i=n.n(r),o=n("fa1c");function c(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){c(r,a,s,i,o,"next",t)}function o(t){c(r,a,s,i,o,"throw",t)}i(void 0)}))}}var l={components:{},props:{},data:function(){return{checked:!1,form:{users_id:"",card_id:"",serial_number:"",password:"",name:"",phone:""}}},watch:{},computed:{},methods:{sure:function(){var t=this;return u(i.a.mark((function e(){var n,a,s,r;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!t.checked){e.next=30;break}if(n=/^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/,t.form.card_id){e.next=5;break}return t.$toast("请输入加油卡卡号!"),e.abrupt("return");case 5:if(t.form.serial_number){e.next=8;break}return t.$toast("请输入充值卡序号!"),e.abrupt("return");case 8:if(t.form.password){e.next=11;break}return t.$toast("请输入充值密码!"),e.abrupt("return");case 11:if(t.form.name){e.next=14;break}return t.$toast("请输入姓名!"),e.abrupt("return");case 14:if(t.form.phone){e.next=17;break}return t.$toast("请输入手机号!"),e.abrupt("return");case 17:if(n.test(t.form.phone)){e.next=20;break}return t.$toast("请输入正确手机号!"),e.abrupt("return");case 20:return e.next=22,Object(o["b"])(t.form);case 22:a=e.sent,s=a.data,r=a.msg,t.$toast(r),t.form={users_id:"",card_id:"",serial_number:"",password:"",name:"",phone:""},console.log(s,"-----------"),e.next=31;break;case 30:t.$toast("请同意用户协议!");case 31:case"end":return e.stop()}}),e)})))()},go:function(t){this.$router.push(t)}},created:function(){this.form.users_id=this.$store.getters.userInfo.id},mounted:function(){}},d=l,p=(n("8c2c"),n("2877")),f=Object(p["a"])(d,a,s,!1,null,"91406fa4",null);e["default"]=f.exports},"7c64":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"news-page"},[t.lists.length?t._e():n("van-empty",{staticClass:"empty",attrs:{description:"暂无新闻公告"}}),t.lists.length?n("van-list",{attrs:{finished:t.lists_finished,"finished-text":"没有更多了"},on:{load:t.getLists},model:{value:t.lists_loading,callback:function(e){t.lists_loading=e},expression:"lists_loading"}},t._l(t.lists,(function(t,e){return n("van-cell-group",{key:e,staticClass:"new"},[n("van-cell",{attrs:{title:t.f_title,size:"large",label:t.content}}),n("van-cell",{attrs:{title:"查看详情","is-link":"",to:"/new?id="+t.id}})],1)})),1):t._e()],1)},s=[],r=n("a34a"),i=n.n(r),o=n("3e85");function c(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){c(r,a,s,i,o,"next",t)}function o(t){c(r,a,s,i,o,"throw",t)}i(void 0)}))}}var l={data:function(){return{lists_loading:!1,lists_finished:!1,lists_nums:0,lists:[],heder:{page:1,status:null}}},computed:{},mounted:function(){},methods:{reLoadList:function(){this.lists_loading=!1,this.lists_finished=!1,this.lists_nums=0,this.lists=[],this.heder.page=1,this.getLists()},getLists:function(){var t=this;return u(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.heder.status=t.status,e.next=3,Object(o["c"])(t.heder);case 3:n=e.sent,a=n.data,t.lists=t.lists.concat(a.data),t.lists_nums=a.count,t.lists_nums<=t.lists.length?t.lists_finished=!0:t.heder.page+=1,t.lists_loading=!1;case 9:case"end":return e.stop()}}),e)})))()}}},d=l,p=(n("7a02"),n("2877")),f=Object(p["a"])(d,a,s,!1,null,"3996fc5a",null);e["default"]=f.exports},"7ded":function(t,e,n){"use strict";n.d(e,"c",(function(){return i})),n.d(e,"b",(function(){return o})),n.d(e,"a",(function(){return c}));var a=n("4328"),s=n.n(a),r=n("b775");function i(t){return Object(r["a"])({url:"sms/send",method:"post",data:s.a.stringify(t),hideloading:!0})}function o(t){return Object(r["a"])({url:"login/in_or_register",method:"post",data:s.a.stringify(t),hideloading:!0})}function c(t){return Object(r["a"])({url:"login/del_user",method:"post",data:s.a.stringify(t),hideloading:!0})}},"800c":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"shouyi-page"},[t.lists.length?t._e():n("van-empty",{staticClass:"empty",attrs:{description:"暂无数据"}}),t._l(t.lists,(function(e,a){return n("div",{key:a,staticClass:"order mt10",on:{click:function(n){return t.go("/orderShouYiDetail?id="+e.order_id)}}},[n("div",{staticClass:"top"},[n("span",{staticClass:"no"},[t._v("订单编号:"+t._s(e.order.order_no))]),n("span",{staticClass:"status"},[t._v(t._s(t.statusMaps[e.order.status]))])]),t._l(e.order.order_goods,(function(e){return n("van-card",{key:e,staticClass:"card",attrs:{title:"",price:e.unit_price,num:e.num,thumb:e.images[0]},scopedSlots:t._u([{key:"title",fn:function(){return[n("p",{staticClass:"title"},[t._v(t._s(e.item_name))])]},proxy:!0}],null,!0)})})),n("div",{staticClass:"bottom"},[n("van-cell",{attrs:{title:"收益",value:e.money+"个"}})],1)],2)}))],2)},s=[],r=n("a34a"),i=n.n(r),o=n("c24f");function c(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){c(r,a,s,i,o,"next",t)}function o(t){c(r,a,s,i,o,"throw",t)}i(void 0)}))}}var l={components:{},data:function(){return{status:5,lists:[],statusMaps:["未知","待支付","待发货","支付失败","取消订单","已发货","确认收货","已完成","订单失效","退换货"]}},computed:{},mounted:function(){var t=this;return u(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["z"])();case 2:n=e.sent,a=n.data,t.lists=a;case 5:case"end":return e.stop()}}),e)})))()},methods:{go:function(t){this.$router.push(t)}}},d=l,p=(n("7b26"),n("2877")),f=Object(p["a"])(d,a,s,!1,null,"41688791",null);e["default"]=f.exports},8089:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAsCAYAAAAjFjtnAAAD0ElEQVRoQ+2ZTYgcRRTH/696Vj0YJSDsYoLgQQ1E4kkiKH7nkIhRE8jJi+D0VvVkIMFTPM3JnCSBzXT19ghecgrEj4jxkFWTkEDEk2JAk4MgRnYhELLjQd3pelLSDZPZ2Zmunh6w0TpOv/q/96t69epjCCW2Tqez1RjzmjHmFQA7ADyQyt8E8L0Q4nMhxKf1ev3XstxSGUILCwsPzszMtJj5LQC1MZo9IvpwbW2t1Ww2f5vU/8QAYRjuJaKTADY5BtNl5jeDIDjj2O8O84kAoihqMvNxAKJPdQnAKWa+yMw37O9EtIWIngVwAMDLfbaGiA5JKReKQhQGSEf+477gr3ueV/d9/8KoYOI4fi5Jkg6AR1I7w8xvFJ2JQgA252u12o9Z2hDRRWPM60EQ3MozkmEYbhZCfMLMdlZs6/Z6vW1F1kQhgCiKYmaup86vM/POvMFngBaCiL7JZoKIOlJKP88A9Ns4A9hS2ev1fs6qjed5z49Lm42CStPpfPq9V6vVHnYtsc4Ai4uLDWPMidTpklJql+uo9dtrrc9lC1sIcXB+fr7toucMoLU+C2B36sRXStkFWbhprW0qxqnAF0qpPS5iRQDsLrrFOmHmbUEQ/OTicNA2DMPHiMgWBNtuKKW2uugVAfgDwN3WiTFmU6PR+N3F4aBtu92+VwjRTX//Uyl1j4vefxKg8ilU7UVc+TJa+Y3MVohKHyUsQOUPcxai0sfpbKOp9IUmg6j0lTKDqPSlvv/cUtlnFZfDV9m2zoe5sgOYVG8sQBzH240xbwPYxcwPFXj/cY2xS0S/ADgnhPjA9/2rowQ2BGi1WnfNzs6+D0AB8FyjKMk+AaBXVlbeabVafw3THApgg5+bmzvLzC+VFMhEMkT05fLy8p5hEEMBtNb2pexg5pWIPkuS5BiAbye9gY0jsTc0AE96nneYmV/tsz+hlGoO9l8HYHM+SZLvsrQhonellEfHOZ7G9yiKjjDze6l24nneE4NrYh1AFEXHmPmQ7WRHXkq5dxrB5dWMouhMNhNEdFxKebi/7zCAH5h5uzUyxrzYaDS+zutsGnbtdvsFIcRX6YBelVI+PhJAa72alcoyXh0mhRp4tegqpe4bB8CZgVJq7D4xaYB5+mutN4xpXYCjjPM4m4bN/wDTGFUXTdcZuA0gWyjPKKUuuzgr21Zr/TSAS6nuqlLq/nFl9DQz7ys7kDL0iOgjKeX+kQBxHD+aJMkVAJvLcFqixi3P857yff/aSAD70UIYY44ys/1H8Y66W2JAeaVWiWhJCHFkMPh/Nre8Kv9Wu8oD/A1rAx5Lt6rgggAAAABJRU5ErkJggg=="},"808f":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"code-page"},[a("div",{staticClass:"steps-box"},[a("van-steps",{staticClass:"steps",attrs:{"active-color":"#EF4353",active:t.step}},[a("van-step",[t._v("分享给好友")]),a("van-step",[t._v("好友消费")]),a("van-step",[t._v("带来收益")])],1)],1),a("div",{staticClass:"code-box"},[a("div",{staticClass:"top"},[a("van-image",{staticClass:"logo",attrs:{round:!0,src:n("9d64"),fit:"contain"}}),a("span",{staticClass:"name"},[t._v("杰安易购商城")])],1),a("div",{staticClass:"middle"},[a("div",{staticClass:"code"},[a("van-image",{staticClass:"code-t",attrs:{src:t.code.url,fit:"contain"}})],1),a("van-button",{staticClass:"save",attrs:{round:"",block:"",type:"danger"},on:{click:t.save}},[t._v(" 保存 ")])],1)])])},s=[],r=n("a34a"),i=n.n(r),o=n("c24f"),c=n("121a");function u(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function l(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){u(r,a,s,i,o,"next",t)}function o(t){u(r,a,s,i,o,"throw",t)}i(void 0)}))}}var d=n("18a0"),p={components:{},data:function(){return{step:3,code:null}},computed:{},mounted:function(){var t=this;return l(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["w"])();case 2:n=e.sent,a=n.data,t.code=a,console.log(a,"codecode"),t.share();case 7:case"end":return e.stop()}}),e)})))()},methods:{save:function(){this.downloadIamge(this.code.url,"code.png")},downloadIamge:function(t,e){console.log("下载图片");var n=document.createElement("a");n.download=e||"pic",n.href=t,n.click()},go:function(){this.$router.push("/good")},share:function(){var t=this;return l(i.a.mark((function e(){var n,a,s;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(c["b"])(["updateAppMessageShareData","updateTimelineShareData"]);case 2:n=e.sent,a=n.data,console.log(t.$store.getters.userInfo.id,"this.$store.getters.userInfo.id"),s=t.$store.getters.userInfo.id,d.config({debug:!1,appId:a.appId,timestamp:a.timestamp,nonceStr:a.nonceStr,signature:a.signature,jsApiList:a.jsApiList}),d.ready((function(){var t=Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_TITLE||"杰安易购商城",e=Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_DESC||"杰安易购商城",n=(Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_LINK||"http://h5.jiean91.cn")+"?pid="+s,a=Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_IMG||"http://admin.jiean91.cn/upload/20230403/0bbf8f28376ee8782f9d990d8a5307b5.png";d.updateAppMessageShareData({title:t,desc:e,link:n,imgUrl:a,success:function(){console.log("分享成功")}}),d.updateTimelineShareData({title:t,desc:e,link:n,imgUrl:a,success:function(){console.log("分享成功")}})}));case 8:case"end":return e.stop()}}),e)})))()}}},f=p,v=(n("41ec"),n("2877")),h=Object(v["a"])(f,a,s,!1,null,"0daad12e",null);e["default"]=h.exports},"810c":function(t,e,n){"use strict";n("10de")},8248:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"retrun-good-page"},[t._l(t.goods,(function(e,a){return n("van-card",{key:a,staticClass:"card",attrs:{price:e.money,num:e.num,thumb:e.goods.images[0]},scopedSlots:t._u([{key:"title",fn:function(){return[n("p",{staticClass:"title"},[t._v(t._s(e.goods.item_name))])]},proxy:!0}],null,!0)})})),t.exchange_id?[n("van-cell",{staticClass:"mt10",attrs:{title:"申请类型","is-link":"",value:t.typeMaps[t.type_index].name},on:{click:t.showTypeModel}}),n("van-field",{staticClass:"mt10",attrs:{label:"申请金额",placeholder:"请输入申请金额","input-align":"right"},model:{value:t.refundEditForm.money,callback:function(e){t.$set(t.refundEditForm,"money",e)},expression:"refundEditForm.money"}}),n("van-field",{staticClass:"mt10",attrs:{rows:"2",autosize:"",label:"留言",type:"textarea",maxlength:"200",placeholder:"请描述申请退款的具体原因,还可以上传最多6张图片嗷","show-word-limit":""},model:{value:t.refundEditForm.content,callback:function(e){t.$set(t.refundEditForm,"content",e)},expression:"refundEditForm.content"}}),n("div",{staticClass:"upload-box mt10"},[t._m(1),n("van-grid",{attrs:{border:!1,"column-num":3,gutter:"10"}},[t._l(t.refundEditForm.img,(function(t,e){return n("van-grid-item",{key:e},[n("van-image",{attrs:{src:t}})],1)})),n("van-grid-item",[n("van-uploader",{directives:[{name:"show",rawName:"v-show",value:t.refundEditForm.img.length<6,expression:"refundEditForm.img.length < 6"}],attrs:{accept:"image/*",multiple:"","after-read":t.upload,"max-count":6}})],1)],2)],1),n("div",{staticClass:"btn"},[n("van-button",{attrs:{round:"",block:"",type:"danger",size:"large"},on:{click:function(e){return e.stopPropagation(),t.editSave.apply(null,arguments)}}},[t._v(" 保存申请 ")]),n("van-button",{staticClass:"mt10",attrs:{round:"",block:"",size:"large"},on:{click:function(e){return e.stopPropagation(),t.cacleReturnGood()}}},[t._v(" 取消售后 ")])],1)]:[n("van-cell",{staticClass:"mt10",attrs:{title:"申请类型","is-link":"",value:t.typeMaps[t.type_index].name},on:{click:t.showTypeModel}}),n("van-field",{staticClass:"mt10",attrs:{label:"申请金额",placeholder:"请输入申请金额","input-align":"right"},model:{value:t.refundForm.money,callback:function(e){t.$set(t.refundForm,"money",e)},expression:"refundForm.money"}}),n("van-field",{staticClass:"mt10",attrs:{rows:"2",autosize:"",label:"留言",type:"textarea",maxlength:"200",placeholder:"请描述申请退款的具体原因,还可以上传最多6张图片嗷","show-word-limit":""},model:{value:t.refundForm.content,callback:function(e){t.$set(t.refundForm,"content",e)},expression:"refundForm.content"}}),n("div",{staticClass:"upload-box mt10"},[t._m(0),n("van-grid",{attrs:{border:!1,"column-num":3,gutter:"10"}},[t._l(t.refundForm.img,(function(t,e){return n("van-grid-item",{key:e},[n("van-image",{attrs:{src:t}})],1)})),n("van-grid-item",[n("van-uploader",{directives:[{name:"show",rawName:"v-show",value:t.refundForm.img.length<6,expression:"refundForm.img.length < 6"}],attrs:{accept:"image/*",multiple:"","after-read":t.upload,"max-count":6}})],1)],2)],1),n("div",{staticClass:"btn"},[n("van-button",{attrs:{round:"",block:"",type:"danger",size:"large"},on:{click:function(e){return e.stopPropagation(),t.save.apply(null,arguments)}}},[t._v(" 提交申请 ")])],1)],n("van-action-sheet",{attrs:{actions:t.typeMaps,"cancel-text":"取消","close-on-click-action":""},on:{select:t.selectType,cancel:t.cancelShowTypeModel},model:{value:t.isShowType,callback:function(e){t.isShowType=e},expression:"isShowType"}})],2)},s=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("p",{staticClass:"title"},[t._v("上传图片"),n("span",[t._v("(最多6张)")])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("p",{staticClass:"title"},[t._v("上传图片"),n("span",[t._v("(最多6张)")])])}],r=n("a34a"),i=n.n(r),o=n("f8b7"),c=n("121a");function u(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function l(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){u(r,a,s,i,o,"next",t)}function o(t){u(r,a,s,i,o,"throw",t)}i(void 0)}))}}var d={components:{},data:function(){return{id:0,order:null,goods:[],isShowType:!1,typeMaps:[{name:"退货退款",id:1},{name:"换货",id:2},{name:"仅退款",id:3}],refundForm:{id:0,type:1,money:"",content:"",img:[]},refundEditForm:{id:0,type:1,money:"",content:"",img:[]},type_index:0,tStatus:!1,exchange_id:0}},computed:{},mounted:function(){var t=this.$route.query.id;this.id=t,console.log(this.id,"mead"),this.load(),this.refundForm.id=t;var e=this.$route.query.exchange_id||0;e&&(this.exchange_id=e,this.getExchange(e))},methods:{cacleReturnGood:function(){var t=this;return l(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["f"])(t.exchange_id);case 2:n=e.sent,a=n.code,2e3==a&&t.$toast("提交成功"),t.go("/orders");case 6:case"end":return e.stop()}}),e)})))()},getExchange:function(t){var e=this;return l(i.a.mark((function n(){var a,s;return i.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,Object(o["g"])(t);case 2:a=n.sent,s=a.data,e.refundEditForm=s,e.type_index=e.refundEditForm.type-1;case 6:case"end":return n.stop()}}),n)})))()},editSave:function(){var t=this;return l(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!t.tSatus){e.next=5;break}return t.$notify("已经提交,请勿重复提交!"),e.abrupt("return");case 5:t.tSatus=!0;case 6:return e.next=8,Object(o["e"])(t.refundEditForm);case 8:n=e.sent,a=n.code,t.tStatus=!1,2e3==a&&t.$toast("提交成功"),t.go("/orders");case 13:case"end":return e.stop()}}),e)})))()},save:function(){var t=this;return l(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!t.tSatus){e.next=5;break}return t.$notify("已经提交,请勿重复提交!"),e.abrupt("return");case 5:t.tSatus=!0;case 6:return e.next=8,Object(o["n"])(t.refundForm);case 8:n=e.sent,a=n.code,t.tStatus=!1,2e3==a&&t.$toast("提交成功"),t.go("/orders");case 13:case"end":return e.stop()}}),e)})))()},selectType:function(t,e){this.refundForm.type=this.typeMaps[e].id,this.refundEditForm.type=this.typeMaps[e].id,this.type_index=e},cancelShowTypeModel:function(){this.isShowType=!1},showTypeModel:function(){this.isShowType=!0},load:function(){var t=this;return l(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["h"])(t.id);case 2:n=e.sent,a=n.data,t.order=a.order,t.goods=a.goods;case 6:case"end":return e.stop()}}),e)})))()},upload:function(t){var e=this;return l(i.a.mark((function n(){var a,s;return i.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return a=new FormData,console.log(a),a.append("file",t.file,t.file.name),n.next=5,Object(c["c"])(a);case 5:s=n.sent,2e3==s.code&&(e.refundForm.img.push(s.data.path),e.refundEditForm.img.push(s.data.path));case 7:case"end":return n.stop()}}),n)})))()},go:function(t){this.$router.push(t)}}},p=d,f=(n("a618"),n("2877")),v=Object(f["a"])(p,a,s,!1,null,"139468c8",null);e["default"]=v.exports},"824b":function(t,e,n){t.exports=n.p+"static/img/level.5394ea00.png"},"85c2":function(t,e,n){t.exports=n.p+"static/img/partner_apply.dc76a21c.png"},"85e1":function(t,e,n){"use strict";n("67a1")},"861e":function(t,e,n){"use strict";n("9b18")},"867a":function(t,e,n){},"86d5":function(t,e,n){},8822:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"me-page"},[a("van-cell",{staticClass:"user-info",attrs:{center:"",title:"Mead",label:"描述信息"},scopedSlots:t._u([{key:"title",fn:function(){return[a("span",{staticClass:"title"},[t._v(t._s(t.user.username))])]},proxy:!0},{key:"icon",fn:function(){return[a("van-image",{staticClass:"img",attrs:{round:"",width:"70px",height:"70px",src:t.user.header_img?t.user.header_img:n("9d64")}})]},proxy:!0},{key:"label",fn:function(){return[1==t.user.role_id||null==t.user.role_id?a("van-tag",{staticClass:"tag",attrs:{size:"medium",round:"",type:"primary"}},[t._v("普通会员")]):t._e(),2==t.user.role_id?a("van-tag",{staticClass:"tag",attrs:{size:"medium",round:"",type:"primary"}},[t._v("VIP会员")]):t._e(),3==t.user.role_id?a("van-tag",{staticClass:"tag",attrs:{size:"medium",round:"",type:"primary"}},[t._v("城市合伙人")]):t._e(),4==t.user.role_id?a("van-tag",{staticClass:"tag",attrs:{size:"medium",round:"",type:"primary"}},[t._v("代理商")]):t._e()]},proxy:!0},{key:"right-icon",fn:function(){return[a("span",{staticClass:"edit",on:{click:function(e){return t.go("/userinfo")}}},[a("van-icon",{staticClass:"icon",attrs:{name:"edit",size:"28"}})],1)]},proxy:!0}])}),1==t.user.role_id||null==t.user.role_id?a("van-cell",{staticClass:"vip",scopedSlots:t._u([{key:"title",fn:function(){return[a("van-icon",{staticClass:"icon",attrs:{size:"20",name:"gem"}}),a("span",[t._v("开通VIP会员,享受更多权益")])]},proxy:!0},{key:"right-icon",fn:function(){return[a("van-button",{staticClass:"btn",attrs:{plain:"",round:"",size:"mini",color:"#FF9933",type:"info"},on:{click:function(e){return t.go("/vip")}}},[t._v("点击查看")])]},proxy:!0}],null,!1,755751380)}):t._e(),a("div",{staticClass:"box"},[2==t.user.role_id?a("van-cell",{staticClass:"vip hhr",scopedSlots:t._u([{key:"title",fn:function(){return[a("span",[t._v("申请成为合伙人,享有合伙人权益")])]},proxy:!0},{key:"right-icon",fn:function(){return[a("van-button",{staticClass:"btn",attrs:{plain:"",round:"",size:"mini",color:"#346fff",type:"info"},on:{click:function(e){return t.go("/partner")}}},[t._v("立即开通")])]},proxy:!0}],null,!1,2729280277)}):t._e(),3==t.user.role_id||4==t.user.role_id?a("van-cell",{staticClass:"money",attrs:{title:"可提现积分",value:"查看更多","is-link":"",to:"/gPInfo"},scopedSlots:t._u([{key:"label",fn:function(){return[a("div",{staticClass:"fali"},[t._v(t._s(t.user.rebate_m)),a("span",{staticStyle:{"font-size":"14px","margin-left":"5px"}},[t._v("个")])])]},proxy:!0}],null,!1,556162005)}):t._e()],1),a("div",{staticClass:"body"},[a("div",{staticClass:"content"},[a("div",{staticClass:"title"},[t._v("我的订单")]),a("van-grid",{staticClass:"order",attrs:{"column-num":5,border:!1}},[a("van-grid-item",{attrs:{text:"待付款"},on:{click:function(e){return t.go("/orders?status=1")}},scopedSlots:t._u([{key:"icon",fn:function(){return[a("van-image",{staticClass:"img",attrs:{src:n("b75a"),fit:"contain"}}),t.getOrderStatusV(1)?a("span",{staticClass:"b"},[t._v(t._s(t.getOrderStatusV(1)))]):t._e()]},proxy:!0}])}),a("van-grid-item",{attrs:{text:"待发货"},on:{click:function(e){return t.go("/orders?status=2")}},scopedSlots:t._u([{key:"icon",fn:function(){return[a("van-image",{staticClass:"img",attrs:{src:n("166e"),fit:"contain"}}),t.getOrderStatusV(2)?a("span",{staticClass:"b"},[t._v(t._s(t.getOrderStatusV(2)))]):t._e()]},proxy:!0}])}),a("van-grid-item",{attrs:{text:"待收货"},on:{click:function(e){return t.go("/orders?status=5")}},scopedSlots:t._u([{key:"icon",fn:function(){return[a("van-image",{staticClass:"img",attrs:{src:n("b025"),fit:"contain"}}),t.getOrderStatusV(5)?a("span",{staticClass:"b"},[t._v(t._s(t.getOrderStatusV(5)))]):t._e()]},proxy:!0}])}),a("van-grid-item",{attrs:{text:"待评价"},on:{click:function(e){return t.go("/orders?status=7")}},scopedSlots:t._u([{key:"icon",fn:function(){return[a("van-image",{staticClass:"img",attrs:{src:n("de98"),fit:"contain"}}),t.getOrderStatusV(7)?a("span",{staticClass:"b"},[t._v(t._s(t.getOrderStatusV(7)))]):t._e()]},proxy:!0}])}),a("van-grid-item",{attrs:{text:"已取消"},on:{click:function(e){return t.go("/orders?status=4")}},scopedSlots:t._u([{key:"icon",fn:function(){return[a("van-image",{staticClass:"img",attrs:{src:n("0ce0"),fit:"contain"}}),t.getOrderStatusV(4)?a("span",{staticClass:"b"},[t._v(t._s(t.getOrderStatusV(4)))]):t._e()]},proxy:!0}])})],1)],1),a("div",{staticClass:"content mt10"},[a("div",{staticClass:"title"},[t._v("服务入口")]),a("van-grid",{staticClass:"server",attrs:{"column-num":4,border:!1},scopedSlots:t._u([{key:"icon",fn:function(){return[a("van-image",{staticClass:"img",attrs:{src:n("d71c"),fit:"contain"}})]},proxy:!0}])},[t.vip<3||1==t.user.has_sy?a("van-grid-item",{attrs:{text:"申请合伙人"},on:{click:function(e){return t.go("/partner")}},scopedSlots:t._u([{key:"icon",fn:function(){return[a("van-image",{staticClass:"img",attrs:{src:n("085b"),fit:"contain"}})]},proxy:!0}],null,!1,242999810)}):t._e(),t.vip>=3?a("van-grid-item",{attrs:{text:"合伙人中心"},on:{click:function(e){return t.go("/gPInfo")}},scopedSlots:t._u([{key:"icon",fn:function(){return[a("van-image",{staticClass:"img",attrs:{src:n("ebb3"),fit:"contain"}})]},proxy:!0}],null,!1,3600848101)}):t._e(),a("van-grid-item",{attrs:{text:"地址管理"},on:{click:function(e){return t.go("/address")}},scopedSlots:t._u([{key:"icon",fn:function(){return[a("van-image",{staticClass:"img",attrs:{src:n("5bf2"),fit:"contain"}})]},proxy:!0}])}),a("van-grid-item",{attrs:{text:"发票管理"},on:{click:function(e){return t.go("/invoice")}},scopedSlots:t._u([{key:"icon",fn:function(){return[a("van-image",{staticClass:"img",attrs:{src:n("124b"),fit:"contain"}})]},proxy:!0}])}),a("van-grid-item",{attrs:{text:"我的收藏"},on:{click:function(e){return t.go("/shouCang")}},scopedSlots:t._u([{key:"icon",fn:function(){return[a("van-image",{staticClass:"img",attrs:{src:n("cd38"),fit:"contain"}})]},proxy:!0}])}),a("van-grid-item",{attrs:{text:"我的银行卡"},on:{click:function(e){return t.go("/bank")}},scopedSlots:t._u([{key:"icon",fn:function(){return[a("van-image",{staticClass:"img",attrs:{src:n("4961"),fit:"contain"}})]},proxy:!0}])}),a("van-grid-item",{attrs:{text:"推荐人"},on:{click:function(e){return t.go("/recommend")}},scopedSlots:t._u([{key:"icon",fn:function(){return[a("van-image",{staticClass:"img",attrs:{src:n("1d9a"),fit:"contain"}})]},proxy:!0}])}),a("van-grid-item",{attrs:{text:"售后与服务"},on:{click:function(e){return t.go("/afterSalesList")}},scopedSlots:t._u([{key:"icon",fn:function(){return[a("van-image",{staticClass:"img",attrs:{src:n("9272"),fit:"contain"}})]},proxy:!0}])}),a("van-grid-item",{attrs:{text:"关于我们"},on:{click:t.aboutUs},scopedSlots:t._u([{key:"icon",fn:function(){return[a("van-image",{staticClass:"img",attrs:{src:n("b6d1"),fit:"contain"}})]},proxy:!0}])}),t.user.is_hx?a("van-grid-item",{attrs:{text:"核销订单"},on:{click:function(e){return t.go("/verification")}},scopedSlots:t._u([{key:"icon",fn:function(){return[a("van-image",{staticClass:"img",attrs:{src:n("794b"),fit:"contain"}})]},proxy:!0}],null,!1,2291659467)}):t._e()],1)],1),a("van-button",{staticClass:"loggout",attrs:{type:"danger",round:"",block:""},on:{click:t.logout}},[t._v("退出登录")])],1),a("van-tabbar",{model:{value:t.menu,callback:function(e){t.menu=e},expression:"menu"}},[a("van-tabbar-item",{attrs:{icon:"home-o",to:"/home"},scopedSlots:t._u([{key:"icon",fn:function(t){return[a("img",{attrs:{src:t.active?n("a5b8"):n("ce9a")}})]}}])},[t._v("首页 ")]),a("van-tabbar-item",{attrs:{icon:"search",to:"/category"},scopedSlots:t._u([{key:"icon",fn:function(t){return[a("img",{attrs:{src:t.active?n("df14"):n("1f20")}})]}}])},[t._v("分类")]),a("van-tabbar-item",{attrs:{icon:"friends-o",to:"shopping",badge:t.carNum||""},scopedSlots:t._u([{key:"icon",fn:function(t){return[a("img",{attrs:{src:t.active?n("f283"):n("e5ba")}})]}}])},[t._v("购物车")]),a("van-tabbar-item",{attrs:{icon:"setting-o",to:"me"},scopedSlots:t._u([{key:"icon",fn:function(t){return[a("img",{attrs:{src:t.active?n("bb60"):n("8089")}})]}}])},[t._v("我的")])],1)],1)},s=[],r=n("a34a"),i=n.n(r),o=n("c24f"),c=n("121a");function u(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function l(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){u(r,a,s,i,o,"next",t)}function o(t){u(r,a,s,i,o,"throw",t)}i(void 0)}))}}var d=n("18a0"),p={components:{},data:function(){return{menu:3,user:{},carNum:0,vip:1,orderStatus:{}}},computed:{},mounted:function(){this.vip=this.$store.getters.userInfo.role_id||1,this.user=this.$store.getters.userInfo,this.share(),this.load(),this.getCarNum(),this.getOrderStatus()},methods:{getOrderStatusV:function(t){var e=0;return this.orderStatus.map((function(n){n.status==t&&(e=n.num)})),e},getOrderStatus:function(){var t=this;return l(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["D"])();case 2:n=e.sent,a=n.data,t.orderStatus=a;case 5:case"end":return e.stop()}}),e)})))()},getCarNum:function(){var t=this;return l(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["C"])();case 2:n=e.sent,a=n.data,t.carNum=a.number;case 5:case"end":return e.stop()}}),e)})))()},waitOpen:function(){this.$toast("正在努力开发中。。。")},go:function(t){this.$router.push(t)},aboutUs:function(){window.location.href="https://mp.weixin.qq.com/mp/homepage?__biz=MjM5MTMxMzQ0OA==&hid=7&sn=38a78b5e67614b47349ce9f826b062de"},load:function(){var t=this;return l(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["J"])();case 2:n=e.sent,a=n.data,t.user=a;case 5:case"end":return e.stop()}}),e)})))()},logout:function(){var t=this;return l(i.a.mark((function e(){return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.$store.dispatch("FedLogOut");case 2:return e.next=4,t.$store.dispatch("setLoginCode",null);case 4:return e.next=6,t.$store.dispatch("setLoginStatus",0);case 6:t.go("/login");case 7:case"end":return e.stop()}}),e)})))()},share:function(){var t=this;return l(i.a.mark((function e(){var n,a,s;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(c["b"])(["updateAppMessageShareData","updateTimelineShareData"]);case 2:n=e.sent,a=n.data,console.log(t.$store.getters.userInfo.id,"this.$store.getters.userInfo.id"),s=t.$store.getters.userInfo.id,d.config({debug:!1,appId:a.appId,timestamp:a.timestamp,nonceStr:a.nonceStr,signature:a.signature,jsApiList:a.jsApiList}),d.ready((function(){var t=Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_TITLE||"杰安易购商城",e=Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_DESC||"杰安易购商城",n=(Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_LINK||"http://h5.jiean91.cn")+"?pid="+s,a=Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_IMG||"http://admin.jiean91.cn/upload/20230403/0bbf8f28376ee8782f9d990d8a5307b5.png";d.updateAppMessageShareData({title:t,desc:e,link:n,imgUrl:a,success:function(){console.log("分享成功")}}),d.updateTimelineShareData({title:t,desc:e,link:n,imgUrl:a,success:function(){console.log("分享成功")}})}));case 8:case"end":return e.stop()}}),e)})))()}}},f=p,v=(n("21b1"),n("2877")),h=Object(v["a"])(f,a,s,!1,null,"590a170f",null);e["default"]=h.exports},"88cf":function(t,e,n){},"892c":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"retrun-good-logistics-page"},[n("van-cell-group",[n("van-field",{attrs:{label:"快递公司",placeholder:"请输入快递公司"},model:{value:t.from.ship_code,callback:function(e){t.$set(t.from,"ship_code",e)},expression:"from.ship_code"}}),n("van-field",{attrs:{label:"快递单号",placeholder:"请输入快递单号"},model:{value:t.from.ship_number,callback:function(e){t.$set(t.from,"ship_number",e)},expression:"from.ship_number"}})],1),n("div",{staticClass:"btn"},[n("van-button",{attrs:{round:"",block:"",type:"danger",size:"large"},on:{click:t.save}},[t._v(" 提交 ")])],1)],1)},s=[],r=n("a34a"),i=n.n(r),o=n("c24f");function c(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){c(r,a,s,i,o,"next",t)}function o(t){c(r,a,s,i,o,"throw",t)}i(void 0)}))}}var l={components:{},data:function(){return{id:0,from:{id:0,ship_code:"",ship_number:""},tStatus:!1}},computed:{},mounted:function(){var t=this.$route.query.id;this.id=t,this.from.id=t},methods:{save:function(){var t=this;return u(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.from.ship_code){e.next=4;break}return t.$notify("请填写快递公司"),t.tStatus=!1,e.abrupt("return",!1);case 4:if(t.from.ship_number){e.next=8;break}return t.$notify("请填写快递单号"),t.tStatus=!1,e.abrupt("return",!1);case 8:if(!t.tSatus){e.next=13;break}return t.$notify("已经提交,请勿重复提交!"),e.abrupt("return");case 13:t.tSatus=!0;case 14:return e.next=16,Object(o["l"])(t.from);case 16:n=e.sent,a=n.code,t.tStatus=!1,2e3==a&&(t.$toast("提交成功"),setTimeout((function(){t.$router.go(-1)}),2e3));case 20:case"end":return e.stop()}}),e)})))()},go:function(t){this.$router.push(t)}}},d=l,p=(n("33f4"),n("2877")),f=Object(p["a"])(d,a,s,!1,null,"4ce7acae",null);e["default"]=f.exports},"8c16":function(t,e,n){t.exports=n.p+"static/img/success.8a8d8f2b.png"},"8c2c":function(t,e,n){"use strict";n("2d10")},"8cff":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"goods-page"},[t.lists.length?t._e():n("van-empty",{attrs:{description:"没有找到相关商品信息"}}),t.lists.length?[null!=t.good.goods?n("div",t._l(t.lists,(function(e){return n("van-card",{key:e,staticClass:"card",attrs:{price:e.goods.money,"origin-price":e.goods.retail_price,title:"五粮液股份52醇香型五粮液股份",thumb:e.goods.images[0]},on:{click:function(n){return t.toGood(e.goods.id)}},scopedSlots:t._u([{key:"title",fn:function(){return[n("p",{staticClass:"title"},[t._v(t._s(e.goods.item_name))])]},proxy:!0},{key:"tags",fn:function(){return[n("p",{staticClass:"tags"},[1==t.vip?n("van-tag",{attrs:{round:"",type:"warning"}},[t._v("零售价")]):t._e(),2==t.vip?n("van-tag",{attrs:{round:"",type:"warning"}},[t._v("会员价")]):t._e(),3==t.vip?n("van-tag",{attrs:{round:"",type:"warning"}},[t._v("城市合伙人价")]):t._e(),4==t.vip?n("van-tag",{attrs:{round:"",type:"warning"}},[t._v("代理商价")]):t._e()],1)]},proxy:!0},{key:"footer",fn:function(){return[n("div",{staticClass:"number"},[n("span",[t._v("销售:"+t._s(e.goods.sales_num)+"件")]),n("span",[t._v("仅剩:"+t._s(e.goods.stock_num)+"件")])])]},proxy:!0}],null,!0)})})),1):t._e()]:t._e(),n("div",{staticClass:"body"})],2)},s=[],r=n("a34a"),i=n.n(r),o=n("c24f");function c(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){c(r,a,s,i,o,"next",t)}function o(t){c(r,a,s,i,o,"throw",t)}i(void 0)}))}}var l={components:{},data:function(){return{lists_loading:!1,lists_finished:!1,lists_nums:0,lists:[],heder:{page:1,is_hot:1,desc:"desc",sort:"id",c_location:0,s_location:0,m_location:0},sort_index:0,vip:1}},computed:{},mounted:function(){var t=this;return u(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["d"])();case 2:n=e.sent,a=n.data,console.log(a,"==>"),t.lists=a,t.vip=t.$store.getters.userInfo.role_id||1;case 7:case"end":return e.stop()}}),e)})))()},methods:{init:function(){this.lists=[],this.heder.page=1},changeMoney:function(t){if(this.sort_index!=this.old_sort)return this.old_sort=this.sort_index,this.heder.desc="desc",this.heder.sort=t,this.init(),void this.onLoadGood();switch(this.heder.sort=t,this.heder.desc){case null:this.heder.desc="desc";break;case"desc":this.heder.desc="asc";break;case"asc":this.heder.desc="desc"}this.init(),this.onLoadGood()},onLoadGood:function(){var t=this;return u(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["d"])(t.heder);case 2:n=e.sent,a=n.data,t.lists=t.lists.concat(a),t.lists_finished=!0;case 6:case"end":return e.stop()}}),e)})))()},toGood:function(t){this.go("/good?id="+t)},go:function(t){this.$router.push(t)}}},d=l,p=(n("3745"),n("2877")),f=Object(p["a"])(d,a,s,!1,null,"3842871e",null);e["default"]=f.exports},"8f76":function(t,e,n){},"91ad":function(t,e,n){"use strict";n("de58")},"91ff":function(t,e,n){"use strict";n("2a5f")},9272:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD4AAAA0CAYAAADSWosiAAAIOUlEQVRoQ+1ae3BU5RX/nbuPu0FRUKwV7Si0VGppHWWsp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a9rZ1tvrPucV0v2sSTJ+53hveMBVutXjlv26jrvCvkJDmwMKYHt6+r9mLPE/H2dkPi1w8tJ+X3BC/y4qwg2TzDOBFpFhqTg++uf8+rbc/EUw5arrvlkiCD9wG4lxl396xyrbdFO+HOgpT9z8O2kc5uA/hDYMdrz9ldOXWCUDDxlPHDV9/UvYcZnK6AOQT9HU69ms5uXTv0BYhD8C4omw1KXeD9197SIVfUcabrIDpgcAOBEbryLqA+B/CWAWxthbwZMlu2SXNz3nPZq1+vaXG0H/32Lf8ikTPRzLNF07aSVVmwE5BGUYnGwO6t2wp9hXUD0CXEY9/8wQ3KkG2WU7fGKgVMBK2EvG5Aalt90tjtg80HdEF3hVzXEO8/6EmlkLwJpb4RsZvVWXN1QDaJIS8HEoF6+ajpSFeQKMRG0cStcXms3/cPEGiberZX4U7fEYQhskGAukDE1yD7t1j796w/RROP973xZiV8o/MhZgAnCFkDYd3x4yfXfuXwLq3vUs5kNIomHuk7cD4oMw3gKAWrCdaZxvG/yd69GVPXM0lKx1fRxON9Bj6aAP5h7uu+SZA5NtYBcLZkiiZ+toAX6/ecJf4/6XHqUyeSP0QAAAAASUVORK5CYII="},"9336a":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"xieyi-page"},[n("div",{staticClass:"body",domProps:{innerHTML:t._s(t.body)}},[t._v(t._s(t.body))])])},s=[],r=n("a34a"),i=n.n(r),o=n("121a");function c(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){c(r,a,s,i,o,"next",t)}function o(t){c(r,a,s,i,o,"throw",t)}i(void 0)}))}}var l={data:function(){return{key:0,body:null}},computed:{},mounted:function(){var t=this;return u(i.a.mark((function e(){var n,a,s;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=t.$route.query.key||!1,!n){e.next=8;break}return e.next=4,Object(o["a"])(n);case 4:a=e.sent,s=a.data,t.body=s.value,t.key=n;case 8:case"end":return e.stop()}}),e)})))()},methods:{}},d=l,p=(n("ca2b"),n("2877")),f=Object(p["a"])(d,a,s,!1,null,"ec920da0",null);e["default"]=f.exports},"94a3":function(t,e,n){t.exports=n.p+"static/img/jyka.98df70a8.png"},"98e7":function(t,e,n){t.exports=n.p+"static/img/jiamen.16e8a4d2.png"},"9a6a":function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"edit-page"},[n("van-cell-group",{staticClass:"mt10"},[n("van-field",{attrs:{label:"发票类型",placeholder:"请输入用户名"},scopedSlots:t._u([{key:"input",fn:function(){return[n("van-radio-group",{attrs:{direction:"horizontal"},model:{value:t.formInvoice.type,callback:function(e){t.$set(t.formInvoice,"type",e)},expression:"formInvoice.type"}},[n("van-radio",{attrs:{"icon-size":"18px",name:"company"}},[t._v("企业"),n("span",[t._v("(纸质)")])]),n("van-radio",{attrs:{"icon-size":"18px",name:"personal"}},[t._v("个人"),n("span",[t._v("(纸质)")])])],1)]},proxy:!0}])}),"company"==t.formInvoice.type?[n("van-field",{attrs:{label:"发票抬头",required:"",placeholder:"请输入发票抬头"},model:{value:t.formInvoice.to_order,callback:function(e){t.$set(t.formInvoice,"to_order",e)},expression:"formInvoice.to_order"}}),n("van-field",{attrs:{label:"税号",required:"",placeholder:"请输入税号"},model:{value:t.formInvoice.tax_number,callback:function(e){t.$set(t.formInvoice,"tax_number",e)},expression:"formInvoice.tax_number"}})]:[n("van-field",{attrs:{label:"收票人姓名",required:"",placeholder:"请输入收票人姓名"},model:{value:t.formInvoice.drawee,callback:function(e){t.$set(t.formInvoice,"drawee",e)},expression:"formInvoice.drawee"}}),n("van-field",{attrs:{label:"收票电话",required:"",placeholder:"请输入收票电话"},model:{value:t.formInvoice.phone,callback:function(e){t.$set(t.formInvoice,"phone",e)},expression:"formInvoice.phone"}}),n("van-field",{attrs:{label:"邮箱",required:"",placeholder:"请输入邮箱"},model:{value:t.formInvoice.email,callback:function(e){t.$set(t.formInvoice,"email",e)},expression:"formInvoice.email"}}),n("van-field",{attrs:{label:"收票地址",required:"",placeholder:"请输入收票地址"},model:{value:t.formInvoice.address,callback:function(e){t.$set(t.formInvoice,"address",e)},expression:"formInvoice.address"}})]],2),"company"==t.formInvoice.type?n("van-cell-group",{staticClass:"mt10"},[n("van-field",{attrs:{label:"开户行",placeholder:"请输入发票抬头"},model:{value:t.formInvoice.bank_name,callback:function(e){t.$set(t.formInvoice,"bank_name",e)},expression:"formInvoice.bank_name"}}),n("van-field",{attrs:{label:"银行账户",placeholder:"请输入银行账户"},model:{value:t.formInvoice.bank_account,callback:function(e){t.$set(t.formInvoice,"bank_account",e)},expression:"formInvoice.bank_account"}}),n("van-field",{attrs:{label:"邮箱",required:"",placeholder:"请输入邮箱"},model:{value:t.formInvoice.email,callback:function(e){t.$set(t.formInvoice,"email",e)},expression:"formInvoice.email"}}),n("van-field",{attrs:{label:"企业名字",required:"",placeholder:"请输入企业名字"},model:{value:t.formInvoice.company_name,callback:function(e){t.$set(t.formInvoice,"company_name",e)},expression:"formInvoice.company_name"}}),n("van-field",{attrs:{label:"企业电话",placeholder:"请输入企业电话"},model:{value:t.formInvoice.company_phone,callback:function(e){t.$set(t.formInvoice,"company_phone",e)},expression:"formInvoice.company_phone"}}),n("van-field",{attrs:{label:"收票人姓名",required:"",placeholder:"请输入收票人姓名"},model:{value:t.formInvoice.drawee,callback:function(e){t.$set(t.formInvoice,"drawee",e)},expression:"formInvoice.drawee"}}),n("van-field",{attrs:{label:"收票电话",required:"",placeholder:"请输入收票电话"},model:{value:t.formInvoice.phone,callback:function(e){t.$set(t.formInvoice,"phone",e)},expression:"formInvoice.phone"}}),n("van-field",{attrs:{label:"收票地址",required:"",placeholder:"请输入收票地址"},model:{value:t.formInvoice.address,callback:function(e){t.$set(t.formInvoice,"address",e)},expression:"formInvoice.address"}})],1):t._e(),n("div",{staticClass:"btn"},[n("van-button",{attrs:{round:"",block:"",type:"danger"},on:{click:t.addInvoice}},[t._v(" 保存 ")])],1)],1)},s=[],r=n("a34a"),i=n.n(r),o=n("c24f");function c(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){c(r,a,s,i,o,"next",t)}function o(t){c(r,a,s,i,o,"throw",t)}i(void 0)}))}}var l={components:{},data:function(){return{id:0,formInvoice:{id:0,type:"company",to_order:"",tax_number:"",bank_name:"",bank_account:"",company_name:"",company_phone:"",email:"",drawee:"",phone:"",address:"",status:0,tStatus:!1}}},computed:{},mounted:function(){var t=this.$route.query.id||!1;console.log(t,"id"),t&&(this.getBill(t),this.id=t)},methods:{getBill:function(t){var e=this;return u(i.a.mark((function n(){var a,s;return i.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,Object(o["o"])(t);case 2:a=n.sent,s=a.data,e.formInvoice=s;case 5:case"end":return n.stop()}}),n)})))()},addInvoice:function(){var t=this;return u(i.a.mark((function e(){var n,a,s,r,c;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.formInvoice.type){e.next=4;break}return t.$notify("发票类型必填"),t.tStatus=!1,e.abrupt("return",!1);case 4:if(t.formInvoice.email){e.next=8;break}return t.$notify("邮箱必填"),t.tStatus=!1,e.abrupt("return",!1);case 8:if("company"!=t.formInvoice.type){e.next=21;break}if(t.formInvoice.to_order){e.next=13;break}return t.$notify("发票抬头必填"),t.tStatus=!1,e.abrupt("return",!1);case 13:if(t.formInvoice.tax_number){e.next=17;break}return t.$notify("税号必填"),t.tStatus=!1,e.abrupt("return",!1);case 17:if(t.formInvoice.company_name){e.next=21;break}return t.$notify("企业名字必填"),t.tStatus=!1,e.abrupt("return",!1);case 21:if(t.formInvoice.drawee){e.next=25;break}return t.$notify("收票人必填"),t.tStatus=!1,e.abrupt("return",!1);case 25:if(t.formInvoice.phone){e.next=29;break}return t.$notify("收票人电话必填"),t.tStatus=!1,e.abrupt("return",!1);case 29:if(/^1[3456789]\d{9}$/.test(t.formInvoice.phone)){e.next=33;break}return t.$notify("手机号码有误,请重填"),t.tStatus=!1,e.abrupt("return",!1);case 33:if(/^\w{3,}(\.\w+)*@[A-z0-9]+(\.[A-z]{2,5}){1,2}$/.test(t.formInvoice.email)){e.next=37;break}return t.$notify("邮箱有误,请重填"),t.tStatus=!1,e.abrupt("return",!1);case 37:if(t.formInvoice.address){e.next=41;break}return t.$notify("收票地址必填"),t.tStatus=!1,e.abrupt("return",!1);case 41:if("personal"==t.formInvoice.type&&(t.formInvoice.to_order=t.formInvoice.drawee,t.formInvoice.tax_number=t.formInvoice.phone),!t.tSatus){e.next=47;break}return t.$notify("已经提交,请勿重复提交!"),e.abrupt("return");case 47:t.tSatus=!0;case 48:if(!t.formInvoice.id){e.next=56;break}return e.next=51,Object(o["G"])(t.formInvoice);case 51:a=e.sent,s=a.code,n=s,e.next=61;break;case 56:return e.next=58,Object(o["b"])(t.formInvoice);case 58:r=e.sent,c=r.code,n=c;case 61:t.tStatus=!1,2e3==n&&t.$router.go(-1);case 63:case"end":return e.stop()}}),e)})))()},go:function(t){this.$router.push(t)}}},d=l,p=(n("428f"),n("2877")),f=Object(p["a"])(d,a,s,!1,null,"30765a12",null);e["default"]=f.exports},"9add":function(t,e,n){"use strict";n.d(e,"a",(function(){return i})),n.d(e,"b",(function(){return o}));var a=n("4328"),s=n.n(a),r=n("b775");function i(t){var e={cate_id:t};return Object(r["a"])({url:"brand/list",method:"post",data:s.a.stringify(e),hideloading:!0})}function o(t){return Object(r["a"])({url:"cate/list",method:"post",data:s.a.stringify(t),hideloading:!0})}},"9b18":function(t,e,n){},"9b7b":function(t,e,n){},"9c66":function(t,e,n){},"9ca2":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAA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OM6v7Z7tHC0mAT4ytQAeb3DrOZouyqWgFZD2J7Xo7rx6L+K9v/xC/+rZP8FmYG3DZHuy0QAAAAASUVORK5CYII="},"9d64":function(t,e,n){t.exports=n.p+"static/img/logo.a471bc8c.png"},a192:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"category-page"},[a("van-search",{staticClass:"search",attrs:{shape:"round","input-align":"center",placeholder:"请输入搜索关键词"},on:{search:t.searchGood,focus:function(e){return t.go("/search")}},model:{value:t.keyword,callback:function(e){t.keyword=e},expression:"keyword"}}),a("div",{staticClass:"tags"},t._l(t.categories,(function(e){return a("van-button",{key:e,staticClass:"btn",attrs:{round:"",size:"small",type:e.id==t.cate_id?"info":"default"},on:{click:function(n){return t.changeCate(e.id)}}},[t._v(t._s(e.title))])})),1),a("van-tabs",{staticClass:"sort",on:{click:t.changeMoney},model:{value:t.sort_index,callback:function(e){t.sort_index=e},expression:"sort_index"}},[a("van-tab",{attrs:{name:"sort",title:"综合排序"},scopedSlots:t._u([{key:"title",fn:function(){return[t._v("综合排序 "),"sort"==t.heder.sort?["desc"==t.heder.desc?a("van-icon",{attrs:{size:"13",name:"arrow-down"}}):t._e(),"asc"==t.heder.desc?a("van-icon",{attrs:{size:"13",name:"arrow-up"}}):t._e()]:t._e()]},proxy:!0}])}),a("van-tab",{attrs:{name:"sales_num",title:"销量排序"},scopedSlots:t._u([{key:"title",fn:function(){return[t._v("销量排序 "),"sales_num"==t.heder.sort?["desc"==t.heder.desc?a("van-icon",{attrs:{size:"13",name:"arrow-down"}}):t._e(),"asc"==t.heder.desc?a("van-icon",{attrs:{size:"13",name:"arrow-up"}}):t._e()]:t._e()]},proxy:!0}])}),a("van-tab",{attrs:{name:"money",title:"价格排序"},scopedSlots:t._u([{key:"title",fn:function(){return[t._v("价格排序 "),"money"==t.heder.sort?["desc"==t.heder.desc?a("van-icon",{attrs:{size:"13",name:"arrow-down"}}):t._e(),"asc"==t.heder.desc?a("van-icon",{attrs:{size:"13",name:"arrow-up"}}):t._e()]:t._e()]},proxy:!0}])})],1),a("van-tree-select",{staticClass:"category-box",attrs:{items:t.brands,"main-active-index":t.brand_index},on:{"update:mainActiveIndex":function(e){t.brand_index=e},"update:main-active-index":function(e){t.brand_index=e},"click-nav":t.changeBrand},scopedSlots:t._u([{key:"content",fn:function(){return[t.goods.length>0?a("van-list",{attrs:{finished:t.lists_finished,"finished-text":"没有更多了"},on:{load:t.onLists},model:{value:t.lists_loading,callback:function(e){t.lists_loading=e},expression:"lists_loading"}},t._l(t.goods,(function(e){return a("van-card",{key:e.id,staticClass:"card",attrs:{price:e.money,"origin-price":e.retail_price,title:e.item_name,thumb:e.images[0]},on:{click:function(n){return t.toGood(e.id)}},scopedSlots:t._u([{key:"tags",fn:function(){return[1==t.vip?a("van-tag",{attrs:{round:"",type:"warning"}},[t._v("零售价")]):t._e(),2==t.vip?a("van-tag",{attrs:{round:"",type:"warning"}},[t._v("会员价")]):t._e(),3==t.vip?a("van-tag",{attrs:{round:"",type:"warning"}},[t._v("城市合伙人价")]):t._e(),4==t.vip?a("van-tag",{attrs:{round:"",type:"warning"}},[t._v("代理商价")]):t._e()]},proxy:!0},{key:"footer",fn:function(){return[a("div",{staticClass:"number"},[a("span",[t._v("销售:"+t._s(e.sales_num)+"件")]),a("span",[t._v("仅剩:"+t._s(e.stock_num)+"件")])])]},proxy:!0}],null,!0)})})),1):t._e(),t.goods.length?t._e():a("van-empty",{attrs:{description:"暂无商品"}})]},proxy:!0}])}),a("van-tabbar",{model:{value:t.menu,callback:function(e){t.menu=e},expression:"menu"}},[a("van-tabbar-item",{attrs:{icon:"home-o",to:"/home"},scopedSlots:t._u([{key:"icon",fn:function(t){return[a("img",{attrs:{src:t.active?n("a5b8"):n("ce9a")}})]}}])},[t._v("首页 ")]),a("van-tabbar-item",{attrs:{icon:"search",to:"/category"},scopedSlots:t._u([{key:"icon",fn:function(t){return[a("img",{attrs:{src:t.active?n("df14"):n("1f20")}})]}}])},[t._v("分类")]),a("van-tabbar-item",{attrs:{icon:"friends-o",to:"shopping",badge:t.carNum||""},scopedSlots:t._u([{key:"icon",fn:function(t){return[a("img",{attrs:{src:t.active?n("f283"):n("e5ba")}})]}}])},[t._v("购物车")]),a("van-tabbar-item",{attrs:{icon:"setting-o",to:"me"},scopedSlots:t._u([{key:"icon",fn:function(t){return[a("img",{attrs:{src:t.active?n("bb60"):n("8089")}})]}}])},[t._v("我的")])],1)],1)},s=[],r=n("a34a"),i=n.n(r),o=n("9add"),c=n("5a4a"),u=n("c24f"),l=n("121a");function d(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function p(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){d(r,a,s,i,o,"next",t)}function o(t){d(r,a,s,i,o,"throw",t)}i(void 0)}))}}var f=n("18a0"),v={components:{},data:function(){return{categories:[],cate_id:0,brands:[],brand_id:0,brand_index:0,goods:[],lists_loading:!1,lists_finished:!1,lists_nums:0,heder:{page:1,cate_id:"",brand_id:"",desc:"desc",sort:"sort"},old_sort:"sort",sort:"",menu:1,keyword:null,sort_index:0,vip:1,carNum:0}},computed:{},mounted:function(){this.vip=this.$store.getters.userInfo.role_id||1,this.cate_id=this.$route.query.cate_id||0,this.load(this.cate_id),this.getCarNum(),this.share()},methods:{getCarNum:function(){var t=this;return p(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["C"])();case 2:n=e.sent,a=n.data,t.carNum=a.number;case 5:case"end":return e.stop()}}),e)})))()},searchGood:function(t){this.$router.push("/search?keyword="+t)},init:function(){this.goods=[],this.heder.page=1},changeMoney:function(t){if(this.init(),this.sort_index!=this.old_sort)return this.old_sort=this.sort_index,this.heder.desc="desc",this.heder.sort=t,void this.getGoods();switch(this.heder.sort=t,this.heder.desc){case null:this.heder.desc="desc";break;case"desc":this.heder.desc="asc";break;case"asc":this.heder.desc="desc"}this.getGoods()},getGoods:function(){var t=this;return p(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log("getGoods"),t.heder.cate_id=t.cate_id,t.heder.brand_id=t.brand_id,e.next=5,Object(c["d"])(t.heder);case 5:n=e.sent,a=n.data,t.goods=t.goods.concat(a.data),t.lists_nums=a.count,t.lists_nums<=t.goods.length?t.lists_finished=!0:t.heder.page+=1,t.lists_loading=!1;case 11:case"end":return e.stop()}}),e)})))()},changeBrand:function(t){console.log(t),this.brand_id=this.brands[t].id,this.brand_index=t,this.goods=[],this.heder.page=1,console.log("changeBrand"),this.lists_finished=!1,this.getGoods()},toGood:function(t){this.$router.push("/good?id="+t)},changeCate:function(t){this.cate_id=t,this.goods=[],this.brands=[],this.heder.page=1,console.log("changeCate"),this.brand_index=99999,console.log(t),this.lists_finished=!1,this.getBrands(0,t)},getCategories:function(t){var e=this;return p(i.a.mark((function n(){var a,s;return i.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,Object(o["b"])();case 2:a=n.sent,s=a.data,e.categories=s,console.log(t,"cate_id"),t||(e.cate_id=s[0].id);case 7:case"end":return n.stop()}}),n)})))()},getBrands:function(){var t=arguments,e=this;return p(i.a.mark((function n(){var a,s,r,c,u;return i.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return a=t.length>0&&void 0!==t[0]?t[0]:0,s=t.length>1?t[1]:void 0,s||(s=e.cate_id),console.log(s),n.next=6,Object(o["a"])(s);case 6:r=n.sent,c=r.code,u=r.data,2e3==c&&(u=[{id:0,text:"全部"}].concat(u),e.brands=u,e.brand_id=u[a].id,e.brand_index=a);case 10:case"end":return n.stop()}}),n)})))()},onLists:function(){this.getGoods()},go:function(t){this.$router.push(t)},share:function(){var t=this;return p(i.a.mark((function e(){var n,a,s;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(l["b"])(["updateAppMessageShareData","updateTimelineShareData"]);case 2:n=e.sent,a=n.data,console.log(t.$store.getters.userInfo.id,"this.$store.getters.userInfo.id"),s=t.$store.getters.userInfo.id,f.config({debug:!1,appId:a.appId,timestamp:a.timestamp,nonceStr:a.nonceStr,signature:a.signature,jsApiList:a.jsApiList}),f.ready((function(){var t=Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_TITLE||"杰安易购商城",e=Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_DESC||"杰安易购商城",n=(Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_LINK||"http://h5.jiean91.cn")+"?pid="+s,a=Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_IMG||"http://admin.jiean91.cn/upload/20230403/0bbf8f28376ee8782f9d990d8a5307b5.png";f.updateAppMessageShareData({title:t,desc:e,link:n,imgUrl:a,success:function(){console.log("分享成功")}}),f.updateTimelineShareData({title:t,desc:e,link:n,imgUrl:a,success:function(){console.log("分享成功")}})}));case 8:case"end":return e.stop()}}),e)})))()},load:function(t){var e=this;this.getCategories(t).then((function(t){e.getBrands().then((function(t){e.getGoods()}))}))}}},h=v,m=(n("38aa"),n("2877")),g=Object(m["a"])(h,a,s,!1,null,"cea74cc2",null);e["default"]=g.exports},a415:function(t,e,n){"use strict";n("307a")},a5b8:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAsCAYAAAAjFjtnAAAFF0lEQVRoQ9WZb2gbZRzHf3dJtJsu3Vg7S0nQwZza+Q+iOF0t0owxxrppwt7JXgiryGBvVMYQERWZMmEoiNCJr3whSBXn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ymy/g6jEy5e/IP++/IbujZ8nFAsuuYB/zrgowbq0QG1cy3Fj7xGsbs2eF4gS+fzNHfgIGmTVzzngZbqAEUj1P7BOxTb6G28ICpN5Gl67yBRseQYPR3XFOty6E7dADUgLl/2VaLaPNCWHaBbn9/va5AqvHmUrn48XGseWFodWD10lGL33uMLoHh2nGb2PutaANg6U3a7lRYEtSMQUgfWfvcZKStX+gJg/16lyS3bnIsAaQQtnweWRAc6Tn7ly3jx0OUHex0RqDUPNF0HOk99HR7AMSBVngeaqgONiQA3vvI80EQdCByBB3pde6GW6kCYCHjuhVo1D4QG8FqryFsO89x3EYedBzrr7ELOvVMLdKAjRBfyuxcKpgPp7DwYi9tbCY9VucdeKEwKyat4fzpAhWR+tL3qVmJua3aYaSwTdC8USXRbuyHZY/zfBtLW2lzuan/+7diH+toLET5NXBjLVgUopJ/aqDHSN3Nr+PfeIHshhllFw+bExbELVQH0QxPiMIhtBaO4PeDYc/FS7YUUQgGMviVVO5SYcBqv21pzvR7oftCCh5c9wP8+OVi09vT/VgAAAABJRU5ErkJggg=="},a618:function(t,e,n){"use strict";n("9b7b")},a673:function(t,e,n){},a6fd:function(t,e,n){"use strict";n("6f27")},a85a:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"order-detail-page"},[1==t.order.status?n("van-cell",{staticClass:"top",attrs:{icon:"location-o",title:"等待付款",value:t.msg,size:"large"}}):t._e(),t.order.status>1?n("van-cell",{staticClass:"top",attrs:{icon:"location-o",title:t.orderMaps[t.order.status],size:"large"},on:{click:t.showQRModel},scopedSlots:t._u([{key:"default",fn:function(){return[2==t.order.get_type?n("div",{staticStyle:{"font-size":"16px"}},[t._v("取货码")]):t._e()]},proxy:!0}],null,!1,1192134881)}):t._e(),t.order.address_id?n("div",{staticClass:"address"},[n("van-cell",{attrs:{center:"",title:"单元格",label:t.order.address.province_text+t.order.address.city_text+t.order.address.county_text+t.order.address.detail},on:{click:t.goAddress},scopedSlots:t._u([{key:"title",fn:function(){return[n("span",[t._v(t._s(t.order.address.username))]),n("span",{staticClass:"tel"},[t._v(t._s(t.order.address.phone))])]},proxy:!0}],null,!1,244542952)})],1):t._e(),t.order.salesroom_id?n("div",{staticClass:"address"},[n("van-cell",{staticClass:"address",staticStyle:{margin:"0"},attrs:{center:"",title:t.order.salesroom.name,"is-link":""},scopedSlots:t._u([{key:"label",fn:function(){return[n("p",{staticClass:"row"},[t._v(" 电话:"),n("span",{staticClass:"shop-tel"},[t._v(t._s(t.order.salesroom.phone))])]),n("p",{staticClass:"row"},[t._v("地址:"+t._s(t.order.salesroom.detail))]),n("p",{staticClass:"row"},[t._v(" 距离:"+t._s(t.order.salesroom.distance)+"km ")])]},proxy:!0},{key:"title",fn:function(){return[t._v(" "+t._s(t.order.salesroom.name)+" "),n("div",{staticStyle:{float:"right",color:"#0091FF"},on:{click:function(e){return e.stopPropagation(),t.goToMap.apply(null,arguments)}}},[n("van-icon",{staticStyle:{"vertical-align":"middle"},attrs:{name:"location-o"}}),t._v("导航前往")],1)]},proxy:!0}],null,!1,2209904119)})],1):t._e(),n("div",{staticClass:"goods mt10"},[n("van-cell",{attrs:{title:"商品信息"}}),t._l(t.goods,(function(e){return n("van-card",{key:e,staticClass:"card",attrs:{price:e.unit_price,num:e.num,thumb:e.goods.images[0]},scopedSlots:t._u([{key:"title",fn:function(){return[n("p",{staticClass:"title"},[t._v(t._s(e.goods.item_name))])]},proxy:!0},{key:"tags",fn:function(){return[n("p",{staticClass:"type",staticStyle:{padding:"5px 0",color:"#999"}},[t._v(t._s(e.sku.sku_name))])]},proxy:!0}],null,!0)})}))],2),n("van-cell-group",{staticClass:"mt10"},[n("van-cell",{staticClass:"order-money",attrs:{title:"商品合计",value:"¥"+t.order.shop_price}}),n("van-cell",{staticClass:"freight",attrs:{title:"运费",value:"¥"+t.order.franking},scopedSlots:t._u([{key:"title",fn:function(){return[t._v("运费"),n("span",{staticStyle:{"font-size":"12px"}},[t._v("(量大运费过高联系客服处理)")])]},proxy:!0}])})],1),t.order.bill_id?n("van-cell-group",{staticClass:"mt10"},[n("van-cell",{attrs:{title:"发票",value:"纸质发票"}}),n("van-cell",{attrs:{title:"发票抬头",value:t.order.bill.to_order}}),n("van-cell",{attrs:{title:"发票税号",value:t.order.bill.tax_number}})],1):t._e(),n("van-cell-group",{staticClass:"mt10"},[n("van-cell",{attrs:{title:"订单编号",value:t.order.order_no}}),n("van-cell",{attrs:{title:"提交时间",value:t.order.create_time}}),"wechat"==t.order.pay_type?n("van-cell",{attrs:{title:"支付方式",value:"微信支付"}}):t._e(),"jifen"==t.order.pay_type?n("van-cell",{attrs:{title:"支付方式",value:"积分支付"}}):t._e(),"jifen"==t.order.pay_type?n("van-cell",{attrs:{title:"本次使用积分",value:t.order.jifen}}):t._e(),n("van-cell",{attrs:{title:"微信支付金额",value:t.order.wechat_pay}})],1),n("div",{staticClass:"bottom"},[n("span",{staticClass:"total"},[t._v("共计:"),n("b",{staticClass:"fb"},[t._v("¥"+t._s(t.order.pay_price))])]),n("span",{staticClass:"btn-g"},[1==t.order.status||3==t.order.status?[n("van-button",{staticClass:"btn",attrs:{round:"",plain:"",size:"mini",type:"danger"},on:{click:function(e){return e.stopPropagation(),t.closeOrder(t.order.id)}}},[t._v("关闭订单")]),n("van-button",{staticClass:"btn",attrs:{round:"",size:"mini",type:"danger"},on:{click:function(e){return e.stopPropagation(),t.payOrder(t.order.id)}}},[t._v("立即付款")])]:t._e(),2==t.order.status?[0==t.order.bill_id?n("van-button",{staticClass:"btn",attrs:{round:"",plain:"",size:"mini",type:"danger"},on:{click:function(e){return e.stopPropagation(),t.applayInvoice(t.order.id)}}},[t._v("申请开票")]):t._e(),n("van-button",{staticClass:"btn",attrs:{round:"",size:"mini",type:"danger"},on:{click:function(e){return e.stopPropagation(),t.showCacalModel(t.order.id)}}},[t._v("取消订单")])]:t._e(),4==t.order.status?[n("van-button",{staticClass:"btn",attrs:{round:"",plain:"",size:"mini",disable:"",type:"default"}},[t._v("订单关闭")])]:t._e(),5==t.order.status?[n("van-button",{staticClass:"btn",attrs:{round:"",plain:"",size:"mini",type:"danger"},on:{click:function(e){return e.stopPropagation(),t.lookLogistics(t.order.id)}}},[t._v("查看物流")]),n("van-button",{staticClass:"btn",attrs:{round:"",size:"mini",type:"danger"},on:{click:function(e){return e.stopPropagation(),t.setOrderOver(t.order)}}},[t._v("确认收货")])]:t._e(),6==t.order.status?[n("van-button",{staticClass:"btn",attrs:{round:"",plain:"",size:"mini",type:"danger"},on:{click:function(e){return e.stopPropagation(),t.setOrderOk(t.order)}}},[t._v("确认完成")]),n("van-button",{staticClass:"btn",attrs:{round:"",size:"mini",type:"danger"},on:{click:function(e){return e.stopPropagation(),t.applayAfterSale(t.order)}}},[t._v("申请售后")])]:t._e(),9==t.order.status?[n("van-button",{staticClass:"btn",attrs:{round:"",size:"mini",type:"danger"},on:{click:function(e){return e.stopPropagation(),t.lookAfterSale(t.order)}}},[t._v("查看售后")])]:t._e(),7==t.order.status?[n("van-button",{staticClass:"btn",attrs:{round:"",plain:"",size:"mini",disable:"",type:"default"}},[t._v("已完成")]),t.order.has_appraise?t._e():n("van-button",{staticClass:"btn",attrs:{round:"",size:"mini",type:"danger"},on:{click:function(e){return e.stopPropagation(),t.pingjia(t.order)}}},[t._v("待评价")])]:t._e(),8==t.order.status?[n("van-button",{staticClass:"btn",attrs:{round:"",plain:"",size:"mini",disable:"",type:"default"}},[t._v("订单失效")])]:t._e()],2)]),n("van-popup",{staticClass:"qr-p",model:{value:t.showQR,callback:function(e){t.showQR=e},expression:"showQR"}},[n("div",{staticClass:"qr-box"},[n("div",{staticClass:"code"},[n("p",[t._v("取货码")]),n("p",[t._v(t._s(t.order.verification_code))])])])]),n("van-action-sheet",{attrs:{title:"提醒"},model:{value:t.isCacalOrderShow,callback:function(e){t.isCacalOrderShow=e},expression:"isCacalOrderShow"}},[n("div",{staticClass:"cacal-order"},[n("van-field",{staticClass:"cacal",attrs:{rows:"4",autosize:"",type:"textarea",maxlength:"200",placeholder:"请输入原因","show-word-limit":""},model:{value:t.cacalOrderForm.cancelled,callback:function(e){t.$set(t.cacalOrderForm,"cancelled",e)},expression:"cacalOrderForm.cancelled"}}),n("van-button",{staticClass:"btn",attrs:{round:"",block:"",type:"danger"},on:{click:t.cacalPayOrder}},[t._v("确认取消")])],1)]),n("van-action-sheet",{attrs:{title:"发票"},model:{value:t.isShowInvoices,callback:function(e){t.isShowInvoices=e},expression:"isShowInvoices"}},[n("div",{staticClass:"content"},[t.invoices.length?t._l(t.invoices,(function(e,a){return n("van-cell",{key:a,attrs:{title:e.to_order,value:"内容",label:e.tax_number},on:{click:function(n){return t.selectInvoice(e)}},scopedSlots:t._u([{key:"default",fn:function(){return[n("van-checkbox",{staticClass:"invoice_checkbox",attrs:{"v-model":t.checkInvoice.id==e.id}})]},proxy:!0}],null,!0)})})):n("van-empty",{staticClass:"empty",attrs:{description:"暂无发票"}},[n("van-button",{staticClass:"bottom-button",staticStyle:{padding:"5px 25px"},attrs:{round:"",type:"danger"},on:{click:function(e){return t.go("/invoice")}}},[t._v(" 添加发票 ")])],1)],2)])],1)},s=[],r=n("a34a"),i=n.n(r),o=n("f8b7"),c=n("c24f"),u=n("121a");function l(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function d(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){l(r,a,s,i,o,"next",t)}function o(t){l(r,a,s,i,o,"throw",t)}i(void 0)}))}}var p=n("18a0"),f={components:{},data:function(){return{id:0,order:null,goods:[],isCacalOrderShow:!1,cacalOrderForm:{id:0,cancelled:""},msg:"支付已关闭",statusMaps:["未知","待支付","待发货","支付失败","取消订单","已发货","确认收货","已完成","订单失效","退换货"],orderMaps:["未知","等待付款","等待发货","支付失败","订单取消","等待收货","确认收货","订单完成","订单失效","退换货"],showQR:!1,QR:{url:null},isShowInvoices:!1,invoices:[],checkInvoice:{id:null,bill_id:null},tStatus:!1}},mounted:function(){var t=this.$route.query.id;this.id=t,console.log(this.id,"mead"),this.load(),this.share()},methods:{goToMap:function(){var t=this;return d(i.a.mark((function e(){var n,a,s;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])(["openLocation"]);case 2:n=e.sent,a=n.data,s=t,p.config({debug:!1,appId:a.appId,timestamp:a.timestamp,nonceStr:a.nonceStr,signature:a.signature,jsApiList:a.jsApiList}),console.log(s.shop),p.ready((function(){p.openLocation({latitude:parseFloat(s.shop.latitude),longitude:parseFloat(s.shop.longitude),name:s.shop.name,address:s.shop.detail,scale:1})}));case 8:case"end":return e.stop()}}),e)})))()},closeOrder:function(t){this.isCacalOrderShow=!0,this.cacalOrderForm.id=t},selectInvoice:function(t){var e=this;return d(i.a.mark((function n(){var a,s;return i.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e.checkInvoice.bill_id=t.id,!e.tSatus){n.next=6;break}return e.$notify("已经提交,请勿重复提交!"),n.abrupt("return");case 6:e.tSatus=!0;case 7:return n.next=9,Object(o["a"])(e.checkInvoice);case 9:a=n.sent,s=a.code,e.tStatus=!1,2e3==s&&(e.$toast("申请成功"),e.reLoadList()),e.isShowInvoices=!1;case 14:case"end":return n.stop()}}),n)})))()},reLoadList:function(){this.load()},showInvoices:function(){var t=this;return d(i.a.mark((function e(){var n,a,s;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=t.isShowInvoices,n){e.next=7;break}return e.next=4,Object(c["p"])();case 4:a=e.sent,s=a.data,t.invoices=s;case 7:t.isShowInvoices=!n;case 8:case"end":return e.stop()}}),e)})))()},downloadIamge:function(t,e){console.log("下载图片");var n=document.createElement("a");n.download=e||"pic",n.href=t,n.click()},pingjia:function(t){this.go("/appraise?id="+t.id)},showQRModel:function(){var t=this;return d(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["k"])(t.id);case 2:n=e.sent,a=n.data,t.QR=a,t.showQR=!0;case 6:case"end":return e.stop()}}),e)})))()},lookAfterSale:function(t){this.go("/afterSales?id="+t.id)},applayAfterSale:function(t){this.go("/returnGood?id="+t.id)},againBuy:function(t){this.go("/good?id="+t.goods[0].id)},setOrderOver:function(t){var e=this;return d(i.a.mark((function n(){var a,s;return i.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,Object(o["o"])(t.id);case 2:a=n.sent,s=a.code,2e3==s&&(e.$toast("操作完成"),e.reLoadList());case 5:case"end":return n.stop()}}),n)})))()},setOrderOk:function(t){var e=this;return d(i.a.mark((function n(){var a,s;return i.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,Object(o["p"])(t.id);case 2:a=n.sent,s=a.code,2e3==s&&(e.$toast("操作完成"),e.reLoadList());case 5:case"end":return n.stop()}}),n)})))()},lookLogistics:function(t){this.go("/logistics?id="+t)},applayInvoice:function(t){var e=this;return d(i.a.mark((function n(){return i.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:e.checkInvoice.id=t,e.showInvoices();case 2:case"end":return n.stop()}}),n)})))()},showCacalModel:function(t){this.isCacalOrderShow=!0,this.cacalOrderForm.id=t},cacalPayOrder:function(){var t=this;return d(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["c"])(t.cacalOrderForm);case 2:n=e.sent,a=n.code,t.isCacalOrderShow=!1,2e3==a&&(t.$toast("操作成功"),t.reLoadList());case 6:case"end":return e.stop()}}),e)})))()},changeOrderStatus:function(t){this.status=t,this.reLoadList()},payOrder:function(t){var e=this;return d(i.a.mark((function n(){var a,s;return i.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!e.tSatus){n.next=5;break}return e.$notify("已经提交,请勿重复提交!"),n.abrupt("return");case 5:e.tSatus=!0;case 6:return n.next=8,Object(o["l"])(t);case 8:a=n.sent,s=a.data,e.tStatus=!1,p.config({debug:!1,appId:"wx64edccf0a6405738",timestamp:s.timeStamp,nonceStr:s.nonceStr,signature:s.paySign,jsApiList:["chooseWXPay"]}),p.chooseWXPay({timestamp:s.timeStamp,nonceStr:s.nonceStr,package:s["package"],signType:s.signType,paySign:s.paySign,success:function(){e.tStatus=!1,e.go("/success")},fail:function(){e.tStatus=!1,e.$toast("支付失败")}});case 13:case"end":return n.stop()}}),n)})))()},load:function(){var t=this;return d(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["h"])(t.id);case 2:n=e.sent,a=n.data,t.order=a.order,t.goods=a.goods,t.countDown();case 7:case"end":return e.stop()}}),e)})))()},addZero:function(t){return t<10?t:t+""},countDown:function(){var t=new Date,e=new Date(1e3*this.order.lose_time),n=parseInt((e.getTime()-t.getTime())/1e3);if(n<=0)this.msg="订单关闭";else{var a=parseInt(n/86400),s=parseInt(n/3600%24),r=parseInt(n/60%60),i=parseInt(n%60);a=this.addZero(a),s=this.addZero(s),r=this.addZero(r),i=this.addZero(i),this.msg="剩余:","00"!=a&&(this.msg+="".concat(a,"天 ")),"00"!=s&&(this.msg+="".concat(s,"时 ")),"00"!=r&&(this.msg+="".concat(r,"分 ")),"00"==a&&"00"!=i&&(this.msg+="".concat(i,"秒 ")),n<=0?this.msg="支付已关闭":setTimeout(this.countDown,1e3)}},go:function(t){this.$router.push(t)},timeConvert:function(t,e){t+="",t=10==t.length?1e3*t:t;var n=new Date(t),a=n.getFullYear(),s=n.getMonth()+1;s=s<10?"0"+s:s;var r=n.getDate();r=r<10?"0"+r:r;var i=n.getHours();i=i<10?"0"+i:i;var o=n.getMinutes(),c=n.getSeconds();return o=o<10?"0"+o:o,c=c<10?"0"+c:c,0==e?a+"-"+s+"-"+r:a+"-"+s+"-"+r+" "+i+":"+o+":"+c},share:function(){var t=this;return d(i.a.mark((function e(){var n,a,s;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])(["updateAppMessageShareData","updateTimelineShareData"]);case 2:n=e.sent,a=n.data,console.log(t.$store.getters.userInfo.id,"this.$store.getters.userInfo.id"),s=t.$store.getters.userInfo.id,p.config({debug:!1,appId:a.appId,timestamp:a.timestamp,nonceStr:a.nonceStr,signature:a.signature,jsApiList:a.jsApiList}),p.ready((function(){var t=Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_TITLE||"杰安易购商城",e=Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_DESC||"杰安易购商城",n=(Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_LINK||"http://h5.jiean91.cn")+"?pid="+s,a=Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_IMG||"http://admin.jiean91.cn/upload/20230403/0bbf8f28376ee8782f9d990d8a5307b5.png";p.updateAppMessageShareData({title:t,desc:e,link:n,imgUrl:a,success:function(){console.log("分享成功")}}),p.updateTimelineShareData({title:t,desc:e,link:n,imgUrl:a,success:function(){console.log("分享成功")}})}));case 8:case"end":return e.stop()}}),e)})))()}},computed:{}},v=f,h=(n("47e9"),n("2877")),m=Object(h["a"])(v,a,s,!1,null,"b9a944b4",null);e["default"]=m.exports},ac11:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"vip-page"},[a("van-image",{staticClass:"vip-img",attrs:{src:n("f655")}}),a("div",{staticClass:"content",domProps:{innerHTML:t._s(t.body)}}),a("van-button",{staticClass:"btn",attrs:{round:"",block:"",type:"danger"},on:{click:function(e){return t.go("/goods?location=1")}}},[t._v(" 去消费 ")])],1)},s=[],r=n("a34a"),i=n.n(r),o=n("121a");function c(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){c(r,a,s,i,o,"next",t)}function o(t){c(r,a,s,i,o,"throw",t)}i(void 0)}))}}var l={components:{},data:function(){return{body:""}},computed:{},mounted:function(){var t=this;return u(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["a"])("m_gvrp");case 2:n=e.sent,a=n.data,t.body=a.value;case 5:case"end":return e.stop()}}),e)})))()},methods:{go:function(t){this.$router.push(t)},onLoad:function(){for(var t=0;t<10;t++)this.list.push(this.list.length+1)}}},d=l,p=(n("861e"),n("2877")),f=Object(p["a"])(d,a,s,!1,null,null,null);e["default"]=f.exports},ae22:function(t,e,n){t.exports=n.p+"static/img/kehu.d2f82847.png"},b025:function(t,e,n){t.exports=n.p+"static/img/daishouhuo.71affe5a.png"},b061:function(t,e,n){},b43d:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"order-detail-page"},[t.order.address_id?n("div",{staticClass:"address"},[n("van-cell",{attrs:{center:"",title:"单元格",label:t.order.address.province_text+t.order.address.city_text+t.order.address.county_text+t.order.address.detail},on:{click:t.goAddress},scopedSlots:t._u([{key:"title",fn:function(){return[n("span",[t._v(t._s(t.order.address.username))]),n("span",{staticClass:"tel"},[t._v(t._s(t.order.address.phone))])]},proxy:!0}],null,!1,244542952)})],1):t._e(),t.order.salesroom_id?n("div",{staticClass:"address"},[n("van-cell",{attrs:{center:"",title:"单元格",label:t.order.salesroom.detail},on:{click:t.goAddress},scopedSlots:t._u([{key:"title",fn:function(){return[n("span",[t._v(t._s(t.order.salesroom.name))]),n("span",{staticClass:"tel"},[t._v(t._s(t.order.salesroom.phone))])]},proxy:!0}],null,!1,181984985)})],1):t._e(),n("div",{staticClass:"goods mt10"},[n("van-cell",{attrs:{title:"商品信息"}}),t._l(t.goods,(function(e){return n("van-card",{key:e,staticClass:"card",attrs:{price:e.unit_price,num:e.num,thumb:e.goods.images[0]},scopedSlots:t._u([{key:"title",fn:function(){return[n("p",{staticClass:"title"},[t._v(t._s(e.goods.item_name))])]},proxy:!0}],null,!0)})}))],2),n("van-cell-group",{staticClass:"mt10"},[n("van-cell",{attrs:{title:"商品合计",value:"¥"+t.order.shop_price}}),n("van-cell",{staticClass:"freight",attrs:{title:"运费",value:"¥"+t.order.franking}}),n("van-cell",{staticClass:"freight",attrs:{title:"共计",value:"¥"+t.order.pay_price}})],1),n("van-cell-group",{staticClass:"mt10"},[n("van-cell",{attrs:{title:"用户名",value:t.order.users.username}}),n("van-cell",{attrs:{title:"用户手机号",value:t.order.users.mobile}})],1),n("van-cell-group",{staticClass:"mt10"},[n("van-cell",{attrs:{title:"返利积分",value:t.order.fl_money}}),n("van-cell",{attrs:{title:"管理奖",value:t.order.fl_manage}}),n("van-cell",{attrs:{title:"其他费用",value:t.order.fl_num}}),n("van-cell",{staticClass:"order-money",attrs:{title:"收益佣金",value:t.money}})],1)],1)},s=[],r=n("a34a"),i=n.n(r),o=n("f8b7"),c=n("c24f");function u(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function l(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){u(r,a,s,i,o,"next",t)}function o(t){u(r,a,s,i,o,"throw",t)}i(void 0)}))}}var d=n("18a0"),p={components:{},data:function(){return{id:0,order:null,goods:[],isCacalOrderShow:!1,cacalOrderForm:{id:0,cancelled:""},msg:"支付已关闭",statusMaps:["未知","待支付","待发货","支付失败","取消订单","已发货","确认收货","已完成","订单失效","退换货"],orderMaps:["未知","等待付款","等待发货","支付失败","订单取消","等待收货","确认收货","订单完成","订单失效","退换货"],showQR:!1,QR:{url:null},isShowInvoices:!1,invoices:[],checkInvoice:{id:null,bill_id:null},tStatus:!1}},mounted:function(){var t=this.$route.query.id;this.id=t,console.log(this.id,"mead"),this.getIncomeDetail()},methods:{getIncomeDetail:function(){var t=this;return l(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(c["s"])({id:t.id});case 2:n=e.sent,a=n.data,t.order=a.order,t.goods=a.goods;case 6:case"end":return e.stop()}}),e)})))()},closeOrder:function(t){this.isCacalOrderShow=!0,this.cacalOrderForm.id=t},selectInvoice:function(t){var e=this;return l(i.a.mark((function n(){var a,s;return i.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e.checkInvoice.bill_id=t.id,!e.tSatus){n.next=6;break}return e.$notify("已经提交,请勿重复提交!"),n.abrupt("return");case 6:e.tSatus=!0;case 7:return n.next=9,Object(o["a"])(e.checkInvoice);case 9:a=n.sent,s=a.code,e.tStatus=!1,2e3==s&&(e.$toast("申请成功"),e.reLoadList()),e.isShowInvoices=!1;case 14:case"end":return n.stop()}}),n)})))()},reLoadList:function(){this.load()},showInvoices:function(){var t=this;return l(i.a.mark((function e(){var n,a,s;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=t.isShowInvoices,n){e.next=7;break}return e.next=4,Object(c["p"])();case 4:a=e.sent,s=a.data,t.invoices=s;case 7:t.isShowInvoices=!n;case 8:case"end":return e.stop()}}),e)})))()},downloadIamge:function(t,e){console.log("下载图片");var n=document.createElement("a");n.download=e||"pic",n.href=t,n.click()},pingjia:function(t){this.go("/appraise?id="+t.id)},showQRModel:function(){var t=this;return l(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["k"])(t.id);case 2:n=e.sent,a=n.data,t.QR=a,t.showQR=!0;case 6:case"end":return e.stop()}}),e)})))()},lookAfterSale:function(t){this.go("/afterSales?id="+t.id)},applayAfterSale:function(t){this.go("/returnGood?id="+t.id)},againBuy:function(t){this.go("/good?id="+t.goods[0].id)},setOrderOver:function(t){var e=this;return l(i.a.mark((function n(){var a,s;return i.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,Object(o["o"])(t.id);case 2:a=n.sent,s=a.code,2e3==s&&(e.$toast("操作完成"),e.reLoadList());case 5:case"end":return n.stop()}}),n)})))()},setOrderOk:function(t){var e=this;return l(i.a.mark((function n(){var a,s;return i.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,Object(o["p"])(t.id);case 2:a=n.sent,s=a.code,2e3==s&&(e.$toast("操作完成"),e.reLoadList());case 5:case"end":return n.stop()}}),n)})))()},lookLogistics:function(t){this.go("/logistics?id="+t)},applayInvoice:function(t){var e=this;return l(i.a.mark((function n(){return i.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:e.checkInvoice.id=t,e.showInvoices();case 2:case"end":return n.stop()}}),n)})))()},showCacalModel:function(){this.isCacalOrderShow=!0},cacalPayOrder:function(){var t=this;return l(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["c"])(t.cacalOrderForm);case 2:n=e.sent,a=n.code,t.isCacalOrderShow=!1,2e3==a&&(t.$toast("操作成功"),t.reLoadList());case 6:case"end":return e.stop()}}),e)})))()},changeOrderStatus:function(t){this.status=t,this.reLoadList()},payOrder:function(t){var e=this;return l(i.a.mark((function n(){var a,s;return i.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!e.tSatus){n.next=5;break}return e.$notify("已经提交,请勿重复提交!"),n.abrupt("return");case 5:e.tSatus=!0;case 6:return n.next=8,Object(o["l"])(t);case 8:a=n.sent,s=a.data,d.config({debug:!1,appId:"wx64edccf0a6405738",timestamp:s.timeStamp,nonceStr:s.nonceStr,signature:s.paySign,jsApiList:["chooseWXPay"]}),d.chooseWXPay({timestamp:s.timeStamp,nonceStr:s.nonceStr,package:s["package"],signType:s.signType,paySign:s.paySign,success:function(){e.tStatus=!1,e.go("/success")},fail:function(){e.tStatus=!1,e.$toast("支付失败")}});case 12:case"end":return n.stop()}}),n)})))()},load:function(){var t=this;return l(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["h"])(t.id);case 2:n=e.sent,a=n.data,t.order=a.order,t.goods=a.goods,t.countDown();case 7:case"end":return e.stop()}}),e)})))()},addZero:function(t){return t<10?t:t+""},countDown:function(){var t=new Date,e=new Date(1e3*this.order.lose_time),n=parseInt((e.getTime()-t.getTime())/1e3);if(console.log(this.order.lose_time,n,"countDown"),n<=0)this.msg="订单关闭";else{var a=parseInt(n/86400),s=parseInt(n/3600%24),r=parseInt(n/60%60),i=parseInt(n%60);a=this.addZero(a),s=this.addZero(s),r=this.addZero(r),i=this.addZero(i),this.msg="剩余:","00"!=a&&(this.msg+="".concat(a,"天 ")),"00"!=s&&(this.msg+="".concat(s,"时 ")),"00"!=r&&(this.msg+="".concat(r,"分 ")),"00"==a&&"00"!=i&&(this.msg+="".concat(i,"秒 ")),n<=0?this.msg="支付已关闭":setTimeout(this.countDown,1e3)}},go:function(t){this.$router.push(t)},timeConvert:function(t,e){t+="",t=10==t.length?1e3*t:t;var n=new Date(t),a=n.getFullYear(),s=n.getMonth()+1;s=s<10?"0"+s:s;var r=n.getDate();r=r<10?"0"+r:r;var i=n.getHours();i=i<10?"0"+i:i;var o=n.getMinutes(),c=n.getSeconds();return o=o<10?"0"+o:o,c=c<10?"0"+c:c,0==e?a+"-"+s+"-"+r:a+"-"+s+"-"+r+" "+i+":"+o+":"+c}},computed:{money:function(){return((100*this.order.fl_money-100*this.order.fl_num)/100).toFixed(2)}}},f=p,v=(n("68de"),n("2877")),h=Object(v["a"])(f,a,s,!1,null,"4c8d42ef",null);e["default"]=h.exports},b509:function(t,e,n){"use strict";n("1cfa")},b522:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"index-page"},[t.bills.length?t._e():n("van-empty",{staticClass:"empty",attrs:{description:"暂无发票"}}),t.bills.length?n("div",t._l(t.bills,(function(e,a){return n("div",{key:a,staticClass:"invoice mt10"},[n("p",{staticClass:"name"},[t._v(t._s(e.to_order)),"company"==e.type?n("van-tag",{staticClass:"tag",attrs:{type:"primary"}},[t._v("公司")]):t._e(),"personal"==e.type?n("van-tag",{staticClass:"tag",attrs:{type:"primary"}},[t._v("个人")]):t._e()],1),n("p",{staticClass:"no"},[t._v(t._s(e.tax_number))]),n("div",{staticClass:"btn-box"},[n("span",{on:{click:function(n){return t.addInvoice(e.id)}}},[n("van-icon",{staticClass:"icon",attrs:{name:"edit"}}),t._v("编辑")],1),n("span",{on:{click:function(n){return t.delInvoice(e.id,a)}}},[n("van-icon",{staticClass:"icon",attrs:{name:"delete"}}),t._v("删除")],1)])])})),0):t._e(),n("div",{staticClass:"btn"},[n("van-button",{attrs:{round:"",block:"",type:"danger"},on:{click:function(e){return t.addInvoice()}}},[t._v(" 新增发票 ")])],1)],1)},s=[],r=n("a34a"),i=n.n(r),o=n("c24f");function c(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){c(r,a,s,i,o,"next",t)}function o(t){c(r,a,s,i,o,"throw",t)}i(void 0)}))}}var l={components:{},data:function(){return{back_order:!1,bills:[]}},computed:{},mounted:function(){var t=this.$route.query.is_order;t&&(this.back_order=!0),this.getBills()},methods:{delInvoice:function(t,e){var n=this;this.$dialog.confirm({title:"注意",message:"您是否要删除?"}).then(u(i.a.mark((function a(){var s,r;return i.a.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,Object(o["h"])(t);case 2:s=a.sent,r=s.code,2e3==r&&(n.$toast("删除成功"),n.bills.splice(e,1));case 5:case"end":return a.stop()}}),a)}))))["catch"]((function(){}))},addInvoice:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t?this.go({name:"editInvoice",query:{id:t}}):this.go("/editInvoice")},getBills:function(){var t=this;return u(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["p"])();case 2:n=e.sent,a=n.data,t.bills=a;case 5:case"end":return e.stop()}}),e)})))()},go:function(t){this.$router.push(t)}}},d=l,p=(n("6b3d"),n("2877")),f=Object(p["a"])(d,a,s,!1,null,"797b6f64",null);e["default"]=f.exports},b648:function(t,e,n){},b6d1:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD4AAAA0CAYAAADSWosiAAAH10lEQVRoQ+VaXWwU1xX+zszYuJC2pHWCEFLzktRvfYKKV/qjhkKUpi4Ei9KgqkBjgkOM/225W8vGBoMxJkAJreSWtiZQlEYhcqqq5RUFnnij8JJKFWoSNTTFln9m7lfN7uzPzM7snZldKqrs0+7Mveec75xzz/3u3SP4jH7kM4ob/xPg189zzRKxSYCNMPBVKjwjgtUEPu85/j8g7ouBO1D4G4Hr9YJrG/fIPx9WYB4a8Gvn2CiCFgF2AVhPuk5mFkdRaVB97n1ukLg/bgpwwSFmNu2Tj2vphJoD/8tZrrMEnRTsIbEyZ2wJoArW540JjhZgXiDnbWL8my/LP2rhgJoBv5Rh/RNr0U5iAOSqVMZFIS9mwZwIhj+6h4ntGVlKpSOfUNVMzs/96xk2KfCSCL5WKo9e6CpE0q8+MDAfefGe5+UBuGVAtn+jVW6ntb/qiP/5LJtBTgN4rMyIkJz1jSkgi2m+X94DGLL72y/LlZizfcOqAv6n02wVYAqgWRWgKMu1jhHHANq+tV/OJAWfGrgLmuTppAr9VT2i9AUA65e+7P9OQvCpgL93is0QvEkGIp3GCzWYIyIOiBefPRA/7RMDnz3DJtq8GbqmawCiChEPxJL1m2MWvETA3S1r1eO8AeSqd/kSzD0p1qDoei6CDw2RVxoMzLpzFhQ2K/J1kE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AhsSFO3qhsapjhoNAtzYN1SX/ljqyv/FoHOAVFNFXf6qks5OWRKRQbVkvOHKNerVXlINAajXe02vX8Ro++mQWd1FxLlDnzY6n1v5AfNXT3rLtCMERk/rsHmkdOCZAaebUNobUq1wyLxlmU/ty1R59eQqOt23PMnC8VSvWjfCcKwvtY7JJz7gPXxcmfa/dHN1793Lxv3D4dU8uCHoZOFsP9fZdLLXy8HU1p2awrYOU4UDd4wi8LgXO379MmeL2dQ+UqPrZdczp3od3x8KKflL1skiRk/bYX+qT/U53WT8VA/Tb8DoPTBqapeLdh8vTYVMhvWrF+0boL8BQJsu4QPcjobBeljZ4mZD7VWIW9wiNApu3V9hbcjE6JZIBNxVNzng/mlo3wTxmHuh4P/4xQX5StBcPUHLjSgSH09Cgf8UJYjIA7Gs9QeH43VJJAbuqj7eYzeLwpsMNgRoOa2utFR2ZFRmCcShgRcPjVmxuyNSAXcNmOhyWhWV1xjgGRzF1XUcvrBYI7hvsJkmfzPgqTXE2N9+1EzUFZEauAv+WJfT6hKbfINA1PVvVBthlPLyuOdGBpeWG2mXqHQkBJ1dPikLU2Ha0U67mYrTEBabf5JSOd340PfyQER2d43HT+9SrFUDd4Ud6WKTcpYvidcwUK0zdfPptnuZddu7j8YrZGHyagLcFZzZxvqGr6h2QhUa/HTERgcw+F5E5gTG8MLfjYnM5Uegwa/UwOHXuM6E3amAPYW/lZMiLBsv8wZw3sHy+MCJlY9WS2fQ1syhTxvrnIYW5Jt4E9YTr+PXbTK6sGwuzGSOf+HRbuINC+7Iq1zjcGmTGLLRbdOg8GmBrEZJ2zbB+0K5C+FtKl43pf5a/8n/w7btqrP7IQuoWXF7yHbWXPx/Ab6w8VPLma+3AAAAAElFTkSuQmCC"},b75a:function(t,e,n){t.exports=n.p+"static/img/daifukuan.2fd645e5.png"},b9de:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"step"},[a("div",{directives:[{name:"show",rawName:"v-show",value:1==t.step,expression:"step == 1"}],staticClass:"partner-apply-page"},[a("van-image",{staticClass:"vip-img",attrs:{src:n("22415")}}),a("van-form",{on:{submit:t.save}},[a("div",{staticClass:"title"},[t._v("申请代理商,请填写以下信息:")]),a("van-cell-group",[a("van-field",{attrs:{disabled:"",label:"推荐人",placeholder:"请输入推荐人"},model:{value:t.pname,callback:function(e){t.pname=e},expression:"pname"}}),a("van-field",{attrs:{label:"姓名",placeholder:"请输入姓名"},model:{value:t.formApplay.name,callback:function(e){t.$set(t.formApplay,"name",e)},expression:"formApplay.name"}}),a("van-field",{attrs:{label:"身份证号",placeholder:"请输入身份证号"},model:{value:t.formApplay.card_id,callback:function(e){t.$set(t.formApplay,"card_id",e)},expression:"formApplay.card_id"}})],1),a("p",{staticClass:"agree"},[a("van-checkbox",{attrs:{"icon-size":"18px",shape:"square"},model:{value:t.isXy,callback:function(e){t.isXy=e},expression:"isXy"}},[t._v("已阅读并同意"),a("span",{staticClass:"hetong",on:{click:function(e){return e.stopPropagation(),t.go("/xieyi?key=s_part")}}},[t._v("《代理商申请协议》")])])],1),a("van-button",{staticClass:"btn",attrs:{round:"",block:"",type:"danger"},on:{click:t.save}},[t._v(" 下一步 ")])],1)],1),a("div",{directives:[{name:"show",rawName:"v-show",value:2==t.step,expression:"step == 2"}],staticClass:"step2-page"},[a("div",{staticClass:"top"}),a("div",{staticClass:"content"},[a("p",{staticClass:"title"},[t._v("缴纳保证金")]),a("p",{staticClass:"des"},[t._v("申请成功代理商需要缴纳"+t._s(t.setting.money)+"元保证金(可退)")]),a("p",{staticClass:"money"},[t._v(" ¥"),a("span",[t._v(t._s(t.setting.money))])]),a("van-button",{staticClass:"btn",attrs:{round:"",block:"",type:"danger"},on:{click:t.showPayType}},[t._v(" 立即缴纳 ")])],1),a("van-action-sheet",{attrs:{actions:t.payTypeMaps},on:{select:t.selectPay},model:{value:t.isShowPayType,callback:function(e){t.isShowPayType=e},expression:"isShowPayType"}})],1),a("div",{directives:[{name:"show",rawName:"v-show",value:3==t.step,expression:"step == 3"}],staticClass:"step3-page"},[a("div",{staticClass:"des"},[t._v(" 通过网银、银行柜台或手机银行向如下专属收款账号转账 "),a("p",[t._v("待缴保证金:¥"+t._s(t.setting.money))])]),a("div",{staticClass:"title-info mt10"},[t._v("收款信息:")]),a("div",{staticClass:"card-box"},[a("div",{staticClass:"row"},[a("span",{staticClass:"name"},[t._v("收款人")]),a("span",{staticClass:"value"},[t._v(t._s(t.setting.toName))]),a("span",{staticClass:"clone",on:{click:function(e){return t.cope(t.setting.toName)}}},[t._v("复制")])]),a("div",{staticClass:"row"},[a("span",{staticClass:"name"},[t._v("账号")]),a("span",{staticClass:"value"},[t._v(t._s(t.setting.toAccount))]),a("span",{staticClass:"clone",on:{click:function(e){return t.cope(t.setting.toAccount)}}},[t._v("复制")])]),a("div",{staticClass:"row"},[a("span",{staticClass:"name"},[t._v("开户行")]),a("span",{staticClass:"value"},[t._v(t._s(t.setting.toBank))]),a("span",{staticClass:"clone",on:{click:function(e){return t.cope(t.setting.toBank)}}},[t._v("复制")])]),a("div",{staticClass:"row"},[a("span",{staticClass:"name"},[t._v("银联号")]),a("span",{staticClass:"value"},[t._v(t._s(t.setting.toBankCode))]),a("span",{staticClass:"clone",on:{click:function(e){return t.cope(t.setting.toBankCode)}}},[t._v("复制")])])]),a("div",{staticClass:"upload mt10"},[t._m(0),a("van-uploader",{staticClass:"upload-img",attrs:{accept:"image/*","max-count":1,"after-read":t.upload},model:{value:t.fileList,callback:function(e){t.fileList=e},expression:"fileList"}})],1),a("van-button",{staticClass:"btn",attrs:{round:"",block:"",type:"danger"},on:{click:t.applyShiye}},[t._v(" 提交申请 ")])],1)])},s=[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("p",{staticClass:"title"},[t._v("上传图片"),n("span",[t._v("(支持jpg/png格式)")])])}],r=n("a34a"),i=n.n(r),o=n("11d4"),c=n("121a");function u(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function l(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){u(r,a,s,i,o,"next",t)}function o(t){u(r,a,s,i,o,"throw",t)}i(void 0)}))}}var d=n("18a0"),p={components:{},data:function(){return{step:1,pname:"",formApplay:{name:"",card_id:"",type:"direct",img:null},fileList:[],pay:null,isXy:!1,isShowPayType:!1,payTypeMaps:[{name:"银行转账"}],setting:null,tStatus:!1,t:0}},computed:{},mounted:function(){var t=this;return l(i.a.mark((function e(){var n,a,s;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["d"])();case 2:n=e.sent,a=n.data,t.pname=a.tuijianren,t.getSetting(),s=t.$route.query.is_edit||0,t.t=t.$route.query.t||0,console.log(s),s&&t.getData();case 10:case"end":return e.stop()}}),e)})))()},methods:{getData:function(){var t=this;return l(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["e"])();case 2:n=e.sent,a=n.data,console.log(a.askfor),t.formApplay=a.askfor,t.fileList.push({url:t.formApplay.img}),console.log(t.formApplay.img,"getData");case 8:case"end":return e.stop()}}),e)})))()},cope:function(t){var e=t,n=document.createElement("input");n.value=e,document.body.appendChild(n),n.select(),document.execCommand("Copy"),n.className="oInput",n.style.display="none",this.$toast("复制成功")},getSetting:function(){var t=this;return l(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["f"])();case 2:n=e.sent,a=n.data,t.setting=a.setting;case 5:case"end":return e.stop()}}),e)})))()},applyShiye:function(){var t=this;return l(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(console.log("applyShiye"),t.formApplay.img){e.next=4;break}return t.$notify("请上传转账记录"),e.abrupt("return");case 4:if(!t.tSatus){e.next=9;break}return t.$notify("已经提交,请勿重复提交!"),e.abrupt("return");case 9:t.tSatus=!0;case 10:return e.next=12,Object(o["b"])(t.formApplay);case 12:n=e.sent,a=n.code,t.tStatus=!1,2e3==a&&(t.$toast("已提交"),setTimeout((function(){t.go("/home")}),2e3));case 16:case"end":return e.stop()}}),e)})))()},upload:function(t){var e=this;return l(i.a.mark((function n(){var a,s;return i.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return console.log(t),a=new FormData,a.append("file",t.file,t.file.name),n.next=5,Object(c["c"])(a);case 5:s=n.sent,2e3==s.code&&(e.formApplay.img=s.data.path),console.log(e.formApplay.img,"upload");case 8:case"end":return n.stop()}}),n)})))()},checkIDCard:function(t){for(var e=[7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2],n=["1","0","X","9","8","7","6","5","4","3","2"],a=t+"",s=t[17],r=a.substring(0,17),i=r.split(""),o=i.length,c=0,u=0;u<o;u++)c+=i[u]*e[u];var l=c%11,d=n[l],p=/^[1-9][0-9]{5}([1][9][0-9]{2}|[2][0][0|1][0-9])([0][1-9]|[1][0|1|2])([0][1-9]|[1|2][0-9]|[3][0|1])[0-9]{3}([0-9]|[X])$/,f=p.test(t);return!(s!==d||!f)},selectPay:function(){var t=this;return l(i.a.mark((function e(){return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:t.step=3;case 1:case"end":return e.stop()}}),e)})))()},showPayType:function(){this.isShowPayType=!0},save:function(){var t=this;return l(i.a.mark((function e(){return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(0!=t.isXy){e.next=3;break}return t.$notify("请同意城市合伙人协议"),e.abrupt("return");case 3:if(t.formApplay.name){e.next=6;break}return t.$notify("姓名不能为空"),e.abrupt("return");case 6:if(t.formApplay.card_id){e.next=9;break}return t.$notify("身份证不能为空"),e.abrupt("return");case 9:if(t.checkIDCard(t.formApplay.card_id)){e.next=12;break}return t.$notify("身份证不合法"),e.abrupt("return");case 12:t.getSetting(),t.step=2;case 14:case"end":return e.stop()}}),e)})))()},toPay:function(t){var e=this;this.tSatus?this.$notify("已经提交,请勿重复提交!"):(this.tSatus=!0,d.config({debug:!1,appId:"wx64edccf0a6405738",timestamp:t.timeStamp,nonceStr:t.nonceStr,signature:t.paySign,jsApiList:["chooseWXPay"]}),this.tStatus=!1,d.chooseWXPay({timestamp:t.timeStamp,nonceStr:t.nonceStr,package:t["package"],signType:t.signType,paySign:t.paySign,success:function(t){e.tStatus=!1,e.go("/pSuccess"),console.log(t)},fail:function(t){console.log(t),e.tStatus=!1,e.$toast("支付失败")}}))},go:function(t){this.$router.push(t)}}},f=p,v=(n("f57a"),n("2877")),h=Object(v["a"])(f,a,s,!1,null,"d7f835e4",null);e["default"]=h.exports},ba2b:function(t,e,n){t.exports=n.p+"static/img/logo.3a4d073d.jpeg"},bb60:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAsCAYAAAAn4+taAAAE8klEQVRoQ92YT2gjVRzHf28SXC9dEUTZzrTgRcSKHhUW6jZxD7tlsyTBmxfBFWR3YcWTt715Ehd2F0GFvXhVUXA9qEdBQW1SbGmTRUGql9qkbS7bbOb3Xd78ybx5M0kmk3RazaVN3vz5fd7vz/f3e4IO4bPz0jkLBl8E8zLAL4DxBAFE4H8JWGXwNzY/+Mpa/XlrWq8X03qQfM726bOzhshfB+MNMOcBJrAEAMn/iZngApEAegS60+2K6/ObP/4zqR1TA2kvLpdsps8AniH2DJcg0nDmPoz7PVgnoAPYr5trv3w9CcxUQNqvXLjKNm6A2HA9EOy84w0VJH6difmaufHrzbQwE4O0F0slJvoSYMMBkIaSYrwDEYC5oRVdJ5ZxJ8rmZjrPTASyfbo0a+TFBoFn/NjXPTLed3QY/Oz85srYOTMRSGup/DHAl0I5oYWOnhMRMC1nBNEn5sZvb40bYqlBds5ULEPwnwzk1WoUyQkv2X2PjVoXhB569tPWvdWxSnNqkFaxfJkYt/yqNDC0NJB4jyg5xCCDcMVs1G6P45XUILuF6l2GfS6kE33dUMrtAB3xtSXufkH41mrUzmcC0ipUtghsjtKJlOt/z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PmgtbSXlFERAAAAAElFTkSuQmCC"},bbc8:function(t,e,n){"use strict";n("8f76")},bbde:function(t,e,n){},be30:function(t,e,n){},bee4:function(t,e,n){t.exports=n.p+"static/img/error.b6cc7b2a.png"},c1c6:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"goods-page"},[n("van-tabs",{staticClass:"sort",on:{click:t.changeMoney},model:{value:t.sort_index,callback:function(e){t.sort_index=e},expression:"sort_index"}},[n("van-tab",{attrs:{name:"sort",title:"综合排序"},scopedSlots:t._u([{key:"title",fn:function(){return[t._v("综合排序 "),"sort"==t.heder.sort?["desc"==t.heder.desc?n("van-icon",{attrs:{size:"13",name:"arrow-down"}}):t._e(),"asc"==t.heder.desc?n("van-icon",{attrs:{size:"13",name:"arrow-up"}}):t._e()]:t._e()]},proxy:!0}])}),n("van-tab",{attrs:{name:"sales_num",title:"销量排序"},scopedSlots:t._u([{key:"title",fn:function(){return[t._v("销量排序 "),"sales_num"==t.heder.sort?["desc"==t.heder.desc?n("van-icon",{attrs:{size:"13",name:"arrow-down"}}):t._e(),"asc"==t.heder.desc?n("van-icon",{attrs:{size:"13",name:"arrow-up"}}):t._e()]:t._e()]},proxy:!0}])}),n("van-tab",{attrs:{name:"money",title:"价格排序"},scopedSlots:t._u([{key:"title",fn:function(){return[t._v("价格排序 "),"money"==t.heder.sort?["desc"==t.heder.desc?n("van-icon",{attrs:{size:"13",name:"arrow-down"}}):t._e(),"asc"==t.heder.desc?n("van-icon",{attrs:{size:"13",name:"arrow-up"}}):t._e()]:t._e()]},proxy:!0}])})],1),t.lists.length?t._e():n("van-empty",{attrs:{description:"没有找到相关商品信息"}}),t.lists.length?[n("div",{staticClass:"divider-box"}),n("van-list",{attrs:{finished:t.lists_finished,"finished-text":"没有更多了"},on:{load:t.onLoadGood},model:{value:t.lists_loading,callback:function(e){t.lists_loading=e},expression:"lists_loading"}},t._l(t.lists,(function(e){return n("van-card",{key:e,staticClass:"card",attrs:{price:e.money,"origin-price":e.retail_price,title:"五粮液股份52醇香型五粮液股份",thumb:e.images[0]},on:{click:function(n){return t.toGood(e.id)}},scopedSlots:t._u([{key:"title",fn:function(){return[n("p",{staticClass:"title"},[t._v(t._s(e.item_name))])]},proxy:!0},{key:"tags",fn:function(){return[n("p",{staticClass:"tags"},[1==t.vip?n("van-tag",{attrs:{round:"",type:"warning"}},[t._v("零售价")]):t._e(),2==t.vip?n("van-tag",{attrs:{round:"",type:"warning"}},[t._v("会员价")]):t._e(),3==t.vip?n("van-tag",{attrs:{round:"",type:"warning"}},[t._v("城市合伙人价")]):t._e(),4==t.vip?n("van-tag",{attrs:{round:"",type:"warning"}},[t._v("代理商价")]):t._e()],1)]},proxy:!0},{key:"footer",fn:function(){return[n("div",{staticClass:"number"},[n("span",[t._v("销售:"+t._s(e.sales_num)+"件")]),n("span",[t._v("仅剩:"+t._s(e.stock_num)+"件")])])]},proxy:!0}],null,!0)})})),1)]:t._e(),n("div",{staticClass:"body"})],2)},s=[],r=n("a34a"),i=n.n(r),o=n("5a4a"),c=n("121a");function u(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function l(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){u(r,a,s,i,o,"next",t)}function o(t){u(r,a,s,i,o,"throw",t)}i(void 0)}))}}var d=n("18a0"),p={components:{},data:function(){return{lists_loading:!1,lists_finished:!1,lists_nums:0,lists:[],heder:{page:1,is_hot:0,desc:"desc",sort:"sort",c_location:0,s_location:0,m_location:0},sort_index:0,vip:1}},computed:{},mounted:function(){var t=this.$route.query.location||0;if(this.vip=this.$store.getters.userInfo.role_id||1,t)switch(this.vip){case 1:this.heder.m_location=1;break;case 2:this.heder.m_location=1;break;case 3:this.heder.c_location=1;break;case 4:this.heder.s_location=1;break}this.onLoadGood(),this.share()},methods:{init:function(){this.lists=[],this.heder.page=1},changeMoney:function(t){if(this.sort_index!=this.old_sort)return this.old_sort=this.sort_index,this.heder.desc="desc",this.heder.sort=t,this.init(),void this.onLoadGood();switch(this.heder.sort=t,this.heder.desc){case null:this.heder.desc="desc";break;case"desc":this.heder.desc="asc";break;case"asc":this.heder.desc="desc"}this.init(),this.onLoadGood()},onLoadGood:function(){var t=this;return l(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["d"])(t.heder);case 2:n=e.sent,a=n.data,t.lists=t.lists.concat(a.data),t.lists_nums=a.count,t.lists_nums<=t.lists.length?t.lists_finished=!0:t.heder.page+=1,t.lists_loading=!1;case 8:case"end":return e.stop()}}),e)})))()},toGood:function(t){this.go("/good?id="+t)},go:function(t){this.$router.push(t)},share:function(){var t=this;return l(i.a.mark((function e(){var n,a,s;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(c["b"])(["updateAppMessageShareData","updateTimelineShareData"]);case 2:n=e.sent,a=n.data,console.log(t.$store.getters.userInfo.id,"this.$store.getters.userInfo.id"),s=t.$store.getters.userInfo.id,d.config({debug:!1,appId:a.appId,timestamp:a.timestamp,nonceStr:a.nonceStr,signature:a.signature,jsApiList:a.jsApiList}),d.ready((function(){var t=Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_TITLE||"杰安易购商城",e=Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_DESC||"杰安易购商城",n=(Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_LINK||"http://h5.jiean91.cn")+"?pid="+s,a=Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_IMG||"http://admin.jiean91.cn/upload/20230403/0bbf8f28376ee8782f9d990d8a5307b5.png";d.updateAppMessageShareData({title:t,desc:e,link:n,imgUrl:a,success:function(){console.log("分享成功")}}),d.updateTimelineShareData({title:t,desc:e,link:n,imgUrl:a,success:function(){console.log("分享成功")}})}));case 8:case"end":return e.stop()}}),e)})))()}}},f=p,v=(n("dc23"),n("2877")),h=Object(v["a"])(f,a,s,!1,null,"59fb1420",null);e["default"]=h.exports},c24f:function(t,e,n){"use strict";n.d(e,"J",(function(){return i})),n.d(e,"H",(function(){return o})),n.d(e,"I",(function(){return c})),n.d(e,"p",(function(){return u})),n.d(e,"q",(function(){return l})),n.d(e,"r",(function(){return d})),n.d(e,"o",(function(){return p})),n.d(e,"G",(function(){return f})),n.d(e,"b",(function(){return v})),n.d(e,"h",(function(){return h})),n.d(e,"n",(function(){return m})),n.d(e,"m",(function(){return g})),n.d(e,"F",(function(){return b})),n.d(e,"a",(function(){return A})),n.d(e,"g",(function(){return _})),n.d(e,"w",(function(){return y})),n.d(e,"x",(function(){return w})),n.d(e,"y",(function(){return x})),n.d(e,"i",(function(){return k})),n.d(e,"z",(function(){return C})),n.d(e,"t",(function(){return S})),n.d(e,"K",(function(){return E})),n.d(e,"E",(function(){return P})),n.d(e,"v",(function(){return I})),n.d(e,"j",(function(){return O})),n.d(e,"k",(function(){return j})),n.d(e,"l",(function(){return V})),n.d(e,"u",(function(){return D})),n.d(e,"B",(function(){return B})),n.d(e,"A",(function(){return T})),n.d(e,"C",(function(){return L})),n.d(e,"D",(function(){return U})),n.d(e,"s",(function(){return M})),n.d(e,"e",(function(){return R})),n.d(e,"f",(function(){return H})),n.d(e,"d",(function(){return z})),n.d(e,"c",(function(){return F}));var a=n("4328"),s=n.n(a),r=n("b775");function i(){return Object(r["a"])({url:"personal/infor",method:"post",hideloading:!0})}function o(t){return Object(r["a"])({url:"personal/infor_set",method:"post",data:s.a.stringify(t),hideloading:!0})}function c(t){return Object(r["a"])({url:"personal/phone_set",method:"post",data:s.a.stringify(t),hideloading:!0})}function u(){return Object(r["a"])({url:"personal/bill",method:"post",hideloading:!0})}function l(){return Object(r["a"])({url:"personal/has_city",method:"post",hideloading:!0})}function d(){return Object(r["a"])({url:"personal/has_sy",method:"post",hideloading:!0})}function p(t){return Object(r["a"])({url:"personal/bill_edit?id="+t,method:"get",hideloading:!0})}function f(t){return Object(r["a"])({url:"personal/bill_edit",method:"post",data:s.a.stringify(t),hideloading:!0})}function v(t){return Object(r["a"])({url:"personal/bill_add",method:"post",data:s.a.stringify(t),hideloading:!0})}function h(t){var e={id:t};return Object(r["a"])({url:"personal/bill_del",method:"post",data:s.a.stringify(e),hideloading:!0})}function m(){return Object(r["a"])({url:"personal/card",method:"get",hideloading:!0})}function g(t){return Object(r["a"])({url:"personal/card_edit?id="+t,method:"get",hideloading:!0})}function b(t){return Object(r["a"])({url:"personal/card_edit?id="+t.id,method:"post",data:s.a.stringify(t),hideloading:!0})}function A(t){return Object(r["a"])({url:"personal/card_add",method:"post",data:s.a.stringify(t),hideloading:!0})}function _(t){var e={id:t};return Object(r["a"])({url:"personal/card_del",method:"post",data:s.a.stringify(e),hideloading:!0})}function y(){return Object(r["a"])({url:"qrcode/create",method:"post",hideloading:!0})}function w(){return Object(r["a"])({url:"personal/subordinate",method:"post",hideloading:!0})}function x(){return Object(r["a"])({url:"personal/superior",method:"post",hideloading:!0})}function k(){return Object(r["a"])({url:"personal/direct_push",method:"post",hideloading:!0})}function C(){return Object(r["a"])({url:"personal/order_income",method:"post",hideloading:!0})}function S(t){return Object(r["a"])({url:"personal/jifenxiaohao",method:"post",data:s.a.stringify(t),hideloading:!0})}function E(t){return Object(r["a"])({url:"personal/withdraw",method:"post",data:s.a.stringify(t),hideloading:!0})}function P(t){return Object(r["a"])({url:"askFor/withdraw",method:"post",data:s.a.stringify(t),hideloading:!0})}function I(t){return Object(r["a"])({url:"personal/manage_award",method:"post",data:s.a.stringify(t),hideloading:!0})}function O(t){return Object(r["a"])({url:"askFor/drawback",method:"post",data:s.a.stringify(t),hideloading:!0})}function j(t){return Object(r["a"])({url:"personal/exchange",method:"post",data:s.a.stringify(t),hideloading:!0})}function V(t){return Object(r["a"])({url:"personal/exchange_wuliu",method:"post",data:s.a.stringify(t),hideloading:!0})}function D(t,e){var n={lat:t,lng:e};return Object(r["a"])({url:"personal/location",method:"post",data:s.a.stringify(n),hideloading:!0})}function B(t){return Object(r["a"])({url:"personal/search_list",method:"post",data:s.a.stringify(t),hideloading:!0})}function T(t){return Object(r["a"])({url:"personal/search_del",method:"post",data:s.a.stringify(t),hideloading:!0})}function L(t){return Object(r["a"])({url:"personal/shopcar_number",method:"post",data:s.a.stringify(t),hideloading:!0})}function U(t){return Object(r["a"])({url:"order/status_number",method:"post",data:s.a.stringify(t),hideloading:!0})}function M(t){return Object(r["a"])({url:"personal/income_detail",method:"post",data:s.a.stringify(t),hideloading:!0})}function R(t){return Object(r["a"])({url:"personal/collect_add",method:"post",data:s.a.stringify(t),hideloading:!0})}function H(t){return Object(r["a"])({url:"personal/collect_del",method:"post",data:s.a.stringify(t),hideloading:!0})}function z(t){return Object(r["a"])({url:"personal/collect",method:"post",data:s.a.stringify(t),hideloading:!0})}function F(t){return Object(r["a"])({url:"askFor/withdraw_or",method:"get",data:s.a.stringify(t),hideloading:!0})}},c351:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAABK0lEQVRYR+2ZPU7DQBCF39gFVYhyCc6AREpOAO2OfAgqRI2oOIQ124YTUILEGXKJKE5FYQ+KRCTLP3gl29EKjcvVePb5m3myPUvouPI8v0rT9EVVbwFcdsVMuFYQ0XtZlo9Zlm2beam5cBSXJMkXgNWEIkJS7aqqum6KbAn03m9U9S4k49QxRPTmnLuv520JFJH9qaxEtHbOfU4tpJ7Pe3+jqh+/awUzL4cE6imAmVsPMIdYEends4ugCWxWwQiO7UsjaATrBP7qh7Gk+u63HhxL1ggaQXPxQA+YScwkZhIzyVgXGEEjOMOPu4g8A3gAcDEA+BvAKzM/nfWLWkQKAIvA6h+YuXeMN8u7OHqCgeSCwmYhGLRzYNC/Exj3ADP6EXD0Q/RjX8d0DPEDZTpnOMDLayYAAAAASUVORK5CYII="},c3dc:function(t,e,n){"use strict";n("0d67")},c3fc:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"reflect-page"},[t.lists.length?t._l(t.lists,(function(e){return n("van-cell",{key:e,attrs:{label:e.create_time},scopedSlots:t._u([{key:"title",fn:function(){return[n("span",[t._v("积分:"),n("b",{staticClass:"fb"},[t._v(t._s(e.money))]),n("span",{staticStyle:{"font-size":"12px"}},[t._v("个")])])]},proxy:!0},{key:"default",fn:function(){},proxy:!0}],null,!0)})})):n("van-empty",{staticClass:"empty",attrs:{description:"暂无数据"}})],2)},s=[],r=n("a34a"),i=n.n(r),o=n("c24f");function c(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){c(r,a,s,i,o,"next",t)}function o(t){c(r,a,s,i,o,"throw",t)}i(void 0)}))}}var l={components:{},data:function(){return{lists:[]}},computed:{},mounted:function(){var t=this;return u(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["v"])();case 2:n=e.sent,a=n.data,t.lists=a;case 5:case"end":return e.stop()}}),e)})))()},methods:{go:function(){this.$router.push("/good")}}},d=l,p=(n("f7ab"),n("2877")),f=Object(p["a"])(d,a,s,!1,null,"7bdd0e7d",null);e["default"]=f.exports},c78e:function(t,e,n){"use strict";n("51db")},c993:function(t,e,n){},ca2b:function(t,e,n){"use strict";n("7556")},cab6:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"reflect-page"},[t.lists.length?t._l(t.lists,(function(e){return n("van-cell",{key:e,attrs:{label:e.create_time},scopedSlots:t._u([{key:"title",fn:function(){return[n("span",[t._v("积分:"),n("b",{staticClass:"fb"},["shop"==e.do_type||"out"==e.do_type?n("span",[t._v("-")]):t._e(),"tuikua"==e.do_type||"in"==e.do_type?n("span",[t._v("+")]):t._e(),t._v(" "+t._s(e.money))])])]},proxy:!0},{key:"default",fn:function(){},proxy:!0}],null,!0)})})):n("van-empty",{staticClass:"empty",attrs:{description:"暂无数据"}})],2)},s=[],r=n("a34a"),i=n.n(r),o=n("c24f");function c(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){c(r,a,s,i,o,"next",t)}function o(t){c(r,a,s,i,o,"throw",t)}i(void 0)}))}}var l={components:{},data:function(){return{lists:[]}},computed:{},mounted:function(){var t=this;return u(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["K"])();case 2:n=e.sent,a=n.data,t.lists=a;case 5:case"end":return e.stop()}}),e)})))()},methods:{go:function(){this.$router.push("/good")}}},d=l,p=(n("85e1"),n("2877")),f=Object(p["a"])(d,a,s,!1,null,"cde9cc9e",null);e["default"]=f.exports},cb10:function(t,e,n){t.exports=n.p+"static/img/tixian.cd4efbfe.png"},cb85:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"recommend-page"},[a("div",{staticClass:"userinfo"},[a("van-image",{staticClass:"img",attrs:{round:"",width:"90px",height:"90px",src:t.user.header_img?t.user.header_img:n("9d64")}}),a("p",{staticClass:"role"},[1==t.user.role_id||null==t.user.role_id?a("van-tag",{staticClass:"tag",attrs:{size:"medium",round:"",type:"primary"}},[t._v("普通会员")]):t._e(),2==t.user.role_id?a("van-tag",{staticClass:"tag",attrs:{size:"medium",round:"",type:"primary"}},[t._v("VIP会员")]):t._e(),3==t.user.role_id?a("van-tag",{staticClass:"tag",attrs:{size:"medium",round:"",type:"primary"}},[t._v("城市合伙人")]):t._e(),4==t.user.role_id?a("van-tag",{staticClass:"tag",attrs:{size:"medium",round:"",type:"primary"}},[t._v("代理商")]):t._e()],1),a("p",{staticClass:"title"},[t._v(t._s(t.user.username))])],1),"--"!=t.user.mobile?a("div",{staticClass:"mobile-box"},[a("p",{staticClass:"left"},[t._v(" 手机号:"),a("spa",{staticClass:"mobile"},[t._v(t._s(t.user.mobile))])],1),a("p",{staticClass:"right call"},[a("a",{attrs:{href:"tel:"+t.user.mobile}},[t._v("点击拨打")])]),a("p",{staticClass:"clear"})]):t._e()])},s=[],r=n("a34a"),i=n.n(r),o=n("c24f");function c(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){c(r,a,s,i,o,"next",t)}function o(t){c(r,a,s,i,o,"throw",t)}i(void 0)}))}}var l={components:{},data:function(){return{user:null}},computed:{},mounted:function(){var t=this;return u(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["y"])();case 2:n=e.sent,a=n.data,console.log(a),t.user=a;case 6:case"end":return e.stop()}}),e)})))()},methods:{go:function(){this.$router.push("/good")},onLoad:function(){var t=this;setTimeout((function(){for(var e=0;e<10;e++)t.list.push(t.list.length+1);t.loading=!1,t.list.length>=40&&(t.finished=!0)}),1e3)}}},d=l,p=(n("c3dc"),n("2877")),f=Object(p["a"])(d,a,s,!1,null,"fc132d82",null);e["default"]=f.exports},cc08:function(t,e,n){"use strict";n("f85f")},ccc5:function(t,e,n){"use strict";n("be30")},ccf7:function(t,e,n){t.exports=n.p+"static/img/che.1e5c5133.png"},cd38:function(t,e){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ChGF4szHmDQC3OM4q1lF3d/f+wcHBf5spPvY1MTFxydzc3F47sgDyTozvhRBPep73QzLuIgCt9WZmtqnQzRJfEZHN2d+1QnjSp9b6Vma2KffORJbrl1KevGjhJxsHQfAOgEei+r8B7O3p6Tk8MDBQbYf4OMbk5GRuZmZmJ4D9AC6L6t9VSj2aBvAXgPWR0e1KqW/bKbxGh94G4Juo/qxS6oo0gAupSymVmqXaARcEwZKaFglczrgdYmvFWAPoVM/HcddGIOsIhGG4npnvZ+brbFsi+pWIPvY872xWX9a+bSMQhuGVzHyAmXe4l5dItL3kHCWiPZ7n/ZkFpC0A0Q7+IYBrU8SdJqKtyR11uTYtB7A9b4z5OiHeHke+iITdlbiJnRZC3FHvSLQcQGsdMLOM5rvdyZ+QUtrRuFC01lsBvMnMCzspEWkppb2OppaWAtgFa4z5I57zRPRgUnys0EIw8wfxmhBCXFXPwm4pgNZ6GzMfi0SdUEptSZnP9hVi4WJPRNullMfThqClAEEQPA3A3qhsOaSUsmf5JUsQBNbWtrFlVCl1qNMA9gnRj0T4Sql9KQCZ7K2vVo9AJkFBEGSyXwOoY35m6tG1EUhcslZ8ocnao1nt19bAalwD9sx+eST8bqVUfCCryZJ1SjRgbw+Cn0fBzyml4heThapaD1vHmHlbWs934jsRHZdSbndjLwIol8vXV6tVexR2X6E7oTcZczaXy/UXCoVflgWwHy2EMcb++/KAM506BXGOiD4SQuxKiq85hTqlstG4/4uXt0bF23b/Ae6+iUv0S5o2AAAAAElFTkSuQmCC"},d13d:function(t,e,n){},d5a2:function(t,e,n){},d71c:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD4AAAA0CAYAAADSWosiAAAOTElEQVRoQ+1ae3RV5ZX/7X3uTSAQRJwiamktwpgXQUjCI0Ae5t4kUITiDCBQBQGlM2tssa1a21ktbddyUaftWjqu1VlKEgSlmDACBpPcvC4hL4IBJEgMddTSVmp9UBRFktx79qxzzj33nnMfEJPA8Mecf5Kc85397d9+/r59Q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og2yY0H8DkTfUQkfxBWjvanfHxEO5SsPlQ1hhJ5fO/JT9+tWL7cv/aYdyzH+54E0QaN+zPz26TQkuem3HlyAFhtS64q8IEqt0zKlYTucb8VyHdIEEeEM0z0IgirIXpoay3OI6pv1aVIylWt6gMFd6l1971RvwWQx6KRIWj/6gV6tCTJ9Wy04+ZA97/2PC5C93U3nIXI2IhpKtFpP/rztiUvsJGfgYK1rrvmgD/Y2em8OOLvF4jg0EPa0v6Y6Nmtya6NgwEa/s41B1xTcO3J+lcAuSt8WgMnLy6ZUqB/NBjqdU0Cv+9Uwy2KX9W+y00x+zozPfVckmvTUAFftT4+WEUflE6n+ua5u4UxQaC2liYVav9XN2zXNenxYUN3CUH/D/xqWPla2uN/AVNKfHHAWtuxAAAAAElFTkSuQmCC"},d79c:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"success-page"},["success"==t.type?[a("img",{staticClass:"img",attrs:{src:n("8c16")}}),a("p",{staticClass:"msg"},[t._v("支付成功!")]),a("van-button",{staticClass:"btn",attrs:{round:"",type:"danger"},on:{click:function(e){return t.go("/gPInfo")}}},[t._v("返回会员中心")])]:t._e(),"error"==t.type?[a("img",{staticClass:"img",attrs:{src:n("bee4")}}),a("p",{staticClass:"msg"},[t._v("支付失败!")]),a("van-button",{staticClass:"btn",attrs:{round:"",type:"danger"},on:{click:function(e){return t.go("/home")}}},[t._v("返回首页")])]:t._e(),"fail"==t.type?[a("img",{staticClass:"img",attrs:{src:n("bee4")}}),a("p",{staticClass:"msg"},[t._v("审核未通过!")]),a("p",{staticClass:"msg-f"},[t._v("原因:"+t._s(t.msg))]),a("van-button",{staticClass:"btn",attrs:{round:"",type:"danger"},on:{click:t.backGG}},[t._v("继续申请")])]:t._e()],2)},s=[],r={name:"Success",data:function(){return{type:"success",msg:"",gos:0}},mounted:function(){this.type=this.$route.query.type||"success",this.msg=this.$route.query.msg,this.gos=this.$route.query.msg},methods:{go:function(t){this.$router.push(t)},backGG:function(){this.go("/step11?is_edit=1")}}},i=r,o=(n("b509"),n("2877")),c=Object(o["a"])(i,a,s,!1,null,"358069be",null);e["default"]=c.exports},d874:function(t,e,n){t.exports=n.p+"static/img/jiangli.3248721f.png"},dc23:function(t,e,n){"use strict";n("5fd8")},dd7b:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"login-page"},[a("van-image",{staticClass:"logo-b",attrs:{src:n("ba2b"),fit:"contain"}}),a("div",{staticClass:"login"},[a("div",{staticClass:"form"},[a("van-form",[a("van-field",{attrs:{"label-width":"20px",name:"手机号",placeholder:"请填写手机号"},scopedSlots:t._u([{key:"label",fn:function(){return[a("van-icon",{staticStyle:{padding:"5px 0"},attrs:{name:n("c351"),size:"18"}})]},proxy:!0}]),model:{value:t.loginForm.phone,callback:function(e){t.$set(t.loginForm,"phone",e)},expression:"loginForm.phone"}}),a("van-field",{attrs:{maxlength:6,"label-width":"20px",name:"验证码",placeholder:"验证码"},scopedSlots:t._u([{key:"label",fn:function(){return[a("van-icon",{staticStyle:{padding:"8px 0"},attrs:{name:n("6e74"),size:"18"}})]},proxy:!0},{key:"button",fn:function(){return[a("van-button",{attrs:{size:"small",disabled:t.count>0},on:{click:t.sendCode}},[a("span",{directives:[{name:"show",rawName:"v-show",value:0==t.count,expression:"count == 0"}]},[t._v("发送验证码")]),a("span",{directives:[{name:"show",rawName:"v-show",value:t.count>0,expression:"count > 0"}]},[t._v(t._s(t.count)+" 秒后重试")])])]},proxy:!0}]),model:{value:t.loginForm.phonecode,callback:function(e){t.$set(t.loginForm,"phonecode",e)},expression:"loginForm.phonecode"}}),a("van-cell-group",{staticClass:"msg-box",attrs:{title:"",border:!1}}),a("div",{staticClass:"btn"},[a("van-button",{attrs:{round:"",block:"",type:"danger"},on:{click:function(e){return e.stopPropagation(),t.login.apply(null,arguments)}}},[t._v(" 确认 ")])],1)],1)],1)]),a("p",{staticClass:"user",on:{click:function(e){return e.stopPropagation(),t.go("/xieyi?key=u_gvrp")}}},[t._v("注册/登录即代表同意"),a("span",{staticClass:"yh"},[t._v("《用户协议》")])])],1)},s=[],r=(n("e7e5"),n("d399")),i=(n("9a83"),n("f564")),o=n("a34a"),c=n.n(o),u=n("7ded"),l=n("f121");function d(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function p(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){d(r,a,s,i,o,"next",t)}function o(t){d(r,a,s,i,o,"throw",t)}i(void 0)}))}}var f={components:{},data:function(){return{count:0,timer:null,loginForm:{phone:"",phonecode:"",code:null,pid:0},tSatus:!1,rules:/^1(3|4|5|6|7|8|9)\d{9}$/}},computed:{},mounted:function(){var t=this;return p(c.a.mark((function e(){var n,a,s,r;return c.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n="production","production"!=n){e.next=9;break}if(a=t.$store.getters.loginCode,null!=a){e.next=8;break}return e.next=6,t.$store.dispatch("setLoginStatus",0);case 6:return window.location.href=l["baseUrl"],e.abrupt("return");case 8:t.loginForm.code=a;case 9:console.log(t.$store.getters.loginPid,"this.$store.getters.loginPid"),t.loginForm.pid=t.$store.getters.loginPid,s=t.$route.query.phone||!1,s&&(t.loginForm.phone=s),r=t.$route.query.phonecode||!1,r&&(t.loginForm.phonecode=r);case 15:case"end":return e.stop()}}),e)})))()},methods:{delUserS:function(){var t=this;return p(c.a.mark((function e(){var n,a;return c.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["a"])({phone:t.loginForm.phone});case 2:n=e.sent,a=n.data,console.log(a,"delUserS");case 5:case"end":return e.stop()}}),e)})))()},login:function(){var t=this;return p(c.a.mark((function e(){var n;return c.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(/^1[3456789]\d{9}$/.test(t.loginForm.phone)){e.next=3;break}return Object(i["a"])("手机号码有误,请重填"),e.abrupt("return",!1);case 3:if(/^\d{6}$/.test(t.loginForm.phonecode)){e.next=6;break}return Object(i["a"])("验证码有误,请重填"),e.abrupt("return",!1);case 6:if(n="production","production"!=n){e.next=15;break}if(t.loginForm.code){e.next=15;break}return e.next=11,t.$store.dispatch("setLoginCode",null);case 11:return e.next=13,t.$store.dispatch("setLoginStatus",0);case 13:return window.location.href="/login?phone="+t.loginForm.phone+"&phonecode="+t.loginForm.phonecode,e.abrupt("return");case 15:if(!t.tSatus){e.next=20;break}return t.$notify("已经提交,请勿重复提交!"),e.abrupt("return");case 20:t.tSatus=!0;case 21:Object(u["b"])(t.loginForm).then(function(){var e=p(c.a.mark((function e(n){return c.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.tSatus=!1,e.next=3,t.$store.dispatch("setUserInfo",n.data);case 3:return window.location.href=l["baseUrl"],e.abrupt("return");case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),(function(e){if(t.tSatus=!1,console.log(e.code,"mead"),"production"==n){if(40029==e.code&&(t.$store.dispatch("setLoginCode",null),t.$store.dispatch("setLoginStatus",0),t.go("/login?phone="+t.loginForm.phone+"&phonecode="+t.loginForm.phonecode)),40003==e.code)return t.$store.dispatch("setLoginCode",null),t.$store.dispatch("setLoginStatus",0),void t.go("/login?phone="+t.loginForm.phone+"&phonecode="+t.loginForm.phonecode);if(40163===e.code)return t.$store.dispatch("setLoginStatus",0),void(window.location.href=l["baseUrl"])}}));case 22:case"end":return e.stop()}}),e)})))()},sendCode:function(){var t=this;return p(c.a.mark((function e(){var n,a,s;return c.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(/^1[3456789]\d{9}$/.test(t.loginForm.phone)){e.next=3;break}return Object(i["a"])("手机号码有误,请重填"),e.abrupt("return",!1);case 3:if(!t.tSatus){e.next=8;break}return t.$notify("已经提交,请勿重复提交!"),e.abrupt("return");case 8:t.tSatus=!0;case 9:return e.next=11,Object(u["c"])({phone:t.loginForm.phone});case 11:if(n=e.sent,a=n.code,s=n.msg,t.tSatus=!1,2e3!==a){e.next=19;break}return Object(r["a"])("发送成功"),t.countdown(),e.abrupt("return");case 19:Object(r["a"])(s);case 20:case"end":return e.stop()}}),e)})))()},countdown:function(){var t=this,e=60;this.timer||(this.count=e,this.show=!1,this.timer=setInterval((function(){t.count>0&&t.count<=e?t.count--:(clearInterval(t.timer),t.timer=null)}),1e3))},go:function(t){this.$router.push(t)}}},v=f,h=(n("ccc5"),n("2877")),m=Object(h["a"])(v,a,s,!1,null,"534eb67e",null);e["default"]=m.exports},de58:function(t,e,n){},de98:function(t,e,n){t.exports=n.p+"static/img/daipingjia.f5472796.png"},df0d:function(t,e,n){"use strict";n("f1e6")},df14:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAsCAYAAAAjFjtnAAAI4klEQVRoQ9VZa3AVZxl+3t2EpKGAlpJ7tFSqCEmKTSEJCASLl5YGqE61napAq7VIgVB1lFFrpz+YTh2aBGiZVu0AlekI9T5K60hltJCEkEJzEwKWUUNIIrlAWwjk7Pc43zm75+zZs0mWkP7oZiaTc/a7PM97ed73+yL4gD/yfuBnUXlaz7jBUtOE9aGkgVo5cGDg/dhHrzmmBN4tXpoxkDy4AQqrCU4EqTfopVLbUqi2TDy8v2esiYwJgf4F5VNDSn2PUKuESCUJDV4/VCqCmXyPwAumqTbfWPP6mbEick0EehaVz5SQ+gHJ+0gkadD6JwzeIWD/7XxP4opBtQuWejr92N9PXiuRURHomVdeIiY3UuFuQhkJYG3wDpEI+LAX9C9oDwlgkXjFUHgq/diBY6MlclUEehYu/ayQG0kucoMayuph1NorYS+E48j+OxJeNkE94lWT3JT+1sE3rpbIiAQIGP2L7lmulLUR5O0xEBEAEWvawGxQYcA+YCOO0WSU7Qx3qIVz5Q2hbMpqOrgvKJEhCbCoKLl/Qt4DhPo+iekx98dCIWbdmEVj3ghTiOZDhFTU6vY7xwjRRLfH4BjBp7Kba/cKYL/0p5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q63z8kvn7kbLM63xKylcD+AWn30OwmBlVmPd7/T/DILgGDUB98SOGXPmi2FoxVnmKE70PXkOhvxWiCQCy739FLQyCV8RpSqzWurrrxb0mBBwFuksnDNVUdZByYMQRG4whn56dUdL4bbcxrr2awHuzA2UA0E2OjmteOKENONBpajb4qlxc8g2AtWmeWln0DNFkD31mDEj4Gyok7WzoHQ+FW/TNd0E69Nbag8FOdUFBT2mITSaTcdyzph7YCzBBVnr/2ccX4cjnJV9AAAAAElFTkSuQmCC"},e24f:function(t,e,n){},e353:function(t,e,n){t.exports=n.p+"static/img/hongjiu.40a89619.png"},e3c1:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"directPush-page"},[t.customers.length?t._l(t.customers,(function(e){return n("div",{key:e,staticClass:"customer mt10"},[n("div",{staticClass:"top"},[n("van-image",{staticClass:"img",attrs:{round:"",src:e.beituijianren.header_img}}),n("span",{staticClass:"name"},[t._v(t._s(e.beituijianren.username))]),n("span",{staticClass:"role"},[t._v(t._s(e.beituijianren.role_name))])],1),n("div",{staticClass:"body"},[n("div",{staticClass:"item"},[n("p",{staticClass:"labal"},[t._v("手机号")]),n("p",{staticClass:"value"},[t._v("¥"+t._s(e.beituijianren.mobile))])]),n("div",{staticClass:"item"},[n("p",{staticClass:"labal"},[t._v("推荐绑定时间")]),n("p",{staticClass:"value"},[t._v(t._s(e.create_time))])]),n("div",{staticClass:"item",staticStyle:{"flex-basis":"100%"}},[n("p",{staticClass:"value fs-14"},[t._v(" 直推奖励:"),n("span",{staticClass:"fb"},[t._v(t._s(e.money))])])])])])})):n("van-empty",{staticClass:"empty",attrs:{description:"暂无数据"}})],2)},s=[],r=n("a34a"),i=n.n(r),o=n("c24f");function c(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){c(r,a,s,i,o,"next",t)}function o(t){c(r,a,s,i,o,"throw",t)}i(void 0)}))}}var l={components:{},data:function(){return{customers:[],user:{username:""}}},computed:{},mounted:function(){var t=this;return u(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["i"])();case 2:n=e.sent,a=n.data,t.customers=a;case 5:case"end":return e.stop()}}),e)})))()},methods:{formatDate:function(t,e){var n=new Date(t);/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(n.getFullYear()+"").substr(4-RegExp.$1.length)));var a={"M+":n.getMonth()+1,"d+":n.getDate(),"h+":n.getHours(),"m+":n.getMinutes(),"s+":n.getSeconds()};for(var s in a)if(new RegExp("(".concat(s,")")).test(e)){var r=a[s]+"";e=e.replace(RegExp.$1,1===RegExp.$1.length?r:this.padLeftZero(r))}return e},padLeftZero:function(t){return("00"+t).substr(t.length)},go:function(){this.$router.push("/good")},onLoad:function(){var t=this;setTimeout((function(){for(var e=0;e<10;e++)t.list.push(t.list.length+1);t.loading=!1,t.list.length>=40&&(t.finished=!0)}),1e3)}}},d=l,p=(n("47f7"),n("2877")),f=Object(p["a"])(d,a,s,!1,null,"8e92c760",null);e["default"]=f.exports},e498:function(t,e,n){"use strict";n("0c64")},e4b7:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"step"},[a("div",{directives:[{name:"show",rawName:"v-show",value:1==t.step,expression:"step == 1"}],staticClass:"partner-apply-page"},[a("van-image",{staticClass:"vip-img",attrs:{src:n("85c2")}}),a("van-form",{on:{submit:t.save}},[a("div",{staticClass:"title"},[t._v("申请城市合伙人,请填写以下信息:")]),a("van-cell-group",[a("van-field",{attrs:{disabled:"",label:"推荐人",placeholder:"请输入推荐人"},model:{value:t.pname,callback:function(e){t.pname=e},expression:"pname"}}),a("van-field",{attrs:{label:"姓名",placeholder:"请输入姓名"},model:{value:t.formApplay.name,callback:function(e){t.$set(t.formApplay,"name",e)},expression:"formApplay.name"}}),a("van-field",{attrs:{label:"身份证号",placeholder:"请输入身份证号"},model:{value:t.formApplay.card_id,callback:function(e){t.$set(t.formApplay,"card_id",e)},expression:"formApplay.card_id"}})],1),a("p",{staticClass:"agree"},[a("van-checkbox",{attrs:{"icon-size":"18px",shape:"square"},model:{value:t.isXy,callback:function(e){t.isXy=e},expression:"isXy"}},[t._v("已阅读并同意"),a("span",{staticClass:"hetong",on:{click:function(e){return e.stopPropagation(),t.go("/xieyi?key=c_part")}}},[t._v("《城市合伙人申请协议》")])])],1),a("van-button",{staticClass:"btn",attrs:{round:"",block:"",type:"danger"},on:{click:t.save}},[t._v(" 下一步 ")])],1)],1),a("div",{directives:[{name:"show",rawName:"v-show",value:2==t.step,expression:"step == 2"}],staticClass:"step2-page"},[a("div",{staticClass:"top"}),a("div",{staticClass:"content"},[a("p",{staticClass:"title"},[t._v("缴纳保证金")]),a("p",{staticClass:"des"},[t._v("申请成功城市合伙人需要缴纳"+t._s(t.money)+"元保证金(可退)")]),a("p",{staticClass:"money"},[t._v(" ¥"),a("span",[t._v(t._s(t.money))])]),a("van-button",{staticClass:"btn",attrs:{round:"",block:"",type:"danger"},on:{click:t.goPay}},[t._v(" 立即缴纳 ")])],1),a("van-action-sheet",{attrs:{actions:t.payTypeMaps},on:{select:t.selectPay},model:{value:t.isShowPayType,callback:function(e){t.isShowPayType=e},expression:"isShowPayType"}})],1)])},s=[],r=n("a34a"),i=n.n(r),o=n("11d4");function c(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){c(r,a,s,i,o,"next",t)}function o(t){c(r,a,s,i,o,"throw",t)}i(void 0)}))}}var l=n("18a0"),d={components:{},data:function(){return{step:1,pname:null,formApplay:{name:"",card_id:""},pay:null,isXy:!1,isShowPayType:!1,payTypeMaps:[{name:"微信支付"},{name:"其他方式"}],money:null,tStatus:!1,t:0}},computed:{},mounted:function(){var t=this;return u(i.a.mark((function e(){var n,a,s;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["d"])();case 2:n=e.sent,a=n.data,t.pname=a.tuijianren,s=t.$route.query.is_edit||0,t.t=t.$route.query.t||0,console.log(s),s&&t.getData();case 9:case"end":return e.stop()}}),e)})))()},methods:{getData:function(){var t=this;return u(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["e"])();case 2:n=e.sent,a=n.data,console.log(a.askfor),t.formApplay=a.askfor,t.fileList.push(t.formApplay.img);case 7:case"end":return e.stop()}}),e)})))()},goPay:function(){this.toPay()},selectPay:function(t){"微信支付"==t.name?this.toPay(this.pay):this.go("/step23")},showPayType:function(){this.isShowPayType=!0},checkIDCard:function(t){for(var e=[7,9,10,5,8,4,2,1,6,3,7,9,10,5,8,4,2],n=["1","0","X","9","8","7","6","5","4","3","2"],a=t+"",s=t[17],r=a.substring(0,17),i=r.split(""),o=i.length,c=0,u=0;u<o;u++)c+=i[u]*e[u];var l=c%11,d=n[l],p=/^[1-9][0-9]{5}([1][9][0-9]{2}|[2][0][0|1][0-9])([0][1-9]|[1][0|1|2])([0][1-9]|[1|2][0-9]|[3][0|1])[0-9]{3}([0-9]|[X])$/,f=p.test(t);return!(s!==d||!f)},save:function(){var t=this;return u(i.a.mark((function e(){return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(0!=t.isXy){e.next=3;break}return t.$notify("请同意城市合伙人协议"),e.abrupt("return");case 3:if(t.formApplay.name){e.next=6;break}return t.$notify("姓名不能为空"),e.abrupt("return");case 6:if(t.formApplay.card_id){e.next=9;break}return t.$notify("身份证不能为空"),e.abrupt("return");case 9:if(t.checkIDCard(t.formApplay.card_id)){e.next=12;break}return t.$notify("身份证不合法"),e.abrupt("return");case 12:t.loadMoney(),t.step=2;case 14:case"end":return e.stop()}}),e)})))()},loadMoney:function(){var t=this;return u(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["c"])();case 2:n=e.sent,a=n.data,t.money=a.money;case 5:case"end":return e.stop()}}),e)})))()},toPay:function(){var t=this;return u(i.a.mark((function e(){var n,a,s;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!t.tSatus){e.next=5;break}return t.$notify("已经提交,请勿重复提交!"),e.abrupt("return");case 5:t.tSatus=!0;case 6:return e.next=8,Object(o["a"])(t.formApplay);case 8:if(n=e.sent,a=n.code,s=n.data,t.tStatus=!1,2e3==a){e.next=15;break}return t.$notify("下单失败!"),e.abrupt("return");case 15:l.config({debug:!1,appId:"wx64edccf0a6405738",timestamp:s.timeStamp,nonceStr:s.nonceStr,signature:s.paySign,jsApiList:["chooseWXPay"]}),t.tStatus=!1,l.chooseWXPay({timestamp:s.timeStamp,nonceStr:s.nonceStr,package:s["package"],signType:s.signType,paySign:s.paySign,success:function(e){t.tStatus=!1,t.go("/pSuccess"),console.log(e)},fail:function(e){t.tStatus=!1,console.log(e),t.$toast("支付失败")}});case 18:case"end":return e.stop()}}),e)})))()},go:function(t){this.$router.push(t)}}},p=d,f=(n("bbc8"),n("2877")),v=Object(f["a"])(p,a,s,!1,null,"bbd29256",null);e["default"]=v.exports},e5ba:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAsCAYAAAAjFjtnAAAGZElEQVRoQ9VZfYgVVRQ/Z+a9Xa1UWNOn+UGWghoWJiZZmZZJYUUftH1AC5uyc++8WHFN0aIaQagow97umzuj7hYEhouSUklSsGihURCBS60ZouZHL7Vk19pd9d0T93GfvP1wd2b2Gev5c+ac372/+/k75yJc44aDtf9CiPkA8CYATAUAo1s/zyNiDWNs56Ak4Pv+YinlpwAQ72OA93PO5w46AqlUalQ8Hv8ZAG7so/NSz8AHg46A53nriahGd/4oIj5UUlJyrpBMLBb7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NQxjmmVZLVHxey2rCCHeA4AVGvSgYRgLLMtSN/WArKmpKdbS0tIAAC9qoF8459MHAtorAaXRDcNQScYNGrwVAD4DAKVao5rCWggAheliBef846iAuRVypWDXdRcj4jYAGDKQBq4Ui4hFSZ76rMzpaoXIp3vFIEJE5xBxHedc6f4BS5UeBNLp9GTDMB4DgBEAcKSjo2NHaWnpVES8o2BJReHSiYiH29ra9gwfPpyy2ewTpmlOISJVZd7FGFNLNrR1IeB53loiUld6rADpDBE9b9t2TugN1HzfnyOl3A4Ahdpf3fZ1mUxmedibv7AypzRQr8VUNUqGYcxkjB0aCAHf98dKKVXGlU9fu8Ah4uuMsXx+EKipQgJKiY7VUXsQcQ8RvQQA4/W3TZzzXL4Q1YQQjn73UhCnEVHlIEqFPqIxz7e3t4+uqalpD9pGjoDW5uqoVPrn9KVLlyZUV1d36oe2vMhq5pzPCArcm5/neVvUclT/EPEZxtg2fXEeBIDJOiZUUaEHAQA4M2TIkAmqNuO67kJdM1UNHmCM9fvg0BdBIcQWAMgTeI4xtlXnIUqZ3qJiTdO8q6qq6oegA1W4hNT1nt9Y3xmGsVdKWVGgTD3btnO5QlTzPO8NIlqrZ+AvAGiQUs5CxAUaszWTySQcxwle2Mp3pluBqXsfW4lopm3beQkciYMQYjQRNSNi/h2gCw4RrbZt+50w4N2P0TVEpDZaSQHIKURU0703DPCVfH3fv5OIthFRYQVQqV1Vj1od9nLrLR+YKKVUMkIVmw61tbV9vnLlytyTZrEslUqVlpSUqMfs6Yh4Tkr5ZTKZ/C0K/n+StXZLUjGXigAAAABJRU5ErkJggg=="},e5cd:function(t,e,n){"use strict";n("ef38")},e669:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"partner-page"},[n("div",{staticClass:"tabs-box"},[n("sapn",{class:0==t.type?"active tag":"tag",on:{click:function(e){return t.changeType(0)}}},[t._v("城市合伙人")]),n("sapn",{class:1==t.type?"active tag":"tag",on:{click:function(e){return t.changeType(1)}}},[t._v("代理商")])],1),n("div",{staticClass:"content",domProps:{innerHTML:t._s(t.body)}}),n("van-button",{staticClass:"btn",attrs:{block:"",type:"danger"},on:{click:t.gotoApplay}},[t._v(" 立即开通 ")])],1)},s=[],r=n("a34a"),i=n.n(r),o=n("121a"),c=n("11d4");function u(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function l(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){u(r,a,s,i,o,"next",t)}function o(t){u(r,a,s,i,o,"throw",t)}i(void 0)}))}}var d={components:{},data:function(){return{type:0,body:"",keys:["c_gvrp","s_gvrp"],vip:1,t:0}},mounted:function(){this.vip=this.$store.getters.userInfo.role_id||1,this.t=this.$route.query.t||0,this.load()},methods:{gotoApplay:function(){var t=this;return l(i.a.mark((function e(){var n,a,s,r;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!t.type){e.next=11;break}if(!(t.vip>=4)){e.next=4;break}return t.$notify("您已经是代理商,请勿重复申请!"),e.abrupt("return");case 4:return e.next=6,Object(c["e"])();case 6:n=e.sent,a=n.data,a.askfor?0==a.askfor.status||1==a.askfor.status?t.go("/progress?type=wait"):2==a.askfor.status&&(t.t?t.go("/step11?is_edit=1"):t.go("/pSuccess?type=fail&go=1&msg="+a.askfor.remark)):t.go("/step11"),e.next=22;break;case 11:if(!(t.vip>=4)){e.next=14;break}return t.$notify("您已经是代理商,请勿重复申请!"),e.abrupt("return");case 14:if(!(t.vip>=3)){e.next=17;break}return t.$notify("您已经是城市合伙人,请勿重复申请!"),e.abrupt("return");case 17:return e.next=19,Object(c["e"])();case 19:s=e.sent,r=s.data,r.askfor?0==r.askfor.status||1==r.askfor.status?t.go("/progress?type=wait"):2==r.askfor.status&&t.go("/step1?is_edit=1"):t.go("/step1");case 22:case"end":return e.stop()}}),e)})))()},changeType:function(t){this.type=t,this.load()},load:function(){var t=this;return l(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["a"])(t.keys[t.type]);case 2:n=e.sent,a=n.data,t.body=a.value,console.log(a);case 6:case"end":return e.stop()}}),e)})))()},go:function(t){this.$router.push(t)}}},p=d,f=(n("91ff"),n("2877")),v=Object(f["a"])(p,a,s,!1,null,null,null);e["default"]=v.exports},e692:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return o}));var a=n("4328"),s=n.n(a),r=n("b775");function i(t){return Object(r["a"])({url:"salesroom/index",method:"post",data:s.a.stringify(t),hideloading:!0})}function o(t){var e={id:t};return Object(r["a"])({url:"salesroom/show",method:"post",data:s.a.stringify(e),hideloading:!0})}},e8c9:function(t,e,n){},e943:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"search-page"},[n("van-search",{attrs:{shape:"round","show-action":"",placeholder:"请输入搜索关键词"},on:{search:t.onSearch,cancel:t.onCancel},model:{value:t.keyWord,callback:function(e){t.keyWord=e},expression:"keyWord"}}),t.is_show?t._e():n("div",{staticClass:"history"},[n("div",{staticClass:"h-box"},[n("p",{staticClass:"name"},[n("span",[t._v("历史记录")]),n("van-icon",{staticClass:"del",attrs:{name:"delete"},on:{click:t.delH}})],1),n("p",{staticClass:"body"},[t.history.length?t._e():n("van-empty",{attrs:{description:"暂无历史记录"}}),t._l(t.history,(function(e){return n("van-button",{key:e,staticClass:"btn",attrs:{round:"",size:"mini"},on:{click:function(n){return t.onSearch(e.search_value)}}},[t._v(t._s(e.search_value))])}))],2)])]),t.is_show&&!t.goods.length?n("van-empty",{attrs:{description:"没有找到相关商品信息"}}):t._e(),t.is_show&&t.goods.length?[n("div",{staticClass:"divider-box"}),n("van-tabs",{staticClass:"sort",on:{click:t.changeMoney},model:{value:t.sort_index,callback:function(e){t.sort_index=e},expression:"sort_index"}},[n("van-tab",{attrs:{name:"id",title:"综合排序"},scopedSlots:t._u([{key:"title",fn:function(){return[t._v("综合排序 "),"id"==t.heder.sort?["desc"==t.heder.desc?n("van-icon",{attrs:{size:"13",name:"arrow-down"}}):t._e(),"asc"==t.heder.desc?n("van-icon",{attrs:{size:"13",name:"arrow-up"}}):t._e()]:t._e()]},proxy:!0}],null,!1,864772957)}),n("van-tab",{attrs:{name:"sales_num",title:"销量排序"},scopedSlots:t._u([{key:"title",fn:function(){return[t._v("销量排序 "),"sales_num"==t.heder.sort?["desc"==t.heder.desc?n("van-icon",{attrs:{size:"13",name:"arrow-down"}}):t._e(),"asc"==t.heder.desc?n("van-icon",{attrs:{size:"13",name:"arrow-up"}}):t._e()]:t._e()]},proxy:!0}],null,!1,1878647562)}),n("van-tab",{attrs:{name:"money",title:"价格排序"},scopedSlots:t._u([{key:"title",fn:function(){return[t._v("价格排序 "),"money"==t.heder.sort?["desc"==t.heder.desc?n("van-icon",{attrs:{size:"13",name:"arrow-down"}}):t._e(),"asc"==t.heder.desc?n("van-icon",{attrs:{size:"13",name:"arrow-up"}}):t._e()]:t._e()]},proxy:!0}],null,!1,311428671)})],1),n("van-list",{attrs:{finished:t.lists_finished,"finished-text":"没有更多了"},on:{load:t.getGoods},model:{value:t.lists_loading,callback:function(e){t.lists_loading=e},expression:"lists_loading"}},t._l(t.goods,(function(e){return n("van-card",{key:e,staticClass:"card",attrs:{price:e.money,"origin-price":e.retail_price,title:"五粮液股份52醇香型五粮液股份",thumb:e.images[0]},on:{click:function(n){return t.toGood(e.id)}},scopedSlots:t._u([{key:"title",fn:function(){return[n("p",{staticClass:"title"},[t._v(t._s(e.item_name))])]},proxy:!0},{key:"tags",fn:function(){return[n("p",{staticClass:"tags"},[1==t.vip?n("van-tag",{attrs:{round:"",type:"warning"}},[t._v("零售价")]):t._e(),2==t.vip?n("van-tag",{attrs:{round:"",type:"warning"}},[t._v("会员价")]):t._e(),3==t.vip?n("van-tag",{attrs:{round:"",type:"warning"}},[t._v("城市合伙人价")]):t._e(),4==t.vip?n("van-tag",{attrs:{round:"",type:"warning"}},[t._v("代理商价")]):t._e()],1)]},proxy:!0},{key:"footer",fn:function(){return[n("div",{staticClass:"number"},[n("span",[t._v("销售:"+t._s(e.sales_num)+"件")]),n("span",[t._v("仅剩:"+t._s(e.stock_num)+"件")])])]},proxy:!0}],null,!0)})})),1)]:t._e(),n("div",{staticClass:"body"})],2)},s=[],r=n("a34a"),i=n.n(r),o=n("5a4a"),c=n("c24f"),u=n("121a");function l(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function d(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){l(r,a,s,i,o,"next",t)}function o(t){l(r,a,s,i,o,"throw",t)}i(void 0)}))}}var p=n("18a0"),f={components:{},data:function(){return{keyWord:"",heder:{page:1,search:"",desc:"desc",sort:"id"},old_sort:"id",goods:[],lists_loading:!1,lists_finished:!1,lists_nums:0,is_empty:!1,sort_index:0,vip:1,is_show:!1,history:[]}},computed:{},mounted:function(){this.vip=this.$store.getters.userInfo.role_id||1,this.loadHistory(),this.share()},methods:{delH:function(){var t=this;return d(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.history.length){e.next=3;break}return t.$notify("无历史记录"),e.abrupt("return");case 3:return e.next=5,Object(c["A"])();case 5:n=e.sent,a=n.code,2e3==a&&(t.$toast("删除成功"),t.history=[]);case 8:case"end":return e.stop()}}),e)})))()},loadHistory:function(){var t=this;return d(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(c["B"])();case 2:n=e.sent,a=n.data,t.history=a;case 5:case"end":return e.stop()}}),e)})))()},searchGood:function(t){this.$router.push("/search?keyword="+t)},changeMoney:function(t){if(this.goods=[],this.heder.page=1,this.sort_index!=this.old_sort)return this.old_sort=this.sort_index,this.heder.desc="desc",this.heder.sort=t,void this.getGoods();switch(this.heder.sort=t,this.heder.desc){case null:this.heder.desc="desc";break;case"desc":this.heder.desc="asc";break;case"asc":this.heder.desc="desc"}this.getGoods()},onSearch:function(){var t=arguments,e=this;return d(i.a.mark((function n(){var a;return i.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:a=t.length>0&&void 0!==t[0]&&t[0],a&&(e.keyWord=a),e.heder.page=1,e.heder.search=e.keyWord,e.goods=[],e.getGoods();case 6:case"end":return n.stop()}}),n)})))()},getGoods:function(){var t=this;return d(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.heder.search=t.keyWord,e.next=3,Object(o["d"])(t.heder);case 3:n=e.sent,a=n.data,t.goods=t.goods.concat(a.data),t.is_show=!0,t.lists_nums=a.count,t.lists_nums<=t.goods.length?t.lists_finished=!0:t.heder.page+=1,t.lists_loading=!1;case 10:case"end":return e.stop()}}),e)})))()},toGood:function(t){this.$router.push("/good?id="+t)},onCancel:function(){this.keyWord=""},share:function(){var t=this;return d(i.a.mark((function e(){var n,a,s;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["b"])(["updateAppMessageShareData","updateTimelineShareData"]);case 2:n=e.sent,a=n.data,console.log(t.$store.getters.userInfo.id,"this.$store.getters.userInfo.id"),s=t.$store.getters.userInfo.id,p.config({debug:!1,appId:a.appId,timestamp:a.timestamp,nonceStr:a.nonceStr,signature:a.signature,jsApiList:a.jsApiList}),p.ready((function(){var t=Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_TITLE||"杰安易购商城",e=Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_DESC||"杰安易购商城",n=(Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_LINK||"http://h5.jiean91.cn")+"?pid="+s,a=Object({NODE_ENV:"production",VUE_APP_ENV:"production",VUE_APP_WECHAT_APP_ID:"wx64edccf0a6405738",BASE_URL:""}).WECHAT_SHARE_IMG||"http://admin.jiean91.cn/upload/20230403/0bbf8f28376ee8782f9d990d8a5307b5.png";p.updateAppMessageShareData({title:t,desc:e,link:n,imgUrl:a,success:function(){console.log("分享成功")}}),p.updateTimelineShareData({title:t,desc:e,link:n,imgUrl:a,success:function(){console.log("分享成功")}})}));case 8:case"end":return e.stop()}}),e)})))()}}},v=f,h=(n("810c"),n("2877")),m=Object(h["a"])(v,a,s,!1,null,"3a66694e",null);e["default"]=m.exports},eb63:function(t,e,n){"use strict";n("7034")},eb98:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"oilList_content"},[a("div",{staticClass:"tab"},[a("van-tabs",{on:{click:t.change}},[a("van-tab",{attrs:{title:"充值成功"}}),a("van-tab",{attrs:{title:"充值中"}}),a("van-tab",{attrs:{title:"充值失败"}})],1)],1),a("div",{staticClass:"list"},[0==t.list?a("van-empty",{attrs:{description:"暂无记录!"}}):t._e(),t._l(t.list,(function(e,s){return a("div",{key:s,staticClass:"item"},[a("dit",{staticClass:"top"},[a("span",[t._v("订单号:"+t._s(e.order_number))]),a("div",{staticClass:"top_right"},[a("img",{attrs:{src:n("41ff"),alt:""}}),a("span",[t._v(t._s(e.create_time))])])]),a("div",{staticClass:"center"},[a("div",{staticClass:"num"},[t._v(" 面值:"),a("span",[t._v("¥ "+t._s(e.price))])]),a("div",{directives:[{name:"show",rawName:"v-show",value:!e.status,expression:"!item.status"}],staticClass:"status"},[t._v("充值中")]),a("div",{directives:[{name:"show",rawName:"v-show",value:1==e.status,expression:"item.status == 1"}],staticClass:"status status1"},[t._v("充值成功")]),a("div",{directives:[{name:"show",rawName:"v-show",value:2==e.status,expression:"item.status == 2"}],staticClass:"status status2"},[t._v("充值失败")])]),a("div",{staticClass:"bottom"},[t._v("充值卡号:"+t._s(e.card_id))])],1)}))],2)])},s=[],r=n("a34a"),i=n.n(r),o=n("fa1c");function c(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){c(r,a,s,i,o,"next",t)}function o(t){c(r,a,s,i,o,"throw",t)}i(void 0)}))}}var l={components:{},props:{},data:function(){return{active:1,list:[]}},watch:{},computed:{},methods:{getList:function(){var t=this;return u(i.a.mark((function e(){var n,a,s;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n={status:t.active,users_id:t.$store.getters.userInfo.id},e.next=3,Object(o["a"])(n);case 3:a=e.sent,s=a.data,t.list=s,console.log(s,n,"-----------");case 7:case"end":return e.stop()}}),e)})))()},change:function(t,e){"充值中"==e?this.active=0:"充值成功"==e?this.active=1:"充值失败"==e&&(this.active=2),this.getList(),console.log(t,e,"-------")}},created:function(){this.getList()},mounted:function(){}},d=l,p=(n("44b7"),n("2877")),f=Object(p["a"])(d,a,s,!1,null,"cbf46c7a",null);e["default"]=f.exports},ebb3:function(t,e,n){t.exports=n.p+"static/img/hehuoren.5f75c944.png"},ec33:function(t,e,n){"use strict";n("f5d0")},ef38:function(t,e,n){},efdc:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"customer-page"},[t.customers.length?t._l(t.customers,(function(e){return n("div",{key:e,staticClass:"customer mt10"},[n("div",{staticClass:"top"},[n("van-image",{staticClass:"img",attrs:{round:"",src:e.header_img}}),n("span",{staticClass:"name"},[t._v(t._s(e.username))]),n("span",{staticClass:"role"},[t._v(t._s(e.role_name))])],1),n("div",{staticClass:"body"},[n("div",{staticClass:"item"},[n("p",{staticClass:"labal"},[t._v("累计消费")]),n("p",{staticClass:"value fb"},[t._v("¥"+t._s(e.sale_m))])]),n("div",{staticClass:"item"},[n("p",{staticClass:"labal"},[t._v("推荐人")]),n("p",{staticClass:"value"},[t._v(t._s(t.user.username))])]),n("div",{staticClass:"item"},[n("p",{staticClass:"labal"},[t._v("手机号")]),n("p",{staticClass:"value"},[t._v(t._s(e.mobile))])]),n("div",{staticClass:"item"},[n("p",{staticClass:"labal"},[t._v("推荐绑定时间")]),n("p",{staticClass:"value"},[t._v(t._s(e.create_time.split(" ")[0]))])])])])})):n("van-empty",{staticClass:"empty",attrs:{description:"暂无下级"}})],2)},s=[],r=n("a34a"),i=n.n(r),o=n("c24f");function c(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){c(r,a,s,i,o,"next",t)}function o(t){c(r,a,s,i,o,"throw",t)}i(void 0)}))}}var l={components:{},data:function(){return{customers:[],user:{username:""}}},computed:{},mounted:function(){var t=this;return u(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["x"])();case 2:n=e.sent,a=n.data,t.customers=a,t.loadUser();case 6:case"end":return e.stop()}}),e)})))()},filters:{formatDate:function(t,e){var n=new Date(t);/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(n.getFullYear()+"").substr(4-RegExp.$1.length)));var a={"M+":n.getMonth()+1,"d+":n.getDate(),"h+":n.getHours(),"m+":n.getMinutes(),"s+":n.getSeconds()};for(var s in a)if(new RegExp("(".concat(s,")")).test(e)){var r=a[s]+"";e=e.replace(RegExp.$1,1===RegExp.$1.length?r:("00"+r).substr(r.length))}return e}},methods:{loadUser:function(){var t=this;return u(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["J"])();case 2:n=e.sent,a=n.data,t.user=a;case 5:case"end":return e.stop()}}),e)})))()},padLeftZero:function(t){return("00"+t).substr(t.length)},go:function(){this.$router.push("/good")},onLoad:function(){var t=this;setTimeout((function(){for(var e=0;e<10;e++)t.list.push(t.list.length+1);t.loading=!1,t.list.length>=40&&(t.finished=!0)}),1e3)}}},d=l,p=(n("cdb0"),n("2877")),f=Object(p["a"])(d,a,s,!1,null,"2a80bb62",null);e["default"]=f.exports},f1e6:function(t,e,n){},f283:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAsCAYAAAAjFjtnAAAHcElEQVRoQ9VZW2xURRj+/7NbECrRlLLbbqmGwAOUgNa2FApttwVKsdRCDIn6YGIgJASNERIDRCNG4iUKiUpQAkYTH3zBCIkYuUhbKS2lW8TutiXSNBLk1u1lqQVsuzu/OWfOnNuebXeXPpRN2j1nzpyZ7/vn+y8zi/CIf3Cy4g/me70E+B4BzAdEyYSTaMgBsD3dV3t8UhIILimrYgx+AoCU2AbGJrfvbNGkI3Art3gWOpwdCJAeEzwBQ4m2u1rqPp90BO7kl+0DgO0q+GsYjqyehhQykrkXmXY/o+3UPbltUhHoz1v1xChGbgBAqgKYpA3u1t+OjeWnk4pAT/7KbQTsAAdMfrevbvF4QWZSEbiTX94IQMsU0Ajb3C21Bx8ZAn0FJdlhkq4BIALQ6NThsPtJf8NAQgT6SmqyEekNAKgAoiwgcCiLCaQ4CxHJ//gCg36ttSnP+VPeialf4l7+5tdMHUd5V/6TpCkoSVz7QE1uX13ReOBNThwqW/8iY/QtEc1QJhFABGDjhDJ8FRO/kO+NIBW2BqLiXqGtPRPvKo2SBCjxfIVEu1ytdR/HTWCgbEMpMXaagFK4RVQbW0EJ4LZkDARMpM2rYlxFYSi5TXI6uXpkAmHKdV2uuxw3gX5vTYAYLTRaXh5Uk43Bapp0NLyM9zOtmio3u/dEm2VlZeujwyHLrtvdWj83HvAK2bul1QVhwouq9vSlt1iZ44tXWsZ+dqvJn+ty0vtLgJ+6286/HTeBPm/NZmB0mI+o6tZGz3bg5f7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4E9AwRcUvLBFGMgn+LwWpQBRIxQIuIBRNQeCDgsEevGlJF6d8rTNJAK6wEgB5DupjDHiRnnjnckQ8aUyAaKq98npN1E4BQFGiL0EuDL6Q0nziQzgfWduytqCsMS+1E5+VODABIwQDqQ1vDLW6hRj282jUB/cdVWIjhoPPfRr+keEeW6mk9fjW9Y+17B4jWZEjkDBJQmHF8L1aScL72bfuHU3kTm4BsaAKl/+dp/GFGmpnXjEQh3usOzms9sSWRwa9/e5c9/CES7tGIxasdGQ8OO+67spqYH8c6jELhTtHauRKzLVNeLGl8lgkABl692UbwD2/ULLqusA2KlPMKqZYglwTkAC9N9Z9WDtvFnUwiEllTMGUHWzQmoa6JuOoSMEMDvvlQ/7g8OY00ZLFxdS0Te6JJcP1RzMliSfrm+ZXzovIeQEAYLyq8TP1I37XP10wX4OvPPc1vjHdiuX09B+QdE9I7IGcJgupFo8EHI6U7oYEtM1JPv3cQYHbHKSD2/H5RAynX7G7ofhsDtxRUucA4HgGBWtB8QIMHOTH/jJ4nMYQqjt58t3kXE9gDBFM0qBLcI8SWPv/H3RAaO1Te4uPi5iARHidgcw944goD7MvyNOxNNblG/kd3MWf4UOqkKIzATkF0F6f7PGW1tyk+aE/W5Om/e1NRUdxUwykGgUJjBr9ntTV3JjP8/xy4ohwvBS7IAAAAASUVORK5CYII="},f57a:function(t,e,n){"use strict";n("739d")},f5d0:function(t,e,n){},f628:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAFGUlEQVRYR72YXWwUVRTHf2e2oFgxogVFeDGmIcEEA92CYowaITG+oESEUGICxA9CUEBSAqR0ARGrgfKRRvwgNCGLCEJ4JdXIk0p3WwgmmBB8MkbAYgy2kNbuHHNnu6W7M7Nzp63O4+655/zu/3zcOyOM0jPjlE4aIyx2hKWqPAAcdR3SnQvkykhCyEgWzzijlXf18LK61CHMByqK/AmK0q6Q/kf46uJCuR43XmzA577Tiu4u5ouyTGEBQiU6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Me8Xl7mZ3abJ8k9onyY36AJVzCUzr8L/8Ag0ZnbL9qGhyg6SmvW6UVw+9G0j6rAvRLCtYWPn8GV2j/maIUWrIiddzbu6VRjoxjAVbUFC1otwvPJ+6gqvB9YKFgxr1+gqhX3AGO83WwUtykJgf+Yq6zkhuSDzSAWHQD7ruqQFpvgcxT0S1ZwzdDsOazIHpLXcPqwBjZPZq/VBV2lBWWwhjt/kzka+dxyWt7fkv2CNGmDBUfItfUlhr1ByjS9V0q9sl0JDx2Q+IyVuFFzZMRO1ePoiHVs5gbdV2Qw8VGTvB+tR4UCuj6YLrfJXlO/YTVLO4VPrdFz/37yh6r21PVpiewPhYC7HvvOH5Y84YAXbWDVYNsAiTdTeh0m9+cQxQZTWim6O/XBCbg8HrLDmX2TQ5Tjhj4vnAAAAAElFTkSuQmCC"},f655:function(t,e,n){t.exports=n.p+"static/img/vip_bg.52a82296.png"},f700:function(t,e,n){},f7ab:function(t,e,n){"use strict";n("b648")},f85f:function(t,e,n){},f8b7:function(t,e,n){"use strict";n.d(e,"i",(function(){return i})),n.d(e,"h",(function(){return o})),n.d(e,"d",(function(){return c})),n.d(e,"l",(function(){return u})),n.d(e,"p",(function(){return l})),n.d(e,"o",(function(){return d})),n.d(e,"c",(function(){return p})),n.d(e,"j",(function(){return f})),n.d(e,"a",(function(){return v})),n.d(e,"n",(function(){return h})),n.d(e,"e",(function(){return m})),n.d(e,"g",(function(){return g})),n.d(e,"f",(function(){return b})),n.d(e,"m",(function(){return A})),n.d(e,"k",(function(){return _})),n.d(e,"b",(function(){return y})),n.d(e,"q",(function(){return w}));var a=n("4328"),s=n.n(a),r=n("b775");function i(t){return Object(r["a"])({url:"order/list",method:"post",data:s.a.stringify(t),hideloading:!0})}function o(t){var e={id:t};return console.log(e),Object(r["a"])({url:"order/detail",method:"post",data:s.a.stringify(e),hideloading:!0})}function c(t){return Object(r["a"])({url:"order/create",method:"post",data:s.a.stringify(t),hideloading:!0})}function u(t){var e={id:t};return Object(r["a"])({url:"order/pay",method:"post",data:s.a.stringify(e),hideloading:!0})}function l(t){var e={id:t};return Object(r["a"])({url:"order/confirm",method:"post",data:s.a.stringify(e),hideloading:!0})}function d(t){var e={id:t};return Object(r["a"])({url:"order/affirm",method:"post",data:s.a.stringify(e),hideloading:!0})}function p(t){return Object(r["a"])({url:"order/abolish",method:"post",data:s.a.stringify(t),hideloading:!0})}function f(t){return Object(r["a"])({url:"logistics/detail",method:"post",data:s.a.stringify(t),hideloading:!0})}function v(t){return Object(r["a"])({url:"order/bill",method:"post",data:s.a.stringify(t),hideloading:!0})}function h(t){return Object(r["a"])({url:"order/exchange",method:"post",data:s.a.stringify(t),hideloading:!0})}function m(t){return Object(r["a"])({url:"personal/exchange_edit",method:"post",data:s.a.stringify(t),hideloading:!0})}function g(t){return Object(r["a"])({url:"personal/exchange_edit?id="+t,method:"get",hideloading:!0})}function b(t){var e={id:t};return Object(r["a"])({url:"personal/exchange_cancel",method:"post",data:s.a.stringify(e),hideloading:!0})}function A(t){return Object(r["a"])({url:"goods/appraise_add",method:"post",data:s.a.stringify(t),hideloading:!0})}function _(t){var e={id:t};return Object(r["a"])({url:"qrcode/order",method:"post",data:s.a.stringify(e),hideloading:!0})}function y(t){return Object(r["a"])({url:"order/get_hx_detail",method:"post",data:s.a.stringify(t),hideloading:!0})}function w(t){return Object(r["a"])({url:"order/hx",method:"post",data:s.a.stringify(t),hideloading:!0})}},f912:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"index-page"},[t.bills.length?t._e():n("van-empty",{staticClass:"empty",attrs:{description:"暂无银行卡"}}),t._l(t.bills,(function(e,a){return t.bills.length?n("div",{key:a,staticClass:"invoice mt10",on:{click:function(n){return t.goRefund(e.id)}}},[n("p",{staticClass:"name"},[t._v(" "+t._s(e.bank_name)),n("van-tag",{staticClass:"tag",attrs:{type:"primary"}},[t._v(t._s(e.username))])],1),n("p",{staticClass:"no"},[t._v(t._s(e.bank_account))]),n("div",{staticClass:"btn-box"},[n("span",{on:{click:function(n){return n.stopPropagation(),t.addInvoice(e.id)}}},[n("van-icon",{staticClass:"icon",attrs:{name:"edit"}}),t._v("编辑")],1),n("span",{on:{click:function(n){return n.stopPropagation(),t.delInvoice(e.id,a)}}},[n("van-icon",{staticClass:"icon",attrs:{name:"delete"}}),t._v("删除")],1)])]):t._e()})),n("div",{staticClass:"btn"},[n("van-button",{attrs:{round:"",block:"",type:"danger"},on:{click:function(e){return t.addInvoice()}}},[t._v(" 新增银行卡 ")])],1)],2)},s=[],r=n("a34a"),i=n.n(r),o=n("c24f");function c(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){c(r,a,s,i,o,"next",t)}function o(t){c(r,a,s,i,o,"throw",t)}i(void 0)}))}}var l={components:{},data:function(){return{back_order:!1,bills:[]}},computed:{},mounted:function(){var t=this.$route.query.is_refund;t&&(this.back_order=!0),this.getBills()},methods:{goRefund:function(t){this.back_order&&this.go("/refund?bank_id="+t)},delInvoice:function(t,e){var n=this;this.$dialog.confirm({title:"注意",message:"您是否要删除?"}).then(u(i.a.mark((function a(){var s,r;return i.a.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,Object(o["g"])(t);case 2:s=a.sent,r=s.code,2e3==r&&(n.$toast("删除成功"),n.bills.splice(e,1));case 5:case"end":return a.stop()}}),a)}))))["catch"]((function(){}))},addInvoice:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t?this.go("/editBank?id="+t):this.go("/editBank")},getBills:function(){var t=this;return u(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["n"])();case 2:n=e.sent,a=n.data,t.bills=a;case 5:case"end":return e.stop()}}),e)})))()},go:function(t){this.$router.push(t)}}},d=l,p=(n("0e0d"),n("2877")),f=Object(p["a"])(d,a,s,!1,null,"e225337c",null);e["default"]=f.exports},f950:function(t,e,n){t.exports=n.p+"static/img/shengji.59b8a368.png"},f9ef:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"good-page"},[a("van-tabs",{on:{click:t.changeTabs},model:{value:t.tab_index,callback:function(e){t.tab_index=e},expression:"tab_index"}},[a("van-tab",{attrs:{title:"商品介绍"}},[a("van-swipe",{staticClass:"bannar",attrs:{autoplay:3e3,"indicator-color":"white"}},t._l(t.good.images,(function(t,e){return a("van-swipe-item",{key:e},[a("img",{attrs:{width:"100%",height:"100%",src:t,fit:"fill"}})])})),1),a("div",{staticClass:"good-box mt10"},[a("div",{staticClass:"name"},[t._v(t._s(t.good.item_name))]),a("div",{staticClass:"money-box mt10"},[2==t.vip?a("span",{staticClass:"retail-price"},[t._v("会员价:¥"),a("b",[t._v(t._s(t.good.money))])]):t._e(),3==t.vip?a("span",{staticClass:"retail-price"},[t._v("城市合伙人价:¥"),a("b",[t._v(t._s(t.good.money))])]):t._e(),4==t.vip?a("span",{staticClass:"retail-price"},[t._v("代理商价:¥"),a("b",[t._v(t._s(t.good.money))])]):t._e(),t.vip>1?a("span",{staticClass:"divider"},[t._v("|")]):t._e(),a("span",{staticClass:"retail-price"},[t._v("零售价:¥"),a("b",[t._v(t._s(t.good.retail_price))])]),a("span",{staticClass:"share-box",on:{click:t.showOverlay}},[a("van-image",{staticClass:"jiantou",attrs:{width:"20",height:"20",src:n("2671")}}),a("p",[t._v("分享")])],1)]),a("div",{staticClass:"number mt10"},[a("span",[t._v("销量:"+t._s(t.good.sales_num)+"件")]),a("span",[t._v("库存"+t._s(t.good.stock_num)+"件")])])]),1==t.vip?a("van-cell",{staticClass:"vip",scopedSlots:t._u([{key:"title",fn:function(){return[a("van-icon",{staticClass:"icon",attrs:{size:"20",name:"gem"}}),a("span",[t._v("VIP会员"+t._s(t.good.m_price)+"元,立减"+t._s((t.good.retail_price-t.good.m_price).toFixed(2))+"元")])]},proxy:!0},{key:"right-icon",fn:function(){return[a("van-button",{staticClass:"btn",attrs:{plain:"",round:"",size:"mini",color:"#FF9933",type:"info"},on:{click:function(e){return t.go("/vip")}}},[t._v("点击查看")])]},proxy:!0}],null,!1,2039606549)}):t._e(),a("div",{staticClass:"divider-box"}),a("van-cell",{staticClass:"server",attrs:{title:"服务","is-link":""},on:{click:t.showServer},scopedSlots:t._u([{key:"default",fn:function(){return[a("span",{staticClass:"qitian"},[t._v("七天退货,正品保障")])]},proxy:!0}])}),a("van-action-sheet",{attrs:{title:"服务说明"},model:{value:t.showServers,callback:function(e){t.showServers=e},expression:"showServers"}},[a("van-cell",{attrs:{title:"七天退换",icon:n("f628"),label:"杰安易购商城支持7天无理由退换货"}}),a("van-cell",{attrs:{title:"正品保证",icon:n("fd15"),label:"杰安易购商城保证平台所售商品均为正品,假一赔十"}})],1),a("div",{staticClass:"divider-box"}),a("van-cell",{staticClass:"specifications",attrs:{title:"商品规格","is-link":""},on:{click:t.controlShowSku},scopedSlots:t._u([{key:"default",fn:function(){return[a("span",{staticClass:"look"},[t._v("查看")])]},proxy:!0}])}),a("div",{staticClass:"divider-box"}),a("div",{staticClass:"content"},[a("div",{staticClass:"title"},[t._v("商品介绍")]),a("div",{staticClass:"body",domProps:{innerHTML:t._s(t.good.describe)}})]),a("div",{staticClass:"divider-box"}),a("div",{staticClass:"appraise-box"},[a("div",{staticClass:"title"},[t._v("商品评价")]),t.good_is_appraise?a("div",{staticClass:"body"},[t._l(t.good.appraises,(function(e,n){return a("div",{key:n},[e.users?a("div",[a("div",{staticClass:"user-box"},[a("van-cell",{attrs:{center:"",title:e.users.username,label:e.create_time},scopedSlots:t._u([{key:"icon",fn:function(){return[a("van-image",{staticStyle:{"margin-right":"10px"},attrs:{round:"",width:"40px",height:"40px",src:e.users.header_img}})]},proxy:!0},{key:"default",fn:function(){return[a("van-rate",{attrs:{size:"15",readonly:""},model:{value:e.star,callback:function(n){t.$set(e,"star",n)},expression:"appraise.star"}})]},proxy:!0}],null,!0)})],1),a("div",{staticClass:"appraise-content"},[t._v(t._s(e.content))]),a("van-grid",{attrs:{border:!1,gutter:10,"column-num":3}},t._l(e.img,(function(e){return a("van-grid-item",{key:e},[e?a("van-image",{attrs:{src:e}}):t._e()],1)})),1)],1):t._e()])})),t.good_is_appraise?a("div",{staticClass:"more fb"},[a("span",{on:{click:t.changeTag}},[t._v("查看更多")]),a("van-icon",{staticClass:"icon",attrs:{name:"arrow"}})],1):t._e()],2):t._e(),t.good_is_appraise?t._e():a("div",{staticClass:"body"},[a("van-empty",{attrs:{description:"暂无评论"}})],1)])],1),a("van-tab",{attrs:{title:"商品评价"}},[a("div",{staticClass:"tags"},[a("van-button",{staticClass:"btn",attrs:{round:"",plain:"all"!=t.heder.type,size:"mini",type:"all"==t.heder.type?"info":"default"},on:{click:function(e){return t.reLoadA("all")}}},[t._v("全部("+t._s(t.appraisesTypes.all)+")")]),a("van-button",{staticClass:"btn",attrs:{round:"",size:"mini",plain:"good"!=t.heder.type,type:"good"==t.heder.type?"info":"default"},on:{click:function(e){return t.reLoadA("good")}}},[t._v("好评("+t._s(t.appraisesTypes.good)+")")]),a("van-button",{staticClass:"btn",attrs:{round:"",size:"mini",plain:"ordinary"!=t.heder.type,type:"ordinary"==t.heder.type?"info":"default"},on:{click:function(e){return t.reLoadA("ordinary")}}},[t._v("中评("+t._s(t.appraisesTypes.ordinary)+")")]),a("van-button",{staticClass:"btn",attrs:{round:"",size:"mini",plain:"wrong"!=t.heder.type,type:"wrong"==t.heder.type?"info":"default"},on:{click:function(e){return t.reLoadA("wrong")}}},[t._v("差评("+t._s(t.appraisesTypes.wrong)+")")]),a("van-button",{staticClass:"btn",attrs:{round:"",size:"mini",plain:"img"!=t.heder.type,type:"img"==t.heder.type?"info":"default"},on:{click:function(e){return t.reLoadA("img")}}},[t._v("有图("+t._s(t.appraisesTypes.img)+")")])],1),t.appraises.length?[a("van-list",{attrs:{finished:t.lists_finished,"finished-text":"没有更多了"},on:{load:t.loadAppraises},model:{value:t.lists_loading,callback:function(e){t.lists_loading=e},expression:"lists_loading"}},[a("div"),t._l(t.appraises,(function(e){return a("div",{key:e,staticClass:"appraise"},[e.users?a("div",[a("div",{staticClass:"user-box"},[a("van-cell",{attrs:{center:"",title:e.users.username,label:"2020-11-05"},scopedSlots:t._u([{key:"icon",fn:function(){return[a("van-image",{staticStyle:{"margin-right":"10px"},attrs:{round:"",width:"40px",height:"40px",src:e.users.header_img}})]},proxy:!0},{key:"default",fn:function(){return[a("van-rate",{attrs:{size:"15",readonly:""},model:{value:e.star,callback:function(n){t.$set(e,"star",n)},expression:"item.star"}})]},proxy:!0}],null,!0)})],1),a("div",{staticClass:"appraise-content"},[t._v(t._s(e.content))]),a("van-grid",{attrs:{border:!1,gutter:10,"column-num":3}},t._l(e.img,(function(e){return a("van-grid-item",{key:e},[e?a("van-image",{attrs:{src:e}}):t._e()],1)})),1)],1):t._e()])}))],2)]:t._e(),t.appraises.length?t._e():a("van-empty",{attrs:{description:"暂无评论"}})],2)],1),a("van-overlay",{attrs:{show:t.showOverlayStatus}},[a("div",{staticClass:"wrapper",on:{click:function(e){return e.stopPropagation(),t.closeOverlay.apply(null,arguments)}}},[a("van-image",{staticClass:"jiantou",attrs:{width:"100",height:"100",src:n("5743")}}),a("div",{staticClass:"title"},[t._v("点击右上角分享给好友,邀请好友一起购买")])],1)]),a("van-sku",{ref:"sku",attrs:{sku:t.skus,goods:t.goods},on:{"sku-selected":t.selectSku,"add-cart":t.addCard,"buy-clicked":t.nowBuy},model:{value:t.is_show_sku_status,callback:function(e){t.is_show_sku_status=e},expression:"is_show_sku_status"}}),a("van-goods-action",[a("van-goods-action-icon",{attrs:{icon:"shop-o",text:"首页"},on:{click:function(e){return t.go("/home")}}}),t.cards_nunms?a("van-goods-action-icon",{attrs:{icon:"cart-o",badge:t.$store.getters.count||"",text:"购物车"},on:{click:function(e){return t.go("/shopping")}}}):t._e(),t.cards_nunms?t._e():a("van-goods-action-icon",{attrs:{icon:"cart-o",text:"购物车"},on:{click:function(e){return t.go("/shopping")}}}),t.good.has_collect?a("van-goods-action-icon",{attrs:{icon:"star",text:"已收藏",color:"#ff5000"},on:{click:t.cacalshoucang}}):t._e(),t.good.has_collect?t._e():a("van-goods-action-icon",{attrs:{icon:"star-o",text:"收藏"},on:{click:t.shoucang}}),a("van-goods-action-button",{attrs:{type:"warning",text:"加入购物车"},on:{click:t.addCard}}),a("van-goods-action-button",{attrs:{type:"danger",text:"立即购买"},on:{click:t.nowBuy}})],1)],1)},s=[],r=n("a34a"),i=n.n(r),o=n("5a4a"),c=n("8d49"),u=n("c24f"),l=n("121a");function d(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function p(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){d(r,a,s,i,o,"next",t)}function o(t){d(r,a,s,i,o,"throw",t)}i(void 0)}))}}var f=n("18a0"),v={components:{},data:function(){return{id:0,good:null,appraises:[],appraisesTypes:[],tab_index:0,cards_nunms:0,is_show_sku_status:!1,showOverlayStatus:!1,skus:{tree:[{k:"规格",k_s:"s1",v:[]}],list:[],price:"0.00",stock_num:0,collection_id:0,none_sku:!1,hide_stock:!1},goods:{picture:""},sku_id:null,vip:1,num:1,showServers:!1,lists_loading:!1,lists_finished:!1,lists_nums:0,lists:[],heder:{page:1,id:0,type:"all"},value:3}},methods:{showOverlay:function(){this.showOverlayStatus=!0},closeOverlay:function(){this.showOverlayStatus=!1},shoucang:function(){var t=this;return p(i.a.mark((function e(){var n,a,s;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["e"])({id:t.good.id});case 2:n=e.sent,a=n.code,s=n.data,2e3==a&&(t.$toast("操作成功"),t.good.has_collect=s.id);case 6:case"end":return e.stop()}}),e)})))()},cacalshoucang:function(){var t=this;return p(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(u["f"])({id:t.good.has_collect});case 2:n=e.sent,a=n.code,2e3==a&&(t.$toast("操作成功"),t.good.has_collect=0);case 5:case"end":return e.stop()}}),e)})))()},reLoadA:function(t){this.heder.type=t,this.appraises=[],this.loadAppraises()},changeTag:function(){this.tab_index=1,this.onLoadAppraise()},showServer:function(){this.showServers=!0},selectSku:function(t){var e=t.skuValue;this.sku_id=e.id,console.log(e)},controlShowSku:function(){this.is_show_sku_status=!this.is_show_sku_status},nowBuy:function(t){var e=t.selectedNum;console.log(e,"selectedNum"),console.log(this.sku_id,"this.sku_id == null"),null!=this.sku_id&&null!=e?(console.log("mead"),this.num=e,this.$router.push("/order?type=nowBuy&num="+this.num+"&goods_id="+this.id+"&sku_id="+this.sku_id)):this.controlShowSku()},addCard:function(t){var e=this;return p(i.a.mark((function n(){var a,s,r,o;return i.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(a=t.selectedNum,console.log("mead111"),null!=e.sku_id){n.next=5;break}return e.controlShowSku(),n.abrupt("return");case 5:if(console.log("mead222",a),null!=a){n.next=9;break}return e.controlShowSku(),n.abrupt("return");case 9:return console.log("mead333"),e.num=a,n.next=13,Object(c["a"])({goods_id:e.id,sku_id:e.sku_id,num:e.num});case 13:s=n.sent,r=s.code,o=s.data,2e3==r&&(e.controlShowSku(),e.sku_id=null,e.num=1,e.$store.commit("addCard",o)),e.cards_nunms=e.$store.getters.count,console.log(e.$store.getters.count,"$store.getters.count");case 19:case"end":return n.stop()}}),n)})))()},load:function(){this.getGood(),this.getSku(),this.$store.commit("init"),this.cards_nunms=this.$store.getters.count},getSku:function(){var t=this;return p(i.a.mark((function e(){var n,a,s,r;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["e"])(t.id);case 2:n=e.sent,a=n.data,s=[],r=[],a.map((function(e,n){console.log(e,n,"id"),s.push({id:e.id,name:e.sku_name}),r.push({id:e.id,s1:e.id,price:100*e.money,stock_num:e.stock}),0==n&&(t.skus.price=e.money,t.skus.stock_num=e.stock,t.skus.collection_id=e.id)})),1==s.length&&(t.sku_id=s[0].id),t.skus.tree[0].v=s,t.skus.list=r;case 10:case"end":return e.stop()}}),e)})))()},getGood:function(){var t=this;return p(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(o["c"])(t.id);case 2:n=e.sent,a=n.data,t.good=a,t.goods.picture=a.images[0],t.share();case 7:case"end":return e.stop()}}),e)})))()},getAppraises:function(){var t=arguments,e=this;return p(i.a.mark((function n(){var a,s,r,c;return i.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return a=t.length>0&&void 0!==t[0]?t[0]:"all",s={id:e.id,type:a},n.next=4,Object(o["a"])(s);case 4:r=n.sent,c=r.data,e.appraises=c.data,console.log(c,"appraises");case 8:case"end":return n.stop()}}),n)})))()},getAppraiseType:function(){var t=arguments,e=this;return p(i.a.mark((function n(){var a,s,r;return i.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return a=t.length>0&&void 0!==t[0]?t[0]:"all",n.next=3,Object(o["b"])(e.id,a);case 3:s=n.sent,r=s.data,e.appraisesTypes=r,console.log(r,"appraisesTypes");case 7:case"end":return n.stop()}}),n)})))()},go:function(t){this.$router.push(t)},onLoadAppraise:function(){this.getAppraiseType(),this.heder.page=1,this.appraises=[],this.loadAppraises()},loadAppraises:function(){var t=this;return p(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.heder.id=t.id,t.lists_loading=!0,e.next=4,Object(o["a"])(t.heder);case 4:n=e.sent,a=n.data,t.appraises=t.appraises.concat(a.data),t.lists_nums=a.count,t.lists_nums<=t.appraises.length?t.lists_finished=!0:t.heder.page+=1;case 9:case"end":return e.stop()}}),e)})))()},changeTabs:function(t){1==t&&this.onLoadAppraise()},share:function(){var t=this;return p(i.a.mark((function e(){var n,a,s;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(l["b"])(["updateAppMessageShareData","updateTimelineShareData"]);case 2:n=e.sent,a=n.data,console.log(t.$store.getters.userInfo.id,"this.$store.getters.userInfo.id"),t.$store.getters.userInfo.id,f.config({debug:!1,appId:a.appId,timestamp:a.timestamp,nonceStr:a.nonceStr,signature:a.signature,jsApiList:a.jsApiList}),s=t,f.ready((function(){var t=s.good.item_name||"杰安易购商城",e=s.good.item_name||"杰安易购商城",n=window.location.href+"&is_share=1"||!1,a=s.good.images[0]||"http://admin.jiean91.cn/upload/20230403/0bbf8f28376ee8782f9d990d8a5307b5.png";f.updateAppMessageShareData({title:t,desc:e,link:n,imgUrl:a,success:function(){console.log("分享成功")}}),f.updateTimelineShareData({title:t,desc:e,link:n,imgUrl:a,success:function(){console.log("分享成功")}})}));case 9:case"end":return e.stop()}}),e)})))()}},mounted:function(){this.id=this.$route.query.id||0,this.load(),this.vip=this.$store.getters.userInfo.role_id||1},computed:{good_is_appraise:function(){return null!==this.good&&this.good.appraises.length>0}}},h=v,m=(n("e498"),n("2877")),g=Object(m["a"])(h,a,s,!1,null,null,null);e["default"]=g.exports},fa1c:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"a",(function(){return o}));var a=n("4328"),s=n.n(a),r=n("b775");function i(t){return Object(r["a"])({url:"index/oil_pay",method:"post",data:s.a.stringify(t),hideloading:!0})}function o(t){return Object(r["a"])({url:"index/oil_select",method:"post",data:s.a.stringify(t),hideloading:!0})}},faa1:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"address-page"},[t.address.length||t.isEdit?t._e():n("van-empty",{staticClass:"empty",attrs:{description:"暂无收货地址"}}),n("van-address-list",{directives:[{name:"show",rawName:"v-show",value:!t.isEdit,expression:"!isEdit"}],attrs:{list:t.address,"default-tag-text":"默认"},on:{"click-item":t.selectAddress,add:t.onEdit,edit:t.onEdit},model:{value:t.chosenAddressId,callback:function(e){t.chosenAddressId=e},expression:"chosenAddressId"}}),n("van-address-edit",{directives:[{name:"show",rawName:"v-show",value:t.isEdit,expression:"isEdit"}],attrs:{"address-info":t.addressInfo,"area-list":t.areaList,"show-delete":t.isDel,"show-postal":"","show-set-default":"","area-columns-placeholder":["请选择","请选择","请选择"]},on:{"change-area":t.changeArea,save:t.addAddress,delete:t.deleteAddress,"change-detail":t.updateAddress}})],1)},s=[],r=n("a34a"),i=n.n(r),o=n("4328"),c=n.n(o),u=n("b775");function l(t){return Object(u["a"])({url:"personal/address",method:"post",data:c.a.stringify(t),hideloading:!0})}function d(t){return Object(u["a"])({url:"personal/address_add",method:"post",data:c.a.stringify(t),hideloading:!0})}function p(t){return Object(u["a"])({url:"personal/address_edit",method:"post",data:c.a.stringify(t),hideloading:!0})}function f(t){var e={id:t};return Object(u["a"])({url:"personal/address_del",method:"post",data:c.a.stringify(e),hideloading:!0})}function v(t){return Object(u["a"])({url:"index/get_province",method:"post",data:c.a.stringify(t),hideloading:!0})}function h(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function m(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){h(r,a,s,i,o,"next",t)}function o(t){h(r,a,s,i,o,"throw",t)}i(void 0)}))}}var g={components:{},data:function(){return{isEdit:!1,isDel:!1,chosenAddressId:"1",oldAddress:[],address:[],areaList:{province_list:[],city_list:[],county_list:[]},addressInfo:{id:0,name:"",tel:"",province:"",city:"",county:"",addressDetail:"",areaCode:"",postalCode:"",isDefault:!1},province:null,city:null,county:null,back_order:!1,fromAddress:{},tStatus:!1}},methods:{selectAddress:function(t){this.back_order&&this.go({name:"order",query:{address_id:t.id}})},changeArea:function(t){this.province=t[0].code,this.city=t[1].code,this.county=t[2].code},addAddress:function(t){var e=this;return m(i.a.mark((function n(){return i.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(console.log(t),!e.tSatus){n.next=6;break}return e.$notify("已经提交,请勿重复提交!"),n.abrupt("return");case 6:e.tSatus=!0;case 7:if(!t.id){n.next=12;break}return n.next=10,p({id:t.id,username:t.name,phone:t.tel,province:e.province,province_text:t.province,city:e.city,city_text:t.city,county:e.county,county_text:t.county,postcodes:t.postalCode,detail:t.addressDetail,status:t.isDefault?1:0});case 10:n.next=14;break;case 12:return n.next=14,d({username:t.name,phone:t.tel,province:e.province,province_text:t.province,city:e.city,city_text:t.city,county:e.county,county_text:t.county,postcodes:t.postalCode,detail:t.addressDetail,status:t.isDefault?1:0});case 14:e.tStatus=!1,e.isEdit=!1,e.load();case 17:case"end":return n.stop()}}),n)})))()},deleteAddress:function(t){var e=this;return m(i.a.mark((function n(){return i.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,f(t.id);case 2:e.addressInfo=e.addAddress={id:0,name:"",tel:"",province:"",city:"",county:"",addressDetail:"",areaCode:"",postalCode:"",isDefault:!1},e.isEdit=!1,e.load();case 5:case"end":return n.stop()}}),n)})))()},updateAddress:function(){return m(i.a.mark((function t(){return i.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:case"end":return t.stop()}}),t)})))()},searchResult:function(){},load:function(){var t=this;return m(i.a.mark((function e(){var n,a,s;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,l();case 2:n=e.sent,a=n.data,t.oldAddress=a,0==a.length?(t.isEdit=!0,t.isDel=!1):(s=[],a.map((function(t){s.push({id:t.id,name:t.username,tel:t.phone,address:t.province_text+t.city_text+t.county_text+t.detail,isDefault:!!t.status})})),t.address=s);case 6:case"end":return e.stop()}}),e)})))()},onEdit:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];!1===e?this.isDel=!1:(this.isDel=!0,this.oldAddress.map((function(n){n.id!==e.id||(t.addressInfo={id:n.id,name:n.username,tel:n.phone,province:n.province_text,city:n.city_text,county:n.county_text,addressDetail:n.detail,areaCode:n.county.toString(),postalCode:n.postcodes,isDefault:!!n.status})}))),this.isEdit=!0},go:function(t){this.$router.push(t)}},computed:{},mounted:function(){var t=this;return m(i.a.mark((function e(){var n,a,s;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=t.$route.query.is_order,n&&(t.back_order=!0),t.load(),e.next=5,v();case 5:a=e.sent,s=a.data,t.areaList=s;case 8:case"end":return e.stop()}}),e)})))()}},b=g,A=(n("cd88"),n("2877")),_=Object(A["a"])(b,a,s,!1,null,"9d161388",null);e["default"]=_.exports},faab:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"new-page"},[n("div",{staticClass:"title"},[t._v(t._s(t.notice.f_title))]),n("div",{staticClass:"time"},[t._v(t._s(t.notice.create_time))]),n("div",{staticClass:"body",domProps:{innerHTML:t._s(t.notice.content)}})])},s=[],r=n("a34a"),i=n.n(r),o=n("3e85");function c(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){c(r,a,s,i,o,"next",t)}function o(t){c(r,a,s,i,o,"throw",t)}i(void 0)}))}}var l={data:function(){return{id:0,notice:{}}},computed:{},mounted:function(){var t=this.$route.query.id||!1;console.log(t,"id"),t&&(this.getNew(t),this.id=t)},methods:{getNew:function(t){var e=this;return u(i.a.mark((function n(){var a,s;return i.a.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,Object(o["a"])(t);case 2:a=n.sent,s=a.data,e.notice=s;case 5:case"end":return n.stop()}}),n)})))()}}},d=l,p=(n("ec33"),n("2877")),f=Object(p["a"])(d,a,s,!1,null,"2210e5f2",null);e["default"]=f.exports},fd15:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAGcklEQVRYR8WYa2wUZRS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FmAni+CEQIUgHJKEZt6xa5sVIcOJfKBs+/5DyD7w18UR89cAAAAAElFTkSuQmCC"},fde5:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"mobile-page"},[n("div",{staticClass:"divider-box"}),n("van-form",{on:{submit:t.onSubmit}},[n("van-cell-group",[n("van-field",{attrs:{type:"tel",label:"手机号",placeholder:"请输入手机号"},model:{value:t.form.phone,callback:function(e){t.$set(t.form,"phone",e)},expression:"form.phone"}}),n("van-field",{attrs:{type:"text",label:"验证码",placeholder:"请输入验证码"},scopedSlots:t._u([{key:"button",fn:function(){return[n("van-button",{attrs:{size:"small",disabled:t.count>0},on:{click:t.sendCode}},[n("span",{directives:[{name:"show",rawName:"v-show",value:0==t.count,expression:"count == 0"}]},[t._v("发送验证码")]),n("span",{directives:[{name:"show",rawName:"v-show",value:t.count>0,expression:"count > 0"}]},[t._v(t._s(t.count)+" 秒后重试")])])]},proxy:!0}]),model:{value:t.form.code,callback:function(e){t.$set(t.form,"code",e)},expression:"form.code"}})],1),n("van-button",{staticClass:"btn",attrs:{round:"",block:"",type:"danger"},on:{click:function(e){return e.stopPropagation(),t.updateMobile.apply(null,arguments)}}},[t._v(" 保存 ")])],1)],1)},s=[],r=n("a34a"),i=n.n(r),o=n("c24f"),c=n("7ded");function u(t,e,n,a,s,r,i){try{var o=t[r](i),c=o.value}catch(u){return void n(u)}o.done?e(c):Promise.resolve(c).then(a,s)}function l(t){return function(){var e=this,n=arguments;return new Promise((function(a,s){var r=t.apply(e,n);function i(t){u(r,a,s,i,o,"next",t)}function o(t){u(r,a,s,i,o,"throw",t)}i(void 0)}))}}var d={components:{},data:function(){return{form:{phone:"",code:""},count:0,timer:null,rules:/^1(3|4|5|6|7|8|9)\d{9}$/}},computed:{},mounted:function(){},methods:{updateMobile:function(){var t=this;return l(i.a.mark((function e(){var n,a;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(/^1[3456789]\d{9}$/.test(t.form.phone)){e.next=3;break}return t.$notify("手机号码有误,请重填"),e.abrupt("return",!1);case 3:if(t.form.code){e.next=6;break}return t.$notify("请填写验证码"),e.abrupt("return",!1);case 6:return e.next=8,Object(o["I"])(t.form);case 8:n=e.sent,a=n.code,2e3==a&&(t.$toast("修改成功"),setTimeout((function(){t.go("/me")}),2e3));case 11:case"end":return e.stop()}}),e)})))()},sendCode:function(){var t=this;return l(i.a.mark((function e(){var n,a,s;return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(/^1[3456789]\d{9}$/.test(t.form.phone)){e.next=3;break}return t.$notify("手机号码有误,请重填"),e.abrupt("return",!1);case 3:return e.next=5,Object(c["c"])({phone:t.form.phone});case 5:if(n=e.sent,a=n.code,s=n.msg,2e3!==a){e.next=12;break}return t.$toast("发送成功"),t.countdown(),e.abrupt("return");case 12:t.toast(s);case 13:case"end":return e.stop()}}),e)})))()},countdown:function(){var t=this,e=60;this.timer||(this.count=e,this.show=!1,this.timer=setInterval((function(){t.count>0&&t.count<=e?t.count--:(clearInterval(t.timer),t.timer=null)}),1e3))},go:function(){this.$router.push("/good")},onLoad:function(){for(var t=0;t<10;t++)this.list.push(this.list.length+1)}}},p=d,f=(n("cc08"),n("2877")),v=Object(f["a"])(p,a,s,!1,null,"103378af",null);e["default"]=v.exports}}]);
|