(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-points_mall-exchange_record"],{"022b":function(t,e,n){"use strict";n.r(e);var a=n("fc23"),i=n("dfce");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("5f10");var r=n("f0c5"),c=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,"4502b64d",null,!1,a["a"],void 0);e["default"]=c.exports},"082b":function(t,e,n){var a=n("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.empty-box[data-v-4502b64d]{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:%?200?%}.empty-box uni-image[data-v-4502b64d]{width:%?414?%;height:%?240?%}.empty-box .txt[data-v-4502b64d]{font-size:%?26?%;color:#999}',""]),t.exports=e},"0bd6":function(t,e,n){"use strict";n.r(e);var a=n("c69c"),i=n("761e");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("ca35");var r=n("f0c5"),c=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,"1ca84854",null,!1,a["a"],void 0);e["default"]=c.exports},1426:function(t,e,n){var a=n("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.payment[data-v-1ca84854]{position:fixed;bottom:0;left:0;width:100%;max-height:%?600?%;border-radius:%?16?% %?16?% 0 0;background-color:#fff;padding-bottom:%?60?%;z-index:99;transition:all .3s cubic-bezier(.25,.5,.5,.9);-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}.payment.on[data-v-1ca84854]{-webkit-transform:translateZ(0);transform:translateZ(0)}.payment .title[data-v-1ca84854]{text-align:center;height:%?123?%;font-size:%?32?%;color:#282828;font-weight:700;padding-right:%?30?%;margin-left:%?30?%;position:relative;border-bottom:1px solid #eee}.payment .title .iconfont[data-v-1ca84854]{position:absolute;right:%?30?%;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);font-size:%?43?%;color:#8a8a8a;font-weight:400}.payment .item[data-v-1ca84854]{border-bottom:1px solid #eee;height:%?130?%;margin-left:%?30?%;padding-right:%?30?%}.payment .item .left[data-v-1ca84854]{width:%?610?%}.payment .item .left .text[data-v-1ca84854]{width:%?540?%}.payment .item .left .text .name[data-v-1ca84854]{font-size:%?32?%;color:#282828}.payment .item .left .text .info[data-v-1ca84854]{font-size:%?24?%;color:#999}.payment .item .left .text .info .money[data-v-1ca84854]{color:#f90}.payment .item .left .iconfont[data-v-1ca84854]{font-size:%?45?%;color:#09bb07}.payment .item .left .iconfont.icon-zhifubao[data-v-1ca84854]{color:#00aaea}.payment .item .left .iconfont.icon-yuezhifu[data-v-1ca84854]{color:#f90}.payment .item .left .iconfont.icon-yuezhifu1[data-v-1ca84854]{color:#eb6623}.payment .item .iconfont[data-v-1ca84854]{font-size:%?0.3?%;color:#999}',""]),t.exports=e},"1db2":function(t,e,n){"use strict";n.r(e);var a=n("7b5e9"),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},"208c":function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={props:{title:{type:String,default:"暂无记录"}}};e.default=a},"3d01":function(t,e,n){"use strict";n.r(e);var a=n("afcb"),i=n("1db2");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("d862");var r=n("f0c5"),c=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,"aa98de94",null,!1,a["a"],void 0);e["default"]=c.exports},5911:function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("a9e3"),n("acd8"),n("99af");var a=n("d09b"),i={props:{payMode:{type:Array,default:function(){return[]}},pay_close:{type:Boolean,default:!1},order_id:{type:String,default:""},totalPrice:{type:String,default:"0"},order_type:{type:Number,default:0},isCall:{type:Boolean,default:!1},returnUrl:{type:String,default:""}},data:function(){return{}},mounted:function(){},methods:{close:function(){this.$emit("onChangeFun",{action:"payClose"})},goPay:function(t,e){var n=this;if(this.isCall)return this.$emit("onChangeFun",{action:"payCheck",value:e});var i=this,o="";if("wechat"==e?o=this.$wechat.isWeixin()?"weixin":"h5":"balance"==e?o="balance":"alipay"==e&&(o="alipay"),!i.order_id)return i.$util.Tips({title:"请选择要支付的订单"});if("balance"==e&&parseFloat(t)0?n("v-uni-view",[n("v-uni-view",{staticClass:"exchange-record"},t._l(t.exchangeList,(function(e,a){return n("v-uni-view",{key:a},t._l(e.orderProduct,(function(i,o){return n("v-uni-view",{key:o,staticClass:"item"},[n("v-uni-view",{staticClass:"exchange_record-time"},[n("v-uni-view",[t._v(t._s(1==e.paid?"兑换时间:"+e.pay_time:"订单编号:"+e.order_sn))]),0==e.paid?n("v-uni-view",{staticClass:"status"},[t._v("待付款")]):n("v-uni-view",{staticClass:"status"},[t._v(t._s(0==e.status?"待发货":1==e.status?"待收货":"已完成"))])],1),i.cart_info?n("v-uni-view",{staticClass:"picTxt acea-row row-between-wrapper"},[n("v-uni-view",{staticClass:"pictrue"},[n("v-uni-image",{attrs:{src:i.cart_info.productAttr?i.cart_info.productAttr.image:i.cart_info.product.image}})],1),n("v-uni-view",{staticClass:"text acea-row row-column-around"},[n("v-uni-view",{staticClass:"line1",staticStyle:{width:"100%"}},[t._v(t._s(i.cart_info.product.store_name))]),n("v-uni-view",{staticClass:"line1 gray-sty"},[t._v(t._s(i.cart_info.productAttr&&i.cart_info.productAttr.sku||"默认"))])],1)],1):t._e(),n("v-uni-view",{staticClass:"bottom acea-row row-between-wrapper"},[n("v-uni-view",{staticClass:"end"}),n("v-uni-view",{staticClass:"acea-row row-middle row-right"},[0==e.paid?n("v-uni-view",{staticClass:"bnt bg-colort",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.goPay(e)}}},[t._v("立即付款")]):t._e(),2!=e.status&&1!=e.status||1!=e.delivery_type?t._e():n("v-uni-view",{staticClass:"bnt cancel",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.getLogistics(e.order_id)}}},[t._v("查看物流")]),3==e.status&&1==e.paid?n("v-uni-view",{staticClass:"bnt cancel",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.delOrder(e.order_id,a,o)}}},[t._v("删除")]):t._e(),1==e.paid?n("v-uni-view",{staticClass:"bnt bg-colort",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.goDetail(e.order_id)}}},[t._v("查看详情")]):t._e()],1)],1)],1)})),1)})),1)],1):t._e(),t.isLogin?n("v-uni-view",{staticClass:"acea-row row-center-wrapper loadingicon",attrs:{hidden:!t.loading}},[n("v-uni-text",{staticClass:"iconfont icon-jiazai loading",attrs:{hidden:!t.loading}}),t._v(t._s(t.loadTitle))],1):t._e(),0!=t.exchangeList.length||t.loading?t._e():[n("emptyPage",{attrs:{title:"暂无兑换记录~"}})],n("authorize",{attrs:{isAuto:t.isAuto,isShowAuth:t.isShowAuth},on:{onLoadFun:function(e){arguments[0]=e=t.$handleEvent(e),t.onLoadFun.apply(void 0,arguments)},authColse:function(e){arguments[0]=e=t.$handleEvent(e),t.authColse.apply(void 0,arguments)}}}),n("payment",{attrs:{payMode:t.payMode,order_type:2,pay_close:t.pay_close,returnUrl:"/pages/points_mall/integral_order_details?order_id="+t.order_id,order_id:t.pay_order_id,totalPrice:t.totalPrice},on:{onChangeFun:function(e){arguments[0]=e=t.$handleEvent(e),t.onChangeFun.apply(void 0,arguments)}}})],2)},i=[]},b470:function(t,e,n){var a=n("1426");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("62a532f9",a,!0,{sourceMap:!1,shadowMode:!1})},c69c:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[n("v-uni-view",{staticClass:"payment",class:t.pay_close?"on":""},[n("v-uni-view",{staticClass:"title acea-row row-center-wrapper"},[t._v("选择付款方式"),n("v-uni-text",{staticClass:"iconfont icon-guanbi",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}})],1),t._l(t.payMode,(function(e,a){return n("v-uni-view",{key:a,staticClass:"item acea-row row-between-wrapper",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.goPay(e.number||0,e.value)}}},[n("v-uni-view",{staticClass:"left acea-row row-between-wrapper"},[n("v-uni-view",{staticClass:"iconfont",class:e.icon}),n("v-uni-view",{staticClass:"text"},[n("v-uni-view",{staticClass:"name"},[t._v(t._s(e.name))]),e.number?n("v-uni-view",{staticClass:"info"},[t._v(t._s(e.title)),n("span",{staticClass:"money"},[t._v("¥"+t._s(e.number))])]):n("v-uni-view",{staticClass:"info"},[t._v(t._s(e.title))])],1)],1),n("v-uni-view",{staticClass:"iconfont icon-xiangyou"})],1)}))],2),t.pay_close?n("v-uni-view",{ref:"close",staticClass:"mask",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}}):t._e()],1)},i=[]},ca35:function(t,e,n){"use strict";var a=n("b470"),i=n.n(a);i.a},cf78:function(t,e,n){"use strict";n("7a82");var a=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(n("5530")),o=a(n("956a")),r=n("f063"),c=n("93f6"),u=n("26cb"),s=a(n("d2b7")),d=n("8f46"),l=n("79a6"),f=getApp(),p={name:"Authorize",props:{isAuto:{type:Boolean,default:!0},isGoIndex:{type:Boolean,default:!0},isShowAuth:{type:Boolean,default:!1}},components:{},data:function(){return{title:"用户登录",info:"请登录,将为您提供更好的服务!",isWeixin:this.$wechat.isWeixin(),canUseGetUserProfile:!1,code:null,top:0,mp_is_new:this.$Cache.get("MP_VERSION_ISNEW")||!1,editModal:!1,canGetPrivacySetting:!1,avatar:"",nickname:""}},computed:(0,i.default)((0,i.default)({},(0,u.mapGetters)(["isLogin","userInfo","viewColor"])),(0,d.configMap)(["routine_logo","first_avatar_switch","wechat_phone_switch"])),watch:{isLogin:function(t){!0===t&&this.$emit("onLoadFun",this.userInfo)},isShowAuth:function(t){this.getCode(this.isShowAuth)}},created:function(){this.top=uni.getSystemInfoSync().windowHeight/2-70,wx.getUserProfile&&(this.canUseGetUserProfile=!0),this.setAuthStatus(),this.getCode(this.isShowAuth)},methods:{onclose:function(){this.canGetPrivacySetting=!1},onAgree:function(){var t=this;t.canUseGetUserProfile=!1,s.default.getUserProfile().then((function(e){var n=e.userInfo;n.code=t.code,n.spread=f.globalData.spid,n.spread_code=f.globalData.code,n.new_nickname=t.nickname,n.new_avatar=t.avatar,(0,r.commonAuth)({auth:{type:"routine",auth:n}}).then((function(e){if(200!=e.data.status)return uni.setStorageSync("auth_token",e.data.result.key),uni.navigateTo({url:"/pages/users/login/index"});var n=e.data.result.expires_time-o.default.time();t.$store.commit("UPDATE_USERINFO",e.data.result.user),t.$store.commit("LOGIN",{token:e.data.result.token,time:n}),t.$store.commit("SETUID",e.data.result.user.uid),o.default.set(c.EXPIRES_TIME,e.data.result.expires_time,n),o.default.set(c.USER_INFO,e.data.result.user,n),t.$emit("onLoadFun",e.data.result.user),e.data.result.user.isNew&&t.mp_is_new&&1==t.first_avatar_switch&&1==t.wechat_phone_switch&&(t.editModal=!0)})).catch((function(t){uni.hideLoading(),uni.showToast({title:t.message,icon:"none",duration:2e3})}))})).catch((function(t){uni.hideLoading()}))},setAuthStatus:function(){},getCode:function(t){t&&(this.code=1)},toWecahtAuth:function(){(0,l.toLogin)(!0)},getUserProfile:function(){var t=this;wx.getPrivacySetting?wx.getPrivacySetting({success:function(e){e.needAuthorization?(t.canGetPrivacySetting=!0,t.$nextTick((function(){t.$refs.privacyAgreement.showPoupon(e.privacyContractName)}))):t.onAgree()},fail:function(t){},complete:function(){}}):this.onAgree()},close:function(){var t=getCurrentPages();t[t.length-1];this.$emit("authColse",!1),this.canGetPrivacySetting=!1},onChooseAvatar:function(t){var e=this,n=t.detail.avatarUrl;this.$util.uploadImgs("upload/image",n,(function(t){e.avatar=t.data.path}),(function(t){}))},changeNickname:function(t){this.nickname=t.detail.value||t.target.value}}};e.default=p},d09b:function(t,e,n){"use strict";n("7a82");var a=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.applyInvoiceApi=function(t,e){return i.default.post("order/receipt/".concat(t),e)},e.cartDel=function(t){return i.default.post("user/cart/delete",t)},e.changeCartNum=function(t,e){return i.default.post("user/cart/change/"+t,e)},e.createOrder=function(t){return i.default.post("v2/order/create",t,{noAuth:!0})},e.develiveryDetail=function(t){return i.default.get("order/delivery/".concat(t))},e.express=function(t){return i.default.post("order/express/"+t)},e.expressList=function(){return i.default.get("common/express")},e.getCallBackUrlApi=function(t){return i.default.get("common/pay_key/"+t,{},{noAuth:!0})},e.getCartCounts=function(){return i.default.get("user/cart/count")},e.getCartList=function(){return i.default.get("user/cart/lst")},e.getCouponsOrderPrice=function(t,e){return i.default.get("coupons/order/"+t,e)},e.getOrderConfirm=function(t){return i.default.post("v2/order/check",t)},e.getOrderDetail=function(t){return i.default.get("order/detail/"+t)},e.getOrderList=function(t){return i.default.get("order/list",t)},e.getPayOrder=function(t){return i.default.get("order/status/"+t)},e.getReceiptOrder=function(t){return i.default.get("user/receipt/order/"+t)},e.groupOrderDetail=function(t){return i.default.get("order/group_order_detail/"+t)},e.groupOrderList=function(t){return i.default.get("order/group_order_list",t,{noAuth:!0})},e.integralOrderPay=function(t,e){return i.default.post("order/points/pay/"+t,e)},e.ordeRefundReason=function(){return i.default.get("order/refund/reason")},e.orderAgain=function(t){return i.default.post("user/cart/again",t)},e.orderComment=function(t,e){return i.default.post("reply/"+t,e)},e.orderConfirm=function(t){return i.default.post("order/check",t)},e.orderCreate=function(t){return i.default.post("order/create",t,{noAuth:!0})},e.orderData=function(){return i.default.get("order/number")},e.orderDel=function(t){return i.default.post("order/del/"+t)},e.orderPay=function(t,e){return i.default.post("order/pay/"+t,e)},e.orderProduct=function(t){return i.default.get("reply/product/"+t)},e.orderRefundVerify=function(t){return i.default.post("order/refund/verify",t)},e.orderTake=function(t){return i.default.post("order/take/"+t)},e.postOrderComputed=function(t,e){return i.default.post("/order/computed/"+t,e)},e.presellOrderPay=function(t,e){return i.default.post("presell/pay/"+t,e)},e.receiptOrder=function(t){return i.default.get("user/receipt/order",t)},e.refundApply=function(t,e){return i.default.post("refund/apply/"+t,e,{noAuth:!0})},e.refundBackGoods=function(t,e){return i.default.post("refund/back_goods/"+t,e,{noAuth:!0})},e.refundBatch=function(t){return i.default.get("refund/batch_product/"+t,{noAuth:!0})},e.refundCancelApi=function(t){return i.default.post("refund/cancel/".concat(t))},e.refundDel=function(t){return i.default.post("refund/del/"+t,{noAuth:!0})},e.refundDetail=function(t){return i.default.get("refund/detail/"+t,{noAuth:!0})},e.refundExpress=function(t){return i.default.get("refund/express/"+t,{noAuth:!0})},e.refundList=function(t){return i.default.get("refund/list",t,{noAuth:!0})},e.refundMessage=function(){return i.default.get("common/refund_message",{noAuth:!0})},e.refundOrderExpress=function(t,e){return i.default.get("server/".concat(t,"/refund/express/").concat(e))},e.refundProduct=function(t,e){return i.default.get("refund/product/"+t,e,{noAuth:!0})},e.unOrderCancel=function(t){return i.default.post("order/cancel/"+t)},e.verifyCode=function(t){return i.default.get("order/verify_code/"+t)},n("99af");var i=a(n("5a4d"))},d3e4:function(t,e,n){"use strict";var a=n("ddbf"),i=n.n(a);i.a},d862:function(t,e,n){"use strict";var a=n("8e7c"),i=n.n(a);i.a},dda2:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[t.isShowAuth&&t.code?n("v-uni-view",{staticClass:"mask",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}}):t._e(),t.isShowAuth&&t.code?n("v-uni-view",{staticClass:"Popup",class:{privacyPoupon:t.canGetPrivacySetting},style:"top:"+t.top+"px;"},[n("v-uni-view",{staticClass:"logo-auth"},[n("v-uni-image",{staticClass:"image",attrs:{src:t.routine_logo,mode:"aspectFit"}})],1),[t.isWeixin?n("v-uni-view",{staticClass:"title"},[t._v("授权提醒")]):n("v-uni-view",{staticClass:"title"},[t._v(t._s(t.title))])],[t.isWeixin?n("v-uni-view",{staticClass:"tip"},[t._v("请授权用户信息,以便为您提供更好的服务!")]):n("v-uni-view",{staticClass:"tip"},[t._v(t._s(t.info))]),n("v-uni-view",{staticClass:"tip"},[t._v(t._s(t.info))])],n("v-uni-view",{staticClass:"bottom flex"},[n("v-uni-view",{staticClass:"item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}},[t._v("随便逛逛")]),n("v-uni-button",{staticClass:"item grant",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toWecahtAuth.apply(void 0,arguments)}}},[t.isWeixin?n("v-uni-view",{staticClass:"text"},[t._v("去授权")]):n("v-uni-view",{staticClass:"text"},[t._v("去登录")])],1)],1)],2):t._e()],1)},i=[]},ddbf:function(t,e,n){var a=n("71b4");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("f7f3db9a",a,!0,{sourceMap:!1,shadowMode:!1})},dfce:function(t,e,n){"use strict";n.r(e);var a=n("208c"),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},fc23:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var a=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticClass:"empty-box"},[e("v-uni-image",{attrs:{src:"/static/images/empty-box.png"}}),e("v-uni-view",{staticClass:"txt"},[this._v(this._s(this.title))])],1)},i=[]},fecf:function(t,e,n){"use strict";n.r(e);var a=n("dda2"),i=n("aef0");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("d3e4");var r=n("f0c5"),c=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,"6cfa5c77",null,!1,a["a"],void 0);e["default"]=c.exports}}]);