hengmei-two/unpackage/dist/build/mp-baidu/pages/tabbar/cate/cate.js

1 line
3.6 KiB
JavaScript

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/tabbar/cate/cate"],{"04c9":function(t,e,n){"use strict";n.r(e);var i=n("83b5"),c=n("0ab2");for(var a in c)"default"!==a&&function(t){n.d(e,t,(function(){return c[t]}))}(a);var o,l=n("f0c5"),u=Object(l["a"])(c["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],o);e["default"]=u.exports},"0ab2":function(t,e,n){"use strict";n.r(e);var i=n("e171"),c=n.n(i);for(var a in i)"default"!==a&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=c.a},"83b5":function(t,e,n){"use strict";var i;n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){return i}));var c=function(){var t=this,e=t.$createElement;t._self._c},a=[]},b7e8:function(t,e,n){"use strict";(function(t){n("3f1a");i(n("66fd"));var e=i(n("04c9"));function i(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("5486")["createPage"])},e171:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=function(){n.e("components/swiper-pu").then(function(){return resolve(n("f1a5"))}.bind(null,n)).catch(n.oe)},c=function(){n.e("components/cate-items/cate-tu").then(function(){return resolve(n("7eda"))}.bind(null,n)).catch(n.oe)},a={components:{swiperPu:i,cateTu:c},data:function(){return{statusHNH:t.getStorageSync("statusHNH"),publicColor:t.getStorageSync("publicColor"),ccurrent:0,cateList:[{title:"热门推荐"},{title:"秃顶种植"},{title:"发际线种植"},{title:"眉毛种植"},{title:"耳发种植"},{title:"胡须种植"},{title:"疤痕种植"},{title:"植发失败修复"},{title:"脱发"}],cateListTwo:[{title:"热门问题"},{title:"案例日记"},{title:"效果模拟"},{title:"科普视频"},{title:"筛选"}],dataList:[{status:!1,main_img:"/static/public/main_img.png",title:"恒美小课堂",content:"饺子会吃肉?",head_img:"/static/public/like.png",name:"吃肉的饺子"},{status:!1,main_img:"/static/public/main_two.png",title:"恒美小课堂",content:"饺子会吃肉?",head_img:"/static/public/like.png",name:"吃肉的饺子"},{status:!1,main_img:"/static/public/main_three.png",title:"恒美小课堂",content:"饺子会吃肉?",head_img:"/static/public/like.png",name:"吃肉的饺子"},{status:!1,main_img:"/static/public/main_four.png",title:"恒美小课堂",content:"饺子会吃肉?",head_img:"/static/public/like.png",name:"吃肉的饺子"}],showTop:!1,tuList:[{title:"秃顶如何种植",src:"",list:[{content:"秃顶种植需要的条件"},{content:"秃顶种植的是什么"},{content:"秃顶种植需要多少钱"},{content:"那些人能种植"}]},{title:"种植后如何保养",src:"",list:[{content:"秃顶种植保养周期"},{content:"秃顶种植保养手册"},{content:"秃顶种植保养项目"},{content:"那些人需要保养"}]},{title:"种植事项",src:"",list:[{content:"秃顶种植需要注意哪些事项?"}]}],newCurrent:0}},onPageScroll:function(t){t.scrollTop>360?this.showTop=!0:this.showTop=!1},onReachBottom:function(){for(var t=0;t<4;t++){var e={status:!1,main_img:"/static/public/main_img.png",title:"恒美小课堂",content:"饺子会吃肉?",head_img:"/static/public/like.png",name:"吃肉的饺子"};this.dataList.push(e)}},methods:{chooseCate:function(t){this.ccurrent=t,console.log("分类选中:",t)},chooseTwo:function(e){this.newCurrent=e,console.log("二级分类:",this.cateListTwo[e].title),"筛选"==this.cateListTwo[e].title&&t.navigateTo({url:"/pagesB/searchPage/searchPage"})},backTop:function(){t.pageScrollTo({scrollTop:0,duration:300})}}};e.default=a}).call(this,n("5486")["default"])}},[["b7e8","common/runtime","common/vendor"]]]);