cyywl_shop_app/dist/static/js/pages-columnGoods-HotNewGoo...

1 line
16 KiB
JavaScript
Raw Normal View History

2023-05-26 10:48:58 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-columnGoods-HotNewGoods-index"],{"0676":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* crmeb颜色变量 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.empty-box[data-v-63d1a8ca]{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:%?200?%;padding-bottom:%?60?%}.empty-box uni-image[data-v-63d1a8ca]{width:%?414?%;height:%?240?%}.empty-box .txt[data-v-63d1a8ca]{font-size:%?26?%;color:#999}',""]),t.exports=e},"0f0a":function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.collectAdd=function(t,e){return a.default.post("front/collect/add",{id:t,category:void 0===e?"product":e})},e.collectAll=function(t,e){return a.default.post("collect/all",{id:t,category:void 0===e?"product":e})},e.collectDel=function(t){return a.default.post("collect/cancel/".concat(t))},e.collectDelete=function(t){return a.default.post("collect/delete",t)},e.getCategoryList=function(){return a.default.get("front/category",{},{noAuth:!0})},e.getCollectUserList=function(t){return a.default.get("collect/user",t)},e.getGroomList=function(t,e){return a.default.get("index/product/"+t,e,{noAuth:!0})},e.getProductCode=function(t){return a.default.get("front/product/code/"+t,{})},e.getProductDetail=function(t,e){return a.default.get("front/product/detail/"+t+"?type="+e,{},{noAuth:!0})},e.getProductGood=function(){return a.default.get("front/product/good")},e.getProductHot=function(t,e){return a.default.get("front/product/hot",{page:void 0===t?1:t,limit:void 0===e?4:e},{noAuth:!0})},e.getProductslist=function(t){return a.default.get("front/products",t,{noAuth:!0})},e.getReplyConfig=function(t){return a.default.get("front/reply/config/"+t,{},{noAuth:!0})},e.getReplyList=function(t,e){return a.default.get("reply/list/"+t,e,{noAuth:!0})},e.getReplyProduct=function(t){return a.default.get("front/reply/product/"+t,{noAuth:!0})},e.getSearchKeyword=function(){return a.default.get("search/keyword",{},{noAuth:!0})},e.postCartAdd=function(t){return a.default.post("front/cart/save",t,{})},e.storeListApi=function(t){return a.default.post("store/list",t,{},1)};var a=n(i("216d"))},"121f":function(t,e,i){"use strict";i.r(e);var n=i("46f4"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a},"358f":function(t,e,i){t.exports=i.p+"static/img/empty-box.a3b2b2dd.png"},"3a4c":function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("99af");var a=n(i("ad50")),r=n(i("f7a3")),o=i("0f0a"),s={name:"HotNewGoods",components:{GoodList:r.default,emptyPage:a.default},props:{},data:function(){return{imgUrls:[],goodsList:[],name:"",icon:"",type:0,autoplay:!0,circular:!0,interval:3e3,duration:500,page:1,limit:8,isScroll:!0}},onLoad:function(t){this.type=t.type,this.titleInfo(),this.getIndexGroomList()},methods:{titleInfo:function(){"1"===this.type?(this.name="精品推荐",this.icon="icon-jingpintuijian",uni.setNavigationBar