1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-product-jmszg"],{"17f5":function(t,e,a){"use strict";var i=a("4ea4");a("99af"),a("ac1f"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;i(a("488d"));var o=a("95b5"),n={data:function(){return{list:[],page:1,limit:10,loadType:"more",loaded:!1}},onReady:function(){var t=this;uni.createSelectorQuery().select(".scroll-wrapper").fields({size:!0},(function(e){console.log(e),console.log(Math.floor(e.width/750*300)),t.maxheight=e.height-Math.floor(e.width/750*570),console.log(t.maxheight)})).exec()},onLoad:function(){this.loadData()},methods:{loadData:function(){var t=this,e=this;"loading"!=e.loadType&&"noMore"!=e.loadType&&(e.loadType="loading",(0,o.getOrderStock)({page:e.page,limit:e.limit}).then((function(a){var i=a.data;e.page++,console.log(i.data.data,"ddddddddddddddddddddddddddddddd"),t.list=t.list.concat(i.data.data)})))}}};e.default=n},"1f6f":function(t,e,a){"use strict";a.r(e);var i=a("17f5"),o=a.n(i);for(var n in i)"default"!==n&&function(t){a.d(e,t,(function(){return i[t]}))}(n);e["default"]=o.a},4030:function(t,e,a){"use strict";var i=a("669c"),o=a.n(i);o.a},"44e1":function(t,e,a){"use strict";a.r(e);var i=a("8c08"),o=a("1f6f");for(var n in o)"default"!==n&&function(t){a.d(e,t,(function(){return o[t]}))}(n);a("4030");var r,d=a("f0c5"),l=Object(d["a"])(o["default"],i["b"],i["c"],!1,null,"7ce87e35",null,!1,i["a"],r);e["default"]=l.exports},"488d":function(t,e,a){"use strict";a.r(e);var i=a("5153"),o=a("e0a8");for(var n in o)"default"!==n&&function(t){a.d(e,t,(function(){return o[t]}))}(n);a("ebe9");var r,d=a("f0c5"),l=Object(d["a"])(o["default"],i["b"],i["c"],!1,null,"c8f01f2e",null,!1,i["a"],r);e["default"]=l.exports},"4a5a":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,".uni-load-more[data-v-c8f01f2e]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;height:%?80?%;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.uni-load-more__text[data-v-c8f01f2e]{font-size:%?28?%;color:#999}.uni-load-more__img[data-v-c8f01f2e]{height:24px;width:24px;margin-right:10px}.uni-load-more__img>.load[data-v-c8f01f2e]{position:absolute}.uni-load-more__img>.load .item[data-v-c8f01f2e]{width:6px;height:2px;border-top-left-radius:1px;border-bottom-left-radius:1px;background:#999;position:absolute;opacity:.2;-webkit-transform-origin:50%;transform-origin:50%;-webkit-animation:load-data-v-c8f01f2e 1.56s ease infinite;animation:load-data-v-c8f01f2e 1.56s ease infinite}.uni-load-more__img>.load .item[data-v-c8f01f2e]:nth-child(1){-webkit-transform:rotate(90deg);transform:rotate(90deg);top:2px;left:9px}.uni-load-more__img>.load .item[data-v-c8f01f2e]:nth-child(2){-webkit-transform:rotate(180deg);transform:rotate(180deg);top:11px;right:0}.uni-load-more__img>.load .item[data-v-c8f01f2e]:nth-child(3){-webkit-transform:rotate(270deg);transform:rotate(270deg);bottom:2px;left:9px}.uni-load-more__img>.load .item[data-v-c8f01f2e]:nth-child(4){top:11px;left:0}.load1[data-v-c8f01f2e],\n.load2[data-v-c8f01f2e],\n.load3[data-v-c8f01f2e]{height:24px;width:24px}.load2[data-v-c8f01f2e]{-webkit-transform:rotate(30deg);transform:rotate(30deg)}.load3[data-v-c8f01f2e]{-webkit-transform:rotate(60deg);transform:rotate(60deg)}.load1 .item[data-v-c8f01f2e]:nth-child(1){-webkit-animation-delay:0s;animation-delay:0s}.load2 .item[data-v-c8f01f2e]:nth-child(1){-webkit-animation-delay:.13s;animation-delay:.13s}.load3 .item[data-v-c8f01f2e]:nth-child(1){-webkit-animation-delay:.26s;animation-delay:.26s}.load1 .item[data-v-c8f01f2e]:nth-child(2){-webkit-animation-delay:.39s;animation-delay:.39s}.load2 .item[data-v-c8f01f2e]:nth-child(2){-webkit-animation-delay:.52s;animation-delay:.52s}.load3 .item[data-v-c8f01f2e]:nth-child(2){-webkit-animation-delay:.65s;animation-delay:.65s}.load1 .item[data-v-c8f01f2e]:nth-child(3){-webkit-animation-delay:.78s;animation-delay:.78s}.load2 .item[data-v-c8f01f2e]:nth-child(3){-webkit-animation-delay:.91s;animation-delay:.91s}.load3 .item[data-v-c8f01f2e]:nth-child(3){-webkit-animation-delay:1.04s;animation-delay:1.04s}.load1 .item[data-v-c8f01f2e]:nth-child(4){-webkit-animation-delay:1.17s;animation-delay:1.17s}.load2 .item[data-v-c8f01f2e]:nth-child(4){-webkit-animation-delay:1.3s;animation-delay:1.3s}.load3 .item[data-v-c8f01f2e]:nth-child(4){-webkit-animation-delay:1.43s;animation-delay:1.43s}@-webkit-keyframes load-data-v-c8f01f2e{0%{opacity:1}100%{opacity:.2}}",""]),t.exports=e},5153:function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return o})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){return i}));var o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"uni-load-more"},[a("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:"loading"===t.status&&t.showIcon,expression:"status === 'loading' && showIcon"}],staticClass:"uni-load-more__img"},[a("v-uni-view",{staticClass:"load1 load"},[a("v-uni-view",{staticClass:"item",style:{background:t.color}}),a("v-uni-view",{staticClass:"item",style:{background:t.color}}),a("v-uni-view",{staticClass:"item",style:{background:t.color}}),a("v-uni-view",{staticClass:"item",style:{background:t.color}})],1),a("v-uni-view",{staticClass:"load2 load"},[a("v-uni-view",{staticClass:"item",style:{background:t.color}}),a("v-uni-view",{staticClass:"item",style:{background:t.color}}),a("v-uni-view",{staticClass:"item",style:{background:t.color}}),a("v-uni-view",{staticClass:"item",style:{background:t.color}})],1),a("v-uni-view",{staticClass:"load3 load"},[a("v-uni-view",{staticClass:"item",style:{background:t.color}}),a("v-uni-view",{staticClass:"item",style:{background:t.color}}),a("v-uni-view",{staticClass:"item",style:{background:t.color}}),a("v-uni-view",{staticClass:"item",style:{background:t.color}})],1)],1),a("v-uni-text",{staticClass:"uni-load-more__text",style:{color:t.color}},[t._v(t._s("more"===t.status?t.contentText.contentdown:"loading"===t.status?t.contentText.contentrefresh:t.contentText.contentnomore))])],1)},n=[]},"51f6":function(t,e,a){var i=a("4a5a");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=a("4f06").default;o("cdf577ce",i,!0,{sourceMap:!1,shadowMode:!1})},"53e4":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"uni-load-more",props:{status:{type:String,default:"more"},showIcon:{type:Boolean,default:!0},color:{type:String,default:"#777777"},contentText:{type:Object,default:function(){return{contentdown:"上拉显示更多",contentrefresh:"正在加载...",contentnomore:"没有更多数据了"}}}},data:function(){return{}}};e.default=i},"669c":function(t,e,a){var i=a("9235");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=a("4f06").default;o("389d6743",i,!0,{sourceMap:!1,shadowMode:!1})},"8c08":function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return o})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){return i}));var o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"content"},[a("v-uni-scroll-view",{staticClass:"scroll-wrapper",attrs:{"scroll-y":"true"}},t._l(t.list,(function(e,i){return a("v-uni-view",{key:i,staticClass:"spgood"},[a("v-uni-view",{staticClass:"left-wrapper"},[a("v-uni-image",{attrs:{src:e.product_info.image,mode:"scaleToFill"}})],1),a("v-uni-view",{staticClass:"right-wrapper"},[a("v-uni-view",{staticClass:"right-title clamp"},[t._v(t._s(e.product_info.store_name))]),a("v-uni-view",{staticClass:"right-bottom"},[a("v-uni-view",{staticClass:"sp-price"},[a("v-uni-view",{staticClass:"now-price"},[t._v("¥"+t._s(1*e.product_info.price))]),a("v-uni-view",{staticClass:"old-price"},[t._v("¥"+t._s(1*e.product_info.ot_price))])],1),a("v-uni-view",{staticClass:"sp-btn"},[t._v("马上购")])],1)],1)],1)})),1)],1)},n=[]},9235:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/.spgood[data-v-7ce87e35]{margin:0 auto;width:%?710?%;height:%?280?%;background:#fff;-webkit-box-shadow:0 0 20px 0 rgba(50,50,52,.06);box-shadow:0 0 20px 0 rgba(50,50,52,.06);border-radius:%?8?%;padding:%?40?% %?20?%;display:-webkit-box;display:-webkit-flex;display:flex;margin-bottom:%?21?%;position:relative}.spgood .left-wrapper[data-v-7ce87e35]{width:%?190?%;height:%?200?%;border-radius:%?10?%}.spgood .left-wrapper uni-image[data-v-7ce87e35]{width:%?190?%;height:%?200?%;border-radius:%?10?%}.spgood .right-wrapper[data-v-7ce87e35]{padding-left:%?22?%;width:100%;height:%?200?%}.spgood .right-wrapper .right-title[data-v-7ce87e35]{padding-top:%?8?%;width:%?400?%;font-size:%?30?%;font-weight:700;color:#333}.spgood .right-wrapper .right-addr[data-v-7ce87e35]{margin-top:%?18?%;display:-webkit-box;display:-webkit-flex;display:flex}.spgood .right-wrapper .right-addr .shop-img[data-v-7ce87e35]{width:%?26?%;height:%?23?%;margin:0 %?4?% 0 0}.spgood .right-wrapper .right-addr .shop-img uni-image[data-v-7ce87e35]{width:100%;height:100%}.spgood .right-wrapper .right-addr .shop-name[data-v-7ce87e35]{font-size:%?22?%;font-weight:500;color:#dcb876}.spgood .right-wrapper .right-addr .point-img[data-v-7ce87e35]{width:%?16?%;height:%?23?%;margin:0 %?4?% 0 %?14?%}.spgood .right-wrapper .right-addr .point-img uni-image[data-v-7ce87e35]{width:100%;height:%?21?%}.spgood .right-wrapper .right-addr .point-disc[data-v-7ce87e35]{font-size:%?24?%;font-weight:500;padding-top:%?3?%;color:#dcb876}.spgood .right-wrapper .ex-addr[data-v-7ce87e35]{margin-top:%?16?%;height:%?24?%;font-size:%?24?%;font-weight:500;color:#dcb876}.spgood .right-wrapper .ex-addr uni-image[data-v-7ce87e35]{height:%?22?%}.spgood .right-wrapper .ex-addr .name-img[data-v-7ce87e35]{width:%?26?%;margin:0 %?4?% %?-3?% 0}.spgood .right-wrapper .ex-addr .point-img[data-v-7ce87e35]{width:%?16?%;margin:0 %?4?% %?-3?% %?14?%}.spgood .right-wrapper .pepple-num[data-v-7ce87e35]{display:inline-block;padding-right:%?15?%;height:%?36?%;background-color:#fee4ce;border-radius:%?18?%;font-size:%?20?%;font-weight:500;color:#f36;line-height:%?36?%;padding-left:%?12?%;margin-top:%?33?%}.spgood .right-wrapper .pepple-num uni-image[data-v-7ce87e35]{width:%?17?%;height:%?20?%;margin-right:%?10?%}.spgood .right-wrapper .right-bottom[data-v-7ce87e35]{margin-top:%?2?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}.spgood .right-wrapper .right-bottom .sp-price[data-v-7ce87e35]{height:%?60?%;display:-webkit-box;display:-webkit-flex;display:flex;vertical-align:bottom;line-height:%?60?%}.spgood .right-wrapper .right-bottom .sp-price .now-price[data-v-7ce87e35]{font-size:%?30?%;font-weight:700;color:#901b21;margin-right:%?16?%}.spgood .right-wrapper .right-bottom .sp-price .old-price[data-v-7ce87e35]{font-size:%?22?%;font-weight:500;text-decoration:line-through;color:#aaa}.spgood .right-wrapper .right-bottom .sp-btn[data-v-7ce87e35]{width:%?160?%;height:%?60?%;border-radius:%?30?%;font-size:%?26?%;text-align:center;line-height:%?60?%;font-weight:400;color:#fff;background-color:#901b21;position:absolute;bottom:%?40?%;right:%?20?%}',""]),t.exports=e},"95b5":function(t,e,a){"use strict";var i=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.getProducts=n,e.goodsDetail=r,e.getBargainList=d,e.cartAdd=l,e.collectAdd=s,e.collectDel=c,e.searchKeyword=u,e.groomList=f,e.seckillGoods=p,e.groupGoods=g,e.getCategoryList=h,e.getCombinationList=m,e.getCombinationLisRemove=v,e.getCombinationLisPink=w,e.getCombinationPoster=b,e.getSeckillClass=y,e.getSeckillList=k,e.reply_config=x,e.reply_list=_,e.getSeckillIndexTime=C,e.getIntegralList=j,e.getIntegraDetail=z,e.getOrderStock=T;var o=i(a("bc58"));function n(t){return(0,o.default)({url:"/api/products",method:"get",data:t})}function r(t,e){return(0,o.default)({url:"/api/product/detail/"+e,method:"get",data:t})}function d(t){return(0,o.default)({url:"/api/bargain/list",method:"get",data:t})}function l(t){return(0,o.default)({url:"/api/cart/add",method:"post",data:t})}function s(t){return(0,o.default)({url:"/api/collect/add",method:"post",data:t})}function c(t){return(0,o.default)({url:"/api/collect/del",method:"post",data:t})}function u(t){return(0,o.default)({url:"/api/search/keyword",method:"get",data:t})}function f(t,e){return(0,o.default)({url:"/api/groom/list/"+e,method:"get",data:t})}function p(t,e){return(0,o.default)({url:"/api/seckill/detail/"+e,method:"get",data:t})}function g(t,e){return(0,o.default)({url:"/api/combination/detail/"+e,method:"get",data:t})}function h(t){return(0,o.default)({url:"/api/category",method:"get",data:t})}function m(t){return(0,o.default)({url:"/api/combination/list",method:"get",data:t})}function v(t,e){return(0,o.default)({url:"/api/combination/remove"+e,method:"get",data:t})}function w(t,e){return(0,o.default)({url:"/api/combination/pink/"+e,method:"get",data:t})}function b(t){return(0,o.default)({url:"/api/combination/poster",method:"post",data:t})}function y(t){return(0,o.default)({url:"/api/seckill/index",method:"get",data:t})}function k(t,e){return(0,o.default)({url:"/api/seckill/list/"+e,method:"get",data:t})}function x(t,e){return(0,o.default)({url:"/api/reply/config/"+e,method:"get",data:t})}function _(t,e){return(0,o.default)({url:"/api/reply/list/"+e,method:"get",data:t})}function C(t){return(0,o.default)({url:" /api/seckill/index",method:"get",data:t})}function j(t){return(0,o.default)({url:"/api/store_integral/list",method:"get",data:t})}function z(t,e){return(0,o.default)({url:"/api/store_integral/detail/"+e,method:"get",data:t})}function T(t){return(0,o.default)({url:"/api/order/stock",method:"get",data:t})}},e0a8:function(t,e,a){"use strict";a.r(e);var i=a("53e4"),o=a.n(i);for(var n in i)"default"!==n&&function(t){a.d(e,t,(function(){return i[t]}))}(n);e["default"]=o.a},ebe9:function(t,e,a){"use strict";var i=a("51f6"),o=a.n(i);o.a}}]);
|