yunshangxie/unpackage/dist/build/mp-weixin/pages/index/directory.js

1 line
3.8 KiB
JavaScript

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/directory"],{"0039":function(t,e,n){"use strict";n.r(e);var a=n("f9d3"),i=n.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=i.a},"06e2":function(t,e,n){"use strict";var a=n("31ae"),i=n.n(a);i.a},"31ae":function(t,e,n){},"4ec4":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return a}));var a={tnNavBar:function(){return Promise.all([n.e("common/vendor"),n.e("tuniao-ui/components/tn-nav-bar/tn-nav-bar")]).then(n.bind(null,"5d27"))},tnTabs:function(){return Promise.all([n.e("common/vendor"),n.e("tuniao-ui/components/tn-tabs/tn-tabs")]).then(n.bind(null,"8772"))}},i=function(){var t=this,e=t.$createElement,n=(t._self._c,t.__map(t.tabbar,(function(e,n){var a=t.__get_orig(e),i=t.tabbarItemClass(n);return{$orig:a,m0:i}})));t.$mp.data=Object.assign({},{$root:{l0:n}})},r=[]},d612:function(t,e,n){"use strict";(function(t,e){var a=n("4ea4");n("34f1");a(n("66fd"));var i=a(n("dfc2"));t.__webpack_require_UNI_MP_PLUGIN__=n,e(i.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},dfc2:function(t,e,n){"use strict";n.r(e);var a=n("4ec4"),i=n("0039");for(var r in i)["default"].indexOf(r)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("06e2");var c=n("f0c5"),o=Object(c["a"])(i["default"],a["b"],a["c"],!1,null,"6b0d49a2",null,!1,a["a"],void 0);e["default"]=o.exports},f9d3:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{tabbar:["房产建设行业","服务行业","高新技术行业","教育文卫行业","能源生产供应","农林牧渔","物流贸易行业","信息行业","制造行业"],list:[{name:"主任",list:[{name:"朱荣梅",family:"汉族",desc:"康桥集团执行总裁"}]},{name:"副主任",list:[{name:"李小冰",family:"汉族",desc:"恒达集团(控股)有限公司董事长"},{name:"李小冰",family:"汉族",desc:"恒达集团(控股)有限公司董事长"}]},{name:"会员",list:[{name:"李小冰",family:"汉族",desc:"恒达集团(控股)有限公司董事长"},{name:"李小冰",family:"汉族",desc:"恒达集团(控股)有限公司董事长"},{name:"李小冰",family:"汉族",desc:"恒达集团(控股)有限公司董事长"},{name:"李小冰",family:"汉族",desc:"恒达集团(控股)有限公司董事长"},{name:"李小冰",family:"汉族",desc:"恒达集团(控股)有限公司董事长"},{name:"李小冰",family:"汉族",desc:"恒达集团(控股)有限公司董事长"},{name:"李小冰",family:"汉族",desc:"恒达集团(控股)有限公司董事长"}]}],topCurrent:0,tabbarIndex:0,tabbarItemInfo:[],scrollViewBasicTop:0,scrollViewHeight:0,leftScrollViewTop:0,rightScrollViewTop:0,currentTabbarIndex:0}},computed:{tabbarItemClass:function(){var t=this;return function(e){if(e===t.currentTabbarIndex)return"tn-classify__tabbar__item--active tn-bg-white";var n="";return t.currentTabbarIndex>0&&e===t.currentTabbarIndex-1&&(n+=" tn-classify__tabbar__item--active--prev"),t.currentTabbarIndex<t.tabbar.length&&e===t.currentTabbarIndex+1&&(n+=" tn-classify__tabbar__item--active--next"),n}}},mounted:function(){},methods:{clickClassifyNav:function(t){this.currentTabbarIndex=t},handleLeftScrollView:function(t){var e=this.tabbarItemInfo[t].top-this.scrollViewBasicTop;e>this.scrollViewHeight/2?this.leftScrollViewTop=e-this.scrollViewHeight/2+this.tabbarItemInfo[t].height:this.leftScrollViewTop=0},switchClassifyContent:function(){var t=this;this.rightScrollViewTop=1,this.$nextTick((function(){t.rightScrollViewTop=0}))},tn:function(e){t.navigateTo({url:e})},goBack:function(){getCurrentPages().length>1?t.navigateBack():t.redirectTo({url:"/pages/index/index"})}}};e.default=n}).call(this,n("543d")["default"])}},[["d612","common/runtime","common/vendor"]]]);