You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
8.2 KiB
1 line
8.2 KiB
8 months ago
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-plantGrass-plant_topic-index"],{"0035":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"productSort",style:"height:"+t.winHeight+"px"},[n("v-uni-view",{staticClass:"con-box",style:t.viewColor},[n("v-uni-view",{staticClass:"aside"},[n("v-uni-scroll-view",{staticStyle:{height:"100%",overflow:"hidden"},attrs:{"scroll-y":"true","scroll-with-animation":"true"}},t._l(t.productList,(function(e,i){return n("v-uni-view",{key:e.category_id},[n("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:e.children&&e.children.length>0,expression:"item.children && item.children.length > 0"}],staticClass:"item acea-row row-center-wrapper",class:i==t.navActive?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.tap(i,"b"+i)}}},[n("v-uni-text",{staticClass:"item_text"},[t._v(t._s(e.cate_name))])],1)],1)})),1)],1),n("v-uni-view",{staticClass:"conter"},[n("v-uni-scroll-view",{attrs:{"scroll-y":"true"}},[t._l(t.childList,(function(e,i){return n("v-uni-view",{key:e.topic_id,staticClass:"listw"},[n("v-uni-view",{staticClass:"list"},[n("v-uni-navigator",{staticClass:"item acea-row",attrs:{"hover-class":"none",url:"/pages/plantGrass/plant_search_list/index?id="+e.topic_id}},[n("v-uni-view",{staticClass:"picture"},[n("v-uni-image",{attrs:{src:e.pic}})],1),n("v-uni-view",{staticClass:"text"},[n("v-uni-view",{staticClass:"name line1"},[t._v(t._s(e.topic_name))]),n("v-uni-view",{staticClass:"info"},[t._v(t._s(e.count_use||0)+"篇内容")])],1)],1)],1)],1)})),n("v-uni-view",{style:"height:"+(t.height-300)+"rpx;"})],2)],1)],1)],1)},o=[]},3873:function(t,e,n){"use strict";var i=n("7675"),o=n.n(i);o.a},"3b96":function(t,e,n){"use strict";n.r(e);var i=n("3cf9"),o=n.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);e["default"]=o.a},"3cf9":function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("3fd7"),o=n("26cb"),r=(getApp(),{computed:(0,o.mapGetters)(["viewColor"]),data:function(){return{productList:[],navActive:0,number:"",height:0,winHeight:0,childList:[]}},watch:{},onLoad:function(t){var e=this;uni.getSystemInfo({success:function(t){e.winHeight=t.windowHeight}})},onShow:function(){this.productList.length||this.getAllCategory()},onReady:function(){},methods:{tap:function(t,e){this.navActive=t,this.childList=this.productList[t].children},getAllCategory:function(){var t=this;(0,i.getTopicList)().then((function(e){t.productList=e.data;for(var n=0;n<t.productList.length;n++)if(t.productList[n].children&&t.productList[n].children.length>0)return t.navActive=n,void(t.childList=t.productList[n].children)}))}}});e.default=r},"3fd7":function(t,e,n){"use strict";n("7a82");var i=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.boughtLstApi=function(t){return o.default.get("community/pay_product/lst",t)},e.browseLstApi=function(t){return o.default.get("community/hist_product/lst",t)},e.collectLstApi=function(t){return o.default.get("community/rela_product/lst",t)},e.createPlantApi=function(t){return o.default.post("community/create",t)},e.deletePlantApi=function(t){return o.default.post("community/delete/".concat(t))},e.focusArticleLst=function(t){return o.default.get("community/focuslst",t,{noAuth:!0})},e.followAuthorApi=function(t,e){return o.default.post("community/fans/".concat(t),e)},e.getTopicList=function(){return o.default.get("community/category/lst",{},{noAuth:!0})},e.getVideoCode=function(t,e){return o.default.get("community/qrcode/".concat(t),e,{noAuth:!0})},e.graphicLstApi=function(t){return o.default.get("community/lst",t,{noAuth:!0})},e.graphicProApi=function(t){return o.default.get("product/spu/get/".concat(t),{},{noAuth:!0})},e.graphicStartApi=function(t,e){return o.default.post("community/start/".concat(t),e)},e.hotSearchLst=function(){return o.default.get("common/commuu
|