pages-annex-special-index~pages-columnGoods-HotNewGoods-index~pages-goods_cate-goods_cate~pages-inde~9541bee2.d5c49b74.js 11 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-annex-special-index~pages-columnGoods-HotNewGoods-index~pages-goods_cate-goods_cate~pages-inde~9541bee2"],{"0014":function(t,e,n){"use strict";n.r(e);var r=n("6d38"),a=n.n(r);for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);e["default"]=a.a},"39ed":function(t,e,n){"use strict";n("7a82");var r=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.adminExpress=function(t,e){return o.default.get("admin/order/express/"+t+"".concat(e?"/refund":""))},e.aliPay=function(t,e){return o.default.get("ali_pay",{key:t,quitUrl:e},{noAuth:!0})},e.cancelRefundOrder=function(t){return o.default.post("order/refund/cancel/"+t)},e.cartDel=function(t){"object"===(0,a.default)(t)&&(t=t.join(","));return o.default.post("cart/del",{ids:t})},e.changeCartNum=function(t,e){return o.default.post("cart/num",{id:t,number:e})},e.checkShipping=function(t,e){return o.default.post("order/check_shipping",{cartId:t,new:e})},e.express=function(t,e){return o.default.get("order/express/"+t+"".concat(e?"/refund":""))},e.getCartCounts=function(t){return o.default.get("cart/count",{numType:void 0===t?0:t})},e.getCartList=function(t){return o.default.get("cart/list",t)},e.getCashierOrder=function(t,e){return o.default.get("order/cashier/".concat(t,"/").concat(e))},e.getCouponsOrderPrice=function(t,e){return o.default.get("coupons/order/"+t,e)},e.getNewOrderList=function(t){return o.default.get("order/refund/list",t)},e.getOrderDetail=function(t,e){return o.default.get("order/detail/"+t+"".concat(e?"/".concat(e):""))},e.getOrderList=function(t){return o.default.get("order/list",t)},e.getRefundOrderDetail=function(t,e){return o.default.get("order/refund_detail/"+t+"".concat(e?"/".concat(e):""))},e.getResetCart=function(t){return o.default.post("v2/reset_cart",t)},e.offlineCheckPrice=function(t){return o.default.post("order/offline/check/price",t)},e.offlineCreate=function(t){return o.default.post("order/offline/create",t)},e.ordeRefundReason=function(){return o.default.get("order/refund/reason")},e.orderAgain=function(t){return o.default.post("order/again",{uni:t})},e.orderCancel=function(t){return o.default.post("order/cancel",{id:t})},e.orderComment=function(t){return o.default.post("order/comment",t)},e.orderConfirm=function(t,e,n,r){return o.default.post("order/confirm",{cartId:t,new:e,addressId:n,shipping_type:r})},e.orderCoupon=function(t){return o.default.post("v2/order/product_coupon/"+t)},e.orderCreate=function(t,e){return o.default.post("order/create/"+t,e)},e.orderData=function(){return o.default.get("order/data")},e.orderDel=function(t){return o.default.post("order/del",{uni:t})},e.orderInvoiceDetail=function(t){return o.default.get("v2/order/invoice_detail/".concat(t))},e.orderInvoiceList=function(t){return o.default.get("v2/order/invoice_list",t)},e.orderOfflinePayType=function(){return o.default.get("order/offline/pay/type")},e.orderPay=function(t){return o.default.post("order/pay",t)},e.orderProduct=function(t){return o.default.post("order/product",{unique:t})},e.orderRefundVerify=function(t){return o.default.post("order/refund/verify",t)},e.orderTake=function(t){return o.default.post("order/take",{uni:t})},e.postOrderComputed=function(t,e){return o.default.post("order/computed/"+t,e)},e.postRefundGoods=function(t){return o.default.post("order/refund/cart_info",t)},e.refundExpress=function(t){return o.default.post("order/refund/express",t)},e.refundGoodsList=function(t){return o.default.get("order/refund/cart_info/".concat(t))},e.refundOrderDel=function(t){return o.default.get("order/refund/del/"+t,{})},e.refundOrderDetail=function(t){return o.default.get("order/refund/detail/"+t)},e.returnGoodsSubmit=function(t,e){return o.default.post("order/refund/apply/".concat(t),e)},e.vcartList=function(){return o.default.get("v2/cart_list")},n("99af");var a=r(n("53ca")),o=r(n("fb81"))},"4d1b":function(t,e,n){var r=n("24fb");e=r(!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/* 文章场景相关 */.page-footer[data-v-8ff6933a]{position:fixed;left:0;bottom:0;z-index:999;display:flex;align-items:center;justify-content:space-around;flex-wrap:nowrap;width:100%;height:%?98?%;height:calc(98rpx+ constant(safe-area-inset-bottom));height:calc(%?98?% + env(safe-area-inset-bottom));box-sizing:border-box;border-top:solid %?1?% #f3f3f3;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background-color:#fff;box-shadow:0 0 %?17?% %?1?% hsla(0,0%,80.8%,.32);padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.page-footer .foot-item[data-v-8ff6933a]{display:flex;width:-webkit-max-content;width:max-content;align-items:center;justify-content:center;flex-direction:column;position:relative;width:100%;height:100%}.page-footer .foot-item .count-num[data-v-8ff6933a]{position:absolute;display:flex;justify-content:center;align-items:center;width:%?40?%;height:%?40?%;top:%?0?%;right:calc(50% - %?55?%);color:#fff;font-size:%?20?%;background-color:#fd502f;border-radius:50%;padding:%?4?%}.page-footer .foot-item .active[data-v-8ff6933a]{-webkit-animation:mymove-data-v-8ff6933a 1s 1;animation:mymove-data-v-8ff6933a 1s 1}@-webkit-keyframes mymove-data-v-8ff6933a{0%{-webkit-transform:scale(1);transform:scale(1)\n /*开始为原始大小*/}10%{-webkit-transform:scale(.8);transform:scale(.8)}30%{-webkit-transform:scale(1.1);transform:scale(1.1)\n /*放大1.1倍*/}50%{-webkit-transform:scale(.9);transform:scale(.9)\n /*放大1.1倍*/}70%{-webkit-transform:scale(1.05);transform:scale(1.05)}90%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes mymove-data-v-8ff6933a{0%{-webkit-transform:scale(1);transform:scale(1)\n /*开始为原始大小*/}10%{-webkit-transform:scale(.8);transform:scale(.8)}30%{-webkit-transform:scale(1.1);transform:scale(1.1)\n /*放大1.1倍*/}50%{-webkit-transform:scale(.9);transform:scale(.9)\n /*放大1.1倍*/}70%{-webkit-transform:scale(1.05);transform:scale(1.05)}90%{-webkit-transform:scale(1);transform:scale(1)}}.page-footer .foot-item uni-image[data-v-8ff6933a]{height:%?50?%;width:%?50?%;text-align:center;margin:0 auto}.page-footer .foot-item .txt[data-v-8ff6933a]{font-size:%?24?%}',""]),t.exports=e},"605de":function(t,e,n){"use strict";n.r(e);var r=n("e8a5"),a=n("0014");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("6159");var i=n("f0c5"),u=Object(i["a"])(a["default"],r["b"],r["c"],!1,null,"8ff6933a",null,!1,r["a"],void 0);e["default"]=u.exports},6159:function(t,e,n){"use strict";var r=n("e8fa"),a=n.n(r);a.a},6557:function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.goPage=function(){return new Promise((function(t){if(0!=r.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 r=getApp()},"6d38":function(t,e,n){"use strict";n("7a82");var r=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=r(n("ade3")),o=r(n("5530"));n("a9e3"),n("ac1f");var i,u=n("26cb"),c=n("4e39"),f=n("39ed"),d=(i={name:"pageFooter",props:{status:{type:Number|String,default:1},countNum:{type:Number|String,default:0}},data:function(){return{newData:void 0,footHeight:0,isShow:!1}},computed:(0,o.default)({},(0,u.mapState)({configData:function(t){return t.app.pageFooter}}))},(0,a.default)(i,"computed",(0,u.mapGetters)(["isLogin","cartNum","activityTab"])),(0,a.default)(i,"watch",{activityTab:{handler:function(t,e){},deep:!0},configData:{handler:function(t,e){var n=this,r=uni.createSelectorQuery().in(this);this.newData=t,this.$nextTick((function(){r.select("#target").boundingClientRect((function(t){uni.$emit("footHeight",t.height),t&&(n.footHeight=t.height+50)})).exec()}))},deep:!0}}),(0,a.default)(i,"created",(function(){var t=this,e=getCurrentPages(),n=e[e.length-1].route;this.$store.commit("ACTIVITYTAB","/"+n),uni.$on("uploadFooter",(function(){var e=getCurrentPages(),n=e[e.length-1].route;t.$store.commit("ACTIVITYTAB","/"+n)}))})),(0,a.default)(i,"onShow",(function(){})),(0,a.default)(i,"mounted",(function(){var t=this;(0,c.getNavigation)().then((function(e){uni.setStorageSync("pageFoot",e.data),t.$store.commit("FOOT_UPLOAD",e.data),t.newData=e.data}));uni.hideTabBar(),this.newData=this.$store.state.app.pageFooter,this.isLogin&&this.getCartNum()})),(0,a.default)(i,"onHide",(function(){uni.$off(["uploadFooter"])})),(0,a.default)(i,"methods",{goRouter:function(t){var e=getCurrentPages(),n=e[e.length-1].route;this.$store.commit("ACTIVITYTAB",t.link),t.link!="/"+n&&uni.switchTab({url:t.link,fail:function(e){uni.redirectTo({url:t.link})}})},getCartNum:function(){var t=this,e=this;(0,f.getCartCounts)().then((function(n){e.cartCount=n.data.count,t.$store.commit("indexData/setCartNum",n.data.count>99?"...":n.data.count)}))}}),i);e.default=d},e8a5:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.newData?n("v-uni-view",[n("v-uni-view",{staticClass:"page-footer",attrs:{id:"target"}},t._l(t.newData.menuList,(function(e,r){return n("v-uni-view",{key:r,staticClass:"foot-item",style:{"background-color":t.newData.bgColor.color[0].item},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.goRouter(e)}}},[e.link==t.activityTab?[n("v-uni-image",{staticClass:"active",attrs:{src:e.imgList[0]}}),n("v-uni-view",{staticClass:"txt",style:{color:t.newData.activeTxtColor.color[0].item}},[t._v(t._s(t.$t(e.name)))])]:[n("v-uni-image",{attrs:{src:e.imgList[1]}}),n("v-uni-view",{staticClass:"txt",style:{color:t.newData.txtColor.color[0].item}},[t._v(t._s(t.$t(e.name)))])],"/pages/order_addcart/order_addcart"===e.link&&t.cartNum>0?n("div",{staticClass:"count-num"},[t._v(t._s(t.cartNum>99?"99+":t.cartNum))]):t._e()],2)})),1)],1):t._e()},a=[]},e8fa:function(t,e,n){var r=n("4d1b");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var a=n("4f06").default;a("853f6f68",r,!0,{sourceMap:!1,shadowMode:!1})}}]);