zx/public/static/js/pages-plantGrass-plant_show...

1 line
8.1 KiB
JavaScript
Raw Normal View History

2024-07-02 15:32:59 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-plantGrass-plant_show-index"],{"2dc3":function(t,n,a){"use strict";a.d(n,"b",(function(){return e})),a.d(n,"c",(function(){return o})),a.d(n,"a",(function(){return i}));var i={WaterfallsFlow:a("0389").default},e=function(){var t=this,n=t.$createElement,a=t._self._c||n;return a("v-uni-view",{style:t.viewColor},[a("v-uni-view",{staticClass:"main"},[a("v-uni-view",{staticClass:"show_main area-row"},[a("v-uni-view",{staticClass:"picture"},[a("v-uni-image",{attrs:{src:t.proInfo.image}})],1),a("v-uni-view",{staticClass:"show_info"},[a("v-uni-view",{staticClass:"show_name line1"},[t._v(t._s(t.proInfo.store_name))]),a("v-uni-view",{staticClass:"show_count"},[a("v-uni-text",{staticClass:"num"},[t._v(t._s(t.count))]),t._v("条买家秀")],1)],1)],1),a("v-uni-view",{staticClass:"tab-cont"},[t.goods.length?a("v-uni-view",{staticClass:"goods-wrap"},[a("v-uni-view",{staticClass:"goods"},[a("WaterfallsFlow",{attrs:{wfList:t.goods,isFind:!1,isShow:!0,isAuth:0}})],1)],1):t._e(),a("v-uni-view",{staticClass:"acea-row row-center-wrapper loadingicon",attrs:{hidden:!t.loading}},[a("v-uni-text",{staticClass:"iconfont icon-jiazai loading"})],1),0!=t.goods.length||t.loading?t._e():a("emptyPage",{attrs:{title:"暂无文章~"}})],1)],1)],1)},o=[]},4247:function(t,n,a){"use strict";a.r(n);var i=a("43d6"),e=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(n,t,(function(){return i[t]}))}(o);n["default"]=e.a},"43d6":function(t,n,a){"use strict";a("6a54");var i=a("f5bd").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e=i(a("9b1b")),o=i(a("c09f")),s=a("edc0b"),c=a("8f59"),d=i(a("8329")),r=(getApp(),{components:{emptyPage:d.default,WaterfallsFlow:o.default},data:function(){return{focus:!1,goods:[],count:0,keyword:"",loaded:!1,loading:!1,loadTitle:"加载更多",proInfo:{},where:{keyword:"",page:1,limit:30,topic_id:"",spu_id:""}}},created:function(){},computed:(0,e.default)({},(0,c.mapGetters)(["isLogin","uid","scrollTop","viewColor"])),watch:{},onLoad:function(t){this.where.spu_id=t.spu_id,this.getGoods(),this.getProDetail()},onShow:function(){},mounted:function(){},methods:{getGoods:function(){var t=this;t.loadend||t.loading||(t.loading=!0,t.loadTitle="",(0,s.graphicLstApi)(t.where).then((function(n){t.loading=!1;var a=n.data.list,i=t.$util.SplitArray(a,t.goods),e=a.length<t.where.limit;t.loadend=e,t.loading=!1,t.count=n.data.count,t.loadTitle=e?"已全部加载":"加载更多",t.$set(t,"goods",i),t.$set(t.where,"page",t.where.page+1)})).catch((function(n){t.loading=!1,t.goodsLoading=!1,uni.showToast({title:n,icon:"none"})})))},getProDetail:function(){var t=this;(0,s.graphicProApi)(t.where.spu_id).then((function(n){t.proInfo=n.data})).catch((function(t){uni.showToast({title:t,icon:"none"})}))}},onReachBottom:function(){this.getGoods()},onPageScroll:function(t){uni.$emit("scroll")}});n.default=r},"5dce":function(t,n,a){var i=a("c86c");n=i(!1),n.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/* 文章场景相关 */.empty-box[data-v-f1a26612]{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:%?200?%}.em