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

1 line
14 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(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){return r.default.get("store/product/brand/lst",t,{noAuth:!0})},e.getBroadcastListApi=function(t){return r.default.get("broadcast/lst",t,{noAuth:!0})},e.getCaptcha=function(){return r.default.get("captcha")},e.getCategoryList=function(){return r.default.get("store/product/category/lst",{},{noAuth:!0})},e.getCollectUserList=function(t){return r.default.get("user/relation/product/lst",t)},e.getCouponProductlist=function(t){t.brand_id&&Array.isArray(t.brand_id)&&(t=(0,u.default)({},t),t.brand_id=t.brand_id.toString());return r.default.get("product/spu/coupon_product",t,{noAuth:!0})},e.getDiscountsLst=function(t){return r.default.get("discounts/lst",t,{noAuth:!0})},e.getGeocoder=function(t){return r.default.get("lbs/geocoder?location=".concat(t.lat,",").concat(t.long),{},{noAuth:!0})},e.getGoodsDetails=function(t){return r.default.get("intention/detail/"+t,{})},e.getGroomList=function(t,e){return r.default.get("product/spu/hot/"+t,e,{noAuth:!0})},e.getHotBanner=function(t){return r.default.get("common/hot_banner/"+t,{},{noAuth:!0})},e.getHotRanking=function(){return r.default.get("product/spu/hot_top",{},{noAuth:!0})},e.getLiveList=function(t){return r.default.get("broadcast/hot",t,{noAuth:!0})},e.getMerProductHot=function(t,e){return r.default.get("product/spu/recommend",{page:void 0===e.page?1:e.page,limit:void 0===e.limit?10:e.limit,mer_id:t||""},{noAuth:!0})},e.getMerchantLst=function(t){return r.default.get("user/relation/merchant/lst",t,{noAuth:!0})},e.getParmasList=function(t){return r.default.get("product/spu/params",t,{noAuth:!0})},e.getParmasValue=function(t){return r.default.get("product/spu/params_value/".concat(t),{},{noAuth:!0})},e.getPresellProductDetail=function(t){return r.default.get("store/product/presell/detail/"+t,{},{noAuth:!0})},e.getPreviewProDetail=function(t){return r.default.get("store/product/preview",t,{noAuth:!0})},e.getProductCode=function(t,e){return r.default.get("store/product/qrcode/"+t,e,{noAuth:!0})},e.getProductDetail=function(t){return r.default.get("store/product/detail/"+t,{},{noAuth:!0})},e.getProductHot=function(t,e){return r.default.get("product/spu/recommend",{page:void 0===t?1:t,limit:void 0===e?10:e},{noAuth:!0})},e.getProductParmas=function(t){return r.default.get("store/product/show/"+t,{},{noAuth:!0})},e.getProductslist=function(t){t.brand_id&&Array.isArray(t.brand_id)&&(t=(0,u.default)({},t),t.brand_id=t.brand_id.toString());return r.default.get("product/spu/lst",t,{noAuth:!0})},e.getReplyConfig=function(t){return r.default.get("reply/config/"+t)},e.getReplyList=function(t,e){return r.default.get("store/product/reply/lst/"+t,e,{noAuth:!0})},e.getSearchKeyword=function(){return r.default.get("common/hot_keyword",{},{noAuth:!0})},e.getSeckillProductDetail=function(t,e){return r.default.get("store/product/seckill/detail/"+t,e,{noAuth:!0})},e.getStoreCategory=function(t,e){return r.default.get("store/merchant/category/lst/"+t,e,{noAuth:!0})},e.getStoreCoupon=function(t){return r.default.get("coupon/store/"+t,{noAuth:!0})},e.getStoreDetail=function(t,e){return r.default.get("store/merchant/detail/"+t,e,{noAuth:!0})},e.getStoreGoods=function(t,e){return r.default.get("product/spu/merchant/"+t,e,{noAuth:!0})},e.getStoreRecommend=function(t){return r.default.get("store/product/good_list/"+t,{},{noAuth:!0})},e.getStoreTypeApi=function(t){return r.default.get("intention/type",t,{noAuth:!0})},e.getTodayHotSearch=function(){return r.default.get("product/spu/hot_lst",{},{noAuth:!0})},e.merClassifly=function(){return r.default.get("intention/cate",{},{noAuth:!0})},e.merchantProduct=function(t,e){e.brand_id&&Array.isArray(e.brand_id)&&(e=(0,u.default)({},e),e.brand_id=e.brand_id.toString());return r.default.get("product/spu/merchant/"+t,e,{noAuth:!0})},e.merchantQrcode=function(t,e){return r.default.get("store/merchant/qrcode/"+t,e,{noAuth:!0})},e.postCartAdd=function(t){return r.default.post("user/cart/create",t)},e.priceRuleApi=function(t){return r.default.get("store/product/price_rule/".concat(t),{},{noAuth:!0})},e.productBag=function(t){return r.default.get("product/spu/bag",t,{noAuth:!0})},e.storeCategory=function(t){return r.default.get("store/product/category",t,{noAuth:!0})},e.storeCertificate=function(t){return r.default.post("store/certificate/".concat(t.merId),t)},e.storeMerchantList=function(t){return r.default.get("store/merchant/lst",t,{noAuth:!0})},e.storeServiceList=function(t,e){return r.default.get("product/spu/local/".concat(t),e,{noAuth:!0})},e.unfollowStore=function(t){return r.default.post("user/relation/delete",{type:10,type_id:t})},e.updateGoodsRecord=function(t,e){return r.default.post("intention/update/"+t,e)},e.userCollectDel=function(t){return r.default.post("user/relation/batch/delete",t)},e.verify=function(t){return r.default.post("auth/verify",t)},n("c9b5"),n("bf0f"),n("ab80"),n("c223");var u=o(n("9b1b")),r=o(n("fea3"))},"96cd":function(t,e,n){var o=n("edc0");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var u=n("967d").default;u("06b686e2",o,!0,{sourceMap:!1,shadowMode:!1})},d3e2:function(t,e,n){"use strict";n.r(e);var o=n("1e17"),u=n("336e");for(var r in u)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return u[t]}))}(r);n("789f");var i=n("828b"),a=Object(i["a"])(u["default"],o["b"],o["c"],!1,null,"54de69fc",null,!1,o["a"],void 0);e["default"]=a.exports},d727:function(t,e,n){"use strict";n("6a54");var o=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.assistHelpList=function(t,e){return u.default.get("store/product/assist/user/"+t,e)},e.assistUserData=function(t){return u.default.get("store/product/assist/count",t,{noAuth:!0})},e.getActivitycategory=function(t){return u.default.get("product/spu/active/category/"+t,{},{noAuth:!0})},e.getAssistDetail=function(t,e){return u.default.get("store/product/assist/detail/"+t,e)},e.getAssistList=function(t){return u.default.get("store/product/assist/lst",t,{noAuth:!0})},e.getAssistUser=function(t){return u.default.get("store/product/assist/share/"+t)},e.getBargainUserCancel=function(t){return u.default.post("store/product/assist/set/delete/"+t)},e.getBargainUserList=function(t){return u.default.get("store/product/assist/set/lst",t)},e.getCombinationDetail=function(t){return u.default.get("store/product/group/detail/"+t,{},{noAuth:!0})},e.getCombinationList=function(t){return u.default.get("store/product/group/lst",t,{noAuth:!0})},e.getCombinationPink=function(t){return u.default.get("store/product/group/get/"+t)},e.getCombinationPoster=function(t){return u.default.post("combination/poster",t)},e.getCombinationUser=function(t){return u.default.get("store/product/group/count",t,{noAuth:!0})},e.getCouponLst=function(t){return u.default.get("coupon/getlst",t,{noAuth:!0})},e.getMerchantServiceLst=function(t){return u.default.get("store/merchant/local",t,{noAuth:!0})},e.getNewPeopleCouponLst=function(t){return u.default.get("coupon/new_people",t,{noAuth:!0})},e.getPresellList=function(t){return u.default.get("store/product/presell/lst",t,{noAuth:!0})},e.getSeckillDetail=function(t){return u.default.get("store/product/seckill/detail/"+t,{},{noAuth:!0})},e.getSeckillIndexTime=function(){return u.default.get("store/product/seckill/select",{},{noAuth:!0})},e.getSeckillList=function(t){return u.default.get("store/product/seckill/lst",t,{noAuth:!0})},e.getTopicDetail=function(t){return u.default.get("activity/info/".concat(t),{},{noAuth:!0})},e.getTopicList=function(t,e){return u.default.get("activity/lst/".concat(t),e,{noAuth:!0})},e.getTopicProLst=function(t){return u.default.get("product/spu/labels",t,{noAuth:!0})},e.hotRankingApi=function(t){return u.default.get("product/spu/get_hot_ranking",t,{noAuth:!0})},e.initiateAssistApi=function(t){return u.default.post("store/product/assist/create/"+t)},e.postAssistHelp=function(t){return u.default.post("store/product/assist/set/"+t)},e.postCombinationRemove=function(t){return u.default.post("store/product/group/cancel",t)},e.presellAgreement=function(){return u.default.get("store/product/presell/agree")},e.scombinationCode=function(t){return u.default.get("combination/code/"+t)},e.seckillCode=function(t,e){return u.default.get("seckill/code/"+t,e)},e.spuTop=function(t){return u.default.get("store/product/category/hotranking",{},{noAuth:!0})},e.spuTopList=function(t){return u.default.get("product/spu/get_hot_ranking",t,{noAuth:!0})};var u=o(n("fea3"))},edc0:function(t,e,n){var o=n("c86c");e=o(!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/* 文章场景相关 */.common-hd[data-v-54de69fc]{display:flex;align-items:center;justify-content:center;height:%?118?%}.common-hd .title[data-v-54de69fc]{padding:0 %?80?%;font-size:%?34?%;color:#e93323;font-weight:700;background-repeat:no-repeat;background-size:100% auto;background-position:0}.recommend .recommendList[data-v-54de69fc]{padding:0 %?20?%;min-height:%?100?%}.recommend .recommendList.on[data-v-54de69fc]{padding:0}[data-v-54de69fc] .looming-gray{border-radius:%?16?% %?16?% 0 0}',""]),t.exports=e}}]);