zx/public/static/js/pages-users-user_goods_coll...

1 line
28 KiB
JavaScript
Raw 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-users-user_goods_collection-index"],{"2eb0":function(t,e,o){"use strict";o.r(e);var i=o("f039"),n=o("897d");for(var a in n)["default"].indexOf(a)<0&&function(t){o.d(e,t,(function(){return n[t]}))}(a);o("8ac1");var r=o("828b"),c=Object(r["a"])(n["default"],i["b"],i["c"],!1,null,"2cebcfd1",null,!1,i["a"],void 0);e["default"]=c.exports},"3ac9":function(t,e,o){"use strict";o("6a54");var i=o("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,o("dd2b"),o("c223"),o("bf0f"),o("2797"),o("8f71"),o("aa9c");var n=o("7e00"),a=o("4a82"),r=o("d727"),c=o("8f59"),s=o("96e0"),u=o("aa10"),d=i(o("23ab")),l=o("e44d"),f={components:{easyLoadimage:d.default},data:function(){return{hostProduct:[],loadTitle:"加载更多",loading:!1,loadend:!1,collectProductList:[],checkedArr:[],limit:10,page:1,hotScroll:!1,hotPage:1,hotLimit:10,domain:u.HTTP_REQUEST_URL,storeList:[],isScroll:!0,storePage:1,storeLimit:10,total:0,isEdit:!1,isAllSelect:!1,tabIndex:1,tabList:[{title:"商品"},{title:"店铺"}]}},computed:(0,s.configMap)({recommend_switch:0,hide_mer_status:0},(0,c.mapGetters)(["isLogin","viewColor","keyColor"])),onLoad:function(t){this.tabIndex=t.tab||1,this.isLogin?(this.get_user_collect_product(),this.getList()):(0,l.toLogin)()},methods:{handleEdit:function(){this.isEdit=!this.isEdit},goStore:function(t){1!=this.hide_mer_status&&uni.navigateTo({url:"/pages/store/home/index?id=".concat(t.merchant.mer_id)})},goDetail:function(t){var e=this;(0,a.goShopDetail)(t,this.uid).then((function(o){e.isLogin?(0,r.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,l.toLogin)()}))},bindTab:function(t){this.tabIndex=t+1},bindDetele:function(t,e){var o=this;(0,n.userCollectDel)({type:10,type_id:[t.type_id]}).then((function(t){uni.showToast({title:"已取消",icon:"none"}),o.storeList.splice(e,1)}))},getList:function(){var t=this;this.isScroll&&(0,n.getMerchantLst)({page:this.storePage,limit:this.storeLimit}).then((function(e){t.isScroll=e.data.list.length>=t.limit,t.storeList=t.storeList.concat(e.data.list),t.storePage+=1}))},get_user_collect_product:function(){var t=this;t.loading||t.loadend||(t.loading=!0,t.loadTitle="",(0,n.getCollectUserList)({page:t.page,limit:t.limit}).then((function(e){t.total=e.data.count;var o=e.data.list,i=o.length<t.limit;o.forEach((function(e,o){e.check||t.$set(e,"check",!1)})),t.collectProductList=t.$util.SplitArray(o,t.collectProductList),t.$set(t,"collectProductList",t.collectProductList),t.loadend=i,t.loadTitle=i?"我也是有底线的":"加载更多",t.page=t.page+1,t.loading=!1})).catch((function(e){t.loading=!1,t.loadTitle="加载更多"})))},subCollect:function(){var t=this;(0,n.userCollectDel)({type:1,type_id:t.getSelectGoods()}).then((function(e){return t.$util.Tips({title:"取消收藏成功",icon:"success"},(function(){t.reloadData()}))})).catch((function(e){return t.$util.Tips({title:e})}))},reloadData:function(){var t=this;this.checkedArr.forEach((function(e,o){t.collectProductList=t.collectProductList.filter((function(t){return t!=e}))})),this.total-=this.checkedArr.length},collectCheck:function(t){t.check=!t.check,this.cartAllCheck("goodsCheck")},checkboxAllChange:function(){this.isAllSelect=!this.isAllSelect,this.cartAllCheck("allCheck")},cartAllCheck:function(t){var e=this,o=[];this.collectProductList.forEach((function(i,n){"goodsCheck"==t||(i.check=e.isAllSelect),i.check&&o.push(i)})),this.checkedArr=o,this.isAllSelect=o.length==this.collectProductList.length},getSelectGoods:function(){var t=[];return this.collectProductList.forEach((function(e,o){e.check&&t.push(e.type_id)})),t}},onReachBottom:function(){1==this.tabIndex?this.get_user_collect_product():this.getList()},onPageScroll:function(t){uni.$emit("scroll")}};e.default=f},"4a82":function(t,e,o){"use strict";o("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)}))},o("bf0f"),o("c223")},"75ef":function(t,e,o){var i=o("c86c");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/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.navTabBox[data-v-2cebcfd1]{height:%?166?%;position:fixed;top:0;left:0;width:100%;z-index:10}.longTab[data-v-2cebcfd1]{background:#fff;display:flex;text-align:center}.tab-item[data-v-2cebcfd1]{width:50%;display:inline-block;line-height:%?90?%;color:#666;font-size:%?30?%}.tab-item uni-text[data-v-2cebcfd1]{position:relative;display:inline-block}.tab-item.on[data-v-2cebcfd1]{color:var(--view-theme);font-weight:700}.tab-item.on uni-text[data-v-2cebcfd1]:after{content:"";display:inline-block;width:90%;height:%?3?%;background-color:var(--view-theme);position:absolute;left:5%;bottom:0}.list_header[data-v-2cebcfd1]{justify-content:space-between;padding:0 %?30?%;height:%?76?%;line-height:%?76?%;color:#666;font-size:%?26?%;background:#f5f5f5}.list_header .total uni-text[data-v-2cebcfd1]{color:var(--view-theme)}.list_header .text[data-v-2cebcfd1]{color:var(--view-theme)}.collectionGoods[data-v-2cebcfd1]{background-color:#fff;margin-top:%?166?%}.font_bg-red[data-v-2cebcfd1]{background-color:var(--view-theme);border:1px solid var(--view-theme)}.font_bg-red.type2[data-v-2cebcfd1]{background-color:#fd6523;border:1px solid #fd6523}.collectionGoods .item[data-v-2cebcfd1]{margin-left:%?30?%;padding:%?25?% %?30?% %?30?% 0;border-bottom:1px solid #eee}.collectionGoods .item .checkbox[data-v-2cebcfd1]{margin-right:%?30?%}.collectionGoods .item .checkbox .iconfont[data-v-2cebcfd1]{font-size:%?38?%;color:#999}.collectionGoods .item .checkbox .iconfont.icon-xuanzhong1[data-v-2cebcfd1]{color:var(--view-theme)}.collectionGoods .item .pictrue[data-v-2cebcfd1]{width:%?160?%;height:%?160?%;position:relative}.collectionGoods .item .pictrue .off[data-v-2cebcfd1]{width:%?80?%;height:%?80?%;background:rgba(0,0,0,.5);color:#fff;font-size:%?20?%;display:flex;align-items:center;justify-content:center;border-radius:100%;position:absolute;top:50%;left:50%;margin:%?-40?% 0 0 %?-40?%}.collectionGoods .item .pictrue .off.end-off[data-v-2cebcfd1]{width:%?90?%;height:%?90?%;margin:%?-45?% 0 0 %?-45?%}.collectionGoods .item .pictrue .off.end-off[data-v-2cebcfd1]::after{content:"";width:%?76?%;height:%?76?%;border:%?2?% dashed #fff;border-radius:100%;position:absolute;top:%?6?%;left:%?6?%}[data-v-2cebcfd1] .collectionGoods .item .pictrue uni-image,[data-v-2cebcfd1] .collectionGoods .item .easy-loadimage,\n.collectionGoods .item uni-image[data-v-2cebcfd1]{width:100%;height:100%;border-radius:%?10?%}.collectionGoods .item .text[data-v-2cebcfd1]{width:%?500?%;height:%?160?%;font-size:%?28?%;color:#282828}.collectionGoods .item .text.edit[data-v-2cebcfd1]{width:%?430?%}.collectionGoods .item .text .name[data-v-2cebcfd1]{width:100%;display:flex;align-items:center;font-size:%?28?%}.collectionGoods .item .text .name.saleOff[data-v-2cebcfd1]{color:#ccc}.collectionGoods .item .name_text[data-v-2cebcfd1]{display:inline-block;max-width:%?480?%;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:%?28?%}.collectionGoods .item .text .money[data-v-2cebcfd1]{font-size:%?30?%;font-weight:700;color:var(--view-priceColor)}.collectionGoods .item .text .money uni-text[data-v-2cebcfd1]{font-size:%?20?%}.collectionGoods .item .text .money.saleOff[data-v-2cebcfd1]{color:#ccc}.collectionGoods .item .text .delete[data-v-2cebcfd1]{display:flex;align-items:center;justify-content:center;font-size:%?26?%;color:#282828;width:%?144?%;height:%?46?%;border:1px solid #bbb;border-radius:%?24?%;text-align:center}.noCommodity[data-v-2cebcfd1]{padding-top:%?1?%;border-top:0;min-height:90vh;margin-top:%?90?%}.noCommodity .pictrue[data-v-2cebcfd1]{text-align:center;padding:0;margin:%?78?% auto %?26?% auto}.collection-count .footer[data-v-2cebcfd1]{z-index:99;width:100%;height:%?100?%;height:calc(100rpx+ constant(safe-area-inset-bottom));height:calc(%?100?% + env(safe-area-inset-bottom));background-color:#fff;position:fixed;padding:0 %?20?%;box-sizing:border-box;border-top:1px solid #eee;bottom:var(--window-bottom)}.area-edit[data-v-2cebcfd1]{justify-content:center}.area-edit .area-item[data-v-2cebcfd1]{width:50%;text-align:center;position:relative;align-items:center;color:#333}.area-edit .area-item .text[data-v-2cebcfd1]{position:relative;top:-1px}.area-edit .area-item .iconfont[data-v-2cebcfd1]{color:#333}.area-edit .area-item[data-v-2cebcfd1]:nth-child(1)::after{content:"";display:inline-block;width:%?2?%;height:%?42?%;background:#ccc;position:absolute;top:0;right:0}.collection-count .footer .checkAll[data-v-2cebcfd1]{font-size:%?28?%;color:#282828;margin-left:%?16?%}.allcheckbox .iconfont[data-v-2cebcfd1]{margin-right:11px;font-size:%?40?%;color:#ccc}.allcheckbox .icon-xuanzhong1[data-v-2cebcfd1]{color:var(--view-theme)}.collection-count .footer .button .bnt[data-v-2cebcfd1]{font-size:%?28?%;border-radius:%?50?%;width:%?160?%;height:%?60?%;text-align:center;line-height:%?60?%;color:var(--view-theme);border:%?2?% solid var(--view-theme)}.user_store_attention[data-v-2cebcfd1]{padding:%?20?%;margin-top:%?90?%}.user_store_attention .item[data-v-2cebcfd1]{background-color:#fff;background-size:100%;background-repeat:no-repeat;border-radius:%?16?%;padding:0 %?20?%;margin-bottom:%?20?%}.user_store_attention .store_header[data-v-2cebcfd1]{position:relative;display:flex;padding:%?30?% %?10?%;align-items:center}.user_store_attention .store_header uni-image[data-v-2cebcfd1]{width:%?88?%;height:%?88?%;border-radius:50%}.user_store_attention .store_header .info[data-v-2cebcfd1]{flex:1;display:flex;flex-direction:column;justify-content:space-between;margin-left:%?20?%;position:relative}.user_store_attention .store_header .info .name[data-v-2cebcfd1]{width:%?410?%;font-weight:700}.user_store_attention .store_header .info .des[data-v-2cebcfd1]{color:#666;font-size:%?22?%}.user_store_attention .store_header .info .btn[data-v-2cebcfd1]{display:flex;align-items:center;justify-content:center;position:absolute;right:0;top:50%;width:%?150?%;height:%?50?%;-webkit-transform:translateY(-50%);transform:translateY(-50%);border:1px solid #bbb;border-radius:%?25?%;font-size:%?26?%}.user_store_attention .store-closed[data-v-2cebcfd1]{text-align:center;padding-bottom:%?30?%}.user_store_attention .store-closed .closed[data-v-2cebcfd1]{width:%?300?%;height:%?170?%}.user_store_attention .store-closed .closed-text[data-v-2cebcfd1]{color:#999;font-size:%?26?%;margin-top:%?20?%}.user_store_attention .store_recommend[data-v-2cebcfd1]{display:flex;padding-bottom:%?30?%}.user_store_attention .store_recommend .list[data-v-2cebcfd1]{width:%?210?%;margin-right:%?20?%}.user_store_attention .store_recommend .list .picture[data-v-2cebcfd1], .user_store_attention .store_recommend .list[data-v-2cebcfd1] uni-image, .user_store_attention .store_recommend .list[data-v-2cebcfd1] .easy-loadimage, .user_store_attention .store_recommend .list uni-image[data-v-2cebcfd1]{width:%?210?%;height:%?210?%;border-radius:%?10?%;position:relative}.user_store_attention .store_recommend .list .border-picture[data-v-2cebcfd1]{position:absolute;top:0;left:0;width:100%;height:100%;border-radius:%?16?% %?16?% 0 0;background:50%/cover no-repeat}.user_store_attention .store_recommend .list[data-v-2cebcfd1]:last-child{margin-right:0}.user_store_attention .store_recommend .list .price[data-v-2cebcfd1]{text-align:center;color:var(--view-priceColor);font-size:%?24?%;margin-top:%?10?%;font-weight:700}',""]),t.exports=e},"7e00":function(t,e,o){"use strict";o("6a54");var i=o("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.arrivalNoticeApi=function(t){return a.default.post("store/product/increase_take",t)},e.bagExplain=function(){return a.default.get("store/product/bag/explain")},e.bagRecommend=function(){return a.default.get("product/spu/bag/recommend")},e.collectAdd=function(t){return a.default.post("user/relation/create",t)},e.collectAll=function(t){return a.default.post("user/relation/batch/create",t)},e.collectDel=function(t){return a.default.post("user/relation/delete",t)},e.copyPasswordApi=function(t){return a.default.get("product/spu/copy",t,{noAuth:!0})},e.copyPasswordSearch=function(t){return a.default.get("command/copy",t,{noAuth:!0})},e.create=function(t){return a.default.post("intention/create",t)},e.discountsCartAdd=function(t){return a.default.post("user/cart/batchCreate",t)},e.express=function(t){return a.default.post("ordero/express/"+t,{noAuth:!0})},e.followStore=function(t){return a.default.post("user/relation/create",{type:10,type_id:t})},e.getApplicationRecordList=function(t){return a.default.get("intention/lst",t)},e.getBrandlist=function(t){return a.default.get("store/product/brand/lst",t,{noAuth:!0})},e.getBroadcastListApi=function(t){return a.default.get("broadcast/lst",t,{noAuth:!0})},e.getCaptcha=function(){return a.default.get("captcha")},e.getCategoryList=function(){return a.default.get("store/product/category/lst",{},{noAuth:!0})},e.getCollectUserList=function(t){return a.default.get("user/relation/product/lst",t)},e.getCouponProductlist=function(t){t.brand_id&&Array.isArray(t.brand_id)&&(t=(0,n.default)({},t),t.brand_id=t.brand_id.toString());return a.default.get("product/spu/coupon_product",t,{noAuth:!0})},e.getDiscountsLst=function(t){return a.default.get("discounts/lst",t,{noAuth:!0})},e.getGeocoder=function(t){return a.default.get("lbs/geocoder?location=".concat(t.lat,",").concat(t.long),{},{noAuth:!0})},e.getGoodsDetails=function(t){return a.default.get("intention/detail/"+t,{})},e.getGroomList=function(t,e){return a.default.get("product/spu/hot/"+t,e,{noAuth:!0})},e.getHotBanner=function(t){return a.default.get("common/hot_banner/"+t,{},{noAuth:!0})},e.getHotRanking=function(){return a.default.get("product/spu/hot_top",{},{noAuth:!0})},e.getLiveList=function(t){return a.default.get("broadcast/hot",t,{noAuth:!0})},e.getMerProductHot=function(t,e){return a.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 a.default.get("user/relation/merchant/lst",t,{noAuth:!0})},e.getParmasList=function(t){return a.default.get("product/spu/params",t,{noAuth:!0})},e.getParmasValue=function(t){return a.default.get("product/spu/params_value/".concat(t),{},{noAuth:!0})},e.getPresellProductDetail=function(t){return a.default.get("store/product/presell/detail/"+t,{},{noAuth:!0})},e.getPreviewProDetail=function(t){return a.default.get("store/product/preview",t,{noAuth:!0})},e.getProductCode=function(t,e){return a.default.get("store/product/qrcode/"+t,e,{noAuth:!0})},e.getProductDetail=function(t){return a.default.get("store/product/detail/"+t,{},{noAuth:!0})},e.getProductHot=function(t,e){return a.default.get("product/spu/recommend",{page:void 0===t?1:t,limit:void 0===e?10:e},{noAuth:!0})},e.getProductParmas=function(t){return a.default.get("store/product/show/"+t,{},{noAuth:!0})},e.getProductslist=function(t){t.brand_id&&Array.isArray(t.brand_id)&&(t=(0,n.default)({},t),t.brand_id=t.brand_id.toString());return a.default.get("product/spu/lst",t,{noAuth:!0})},e.getReplyConfig=function(t){return a.default.get("reply/config/"+t)},e.getReplyList=function(t,e){return a.default.get("store/product/reply/lst/"+t,e,{noAuth:!0})},e.getSearchKeyword=function(){return a.default.get("common/hot_keyword",{},{noAuth:!0})},e.getSeckillProductDetail=function(t,e){return a.default.get("store/product/seckill/detail/"+t,e,{noAuth:!0})},e.getStoreCategory=function(t,e){return a.default.get("store/merchant/category/lst/"+t,e,{noAuth:!0})},e.getStoreCoupon=function(t){return a.default.get("coupon/store/"+t,{noAuth:!0})},e.getStoreDetail=function(t,e){return a.default.get("store/merchant/detail/"+t,e,{noAuth:!0})},e.getStoreGoods=function(t,e){return a.default.get("product/spu/merchant/"+t,e,{noAuth:!0})},e.getStoreRecommend=function(t){return a.default.get("store/product/good_list/"+t,{},{noAuth:!0})},e.getStoreTypeApi=function(t){return a.default.get("intention/type",t,{noAuth:!0})},e.getTodayHotSearch=function(){return a.default.get("product/spu/hot_lst",{},{noAuth:!0})},e.merClassifly=function(){return a.default.get("intention/cate",{},{noAuth:!0})},e.merchantProduct=function(t,e){e.brand_id&&Array.isArray(e.brand_id)&&(e=(0,n.default)({},e),e.brand_id=e.brand_id.toString());return a.default.get("product/spu/merchant/"+t,e,{noAuth:!0})},e.merchantQrcode=function(t,e){return a.default.get("store/merchant/qrcode/"+t,e,{noAuth:!0})},e.postCartAdd=function(t){return a.default.post("user/cart/create",t)},e.priceRuleApi=function(t){return a.default.get("store/product/price_rule/".concat(t),{},{noAuth:!0})},e.productBag=function(t){return a.default.get("product/spu/bag",t,{noAuth:!0})},e.storeCategory=function(t){return a.default.get("store/product/category",t,{noAuth:!0})},e.storeCertificate=function(t){return a.default.post("store/certificate/".concat(t.merId),t)},e.storeMerchantList=function(t){return a.default.get("store/merchant/lst",t,{noAuth:!0})},e.storeServiceList=function(t,e){return a.default.get("product/spu/local/".concat(t),e,{noAuth:!0})},e.unfollowStore=function(t){return a.default.post("user/relation/delete",{type:10,type_id:t})},e.updateGoodsRecord=function(t,e){return a.default.post("intention/update/"+t,e)},e.userCollectDel=function(t){return a.default.post("user/relation/batch/delete",t)},e.verify=function(t){return a.default.post("auth/verify",t)},o("c9b5"),o("bf0f"),o("ab80"),o("c223");var n=i(o("9b1b")),a=i(o("fea3"))},"897d":function(t,e,o){"use strict";o.r(e);var i=o("3ac9"),n=o.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){o.d(e,t,(function(){return i[t]}))}(a);e["default"]=n.a},"8ac1":function(t,e,o){"use strict";var i=o("f2b8"),n=o.n(i);n.a},d727:function(t,e,o){"use strict";o("6a54");var i=o("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.assistHelpList=function(t,e){return n.default.get("store/product/assist/user/"+t,e)},e.assistUserData=function(t){return n.default.get("store/product/assist/count",t,{noAuth:!0})},e.getActivitycategory=function(t){return n.default.get("product/spu/active/category/"+t,{},{noAuth:!0})},e.getAssistDetail=function(t,e){return n.default.get("store/product/assist/detail/"+t,e)},e.getAssistList=function(t){return n.default.get("store/product/assist/lst",t,{noAuth:!0})},e.getAssistUser=function(t){return n.default.get("store/product/assist/share/"+t)},e.getBargainUserCancel=function(t){return n.default.post("store/product/assist/set/delete/"+t)},e.getBargainUserList=function(t){return n.default.get("store/product/assist/set/lst",t)},e.getCombinationDetail=function(t){return n.default.get("store/product/group/detail/"+t,{},{noAuth:!0})},e.getCombinationList=function(t){return n.default.get("store/product/group/lst",t,{noAuth:!0})},e.getCombinationPink=function(t){return n.default.get("store/product/group/get/"+t)},e.getCombinationPoster=function(t){return n.default.post("combination/poster",t)},e.getCombinationUser=function(t){return n.default.get("store/product/group/count",t,{noAuth:!0})},e.getCouponLst=function(t){return n.default.get("coupon/getlst",t,{noAuth:!0})},e.getMerchantServiceLst=function(t){return n.default.get("store/merchant/local",t,{noAuth:!0})},e.getNewPeopleCouponLst=function(t){return n.default.get("coupon/new_people",t,{noAuth:!0})},e.getPresellList=function(t){return n.default.get("store/product/presell/lst",t,{noAuth:!0})},e.getSeckillDetail=function(t){return n.default.get("store/product/seckill/detail/"+t,{},{noAuth:!0})},e.getSeckillIndexTime=function(){return n.default.get("store/product/seckill/select",{},{noAuth:!0})},e.getSeckillList=function(t){return n.default.get("store/product/seckill/lst",t,{noAuth:!0})},e.getTopicDetail=function(t){return n.default.get("activity/info/".concat(t),{},{noAuth:!0})},e.getTopicList=function(t,e){return n.default.get("activity/lst/".concat(t),e,{noAuth:!0})},e.getTopicProLst=function(t){return n.default.get("product/spu/labels",t,{noAuth:!0})},e.hotRankingApi=function(t){return n.default.get("product/spu/get_hot_ranking",t,{noAuth:!0})},e.initiateAssistApi=function(t){return n.default.post("store/product/assist/create/"+t)},e.postAssistHelp=function(t){return n.default.post("store/product/assist/set/"+t)},e.postCombinationRemove=function(t){return n.default.post("store/product/group/cancel",t)},e.presellAgreement=function(){return n.default.get("store/product/presell/agree")},e.scombinationCode=function(t){return n.default.get("combination/code/"+t)},e.seckillCode=function(t,e){return n.default.get("seckill/code/"+t,e)},e.spuTop=function(t){return n.default.get("store/product/category/hotranking",{},{noAuth:!0})},e.spuTopList=function(t){return n.default.get("product/spu/get_hot_ranking",t,{noAuth:!0})};var n=i(o("fea3"))},f039:function(t,e,o){"use strict";o.d(e,"b",(function(){return n})),o.d(e,"c",(function(){return a})),o.d(e,"a",(function(){return i}));var i={easyLoadimage:o("23ab").default},n=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("v-uni-view",{staticClass:"collection-count",style:t.viewColor},[o("v-uni-view",{staticClass:"navTabBox"},[o("v-uni-view",{staticClass:"longTab"},t._l(t.tabList,(function(e,i){return o("v-uni-view",{key:i,staticClass:"tab-item",class:{on:i==t.tabIndex-1},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.bindTab(i)}}},[o("v-uni-text",[t._v(t._s(e.title))])],1)})),1),t.collectProductList.length&&1==t.tabIndex?o("v-uni-view",{staticClass:"list_header acea-row"},[o("v-uni-view",{staticClass:"total"},[t._v("共"),o("v-uni-text",[t._v(t._s(t.total))]),t._v("件商品")],1),o("v-uni-view",{staticClass:"text",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.handleEdit.apply(void 0,arguments)}}},[t._v(t._s(t.isEdit?"完成":"编辑"))])],1):t._e()],1),1==t.tabIndex?[t.collectProductList.length?o("v-uni-view",{staticClass:"collectionGoods"},[t._l(t.collectProductList,(function(e,i){return e.spu?o("v-uni-view",{key:i,staticClass:"item acea-row row-between-wrapper",on:{click:function(o){o.stopPropagation(),arguments[0]=o=t.$handleEvent(o),t.goDetail(e.spu)}}},[o("v-uni-view",{staticClass:"left acea-row row-between-wrapper"},[t.isEdit?o("v-uni-view",{staticClass:"checkbox",on:{click:function(o){o.stopPropagation(),arguments[0]=o=t.$handleEvent(o),t.collectCheck(e,i)}}},[e.check?o("v-uni-text",{staticClass:"iconfont icon-xuanzhong1"}):o("v-uni-text",{staticClass:"iconfont icon-weixuanzhong"})],1):t._e(),o("v-uni-view",{staticClass:"pictrue"},[o("easy-loadimage",{attrs:{mode:"widthFix","image-src":e.spu.image}}),0==e.spu.product_type&&1!==e.spu.status?o("v-uni-view",{staticClass:"off"},[t._v("已下架")]):e.spu.product_type>0&&0==e.spu.status?o("v-uni-view",{staticClass:"off end-off"},[t._v("活动"),o("br"),t._v("结束")]):t._e()],1)],1),o("v-uni-view",{staticClass:"text acea-row row-column-between",class:t.isEdit?"edit":""},[o("v-uni-view",{staticClass:"name",class:{saleOff:1!=e.spu.status}},[o("v-uni-view",{staticClass:"name_text"},[0!=e.spu.product_type?o("v-uni-text",{class:"font_bg-red type"+e.spu.product_type},[t._v(t._s(1==e.spu.product_type?"秒杀":2==e.spu.product_type?"预售":3==e.spu.product_type?"助力":4==e.spu.product_type?"拼团":""))]):t._e(),t._v(t._s(e.spu.store_name))],1)],1),o("v-uni-view",{staticClass:"acea-row row-between-wrapper"},[o("v-uni-view",{staticClass:"money",class:{saleOff:1!=e.spu.status}},[o("v-uni-text",[t._v("¥")]),t._v(t._s(e.spu.price))],1)],1)],1)],1):t._e()})),o("v-uni-view",{staticClass:"loadingicon acea-row row-center-wrapper"},[o("v-uni-text",{staticClass:"loading iconfont icon-jiazai",attrs:{hidden:0==t.loading}}),t._v(t._s(t.loadTitle))],1)],2):t._e(),t.isEdit&&t.collectProductList.length>0?o("v-uni-view",{staticClass:"footer acea-row row-between-wrapper"},[o("v-uni-view",[o("v-uni-view",{staticClass:"allcheckbox",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.checkboxAllChange.apply(void 0,arguments)}}},[t.isAllSelect?o("v-uni-text",{staticClass:"iconfont icon-xuanzhong1"}):o("v-uni-text",{staticClass:"iconfont icon-weixuanzhong"}),t._v("全选")],1)],1),o("v-uni-view",{staticClass:"acea-row row-between-wrapper"},[o("v-uni-view",{staticClass:"button acea-row row-middle",staticStyle:{"margin-right":"20rpx"}},[o("v-uni-form",{attrs:{"report-submit":"true"},on:{submit:function(e){arguments[0]=e=t.$handleEvent(e),t.subCollect.apply(void 0,arguments)}}},[o("v-uni-button",{staticClass:"bnt collect_btn",attrs:{formType:"submit"}},[t._v("取消收藏")])],1)],1)],1)],1):t._e()]:[t.storeList.length>0?o("v-uni-view",{staticClass:"user_store_attention",style:t.viewColor},t._l(t.storeList,(function(e,i){return o("v-uni-view",{key:i,staticClass:"item",style:{"background-image":"url("+t.domain+"/static/diy/store_bg"+t.keyColor+".png)"}},[o("v-uni-view",{staticClass:"store_header",on:{click:function(o){arguments[0]=o=t.$handleEvent(o),t.goStore(e)}}},[o("v-uni-image",{attrs:{src:e.merchant.mer_avatar,mode:""}}),o("v-uni-view",{staticClass:"info"},[o("v-uni-view",{staticClass:"line1"},[o("v-uni-text",{staticClass:"name line1"},[t._v(t._s(e.merchant.mer_name))]),e.merchant.type_name?o("v-uni-text",{staticClass:"font-bg-red ml8"},[t._v(t._s(e.merchant.type_name))]):e.merchant.is_trader?o("v-uni-text",{staticClass:"font-bg-red ml8"},[t._v("自营")]):t._e()],1),o("v-uni-view",{staticClass:"btn",on:{click:function(o){o.stopPropagation(),arguments[0]=o=t.$handleEvent(o),t.bindDetele(e,i)}}},[t._v("取消关注")])],1)],1),1==e.merchant.is_del||0==e.merchant.mer_state||0==e.merchant.status?o("v-uni-view",{staticClass:"store-closed"},[o("v-uni-image",{staticClass:"closed",attrs:{src:t.domain+"/static/images/store-closed.png"}}),o("v-uni-view",{staticClass:"closed-text"},[t._v("店铺已关闭,去看看别的店铺吧")])],1):e.merchant&&e.merchant.showProduct.length>0?o("v-uni-view",{staticClass:"store_recommend"},[t._l(e.merchant.showProduct,(function(e,i){return i<3?[o("v-uni-navigator",{key:i+"_0",staticClass:"list",attrs:{url:"/pages/goods_details/index?id="+e.product_id,"hover-class":"none"}},[o("v-uni-view",{staticClass:"picture"},[o("easy-loadimage",{attrs:{mode:"widthFix","image-src":e.image}}),e.border_pic?o("v-uni-view",{staticClass:"border-picture",style:{backgroundImage:"url("+e.border_pic+")"}}):t._e()],1)],1)]:t._e()}))],2):t._e()],1)})),1):t._e()],!t.collectProductList.length&&1==t.tabIndex||!t.storeList.length&&2==t.tabIndex?o("v-uni-view",{staticClass:"noCommodity"},[o("v-uni-view",{staticClass:"pictrue"},[o("v-uni-image",{attrs:{src:t.domain+"/static/images/noCart.png"}}),o("v-uni-view",[t._v(t._s(1==t.tabIndex?"暂无商品":"暂无店铺")+",去添加点什么吧")])],1)],1):t._e()],2)},a=[]},f2b8:function(t,e,o){var i=o("75ef");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=o("967d").default;n("16f7e46a",i,!0,{sourceMap:!1,shadowMode:!1})}}]);