| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-activity-combination_details-index~pages-activity-combination_status-index~pages-activity-good~5544dbc2"],{"2b58":function(t,e,n){"use strict";var r=n("4ea4");n("99af"),n("d3b7"),n("25f0"),Object.defineProperty(e,"__esModule",{value:!0}),e.getProductDetail=a,e.getProductCode=u,e.collectAdd=c,e.collectDel=d,e.postCartAdd=s,e.getCategoryList=l,e.getProductslist=f,e.getBrandlist=p,e.getProductHot=v,e.collectAll=w,e.getGroomList=g,e.getCollectUserList=b,e.getReplyList=m,e.getReplyConfig=h,e.getSearchKeyword=_,e.storeListApi=y,e.storeMerchantList=C,e.getStoreDetail=x,e.getStoreGoods=k,e.getStoreCategory=A,e.followStore=S,e.unfollowStore=$,e.getStoreCoupon=N,e.getMerchantLst=L,e.express=j,e.storeCategory=z,e.bagExplain=E,e.bagRecommend=P,e.productBag=B,e.merchantQrcode=D,e.merchantProduct=W,e.getHotBanner=M,e.create=O,e.verify=R,e.getSeckillProductDetail=q,e.getLiveList=G,e.getBroadcastListApi=J,e.merClassifly=I,e.getPresellProductDetail=V,e.getApplicationRecordList=H,e.getGoodsDetails=U,e.updateGoodsRecord=Z,e.getGeocoder=F;var o=r(n("5530")),i=r(n("112d"));function a(t){return i.default.get("store/product/detail/"+t,{},{noAuth:!0})}function u(t,e){return i.default.get("store/product/qrcode/"+t,e,{noAuth:!0})}function c(t){return i.default.post("user/relation/create",t)}function d(t){return i.default.post("user/relation/delete",t)}function s(t){return i.default.post("user/cart/create",t)}function l(){return i.default.get("store/product/category/lst",{},{noAuth:!0})}function f(t){return t.brand_id&&Array.isArray(t.brand_id)&&(t=(0,o.default)({},t),t.brand_id=t.brand_id.toString()),i.default.get("product/spu/lst",t,{noAuth:!0})}function p(t){return i.default.get("store/product/brand/lst",t,{noAuth:!0})}function v(t,e){return i.default.get("product/spu/recommend",{page:void 0===t?1:t,limit:void 0===e?10:e},{noAuth:!0})}function w(t){return i.default.post("user/relation/batch/create",t)}function g(t,e){return i.default.get("product/spu/hot/"+t,e,{noAuth:!0})}function b(t){return i.default.get("user/relation/product/lst",t)}function m(t,e){return i.default.get("store/product/reply/lst/"+t,e,{noAuth:!0})}function h(t){return i.default.get("reply/config/"+t)}function _(){return i.default.get("common/hot_keyword",{},{noAuth:!0})}function y(t){return i.default.get("store_list",t,{noAuth:!0})}function C(t){return i.default.get("store/merchant/lst",t,{noAuth:!0})}function x(t,e){return i.default.get("store/merchant/detail/"+t,e,{noAuth:!0})}function k(t,e){return i.default.get("product/spu/merchant/"+t,e,{noAuth:!0})}function A(t,e){return i.default.get("store/merchant/category/lst/"+t,e,{noAuth:!0})}function S(t){return i.default.post("user/relation/create",{type:10,type_id:t})}function $(t){return i.default.post("user/relation/delete",{type:10,type_id:t})}function N(t){return i.default.get("coupon/store/"+t,{noAuth:!0})}function L(t){return i.default.get("user/relation/merchant/lst",t,{noAuth:!0})}function j(t){return i.default.post("ordero/express/"+t,{noAuth:!0})}function z(t){return i.default.get("store/product/category",t,{noAuth:!0})}function E(){return i.default.get("store/product/bag/explain")}function P(){return i.default.get("product/spu/bag/recommend")}function B(t){return i.default.get("product/spu/bag",t,{noAuth:!0})}function D(t,e){return i.default.get("store/merchant/qrcode/"+t,e,{noAuth:!0})}function W(t,e){return e.brand_id&&Array.isArray(e.brand_id)&&(e=(0,o.default)({},e),e.brand_id=e.brand_id.toString()),i.default.get("product/spu/merchant/"+t,e,{noAuth:!0})}function M(t){return i.default.get("common/hot_banner/"+t,{},{noAuth:!0})}function O(t){return i.default.post("intention/create",t)}function R(t){return i.default.post("auth/verify",t)}function q(t){return i.default.get("store/product/seckill/detail/"+t,{},{noAuth:!0})}function G(){return i.default.get("broadcast/hot",{},{noAuth:!0})}function J(t){return i.default.get("broadcast/lst",t,{noAuth:!0})}function I(){return i.default.get("intention/cate")}function V(t){return i.default.get("store/product/presell/detail/"+t,{},{noAuth:!0})}function H(t){return i.default.get("intention/lst",t)}function U(t){return i.default.get("intention/detail/"+t,{})}function Z(t,e){return i.default.post("intention/update/"+t,e)}function F(t){return i.default.get("lbs/geocoder?location=".concat(t.lat,",").concat(t.long),{},{noAuth:!0})}},6574: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/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.product-window[data-v-f87fb954]{position:fixed;bottom:0;width:100%;left:0;background-color:#fff;z-index:77;-webkit-border-radius:%?16?% %?16?% 0 0;border-radius:%?16?% %?16?% 0 0;padding-bottom:%?140?%;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);-webkit-transition:all .3s cubic-bezier(.25,.5,.5,.9);transition:all .3s cubic-bezier(.25,.5,.5,.9)}.product-window.presell-window[data-v-f87fb954]{padding-bottom:%?200?%}.product-window.on[data-v-f87fb954]{-webkit-transform:translateZ(0);transform:translateZ(0)}.product-window.join[data-v-f87fb954]{padding-bottom:%?30?%}.product-window .textpic[data-v-f87fb954]{padding:0 %?80?% 0 %?30?%;margin-top:%?29?%;position:relative}.product-window .textpic .pictrue[data-v-f87fb954]{width:%?150?%;height:%?150?%}.product-window .textpic .pictrue uni-image[data-v-f87fb954]{width:100%;height:100%;-webkit-border-radius:%?10?%;border-radius:%?10?%}.product-window .textpic .text[data-v-f87fb954]{width:%?460?%;font-size:%?32?%;color:#202020}.product-window .textpic .text .money[data-v-f87fb954]{font-size:%?24?%;margin-top:%?40?%}.product-window .textpic .text .money .num[data-v-f87fb954]{font-size:%?36?%}.product-window .textpic .text .money .stock[data-v-f87fb954]{color:#999;margin-left:%?18?%}.product-window .textpic .text .presell_price[data-v-f87fb954]{color:#ff7f00}.product-window .textpic .text .presell_price .num[data-v-f87fb954]{display:inline-block;margin-right:%?20?%}.product-window .textpic .text .presell_price .stock[data-v-f87fb954]{margin-left:0}.product-window .textpic .iconfont[data-v-f87fb954]{position:absolute;right:%?30?%;top:%?-5?%;font-size:%?35?%;color:#8a8a8a}.product-window .productWinList[data-v-f87fb954]{max-height:%?395?%;overflow:auto;margin-top:%?36?%}.product-window .productWinList .item ~ .item[data-v-f87fb954]{margin-top:%?36?%}.product-window .productWinList .item .title[data-v-f87fb954]{font-size:%?30?%;color:#999;padding:0 %?30?%}.product-window .productWinList .item .listn[data-v-f87fb954]{padding:0 %?30?% 0 %?16?%}.product-window .productWinList .item .listn .itemn[data-v-f87fb954]{border:1px solid #bbb;font-size:%?26?%;color:#282828;padding:%?7?% %?33?%;-webkit-border-radius:%?6?%;border-radius:%?6?%;margin:%?14?% 0 0 %?14?%}.product-window .productWinList .item .listn .itemn.on[data-v-f87fb954]{color:#fff;background-color:#ff3700;border-color:#ff3700}.product-window .cart[data-v-f87fb954]{margin-top:%?36?%;padding:0 %?30?%;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.product-window .cart .title[data-v-f87fb954]{font-size:%?30?%;color:#999;line-height:%?54?%}.product-window .cart .carnum[data-v-f87fb954]{height:%?54?%}.product-window .cart .carnum uni-view[data-v-f87fb954]{border:1px solid #a4a4a4;width:%?84?%;text-align:center;height:100%;line-height:%?54?%;color:#a4a4a4;font-size:%?45?%}.product-window .cart .carnum .reduce[data-v-f87fb954]{border-right:0;-webkit-border-radius:%?6?% 0 0 %?6?%;border-radius:%?6?% 0 0 %?6?%;line-height:%?48?%}.product-window .cart .carnum .reduce.on[data-v-f87fb954]{border-color:#e3e3e3;color:#dedede}.product-window .cart .carnum .plus[data-v-f87fb954]{border-left:0;-webkit-border-radius:0 %?6?% %?6?% 0;border-radius:0 %?6?% %?6?% 0;line-height:%?46?%}.product-window .cart .carnum .plus.on[data-v-f87fb954]{border-color:#e3e3e3;color:#dedede}.product-window .cart .carnum .num[data-v-f87fb954]{color:#282828;font-size:%?28?%}.product-window .joinBnt[data-v-f87fb954]{font-size:%?30?%;width:%?620?%;height:%?86?%;-webkit-border-radius:%?50?%;border-radius:%?50?%;text-align:center;line-height:%?86?%;color:#fff;margin:%?21?% auto 0 auto}.product-window .joinBnt.on[data-v-f87fb954]{background-color:#bbb;color:#fff}',""]),t.exports=e},"85d8":function(t,e,n){"use strict";var r=n("a7ca"),o=n.n(r);o.a},"8aea":function(t,e,n){"use strict";var r;n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return r}));var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[n("v-uni-view",{staticClass:"product-window",class:(!0===t.attr.cartAttr?"on":"")+" "+(t.iSbnt||t.destri?"join":"")+" "+(t.isPresell?"presell-window":"product-window")},[n("v-uni-view",{staticClass:"textpic acea-row row-between-wrapper"},[n("v-uni-view",{staticClass:"pictrue"},[n("v-uni-image",{attrs:{src:t.attr.productSelect.image?t.attr.productSelect.image:t.image},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.loookImg.apply(void 0,arguments)}}})],1),n("v-uni-view",{staticClass:"text"},[n("v-uni-view",{staticClass:"line1"},[t._v(t._s(t.attr.productSelect.store_name))]),t.isPresell?n("v-uni-view",{staticClass:"money presell_price"},[n("v-uni-view",[t._v("预售价\n\t\t\t\t\t\t¥"),n("v-uni-text",{staticClass:"num"},[t._v(t._s(t.attr.productSelect.price))]),2===t.presell_type?n("v-uni-text",[t._v("定金¥"),n("v-uni-text",{staticClass:"num"},[t._v(t._s(t.attr.productSelect.down_price))])],1):t._e()],1),t.isShow?n("v-uni-text",{staticClass:"stock"},[t._v("库存: "+t._s(t.attr.productSelect.stock))]):t._e(),t.limitNum?n("v-uni-text",{staticClass:"stock"},[t._v("限量: "+t._s(t.attr.productSelect.quota_show))]):t._e()],1):n("v-uni-view",{staticClass:"money font-color"},[t._v("¥"),n("v-uni-text",{staticClass:"num"},[t._v(t._s(t.attr.productSelect.price))]),t.isShow?n("v-uni-text",{staticClass:"stock"},[t._v("库存: "+t._s(t.attr.productSelect.stock))]):t._e(),t.limitNum?n("v-uni-text",{staticClass:"stock"},[t._v("限量: "+t._s(t.attr.productSelect.quota_show))]):t._e()],1)],1),n("v-uni-view",{staticClass:"iconfont icon-guanbi",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.closeAttr.apply(void 0,arguments)}}})],1),n("v-uni-view",{staticClass:"productWinList"},t._l(t.attr.productAttr,(function(e,r){return n("v-uni-view",{key:r,staticClass:"item"},[n("v-uni-view",{staticClass:"title"},[t._v(t._s(e.attr_name))]),n("v-uni-view",{staticClass:"listn acea-row row-middle"},t._l(e.attr_value,(function(o,i){return n("v-uni-view",{key:i,staticClass:"itemn",class:e.index===o.attr?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.tapAttr(r,i)}}},[t._v(t._s(o.attr))])})),1)],1)})),1),n("v-uni-view",{staticClass:"cart acea-row"},[n("v-uni-view",{staticClass:"title"},[t._v("数量")]),n("v-uni-view",{staticClass:"carnum acea-row row-left"},[n("v-uni-view",{staticClass:"item reduce",class:t.attr.productSelect.cart_num<=1?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.CartNumDes.apply(void 0,arguments)}}},[t._v("-")]),n("v-uni-view",{staticClass:"item num"},[n("v-uni-input",{attrs:{type:"number","data-name":"productSelect.cart_num"},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.bindCode(t.attr.productSelect.cart_num)}},model:{value:t.attr.productSelect.cart_num,callback:function(e){t.$set(t.attr.productSelect,"cart_num",e)},expression:"attr.productSelect.cart_num"}})],1),t.iSplus?n("v-uni-view",{staticClass:"item plus",class:t.attr.productSelect.cart_num>=t.attr.productSelect.stock||t.destri?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.CartNumAdd.apply(void 0,arguments)}}},[t._v("+")]):n("v-uni-view",{staticClass:"item plus",class:t.attr.productSelect.cart_num>=t.attr.productSelect.quota_show||t.attr.productSelect.cart_num>=t.attr.productSelect.product_stock?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.CartNumAdd.apply(void 0,arguments)}}},[t._v("+")])],1)],1),t.destri&&t.attr.productSelect.stock>0?n("v-uni-view",{staticClass:"joinBnt bg-color",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goCat.apply(void 0,arguments)}}},[t._v("立即购买")]):t.destri&&t.attr.productSelect.stock<=0?n("v-uni-view",{staticClass:"joinBnt on"},[t._v("已售罄")]):t._e(),t.iSbnt&&t.attr.productSelect.stock>0?n("v-uni-view",{staticClass:"joinBnt bg-color",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goCat.apply(void 0,arguments)}}},[t._v("我要参团")]):t.iSbnt&&t.attr.productSelect.stock<=0?n("v-uni-view",{staticClass:"joinBnt on"},[t._v("已售罄")]):t._e()],1),n("v-uni-view",{staticClass:"mask",attrs:{hidden:!1===t.attr.cartAttr},on:{touchmove:function(e){e.preventDefault(),arguments[0]=e=t.$handleEvent(e)},click:function(e){arguments[0]=e=t.$handleEvent(e),t.closeAttr.apply(void 0,arguments)}}})],1)},i=[]},a7ca:function(t,e,n){var r=n("6574");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var o=n("4f06").default;o("6c54e93c",r,!0,{sourceMap:!1,shadowMode:!1})},bf72:function(t,e,n){"use strict";n.r(e);var r=n("8aea"),o=n("faf9");for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);n("85d8");var a,u=n("f0c5"),c=Object(u["a"])(o["default"],r["b"],r["c"],!1,null,"f87fb954",null,!1,r["a"],a);e["default"]=c.exports},faf9:function(t,e,n){"use strict";n.r(e);var r=n("fe29"),o=n.n(r);for(var i in r)"default"!==i&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e["default"]=o.a},fe29:function(t,e,n){"use strict";n("a15b"),n("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={props:{attr:{type:Object,default:function(){}},limitNum:{type:Number,value:0},isShow:{type:Number,value:0},iSbnt:{type:Number,value:0},iSplus:{type:Number,value:0},destri:{type:Number,value:0},isPresell:{type:Number,value:0},presell_type:{type:Number,value:1},image:{type:String,value:""}},data:function(){return{}},mounted:function(){},methods:{loookImg:function(){var t=this,e=[t.attr.productSelect.image?t.attr.productSelect.image:t.image];uni.previewImage({urls:e})},goCat:function(){this.$emit("goCat")},bindCode:function(t){var e=JSON.parse(JSON.stringify(t));this.$emit("iptCartNum",e)},closeAttr:function(){this.$emit("myevent")},CartNumDes:function(){this.destri||this.$emit("ChangeCartNum",!1)},CartNumAdd:function(){this.destri||this.$emit("ChangeCartNum",!0)},tapAttr:function(t,e){var n=this;n.$emit("attrVal",{indexw:t,indexn:e}),this.$set(this.attr.productAttr[t],"index",this.attr.productAttr[t].attr_values[e]);var r=n.getCheckedValue().join(",");n.$emit("ChangeAttr",r)},getCheckedValue:function(){for(var t=this.attr.productAttr,e=[],n=0;n<t.length;n++)for(var r=0;r<t[n].attr_values.length;r++)t[n].index===t[n].attr_values[r]&&e.push(t[n].attr_values[r]);return e}}};e.default=r}}]);
|