| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-integral"],{"03c4":function(t,e,a){var i=a("d10f");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=a("4f06").default;o("681760e0",i,!0,{sourceMap:!1,shadowMode:!1})},2370:function(t,e,a){"use strict";a.d(e,"b",(function(){return o})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){return i}));var i={uniLoadMore:a("96a7").default},o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"main"},[a("v-uni-scroll-view",{staticClass:"scoll-wrap",style:{height:t.height},attrs:{"scroll-y":"true"},on:{scrolltolower:function(e){arguments[0]=e=t.$handleEvent(e),t.getArticleList()}}},[a("v-uni-view",{staticClass:"list-box-h"},t._l(t.list,(function(e,i){return a("v-uni-view",{key:i,staticClass:"guess-item",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.navToDetailPage(e)}}},[a("v-uni-image",{attrs:{src:e.image}}),a("v-uni-view",{staticClass:"guess-box"},[a("v-uni-view",{staticClass:"title clamp2"},[t._v(t._s(e.store_name))]),a("v-uni-view",{staticClass:"flex itemContent"},[a("v-uni-view",[a("v-uni-view",{staticClass:"price flex"},[t._v(t._s(e.result.value[0].price)+"元+")]),a("v-uni-view",{staticClass:"price"},[t._v(t._s(e.result.value[0].integral)+"积分")])],1),a("v-uni-view",{staticClass:"btn"},[t._v("立即购买")])],1)],1)],1)})),1),a("uni-load-more",{attrs:{status:t.loadingType}})],1)],1)},n=[]},"32c5":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/*功能栏左侧小图标*/uni-page-body[data-v-4ffa087c]{background-color:#fff;min-height:100%}.list-box-h[data-v-4ffa087c]{padding:%?20?%}.guess-item[data-v-4ffa087c]{padding:%?10?%;display:flex;min-width:100%;width:0;margin-bottom:%?20?%;background:#fff;border-radius:%?10?%;box-shadow:0 0 %?20?% 0 rgba(50,50,52,.06)}.guess-item uni-image[data-v-4ffa087c]{width:%?200?%;height:%?200?%;border-radius:%?10?%;flex-shrink:0}.guess-item .guess-box[data-v-4ffa087c]{width:100%;padding:5px;position:relative}.guess-item .guess-box .itemContent[data-v-4ffa087c]{position:absolute;width:100%;padding:%?20?% %?10?%;bottom:0;right:0}.guess-item .guess-box .title[data-v-4ffa087c]{font-size:%?30?%;font-weight:700;color:#333;height:2.5em;line-height:1.25em}.guess-item .guess-box .price-box[data-v-4ffa087c]{justify-content:flex-start}.guess-item .guess-box .price-box .yuanprice[data-v-4ffa087c]{font-size:%?26?%;font-family:PingFang SC;font-weight:500;text-decoration:line-through;color:#999;padding-right:%?6?%}.guess-item .guess-box .price-box uni-image[data-v-4ffa087c]{width:%?14?%;height:%?16?%}.guess-item .guess-box .price-box .jiang[data-v-4ffa087c]{padding-left:%?2?%;font-size:%?24?%;font-family:PingFang SC;font-weight:700;color:#b59467}.guess-item .guess-box .price[data-v-4ffa087c]{font-size:%?36?%;font-family:PingFang SC;font-weight:700;color:#ff6f0f}.guess-item .guess-box .btn[data-v-4ffa087c]{background:#16cc9f;border-radius:%?28?%;font-size:%?28?%;font-weight:500;color:#fff;float:right;padding:%?10?% %?20?%}.top-search[data-v-4ffa087c]{width:%?750?%;height:%?100?%;display:flex;justify-content:center;align-items:center;position:relative}.top-search .search-key[data-v-4ffa087c]{width:%?700?%;height:%?70?%;padding-left:%?100?%;background:#fff;box-shadow:0 %?1?% %?5?% #16cc9f;border-radius:%?35?%;position:relative}.top-search .search-logo[data-v-4ffa087c]{width:%?36?%;height:%?36?%;position:absolute;top:0;bottom:0;left:%?50?%;margin:auto}.top-search .search-btn[data-v-4ffa087c]{width:%?150?%;height:%?70?%;border-radius:%?30?%;color:#16cc9f;text-align:center;line-height:%?70?%;position:absolute;top:0;bottom:0;right:%?10?%;margin:auto;z-index:9}body.?%PAGE?%[data-v-4ffa087c]{background-color:#fff}',""]),t.exports=e},"372d":function(t,e,a){"use strict";a("99af"),a("ac1f"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a("76ed"),o={data:function(){return{height:"",list:[],page:1,limit:10,loadingType:"more",total_pages:0,keyword:""}},onLoad:function(t){this.getArticleList()},onReachBottom:function(){this.getArticleList()},onReady:function(t){var e=this;uni.getSystemInfo({success:function(t){var a=uni.createSelectorQuery();a.select(".scoll-wrap").boundingClientRect(),a.exec((function(a){console.log(a,"ddddddddddddd"),e.height=t.windowHeight-a[0].top+"px",console.log("打印页面的剩余高度",e.height)}))},fail:function(t){}})},methods:{navToDetailPage:function(t){uni.navigateTo({url:"/pages/product/product?id="+t.id+"&isJF=1"})},getArticleList:function(){var t=this;"noMore"!=t.loadingType&&"loading"!=t.loadingType&&(t.loadingType="loading",(0,i.jfShop)({page:t.page,limit:t.limit}).then((function(e){var a=e.data;console.log(a,"data"),t.list=t.list.concat(a),t.page++,t.page<=t.total_pages?t.loadingType="more":t.loadingType="noMore"})))},search:function(){var t=this;t.page=1,t.list=[],t.loadingType="more",t.getArticleList()}}};e.default=o},"3edf":function(t,e,a){"use strict";a.r(e);var i=a("beb8"),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},"5dd7":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=[]},6885:function(t,e,a){"use strict";var i=a("c24b"),o=a.n(i);o.a},"76ed":function(t,e,a){"use strict";var i=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.getProducts=n,e.goodsDetail=d,e.getBargainList=r,e.cartAdd=l,e.collectAdd=s,e.collectDel=c,e.searchKeyword=u,e.groomList=f,e.seckillGoods=g,e.groupGoods=m,e.getCategoryList=v,e.getCombinationList=h,e.getCombinationLisRemove=p,e.getCombinationLisPink=b,e.getCombinationPoster=w,e.getSeckillClass=y,e.getSeckillList=x,e.reply_config=k,e.reply_list=_,e.jfShop=C;var o=i(a("27ff"));function n(t){return(0,o.default)({url:"/api/products",method:"get",data:t})}function d(t,e){return(0,o.default)({url:"/api/product/detail/"+e,method:"get",data:t})}function r(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 g(t,e){return(0,o.default)({url:"/api/seckill/detail/"+e,method:"get",data:t})}function m(t,e){return(0,o.default)({url:"/api/combination/detail/"+e,method:"get",data:t})}function v(t){return(0,o.default)({url:"/api/category",method:"get",data:t})}function h(t){return(0,o.default)({url:"/api/combination/list",method:"get",data:t})}function p(t,e){return(0,o.default)({url:"/api/combination/remove"+e,method:"get",data:t})}function b(t,e){return(0,o.default)({url:"/api/combination/pink/"+e,method:"get",data:t})}function w(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 x(t,e){return(0,o.default)({url:"/api/seckill/list/"+e,method:"get",data:t})}function k(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/product/hot",method:"get",data:t})}},"7cbc":function(t,e,a){"use strict";a.r(e);var i=a("2370"),o=a("f049");for(var n in o)"default"!==n&&function(t){a.d(e,t,(function(){return o[t]}))}(n);a("6885");var d,r=a("f0c5"),l=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"4ffa087c",null,!1,i["a"],d);e["default"]=l.exports},"96a7":function(t,e,a){"use strict";a.r(e);var i=a("5dd7"),o=a("3edf");for(var n in o)"default"!==n&&function(t){a.d(e,t,(function(){return o[t]}))}(n);a("b3c8");var d,r=a("f0c5"),l=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,"c8f01f2e",null,!1,i["a"],d);e["default"]=l.exports},b3c8:function(t,e,a){"use strict";var i=a("03c4"),o=a.n(i);o.a},beb8: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},c24b:function(t,e,a){var i=a("32c5");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=a("4f06").default;o("0fc5e558",i,!0,{sourceMap:!1,shadowMode:!1})},d10f:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,".uni-load-more[data-v-c8f01f2e]{display:flex;flex-direction:row;height:%?80?%;align-items: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},f049:function(t,e,a){"use strict";a.r(e);var i=a("372d"),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}}]);
|