(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-points_mall-integral_order"],{"296d":function(t,e,i){"use strict";var n=i("b76b"),a=i.n(n);a.a},"6a71":function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.getBargainDetail=function(t,e){return a.default.get("bargain/detail/".concat(t,"?bargainUid=").concat(e))},e.getBargainList=function(t){return a.default.get("bargain/list",t,{noAuth:!0})},e.getBargainPoster=function(t){return a.default.post("bargain/poster",t)},e.getBargainPosterData=function(t){return a.default.get("bargain/poster_info/"+t)},e.getBargainUserCancel=function(t){return a.default.post("bargain/user/cancel",t)},e.getBargainUserList=function(t){return a.default.get("bargain/user/list",t)},e.getCombinationBannerList=function(t){return a.default.get("combination/banner_list",t,{noAuth:!0})},e.getCombinationDetail=function(t){return a.default.get("combination/detail/"+t)},e.getCombinationList=function(t){return a.default.get("combination/list",t,{noAuth:!0})},e.getCombinationPink=function(t){return a.default.get("combination/pink/"+t)},e.getCombinationPoster=function(t){return a.default.post("combination/poster",t)},e.getCombinationPosterData=function(t){return a.default.get("combination/poster_info/"+t)},e.getIntegralOrderList=function(t){return a.default.get("store_integral/order/list",t)},e.getIntegralProductDetail=function(t){return a.default.get("store_integral/detail/"+t,{},{noAuth:!0})},e.getLogisticsDetails=function(t){return a.default.get("store_integral/order/express/".concat(t))},e.getPink=function(t){return a.default.get("pink",t,{noAuth:!0})},e.getPresellList=function(t){return a.default.get("advance/list",t)},e.getSeckillDetail=function(t,e){return a.default.get("seckill/detail/"+t,e)},e.getSeckillIndexTime=function(){return a.default.get("seckill/index",{},{noAuth:!0})},e.getSeckillList=function(t,e){return a.default.get("seckill/list/"+t,e,{noAuth:!0})},e.getStoreIntegralList=function(t){return a.default.get("store_integral/list",t)},e.integralOrderConfirm=function(t){return a.default.post("store_integral/order/confirm",t)},e.integralOrderCreate=function(t){return a.default.post("store_integral/order/create",t)},e.integralOrderDetails=function(t){return a.default.get("store_integral/order/detail/".concat(t))},e.orderDel=function(t){return a.default.post("store_integral/order/del",t)},e.orderTake=function(t){return a.default.post("store_integral/order/take",t)},e.postBargainHelp=function(t){return a.default.post("bargain/help",t)},e.postBargainHelpCount=function(t){return a.default.post("bargain/help/count",t)},e.postBargainHelpList=function(t){return a.default.post("bargain/help/list",t)},e.postBargainHelpPrice=function(t){return a.default.post("bargain/help/price",t)},e.postBargainShare=function(t){return a.default.post("bargain/share",{bargainId:t})},e.postBargainStart=function(t){return a.default.post("bargain/start",{bargainId:t})},e.postBargainStartUser=function(t){return a.default.post("bargain/start/user",t)},e.postCombinationRemove=function(t){return a.default.post("combination/remove",t)},e.scombinationCode=function(t){return a.default.get("combination/code/"+t)},e.seckillCode=function(t,e){return a.default.get("seckill/code/"+t,e)},i("99af");var a=n(i("3160"))},"6f2f":function(t,e,i){"use strict";i.r(e);var n=i("70ba"),a=i("eebd");for(var s in a)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(s);i("296d");var o=i("f0c5"),r=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"20445d74",null,!1,n["a"],void 0);e["default"]=r.exports},"70ba":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{style:t.colorStyle},[i("v-uni-view",{staticClass:"order-submission"},[i("v-uni-view",{staticClass:"allAddress",style:t.store_self_mention?"":"padding-top:10rpx"},[0==t.shippingType?i("v-uni-view",{staticClass:"address acea-row row-between-wrapper",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onAddress.apply(void 0,arguments)}}},[t.addressInfo.real_name?i("v-uni-view",{staticClass:"addressCon"},[i("v-uni-view",{staticClass:"name"},[t._v(t._s(t.addressInfo.real_name)),i("v-uni-text",{staticClass:"phone"},[t._v(t._s(t.addressInfo.phone))])],1),i("v-uni-view",{staticClass:"line1"},[t.addressInfo.is_default?i("v-uni-text",{staticClass:"default font-num"},[t._v(t._s(t.$t("[默认]")))]):t._e(),t._v(t._s(t.addressInfo.province)+t._s(t.addressInfo.city)+t._s(t.addressInfo.district)+t._s(t.addressInfo.detail))],1)],1):i("v-uni-view",{staticClass:"addressCon"},[i("v-uni-view",{staticClass:"setaddress"},[t._v(t._s(t.$t("设置收货地址")))])],1),i("v-uni-view",{staticClass:"iconfont icon-jiantou"})],1):t._e(),i("v-uni-view",{staticClass:"line"},[i("v-uni-image",{attrs:{src:"/static/images/line.jpg"}})],1)],1),i("v-uni-view",{staticClass:"orderGoods"},[i("v-uni-view",{staticClass:"total"},[t._v(t._s(t.$t("共"))+t._s(t.resData.num)+t._s(t.$t("件商品")))]),i("v-uni-view",{staticClass:"goodWrapper"},[i("v-uni-view",{staticClass:"item acea-row row-between-wrapper",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.jumpCon(t.cartInfo.product_id)}}},[i("v-uni-view",{staticClass:"pictrue"},[i("v-uni-image",{attrs:{src:t.cartInfo.image}})],1),i("v-uni-view",{staticClass:"text"},[i("v-uni-view",{staticClass:"acea-row row-between-wrapper"},[i("v-uni-view",{staticClass:"name line1"},[t._v(t._s(t.cartInfo.store_name))]),i("v-uni-view",{staticClass:"num"},[t._v("x "+t._s(t.resData.num))])],1),t.cartInfo.suk?i("v-uni-view",{staticClass:"attr line1"},[t._v(t._s(t.cartInfo.suk))]):t._e(),i("v-uni-view",{staticClass:"money font-color"},[t._v(t._s(t.cartInfo.price)+" "+t._s(t.$t("积分")))])],1)],1)],1)],1),i("v-uni-view",{staticClass:"wrapper"},[i("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[i("v-uni-view",[t._v(t._s(t.$t("可用积分")))]),i("v-uni-view",{staticClass:"discount"},[t._v(t._s(t.resData.integral))])],1),i("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[i("v-uni-view",[t._v(t._s(t.$t("快递费用")))]),i("v-uni-view",{staticClass:"discount"},[t._v(t._s(t.$t("免运费")))])],1),t.textareaStatus?i("v-uni-view",{staticClass:"item"},[i("v-uni-view",[t._v(t._s(t.$t("备注信息")))]),i("v-uni-view",{staticClass:"placeholder-textarea"},[!1===t.coupon.coupon?i("v-uni-textarea",{ref:"getFocus",attrs:{focus:t.textFocus,value:"",name:"mark"},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.bindHideKeyboard.apply(void 0,arguments)}}}):t._e(),i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:!t.mark,expression:"!mark"}],staticClass:"placeholder",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.clickTextArea.apply(void 0,arguments)}}},[t._v(t._s(t.$t("请添加备注(150字以内)")))])],1)],1):t._e()],1),i("v-uni-view",{staticStyle:{height:"120rpx"}}),i("v-uni-view",{staticClass:"footer acea-row row-between-wrapper"},[i("v-uni-view",[t._v(t._s(t.$t("合计"))+":"),i("v-uni-text",{staticClass:"font-color"},[t._v(t._s(t.resData.total_price||0)+t._s(t.$t("积分")))])],1),i("v-uni-view",{staticClass:"settlement",staticStyle:{"z-index":"100"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goPay.apply(void 0,arguments)}}},[t._v(t._s(t.$t("立即兑换")))])],1)],1),i("v-uni-view",{staticClass:"alipaysubmit",domProps:{innerHTML:t._s(t.formContent)}}),i("couponListWindow",{attrs:{coupon:t.coupon,openType:t.openType,cartId:t.cartId},on:{ChangCouponsClone:function(e){arguments[0]=e=t.$handleEvent(e),t.ChangCouponsClone.apply(void 0,arguments)},ChangCoupons:function(e){arguments[0]=e=t.$handleEvent(e),t.ChangCoupons.apply(void 0,arguments)}}}),i("addressWindow",{ref:"addressWindow",attrs:{news:t.news,address:t.address,pagesUrl:t.pagesUrl},on:{changeTextareaStatus:function(e){arguments[0]=e=t.$handleEvent(e),t.changeTextareaStatus.apply(void 0,arguments)},OnChangeAddress:function(e){arguments[0]=e=t.$handleEvent(e),t.OnChangeAddress.apply(void 0,arguments)},changeClose:function(e){arguments[0]=e=t.$handleEvent(e),t.changeClose.apply(void 0,arguments)}}}),i("home",{directives:[{name:"show",rawName:"v-show",value:!t.invShow,expression:"!invShow"}]})],1)},a=[]},"979f":function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("e25e"),i("d81d"),i("d401"),i("d3b7"),i("25f0"),i("7db0"),i("acd8"),i("159b"),i("99af");var a=i("6a71"),s=i("8ba8"),o=(i("1579"),i("2038"),n(i("34ab"))),r=n(i("1b17")),d=n(i("7c5c")),u=n(i("03ff")),c=i("666f"),l=i("26cb"),p=n(i("66ca")),f={components:{couponListWindow:o.default,addressWindow:r.default,orderGoods:d.default,home:u.default},mixins:[p.default],data:function(){return{textFocus:!1,textareaStatus:!0,cartArr:[{name:this.$t("微信支付"),icon:"icon-weixin2",value:"weixin",title:this.$t("使用微信快捷支付"),payStatus:1},{name:this.$t("支付宝支付"),icon:"icon-zhifubao",value:"alipay",title:this.$t("使用线上支付宝支付"),payStatus:1},{name:this.$t("余额支付"),icon:"icon-yuezhifu",value:"yue",title:this.$t("可用余额:"),payStatus:1},{name:this.$t("线下支付"),icon:"icon-yuezhifu1",value:"offline",title:this.$t("选择线下付款方式"),payStatus:2}],formContent:"",payType:"weixin",openType:1,active:0,coupon:{coupon:!1,list:[],statusTile:this.$t("立即使用")},address:{address:!1},addressInfo:{},pinkId:0,addressId:0,couponId:0,cartId:"",BargainId:0,combinationId:0,seckillId:0,userInfo:{},coupon_price:0,useIntegral:!1,integral_price:0,integral:0,ChangePrice:0,formIds:[],status:0,is_address:!1,toPay:!1,shippingType:0,system_store:{},storePostage:0,contacts:"",contactsTel:"",mydata:{},storeList:[],store_self_mention:0,cartInfo:{},priceGroup:{},animated:!1,totalPrice:0,integralRatio:"0",pagesUrl:"",orderKey:"",offlinePostage:"",isAuto:!1,isShowAuth:!1,from:"",news:1,invTitle:this.$t("不开发票"),special_invoice:!1,invoice_func:!1,header_type:"",invShow:!1,invList:[],invChecked:"",urlQuery:"",pay_close:!1,resData:{},mark:""}},computed:(0,l.mapGetters)(["isLogin"]),onLoad:function(t){if(this.from=this.$wechat.isWeixin()?"weixin":"weixinh5",!t.unique)return this.$util.Tips({title:this.$t("请选择要购买的商品")},{tab:3,url:1});this.unique=t.unique,this.num=t.num,this.couponId=t.couponId||0,this.pinkId=t.pinkId?parseInt(t.pinkId):0,this.addressId=t.addressId||0,this.cartId=t.cartId,this.is_address=!!t.is_address,this.news=t.new&&"0"!==t.new?1:0,this.invChecked=t.invoice_id||"",this.header_type=t.header_type||"1",this.couponTitle=t.couponTitle||this.$t("请选择"),this.textareaStatus=!0,this.isLogin&&0==this.toPay?(this.getaddressInfo(),this.getConfirm(),this.$nextTick((function(){this.$refs.addressWindow.getAddressList()}))):(0,c.toLogin)()},onShow:function(){var t=this;uni.$on("handClick",(function(e){e&&(t.system_store=e.address),uni.$off("handClick")}))},methods:{getInvoiceList:function(){var t=this;uni.showLoading({title:this.$t("正在加载…")}),(0,s.invoiceList)().then((function(e){uni.hideLoading(),t.invList=e.data.map((function(t){return t.id=t.id.toString(),t}));var i=t.invList.find((function(e){return e.id==t.invChecked}));if(i){var n="";n+=1===i.header_type?t.$t("个人"):t.$t("企业"),n+=1===i.type?t.$t("普通"):t.$t("专用"),n+=t.$t("发票"),t.invTitle=n}})).catch((function(t){uni.showToast({title:t,icon:"none"})}))},onChangeFun:function(t){var e=t,i=e.action||null,n=void 0!=e.value?e.value:null;i&&this[i]&&this[i](n)},payClose:function(){this.pay_close=!1},goPay:function(){var t=this;if(!t.addressId)return t.$util.Tips({title:t.$t("请选择收货地址")});if(parseFloat(t.resData.integral)