1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order_details-index~pages-order_details-stay~pages-users-order_confirm-index"],{"301c":function(t,e,r){"use strict";function n(t,e){return new Promise((function(e){1===t.product_type?uni.navigateTo({url:"/pages/activity/goods_seckill_details/index?id=".concat(t.product_id,"&time=").concat(t.stop_time)}):2===t.product_type?uni.navigateTo({url:"/pages/activity/presell_details/index?id=".concat(t.activity_id)}):0===t.product_type?uni.navigateTo({url:"/pages/goods_details/index?id=".concat(t.product_id)}):4===t.product_type?uni.navigateTo({url:"/pages/activity/combination_details/index?id=".concat(t.activity_id)}):e(t)}))}r("99af"),r("d3b7"),Object.defineProperty(e,"__esModule",{value:!0}),e.goShopDetail=n},"5eeb":function(t,e,r){"use strict";r.r(e);var n=r("9335"),i=r.n(n);for(var a in n)"default"!==a&&function(t){r.d(e,t,(function(){return n[t]}))}(a);e["default"]=i.a},"65e8":function(t,e,r){"use strict";var n;r.d(e,"b",(function(){return i})),r.d(e,"c",(function(){return a})),r.d(e,"a",(function(){return n}));var i=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("v-uni-view",{staticClass:"orderGoods"},[r("v-uni-view",{staticClass:"goodWrapper"},t._l(t.cartInfo,(function(e,n){return r("v-uni-view",{key:n},[2===t.activityType?r("v-uni-view",[r("v-uni-view",{staticClass:"item acea-row row-between-wrapper presell_item"},[r("v-uni-view",{staticClass:"pictrue",on:{click:function(r){arguments[0]=r=t.$handleEvent(r),t.jumpCon(e)}}},[r("v-uni-image",{attrs:{src:e.cart_info.productAttr&&e.cart_info.productAttr.image||e.cart_info.product.image}})],1),r("v-uni-view",{staticClass:"text"},[r("v-uni-view",{staticClass:"acea-row row-between-wrapper"},[r("v-uni-view",{staticClass:"name line1",staticStyle:{width:"360rpx"}},[r("v-uni-text",{staticClass:"event_name event_bg"},[t._v("预售")]),t._v(t._s(e.cart_info.product.store_name))],1),r("v-uni-view",{staticClass:"num"},[r("v-uni-text",{staticClass:"font-color"},[t._v("¥"+t._s(e.cart_info.productPresellAttr.presell_price))]),r("br"),t._v("x "+t._s(e.product_num))],1)],1),e.cart_info.productAttr.sku?r("v-uni-view",{staticClass:"attr line1",staticStyle:{"margin-top":"0"}},[t._v(t._s(e.cart_info.productAttr.sku))]):t._e(),0===t.evaluate||10===t.evaluate||11===t.evaluate?r("v-uni-view",{staticClass:"event_ship event_color"},[t._v("发货时间:"),1===e.cart_info.productPresell.presell_type?r("v-uni-text",[t._v(t._s(1===e.cart_info.productPresell.delivery_type?"支付成功后":"预售结束后")+t._s(e.cart_info.productPresell.delivery_day)+"天内")]):t._e(),2===e.cart_info.productPresell.presell_type?r("v-uni-text",[t._v(t._s(1===e.cart_info.productPresell.delivery_type?"支付尾款后":"预售结束后")+t._s(e.cart_info.productPresell.delivery_day)+"天内")]):t._e()],1):t._e(),r("v-uni-view",{staticClass:"right-btn-box event_box"},[0==e.is_refund&&10!=t.evaluate&&11!=t.evaluate?r("v-uni-view",{staticClass:"btn-item",on:{click:function(r){r.stopPropagation(),arguments[0]=r=t.$handleEvent(r),t.refund(e)}}},[t._v("申请退款")]):t._e(),1==e.is_refund?r("v-uni-view",{staticClass:"btn-item err"},[t._v("退款中")]):t._e(),e.is_refund>1?r("v-uni-view",{staticClass:"btn-item err"},[t._v("已退款")]):t._e(),0==e.is_reply&&2==t.evaluate?r("v-uni-view",{staticClass:"btn-item",on:{click:function(r){r.stopPropagation(),arguments[0]=r=t.$handleEvent(r),t.evaluateTap(e.order_product_id,t.orderId)}}},[t._v("去评价")]):1==e.is_reply&&2==t.evaluate?r("v-uni-view",{staticClass:"btn-item on"},[t._v("已评价")]):t._e()],1)],1)],1),t.orderData.status>=10?r("v-uni-view",{staticClass:"event_progress"},[r("v-uni-view",{staticClass:"progress_list"},[r("v-uni-view",{staticClass:"progress_name font-color"},[t._v("阶段一: 买家已付款")]),r("v-uni-view",{staticClass:"progress_price"},[t._v("商品定金"),r("v-uni-text",{staticClass:"align_right"},[t._v("¥"+t._s(t.orderData.pay_price))])],1),r("v-uni-view",{staticClass:"progress_pay"},[t._v("定金实付款"),r("v-uni-text",{staticClass:"align_right font-color"},[t._v("¥"+t._s(t.orderData.pay_price))])],1)],1),r("v-uni-view",{staticClass:"progress_list"},[r("v-uni-view",{staticClass:"progress_name font-color"},[t._v("阶段二:"),10==t.orderData.status&&0==t.orderData.presellOrder.activeStatus?r("v-uni-text",[t._v("未开始")]):t._e(),10==t.orderData.status&&1==t.orderData.presellOrder.activeStatus?r("v-uni-text",[t._v("等待买家付尾款")]):t._e(),11==t.orderData.status||2==t.orderData.presellOrder.activeStatus?r("v-uni-text",[t._v("交易已关闭")]):t._e()],1),r("v-uni-view",{staticClass:"progress_price"},[t._v("商品尾款"),r("v-uni-text",{staticClass:"align_right"},[t._v("¥"+t._s(t.orderData.presellOrder.pay_price))])],1),r("v-uni-view",{staticClass:"progress_pay"},[t._v("尾款需付款"),r("v-uni-text",{staticClass:"align_right font-color"},[t._v("¥"+t._s(t.orderData.presellOrder.pay_price))])],1)],1)],1):t._e()],1):r("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[r("v-uni-view",{staticClass:"pictrue",on:{click:function(r){arguments[0]=r=t.$handleEvent(r),t.jumpCon(e)}}},[r("v-uni-image",{attrs:{src:e.cart_info.productAttr&&e.cart_info.productAttr.image||e.cart_info.product.image}})],1),r("v-uni-view",{staticClass:"text"},[r("v-uni-view",{staticClass:"acea-row row-between-wrapper"},[r("v-uni-view",{staticClass:"name line1"},[t._v(t._s(e.cart_info.product.store_name))]),r("v-uni-view",{staticClass:"num"},[t._v("x "+t._s(e.product_num))])],1),e.cart_info.productAttr.sku?r("v-uni-view",{staticClass:"attr line1"},[t._v(t._s(e.cart_info.productAttr.sku))]):t._e(),3==e.cart_info.product_type?r("v-uni-view",{staticClass:"money font-color"},[t._v("¥"+t._s(e.cart_info.productAssistAttr.assist_price))]):4==e.cart_info.product_type?r("v-uni-view",{staticClass:"money font-color"},[t._v("¥"+t._s(e.cart_info.activeSku.active_price))]):r("v-uni-view",{staticClass:"money font-color"},[t._v("¥"+t._s(e.cart_info.productAttr.price))]),r("v-uni-view",{staticClass:"right-btn-box"},[0==e.is_refund&&9!=t.evaluate?r("v-uni-view",{staticClass:"btn-item",on:{click:function(r){r.stopPropagation(),arguments[0]=r=t.$handleEvent(r),t.refund(e)}}},[t._v("申请退款")]):t._e(),1==e.is_refund?r("v-uni-view",{staticClass:"btn-item err"},[t._v("退款中")]):t._e(),e.is_refund>1?r("v-uni-view",{staticClass:"btn-item err"},[t._v("已退款")]):t._e(),0==e.is_reply&&2==t.evaluate?r("v-uni-view",{staticClass:"btn-item",on:{click:function(r){r.stopPropagation(),arguments[0]=r=t.$handleEvent(r),t.evaluateTap(e.order_product_id,t.orderId)}}},[t._v("去评价")]):1==e.is_reply&&2==t.evaluate?r("v-uni-view",{staticClass:"btn-item on"},[t._v("已评价")]):t._e()],1)],1)],1)],1)})),1)],1)},a=[]},"7d4f":function(t,e,r){"use strict";var n=r("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.getCartCounts=a,e.getCartList=o,e.changeCartNum=u,e.cartDel=s,e.getOrderList=c,e.orderProduct=d,e.orderComment=l,e.orderPay=f,e.orderData=p,e.unOrderCancel=v,e.orderDel=_,e.getOrderDetail=g,e.groupOrderDetail=b,e.getPayOrder=m,e.orderAgain=y,e.orderTake=w,e.express=h,e.ordeRefundReason=C,e.orderRefundVerify=x,e.orderConfirm=k,e.getCouponsOrderPrice=A,e.postOrderComputed=S,e.orderCreate=D,e.groupOrderList=E,e.refundBatch=O,e.refundProduct=P,e.refundApply=R,e.refundMessage=T,e.refundList=U,e.refundDetail=j,e.expressList=I,e.refundBackGoods=L,e.refundDel=B,e.refundExpress=M,e.verifyCode=G,e.presellOrderPay=N,e.receiptOrder=$,e.getReceiptOrder=z,e.getCallBackUrlApi=H;var i=n(r("112d"));function a(){return i.default.get("user/cart/count")}function o(){return i.default.get("user/cart/lst")}function u(t,e){return i.default.post("user/cart/change/"+t,e)}function s(t){return i.default.post("user/cart/delete",t)}function c(t){return i.default.get("order/list",t)}function d(t){return i.default.get("reply/product/"+t)}function l(t,e){return i.default.post("reply/"+t,e)}function f(t,e){return i.default.post("order/pay/"+t,e)}function p(){return i.default.get("order/number")}function v(t){return i.default.post("order/cancel/"+t)}function _(t){return i.default.post("order/del/"+t)}function g(t){return i.default.get("order/detail/"+t)}function b(t){return i.default.get("order/group_order_detail/"+t)}function m(t){return i.default.get("order/status/"+t)}function y(t){return i.default.post("user/cart/again",t)}function w(t){return i.default.post("order/take/"+t)}function h(t){return i.default.post("order/express/"+t)}function C(){return i.default.get("order/refund/reason")}function x(t){return i.default.post("order/refund/verify",t)}function k(t){return i.default.post("order/check",t)}function A(t,e){return i.default.get("coupons/order/"+t,e)}function S(t,e){return i.default.post("/order/computed/"+t,e)}function D(t){return i.default.post("order/create",t,{noAuth:!0})}function E(t){return i.default.get("order/group_order_list",t,{noAuth:!0})}function O(t){return i.default.get("refund/batch_product/"+t,{noAuth:!0})}function P(t,e){return i.default.get("refund/product/"+t,e,{noAuth:!0})}function R(t,e){return i.default.post("refund/apply/"+t,e,{noAuth:!0})}function T(){return i.default.get("common/refund_message",{noAuth:!0})}function U(t){return i.default.get("refund/list",t,{noAuth:!0})}function j(t){return i.default.get("refund/detail/"+t,{noAuth:!0})}function I(){return i.default.get("common/express")}function L(t,e){return i.default.post("refund/back_goods/"+t,e,{noAuth:!0})}function B(t){return i.default.post("refund/del/"+t,{noAuth:!0})}function M(t){return i.default.get("refund/express/"+t,{noAuth:!0})}function G(t){return i.default.get("order/verify_code/"+t)}function N(t,e){return i.default.post("presell/pay/"+t,e)}function $(t){return i.default.get("user/receipt/order",t)}function z(t){return i.default.get("user/receipt/order/"+t)}function H(t){return i.default.get("common/pay_key/"+t,{},{noAuth:!0})}},9335:function(t,e,r){"use strict";r("99af"),r("4160"),r("a9e3"),r("159b"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;r("e755");var n=r("301c"),i=r("c117"),a={props:{evaluate:{type:Number,default:0},activityType:{type:Number,default:0},cartInfo:{type:Array,default:function(){return[]}},orderId:{type:String,default:""},jump:{type:Boolean,default:!1},orderData:{type:Object,default:function(){return{}}}},data:function(){return{totalNmu:"",isTimePay:!1}},watch:{cartInfo:function(t,e){var r=0;t.forEach((function(t,e){r+=t.cart_num})),this.totalNmu=r}},onShow:function(){this.isPayBalance()},mounted:function(){},methods:{evaluateTap:function(t,e){uni.navigateTo({url:"/pages/users/goods_comment_con/index?uni=".concat(t,"&order_id=").concat(e)})},isPayBalance:function(){var t=this;10===t.orderData.status&&(new Date<new Date(t.orderData.presellOrder.final_start_time)?t.isTimePay=!1:new Date>=new Date(t.orderData.presellOrder.final_start_time)&&new Date<=new Date(t.orderData.presellOrder.final_start_time)&&(t.isTimePay=!0))},jumpCon:function(t){4==t.product_type&&(t.activity_id=t.cart_info&&t.cart_info.activeSku.product_group_id),(0,n.goShopDetail)(t).then((function(e){(0,i.initiateAssistApi)(t.activity_id).then((function(t){var e=t.data.product_assist_set_id;uni.hideLoading(),uni.navigateTo({url:"/pages/activity/assist_detail/index?id="+e})})).catch((function(t){uni.showToast({title:t,icon:"none"})}))}))},refund:function(t){0==this.evaluate||9==this.evaluate?uni.navigateTo({url:"/pages/users/refund/confirm?order_id="+this.orderId+"&type=1&ids="+t.order_product_id+"&refund_type=1"}):uni.navigateTo({url:"/pages/users/refund/select?order_id="+this.orderId+"&type=1&ids="+t.order_product_id})}}};e.default=a},a3b8:function(t,e,r){var n=r("b4c1");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=r("4f06").default;i("9d992f86",n,!0,{sourceMap:!1,shadowMode:!1})},b4c1:function(t,e,r){var n=r("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.orderGoods[data-v-185ddd58]{background-color:#fff}.right-btn-box[data-v-185ddd58]{position:absolute;right:0;bottom:0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.right-btn-box.event_box[data-v-185ddd58]{position:static}.right-btn-box .btn-item[data-v-185ddd58]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;width:%?140?%;height:%?46?%;margin-left:%?20?%;border:1px solid #bbb;-webkit-border-radius:%?23?%;border-radius:%?23?%;font-size:%?24?%;color:#282828}.right-btn-box .btn-item.on[data-v-185ddd58]{background:#dcdcdc;border-color:#dcdcdc}.right-btn-box .btn-item.err[data-v-185ddd58]{background:#f7f7f7;border-color:#f7f7f7;color:#aaa}.event_bg[data-v-185ddd58]{background:#ff7f00}.event_color[data-v-185ddd58]{color:#ff7f00}.presell_item[data-v-185ddd58]{height:auto;padding-bottom:%?15?%}.event_progress[data-v-185ddd58]{margin-top:%?20?%;background:#fff}.event_progress .progress_name[data-v-185ddd58]{padding-left:%?30?%;height:%?60?%;line-height:%?60?%;font-size:%?24?%;font-weight:700;position:relative}.event_progress .progress_name[data-v-185ddd58]::before{content:"";display:inline-block;width:%?5?%;height:%?34?%;background:#e93323;position:absolute;top:%?15?%;left:0}.event_progress .align_right[data-v-185ddd58]{float:right;font-weight:700}.event_progress .progress_price[data-v-185ddd58]{padding:%?20?% %?30?%;color:#999;font-size:%?22?%}.event_progress .progress_pay[data-v-185ddd58]{padding:%?25?% %?30?%;background:#fff8f7;font-size:%?26?%;color:#282828}.event_name[data-v-185ddd58]{display:inline-block;margin-right:%?9?%;color:#fff;font-size:%?20?%;padding:0 %?8?%;line-height:%?30?%;text-align:center;-webkit-border-radius:%?6?%;border-radius:%?6?%}.event_ship[data-v-185ddd58]{font-size:%?20?%;margin-top:%?10?%}',""]),t.exports=e},c117:function(t,e,r){"use strict";var n=r("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.getCombinationList=a,e.getCombinationUser=o,e.getActivitycategory=u,e.getCombinationDetail=s,e.getCombinationPink=c,e.postCombinationRemove=d,e.getSeckillDetail=l,e.getCombinationPoster=f,e.seckillCode=p,e.scombinationCode=v,e.getSeckillIndexTime=_,e.getSeckillList=g,e.getPresellList=b,e.getAssistList=m,e.initiateAssistApi=y,e.getAssistDetail=w,e.assistHelpList=h,e.presellAgreement=C,e.assistUserData=x,e.postAssistHelp=k,e.getAssistUser=A,e.getBargainUserList=S,e.getBargainUserCancel=D;var i=n(r("112d"));function a(t){return i.default.get("store/product/group/lst",t,{noAuth:!0})}function o(t){return i.default.get("store/product/group/count",t,{noAuth:!0})}function u(t){return i.default.get("product/spu/active/category/"+t,{},{noAuth:!0})}function s(t){return i.default.get("store/product/group/detail/"+t,{},{noAuth:!0})}function c(t){return i.default.get("store/product/group/get/"+t)}function d(t){return i.default.post("store/product/group/cancel",t)}function l(t){return i.default.get("store/product/seckill/detail/"+t,{},{noAuth:!0})}function f(t){return i.default.post("combination/poster",t)}function p(t,e){return i.default.get("seckill/code/"+t,e)}function v(t){return i.default.get("combination/code/"+t)}function _(){return i.default.get("store/product/seckill/select",{},{noAuth:!0})}function g(t){return i.default.get("store/product/seckill/lst",t,{noAuth:!0})}function b(t){return i.default.get("store/product/presell/lst",t,{noAuth:!0})}function m(t){return i.default.get("store/product/assist/lst",t,{noAuth:!0})}function y(t){return i.default.post("store/product/assist/create/"+t)}function w(t){return i.default.get("store/product/assist/detail/"+t)}function h(t,e){return i.default.get("store/product/assist/user/"+t,e)}function C(){return i.default.get("store/product/presell/agree")}function x(){return i.default.get("store/product/assist/count",{},{noAuth:!0})}function k(t){return i.default.post("store/product/assist/set/"+t)}function A(t){return i.default.get("store/product/assist/share/"+t)}function S(t){return i.default.get("store/product/assist/set/lst",t)}function D(t){return i.default.post("store/product/assist/set/delete/"+t)}},c9a8:function(t,e,r){"use strict";var n=r("a3b8"),i=r.n(n);i.a},e755:function(t,e,r){"use strict";r("d3b7"),Object.defineProperty(e,"__esModule",{value:!0}),e.auth=i,e.openPaySubscribe=a,e.openOrderSubscribe=o,e.openExtrctSubscribe=u,e.openPinkSubscribe=s,e.openBargainSubscribe=c,e.openOrderRefundSubscribe=d,e.openRechargeSubscribe=l,e.openEextractSubscribe=f,e.subscribe=p;var n=r("2064");function i(){var t={},e=uni.getStorageSync(n.SUBSCRIBE_MESSAGE);return t=e||{},t}function a(){var t=i();return p([t.ORDER_POSTAGE_SUCCESS,t.ORDER_DELIVER_SUCCESS,t.ORDER_PAY_SUCCESS])}function o(){var t=i();return p([t.ORDER_DELIVER_SUCCESS,t.ORDER_POSTAGE_SUCCESS])}function u(){var t=i();return p([t.user_extract])}function s(){var t=i();return p([t.pink_true])}function c(){var t=i();return p([t.bargain_success])}function d(){var t=i();return p([t.ORDER_REFUND_NOTICE])}function l(){var t=i();return p([t.RECHARGE_SUCCESS])}function f(){var t=i();return p([t.USER_EXTRACT])}function p(t){wx;return new Promise((function(e,r){uni.requestSubscribeMessage({tmplIds:t,success:function(t){return e(t)},fail:function(t){return e(t)},complete:function(t){}})}))}},f687:function(t,e,r){"use strict";r.r(e);var n=r("65e8"),i=r("5eeb");for(var a in i)"default"!==a&&function(t){r.d(e,t,(function(){return i[t]}))}(a);r("c9a8");var o,u=r("f0c5"),s=Object(u["a"])(i["default"],n["b"],n["c"],!1,null,"185ddd58",null,!1,n["a"],o);e["default"]=s.exports}}]);
|