You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
20 KiB
1 lines
20 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-goods-goods_logistics-index"],{1579:function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.collectAdd=function(t,e){return o.default.post("collect/add",{id:t,product:void 0===e?"product":e})},e.collectAll=function(t,e){return o.default.post("collect/all",{id:t,category:void 0===e?"product":e})},e.collectDel=function(t,e){return o.default.post("collect/del",{id:t,category:void 0===e?"product":e})},e.create=function(t){return o.default.post("agent/apply/".concat(t.id),t)},e.deleteVisitList=function(t){return o.default.delete("user/visit",t)},e.getAgentAgreement=function(t){return o.default.get("agent/get_agent_agreement",{},{noAuth:!0})},e.getAttr=function(t,e){return o.default.get("v2/get_attr/"+t+"/"+e)},e.getCategoryList=function(){return o.default.get("category",{},{noAuth:!0})},e.getCodeApi=function(){return o.default.get("verify_code",{},{noAuth:!0})},e.getCollectUserList=function(t){return o.default.get("collect/user",t)},e.getGoodsDetails=function(){return o.default.get("agent/apply/info",{},{noAuth:!0})},e.getGroomList=function(t,e){return o.default.get("groom/list/"+t,e,{noAuth:!0})},e.getHomeProducts=function(t){return o.default.get("home/products",t,{noAuth:!0})},e.getPresellProductDetail=function(t){return o.default.get("advance/detail/"+t)},e.getProductCode=function(t){return o.default.get("product/code/"+t,{})},e.getProductDetail=function(t){return o.default.get("product/detail/"+t,{},{noAuth:!0})},e.getProductHot=function(t,e){return o.default.get("product/hot",{page:void 0===t?1:t,limit:void 0===e?4:e},{noAuth:!0})},e.getProductslist=function(t){return o.default.get("products",t,{noAuth:!0})},e.getReplyConfig=function(t){return o.default.get("reply/config/"+t)},e.getReplyList=function(t,e){return o.default.get("reply/list/"+t,e)},e.getSearchKeyword=function(){return o.default.get("search/keyword",{},{noAuth:!0})},e.getVisitList=function(t){return o.default.get("user/visit_list",t)},e.postCartAdd=function(t){return o.default.post("cart/add",t)},e.postCartNum=function(t){return o.default.post("v2/set_cart_num",t)},e.registerVerify=function(t){return o.default.post("register/verify",t,{noAuth:!0})},e.storeDiscountsList=function(t){return o.default.get("store_discounts/list/"+t,{},{noAuth:!0})},e.storeListApi=function(t){return o.default.get("store_list",t)};var o=i(n("3160"))},"17a5":function(t,e,n){"use strict";n.r(e);var i=n("36e2"),o=n("7fd0");for(var r in o)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(r);n("3a23");var a=n("f0c5"),c=Object(a["a"])(o["default"],i["b"],i["c"],!1,null,"2238253a",null,!1,i["a"],void 0);e["default"]=c.exports},"208c":function(t,e,n){var i=n("24fb");e=i(!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/* crmeb颜色变量 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.recommend[data-v-3a17a103]{background-color:#fff}.recommend .title[data-v-3a17a103]{height:%?135?%;font-size:%?28?%;color:#282828}.recommend .title .name[data-v-3a17a103]{margin:0 %?28?%}.recommend .title .iconfont[data-v-3a17a103]{font-size:%?170?%;color:#454545}.recommend .title .iconfont.lefticon[data-v-3a17a103]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.recommend .recommendList[data-v-3a17a103]{padding:0 %?30?%}.recommend .recommendList .item[data-v-3a17a103]{width:%?335?%;margin-bottom:%?30?%;border-radius:%?20?% %?20?% 0 0;box-shadow:%?0?% %?3?% %?10?% %?2?% rgba(0,0,0,.03);padding-bottom:%?10?%}.recommend .recommendList .item .pictrue[data-v-3a17a103]{position:relative;width:100%;height:%?335?%}.recommend .recommendList .item .pictrue[data-v-3a17a103] ,\n.recommend .recommendList .item .pictrue[data-v-3a17a103] uni-image,\n.recommend .recommendList .item .pictrue[data-v-3a17a103] .easy-loadimage,\n.recommend .recommendList .item .pictrue[data-v-3a17a103] uni-image{width:100%;height:%?335?%;border-radius:%?20?%}.recommend .recommendList .item .name[data-v-3a17a103]{font-size:%?28?%;color:#282828;margin-top:%?20?%;padding:0 %?10?%;line-height:%?34?%;height:%?68?%}.recommend .recommendList .item .money[data-v-3a17a103]{font-size:%?20?%;margin-top:%?8?%;padding:0 %?10?% %?0?% %?10?%}.recommend .vip-money[data-v-3a17a103]{font-size:%?24?%;color:#282828;font-weight:700;display:flex;align-items:center;padding:%?0?% 0 0 %?10?%}.recommend .vip-money uni-image[data-v-3a17a103]{width:%?46?%;height:%?21?%;margin-left:%?4?%}.recommend .recommendList .item .money .num[data-v-3a17a103]{font-size:%?28?%}',""]),t.exports=e},"2c78":function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.goPage=function(){return new Promise((function(t){if(0!=i.globalData.isIframe)return!1;t(!0)}))},e.goShopDetail=function(t,e){return new Promise((function(n){t.activity&&"1"===t.activity.type?uni.navigateTo({url:"/pages/activity/goods_seckill_details/index?id=".concat(t.activity.id,"&time=").concat(t.activity.time,"&status=1")}):t.activity&&"2"===t.activity.type?uni.navigateTo({url:"/pages/activity/goods_bargain_details/index?id=".concat(t.activity.id,"&bargain=").concat(e)}):t.activity&&"3"===t.activity.type?uni.navigateTo({url:"/pages/activity/goods_combination_details/index?id=".concat(t.activity.id)}):n(t)}))},n("d3b7"),n("99af");var i=getApp()},"36e2":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{style:t.colorStyle},[t.product.length?n("v-uni-view",{staticClass:"logistics"},[t._l(t.product,(function(e,i){return n("v-uni-view",{key:i,staticClass:"header acea-row row-between row-top"},[n("v-uni-view",{staticClass:"pictrue"},[n("v-uni-image",{attrs:{src:e.productInfo.image}})],1),n("v-uni-view",{staticClass:"text acea-row row-between"},[n("v-uni-view",{staticClass:"name line2"},[t._v(t._s(e.productInfo.store_name))]),n("v-uni-view",{staticClass:"money"},[n("v-uni-view",[t._v(t._s(t.$t("¥"))+t._s((parseFloat(e.truePrice)+parseFloat(e.postage_price/e.cart_num)).toFixed(2)))]),n("v-uni-view",[t._v("x"+t._s(e.cart_num))])],1)],1)],1)})),n("v-uni-view",{staticClass:"logisticsCon"},[n("v-uni-view",{staticClass:"company acea-row row-between-wrapper"},[n("v-uni-view",{staticClass:"picTxt acea-row row-between-wrapper"},[n("v-uni-view",{staticClass:"iconfont icon-wuliu"}),n("v-uni-view",{staticClass:"text"},[n("v-uni-view",[n("v-uni-text",{staticClass:"name line1"},[t._v(t._s(t.$t("快递公司"))+":")]),t._v(t._s(t.orderInfo.delivery_name))],1),n("v-uni-view",{staticClass:"express line1"},[n("v-uni-text",{staticClass:"name"},[t._v(t._s(t.$t("快递单号"))+":")]),t._v(t._s(t.orderInfo.delivery_id))],1)],1)],1),n("v-uni-view",{staticClass:"copy copy-data",attrs:{"data-clipboard-text":t.orderInfo.delivery_id}},[t._v(t._s(t.$t("复制")))])],1),t._l(t.expressList,(function(e,i){return n("v-uni-view",{key:i,staticClass:"item"},[n("v-uni-view",{staticClass:"circular",class:0===i?"on":""}),n("v-uni-view",{staticClass:"text",class:0===i?"on-font on":""},[n("v-uni-view",[t._v(t._s(e.status))]),n("v-uni-view",{staticClass:"data",class:0===i?"on-font on":""},[t._v(t._s(e.time))])],1)],1)}))],2),n("recommend",{attrs:{hostProduct:t.hostProduct}})],2):t._e()],1)},o=[]},"3a23":function(t,e,n){"use strict";var i=n("f7ec"),o=n.n(i);o.a},"451d":function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.adminExpress=function(t,e){return r.default.get("admin/order/express/"+t+"".concat(e?"/refund":""))},e.aliPay=function(t,e){return r.default.get("ali_pay",{key:t,quitUrl:e},{noAuth:!0})},e.cancelRefundOrder=function(t){return r.default.post("order/refund/cancel/"+t)},e.cartDel=function(t){"object"===(0,o.default)(t)&&(t=t.join(","));return r.default.post("cart/del",{ids:t})},e.changeCartNum=function(t,e){return r.default.post("cart/num",{id:t,number:e})},e.checkShipping=function(t,e){return r.default.post("order/check_shipping",{cartId:t,new:e})},e.express=function(t,e){return r.default.get("order/express/"+t+"".concat(e?"/refund":""))},e.getCartCounts=function(t){return r.default.get("cart/count",{numType:void 0===t?0:t})},e.getCartList=function(t){return r.default.get("cart/list",t)},e.getCashierOrder=function(t,e){return r.default.get("order/cashier/".concat(t,"/").concat(e))},e.getCouponsOrderPrice=function(t,e){return r.default.get("coupons/order/"+t,e)},e.getNewOrderList=function(t){return r.default.get("order/refund/list",t)},e.getOrderDetail=function(t,e){return r.default.get("order/detail/"+t+"".concat(e?"/".concat(e):""))},e.getOrderList=function(t){return r.default.get("order/list",t)},e.getRefundOrderDetail=function(t,e){return r.default.get("order/refund_detail/"+t+"".concat(e?"/".concat(e):""))},e.getResetCart=function(t){return r.default.post("v2/reset_cart",t)},e.offlineCheckPrice=function(t){return r.default.post("order/offline/check/price",t)},e.offlineCreate=function(t){return r.default.post("order/offline/create",t)},e.ordeRefundReason=function(){return r.default.get("order/refund/reason")},e.orderAgain=function(t){return r.default.post("order/again",{uni:t})},e.orderCancel=function(t){return r.default.post("order/cancel",{id:t})},e.orderComment=function(t){return r.default.post("order/comment",t)},e.orderConfirm=function(t,e,n,i){return r.default.post("order/confirm",{cartId:t,new:e,addressId:n,shipping_type:i})},e.orderCoupon=function(t){return r.default.post("v2/order/product_coupon/"+t)},e.orderCreate=function(t,e){return r.default.post("order/create/"+t,e)},e.orderData=function(){return r.default.get("order/data")},e.orderDel=function(t){return r.default.post("order/del",{uni:t})},e.orderInvoiceDetail=function(t){return r.default.get("v2/order/invoice_detail/".concat(t))},e.orderInvoiceList=function(t){return r.default.get("v2/order/invoice_list",t)},e.orderOfflinePayType=function(){return r.default.get("order/offline/pay/type")},e.orderPay=function(t){return r.default.post("order/pay",t)},e.orderProduct=function(t){return r.default.post("order/product",{unique:t})},e.orderRefundVerify=function(t){return r.default.post("order/refund/verify",t)},e.orderTake=function(t){return r.default.post("order/take",{uni:t})},e.postOrderComputed=function(t,e){return r.default.post("order/computed/"+t,e)},e.postRefundGoods=function(t){return r.default.post("order/refund/cart_info",t)},e.refundExpress=function(t){return r.default.post("order/refund/express",t)},e.refundGoodsList=function(t){return r.default.get("order/refund/cart_info/".concat(t))},e.refundOrderDel=function(t){return r.default.get("order/refund/del/"+t,{})},e.refundOrderDetail=function(t){return r.default.get("order/refund/detail/"+t)},e.returnGoodsSubmit=function(t,e){return r.default.post("order/refund/apply/".concat(t),e)},e.vcartList=function(){return r.default.get("v2/cart_list")},n("99af");var o=i(n("53ca")),r=i(n("3160"))},5462:function(t,e,n){var i=n("24fb");e=i(!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/* crmeb颜色变量 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.logistics .header[data-v-2238253a]{padding:%?23?% %?30?%;background-color:#fff;height:%?166?%;box-sizing:border-box}.logistics .header .pictrue[data-v-2238253a]{width:%?120?%;height:%?120?%}.logistics .header .pictrue uni-image[data-v-2238253a]{width:100%;height:100%;border-radius:%?6?%}.logistics .header .text[data-v-2238253a]{width:%?540?%;font-size:%?28?%;color:#999;margin-top:%?6?%}.logistics .header .text .name[data-v-2238253a]{width:%?365?%;color:#282828}.logistics .header .text .money[data-v-2238253a]{text-align:right}.logistics .logisticsCon[data-v-2238253a]{background-color:#fff;margin:%?12?% 0}.logistics .logisticsCon .company[data-v-2238253a]{height:%?120?%;margin:0 0 %?45?% %?30?%;padding-right:%?30?%;border-bottom:%?1?% solid #f5f5f5}.logistics .logisticsCon .company .picTxt[data-v-2238253a]{width:%?520?%}.logistics .logisticsCon .company .picTxt .iconfont[data-v-2238253a]{width:%?50?%;height:%?50?%;background-color:#666;text-align:center;line-height:%?50?%;color:#fff;font-size:%?35?%}.logistics .logisticsCon .company .picTxt .text[data-v-2238253a]{width:%?450?%;font-size:%?26?%;color:#282828}.logistics .logisticsCon .company .picTxt .text .name[data-v-2238253a]{color:#999}.logistics .logisticsCon .company .picTxt .text .express[data-v-2238253a]{margin-top:%?5?%}.logistics .logisticsCon .company .copy[data-v-2238253a]{font-size:%?20?%;width:%?106?%;text-align:center;border-radius:%?3?%;border:1px solid #999;padding:%?3?% 0}.logistics .logisticsCon .item[data-v-2238253a]{padding:0 %?40?%;position:relative}.logistics .logisticsCon .item .circular[data-v-2238253a]{width:%?20?%;height:%?20?%;border-radius:50%;position:absolute;top:%?-1?%;left:%?31.5?%;background-color:#ddd}.logistics .logisticsCon .item .circular.on[data-v-2238253a]{background-color:var(--view-theme)}.logistics .logisticsCon .item .text.on-font[data-v-2238253a]{color:var(--view-theme)}.logistics .logisticsCon .item .text .data.on-font[data-v-2238253a]{color:var(--view-theme)}.logistics .logisticsCon .item .text[data-v-2238253a]{font-size:%?26?%;color:#666;width:%?615?%;border-left:%?1?% solid #e6e6e6;padding:0 0 %?60?% %?38?%}.logistics .logisticsCon .item .text.on[data-v-2238253a]{border-left-color:var(--view-minorColor)}.logistics .logisticsCon .item .text .data[data-v-2238253a]{font-size:%?24?%;color:#999;margin-top:%?10?%}.logistics .logisticsCon .item .text .data .time[data-v-2238253a]{margin-left:%?15?%}',""]),t.exports=e},"6c5c":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return i}));var i={easyLoadimage:n("9362").default},o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"recommend",style:t.colorStyle},[n("v-uni-view",{staticClass:"title acea-row row-center-wrapper"},[n("v-uni-text",{staticClass:"iconfont icon-zhuangshixian"}),n("v-uni-text",{staticClass:"name"},[t._v(t._s(t.$t("热门推荐")))]),n("v-uni-text",{staticClass:"iconfont icon-zhuangshixian lefticon"})],1),n("v-uni-view",{staticClass:"recommendList acea-row row-between-wrapper"},t._l(t.hostProduct,(function(e,i){return n("v-uni-view",{key:i,staticClass:"item",attrs:{"hover-class":"none"},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.goDetail(e)}}},[n("v-uni-view",{staticClass:"pictrue"},[n("easy-loadimage",{attrs:{mode:"widthFix","image-src":e.image}}),e.activity&&"1"===e.activity.type?n("span",{staticClass:"pictrue_log_big pictrue_log_class"},[t._v(t._s(t.$t("秒杀")))]):t._e(),e.activity&&"2"===e.activity.type?n("span",{staticClass:"pictrue_log_big pictrue_log_class"},[t._v(t._s(t.$t("砍价")))]):t._e(),e.activity&&"3"===e.activity.type?n("span",{staticClass:"pictrue_log_big pictrue_log_class"},[t._v(t._s(t.$t("拼团")))]):t._e()],1),n("v-uni-view",{staticClass:"name line2"},[t._v(t._s(e.store_name))]),n("v-uni-view",{staticClass:"money font-color"},[t._v(t._s(t.$t("¥"))),n("v-uni-text",{staticClass:"num"},[t._v(t._s(e.price))])],1)],1)})),1)],1)},r=[]},"7fd0":function(t,e,n){"use strict";n.r(e);var i=n("dc23"),o=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=o.a},8207:function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n("26cb"),r=n("2c78"),a=i(n("66ca")),c={computed:(0,o.mapGetters)(["uid"]),props:{hostProduct:{type:Array,default:function(){return[]}}},mixins:[a.default],data:function(){return{}},methods:{goDetail:function(t){(0,r.goShopDetail)(t,this.uid).then((function(e){uni.navigateTo({url:"/pages/goods_details/index?id=".concat(t.id)})}))}}};e.default=c},dc23:function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n("451d"),r=n("1579"),a=i(n("cf40")),c=n("666f"),s=n("26cb"),d=i(n("f1f8")),u=i(n("66ca")),l={components:{recommend:d.default},mixins:[u.default],data:function(){return{orderId:"",product:[],orderInfo:{},expressList:[],hostProduct:[],is_admin:0}},computed:(0,s.mapGetters)(["isLogin"]),watch:{isLogin:{handler:function(t,e){t&&(this.getExpress(),this.get_host_product())},deep:!0}},onLoad:function(t){if(!t.orderId)return this.$util.Tips({title:this.$t("缺少订单号")});this.orderId=t.orderId,this.type=t.type,this.is_admin=t.is_admin||0,this.isLogin?(this.getExpress(),this.get_host_product()):(0,c.toLogin)()},onReady:function(){this.$nextTick((function(){var t=this,e=new a.default(".copy-data");e.on("success",(function(){t.$util.Tips({title:t.$t("复制成功")})}))}))},onPageScroll:function(t){uni.$emit("scroll")},methods:{onLoadFun:function(){this.getExpress(),this.get_host_product()},copyOrderId:function(){uni.setClipboardData({data:this.orderInfo.delivery_id})},getExpress:function(){var t=this,e=this,n=this.is_admin?o.adminExpress:o.express;n(e.orderId,e.type).then((function(t){var n=t.data.express.result||{};e.$set(e,"product",t.data.order.cartInfo||[]),e.$set(e,"orderInfo",t.data.order),e.$set(e,"expressList",n.list||[])})).catch((function(e){t.$util.Tips({title:e})}))},get_host_product:function(){var t=this;(0,r.getProductHot)().then((function(e){t.$set(t,"hostProduct",e.data)}))}}};e.default=l},f025:function(t,e,n){var i=n("208c");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("5a19e56b",i,!0,{sourceMap:!1,shadowMode:!1})},f1f8:function(t,e,n){"use strict";n.r(e);var i=n("6c5c"),o=n("fad1");for(var r in o)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(r);n("fe2e");var a=n("f0c5"),c=Object(a["a"])(o["default"],i["b"],i["c"],!1,null,"3a17a103",null,!1,i["a"],void 0);e["default"]=c.exports},f7ec:function(t,e,n){var i=n("5462");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=n("4f06").default;o("1497f6f0",i,!0,{sourceMap:!1,shadowMode:!1})},fad1:function(t,e,n){"use strict";n.r(e);var i=n("8207"),o=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=o.a},fe2e:function(t,e,n){"use strict";var i=n("f025"),o=n.n(i);o.a}}]); |