zx/public/static/js/pages-columnGoods-goods_cou...

1 line
14 KiB
JavaScript
Raw Normal View History

2024-07-02 15:32:59 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-columnGoods-goods_coupon_list-index~pages-columnGoods-goods_list-index~pages-columnGoods-goods~dccd016b"],{"1e17":function(t,e,n){"use strict";n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return o}));var o={WaterfallsFlow:n("0389").default},u=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"recommend"},[n("v-uni-view",{staticClass:"common-hd"},[n("v-uni-view",{staticClass:"title",style:{"background-image":"url("+t.domain+"/static/images/index-title.png)"}},[t._v("为你推荐")])],1),n("v-uni-view",{staticClass:"recommendList",class:t.indexP?"on":""},[n("WaterfallsFlow",{attrs:{wfList:t.hostProduct,type:0},on:{itemTap:function(e){arguments[0]=e=t.$handleEvent(e),t.goDetail.apply(void 0,arguments)}}})],1)],1)},r=[]},"2b3f":function(t,e,n){"use strict";n("6a54");var o=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("dc69");var u=n("8f59"),r=n("4a82"),i=n("d727"),a=n("e44d"),c=o(n("0389")),d=n("aa10"),s={components:{WaterfallsFlow:c.default},computed:(0,u.mapGetters)(["uid"]),props:{hostProduct:{type:Array,default:function(){return[]}},indexP:{type:Boolean,default:!1},isLogin:{type:Boolean,default:!1}},data:function(){return{domain:d.HTTP_REQUEST_URL}},mounted:function(){},onPullDownRefresh:function(){var t=this;setTimeout((function(){var e=t.hostProduct.reverse();t.hostProduct=e,uni.stopPullDownRefresh()}),500)},methods:{goDetail:function(t){var e=this;(0,r.goShopDetail)(t,this.uid).then((function(n){e.isLogin?(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"})})):(0,a.toLogin)()}))}}};e.default=s},"336e":function(t,e,n){"use strict";n.r(e);var o=n("2b3f"),u=n.n(o);for(var r in o)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(r);e["default"]=u.a},"4a82":function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.goShopDetail=function(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||10===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)}):40===t.product_type?uni.navigateTo({url:"/pages/activity/combination_status/index?id=".concat(t.activity_id)}):e(t)}))},n("bf0f"),n("c223")},"789f":function(t,e,n){"use strict";var o=n("96cd"),u=n.n(o);u.a},"7e00":function(t,e,n){"use strict";n("6a54");var o=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.arrivalNoticeApi=function(t){return r.default.post("store/product/increase_take",t)},e.bagExplain=function(){return r.default.get("store/product/bag/explain")},e.bagRecommend=function(){return r.default.get("product/spu/bag/recommend")},e.collectAdd=function(t){return r.default.post("user/relation/create",t)},e.collectAll=function(t){return r.default.post("user/relation/batch/create",t)},e.collectDel=function(t){return r.default.post("user/relation/delete",t)},e.copyPasswordApi=function(t){return r.default.get("product/spu/copy",t,{noAuth:!0})},e.copyPasswordSearch=function(t){return r.default.get("command/copy",t,{noAuth:!0})},e.create=function(t){return r.default.post("intention/create",t)},e.discountsCartAdd=function(t){return r.default.post("user/cart/batchCreate",t)},e.express=function(t){return r.default.post("ordero/express/"+t,{noAuth:!0})},e.followStore=function(t){return r.default.post("user/relation/create",{type:10,type_id:t})},e.getApplicationRecordList=function(t){return r.default.get("intention/lst",t)},e.getBrandlist=function(t)