1 line
22 KiB
Plaintext
1 line
22 KiB
Plaintext
{"version":3,"sources":["uni-app:///main.js","webpack:///E:/云商会/云商会/pages/index/directory.vue?6d94","webpack:///E:/云商会/云商会/pages/index/directory.vue?207a","webpack:///E:/云商会/云商会/pages/index/directory.vue?faf5","webpack:///E:/云商会/云商会/pages/index/directory.vue?6910","uni-app:///pages/index/directory.vue","webpack:///E:/云商会/云商会/pages/index/directory.vue?25f9","webpack:///E:/云商会/云商会/pages/index/directory.vue?1d6a"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","tabbar","list","name","topCurrent","tabbarIndex","tabbarItemInfo","scrollViewBasicTop","scrollViewHeight","leftScrollViewTop","rightScrollViewTop","currentTabbarIndex","computed","tabbarItemClass","clazz","mounted","methods","clickClassifyNav","handleLeftScrollView","height","switchClassifyContent","tn","uni","url","goBack"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,kBAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkI;AAClI;AAC6D;AACL;AACsC;;;AAG9F;AAC+L;AAC/L,gBAAgB,wMAAU;AAC1B,EAAE,+EAAM;AACR,EAAE,gGAAM;AACR,EAAE,yGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,aAAa,wRAEN;AACP,KAAK;AACL;AACA,aAAa,sQAEN;AACP,KAAK;AACL;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA,MAAM;AACN;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACtDA;AAAA;AAAA;AAAA;AAAquB,CAAgB,0vBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eCoFzvB;EACAC;IACA;MACAC,SACA,UACA,QACA,UACA,UACA,UACA,QACA,UACA,QACA,OACA;MACAC;QACAC;QACAD;UACA;UACA;UACA;QACA;MACA;QACAC;QACAD;UACA;UACA;UACA;QACA;UACA;UACA;UACA;QACA;MACA;QACAC;QACAD;UACA;UACA;UACA;QACA;UACA;UACA;UACA;QACA;UACA;UACA;UACA;QACA;UACA;UACA;UACA;QACA;UACA;UACA;UACA;QACA;UACA;UACA;UACA;QACA;UACA;UACA;UACA;QACA;MACA;MACAE;MACAC;MACA;MACAC;MACA;MACAC;MACA;MACAC;MACA;MACAC;MACA;MACAC;MACA;MACAC;IACA;EACA;EACAC;IACAC;MAAA;MACA;QACA;UACA;QACA;UACA;UACA;YACAC;UACA;UACA;YACAA;UACA;UACA;QACA;MACA;IACA;EACA;EACAC,6BAEA;EACAC;IACAC;MACA;MACA;MACA;IACA;IACA;IACAC;MACA;MACA;QACA,gGACAC;MACA;QACA;MACA;IACA;IACA;IACAC;MAAA;MACA;MACA;QACA;MACA;MACA;IACA;IACAC;MACAC;QACAC;MACA;IACA;IACAC;MACA;QACAF;MACA;QACAA;UACAC;QACA;MAEA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;ACjOA;AAAA;AAAA;AAAA;AAAg5C,CAAgB,62CAAG,EAAC,C;;;;;;;;;;;ACAp6C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/index/directory.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/index/directory.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./directory.vue?vue&type=template&id=671ec3f2&scoped=true&\"\nvar renderjs\nimport script from \"./directory.vue?vue&type=script&lang=js&\"\nexport * from \"./directory.vue?vue&type=script&lang=js&\"\nimport style0 from \"./directory.vue?vue&type=style&index=0&id=671ec3f2&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"671ec3f2\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/index/directory.vue\"\nexport default component.exports","export * from \"-!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--17-0!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./directory.vue?vue&type=template&id=671ec3f2&scoped=true&\"","var components\ntry {\n components = {\n tnNavBar: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-nav-bar/tn-nav-bar\" */ \"@/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue\"\n )\n },\n tnTabs: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-tabs/tn-tabs\" */ \"@/tuniao-ui/components/tn-tabs/tn-tabs.vue\"\n )\n },\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\nvar render = function () {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n var l0 = _vm.__map(_vm.tabbar, function (item, index) {\n var $orig = _vm.__get_orig(item)\n var m0 = _vm.tabbarItemClass(index)\n return {\n $orig: $orig,\n m0: m0,\n }\n })\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n l0: l0,\n },\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./directory.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./directory.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view style=\"background-color: #EBF4F7;letter-spacing: 1rpx;\">\r\n\t\t<tn-nav-bar :isBack=\"false\" backTitle=\"\" :bottomShadow=\"true\" backgroundColor=\"#FFFFFF\">\r\n\t\t\t<view class=\"custom-nav tn-flex tn-flex-col-center tn-flex-row-left\">\r\n\t\t\t\t<view style=\"padding-left: 15rpx;\" @click=\"goBack()\">\r\n\t\t\t\t\t<text class=\"tn-icon-left\" style=\"font-size: 40rpx;\"></text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"tn-margin-top\"\r\n\t\t\t\t\tstyle=\";text-shadow: 1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;\">\r\n\r\n\t\t\t\t\t<tn-tabs :list=\"[{name:'会员名录'}]\" :current=\"topCurrent\" activeColor=\"#000\" :bold=\"false\"\r\n\t\t\t\t\t\t:fontSize=\"36\"></tn-tabs>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</tn-nav-bar>\r\n\t\t<view :style=\"{paddingTop: vuex_custom_bar_height + 'px'}\">\r\n\t\t\t<view class=\"tn-flex tn-flex-col-center tn-flex-row-between\" style=\"padding: 30rpx;\">\r\n\t\t\t\t<view>\r\n\t\t\t\t\t<text>河南省青年企业家协会</text>\r\n\t\t\t\t\t<text class=\"tn-icon-down-triangle\"></text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view>\r\n\t\t\t\t\t<text>筛选</text>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view class=\"tn-classify__container\">\r\n\t\t\t<view class=\"tn-classify__container__wrap tn-flex tn-flex-nowrap tn-flex-row-around\"\r\n\t\t\t\tstyle=\"height: 100vh;background-color: #EBF4F7;\">\r\n\t\t\t\t<!-- 左边容器 -->\r\n\t\t\t\t<scroll-view class=\"tn-classify__left-box left-width\" scroll-y scroll-with-animation>\r\n\t\t\t\t\t<view v-for=\"(item, index) in tabbar\" :key=\"index\" :id=\"`tabbar_item_${index}`\"\r\n\t\t\t\t\t\tstyle=\"padding-left: 20rpx;\" class=\"tn-classify__tabbar__item tn-flex tn-flex-col-center\"\r\n\t\t\t\t\t\t:class=\"[tabbarItemClass(index)]\" @tap.stop=\"clickClassifyNav(index)\">\r\n\t\t\t\t\t\t<view class=\"tn-classify__tabbar__item__title\">{{ item }}</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</scroll-view>\r\n\r\n\t\t\t\t<!-- 右边容器 -->\r\n\t\t\t\t<scroll-view class=\"tn-classify__right-box\" scroll-y>\r\n\t\t\t\t\t<block>\r\n\t\t\t\t\t\t<view class=\"tn-classify__content\">\r\n\t\t\t\t\t\t\t<!-- 分类内容子栏目 -->\r\n\t\t\t\t\t\t\t<view class=\"tn-classify__content__sub-classify__content \">\r\n\t\t\t\t\t\t\t\t<view v-for=\"(item,index) in list\" :key=\"index\">\r\n\t\t\t\t\t\t\t\t\t<view\r\n\t\t\t\t\t\t\t\t\t\tstyle=\"font-weight: 300;;background-color: #EBF4F7;color:#4AA2EF;width: 100%;height: 60rpx;line-height: 60rpx;text-align: center;\">\r\n\t\t\t\t\t\t\t\t\t\t{{item.name}}\r\n\t\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t\t<view v-for=\"(v,k) in item.list\" @click=\"tn('/pages/index/user_info')\"\r\n\t\t\t\t\t\t\t\t\t\tclass=\"tn-classify__content__sub-classify__content__item tn-flex tn-flex-center tn-flex-col-center\">\r\n\t\t\t\t\t\t\t\t\t\t<!-- 标题,有需要可以显示出来 -->\r\n\t\t\t\t\t\t\t\t\t\t<view style=\"width: 100rpx;height: 100rpx\">\r\n\t\t\t\t\t\t\t\t\t\t\t<image src=\"/static/u1.jpg\"\r\n\t\t\t\t\t\t\t\t\t\t\t\tstyle=\"width: 100rpx;height: 100rpx;border-radius:50%;\">\r\n\t\t\t\t\t\t\t\t\t\t\t</image>\r\n\t\t\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t\t\t<view style=\"margin-left: 20rpx;\">\r\n\t\t\t\t\t\t\t\t\t\t\t<view style=\"font-size: 28rpx;\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t<text>{{v.name}}</text>\r\n\t\t\t\t\t\t\t\t\t\t\t\t<text style=\"margin-left: 50rpx;\">{{v.family}}</text>\r\n\t\t\t\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t\t\t\t<view style=\"font-size: 24rpx;margin-top: 10rpx;\">\r\n\t\t\t\t\t\t\t\t\t\t\t\t<text>{{v.desc}}</text>\r\n\t\t\t\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t\t</view>\r\n\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</block>\r\n\t\t\t\t</scroll-view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view @click=\"tn('/pages/index/apply_in')\" style=\"line-height: 40rpx;text-align: center;position: fixed;bottom:15%;right: 20rpx;width: 120rpx;height: 120rpx;border-radius: 50%;background: linear-gradient(270deg, #EE7E45, #EE9657);\r\nbox-shadow: 0rpx 0rpx 10rpx 0rpx rgba(12,0,5,0.2);\">\r\n\t\t\t<view style=\"color: #fff;letter-spacing: 2rpx;padding: 20rpx;font-size: 32rpx;\">申请入会\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\ttabbar: [\r\n\t\t\t\t\t'房产建设行业',\r\n\t\t\t\t\t'服务行业',\r\n\t\t\t\t\t'高新技术行业',\r\n\t\t\t\t\t'教育文卫行业',\r\n\t\t\t\t\t'能源生产供应',\r\n\t\t\t\t\t'农林牧渔',\r\n\t\t\t\t\t'物流贸易行业',\r\n\t\t\t\t\t'信息行业',\r\n\t\t\t\t\t'制造行业',\r\n\t\t\t\t],\r\n\t\t\t\tlist: [{\r\n\t\t\t\t\tname: '主任',\r\n\t\t\t\t\tlist: [{\r\n\t\t\t\t\t\t'name': '朱荣梅',\r\n\t\t\t\t\t\t'family': '汉族',\r\n\t\t\t\t\t\t'desc': '康桥集团执行总裁'\r\n\t\t\t\t\t}]\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '副主任',\r\n\t\t\t\t\tlist: [{\r\n\t\t\t\t\t\t'name': '李小冰',\r\n\t\t\t\t\t\t'family': '汉族',\r\n\t\t\t\t\t\t'desc': '恒达集团(控股)有限公司董事长'\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\t'name': '李小冰',\r\n\t\t\t\t\t\t'family': '汉族',\r\n\t\t\t\t\t\t'desc': '恒达集团(控股)有限公司董事长'\r\n\t\t\t\t\t}]\r\n\t\t\t\t}, {\r\n\t\t\t\t\tname: '会员',\r\n\t\t\t\t\tlist: [{\r\n\t\t\t\t\t\t'name': '李小冰',\r\n\t\t\t\t\t\t'family': '汉族',\r\n\t\t\t\t\t\t'desc': '恒达集团(控股)有限公司董事长'\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\t'name': '李小冰',\r\n\t\t\t\t\t\t'family': '汉族',\r\n\t\t\t\t\t\t'desc': '恒达集团(控股)有限公司董事长'\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\t'name': '李小冰',\r\n\t\t\t\t\t\t'family': '汉族',\r\n\t\t\t\t\t\t'desc': '恒达集团(控股)有限公司董事长'\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\t'name': '李小冰',\r\n\t\t\t\t\t\t'family': '汉族',\r\n\t\t\t\t\t\t'desc': '恒达集团(控股)有限公司董事长'\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\t'name': '李小冰',\r\n\t\t\t\t\t\t'family': '汉族',\r\n\t\t\t\t\t\t'desc': '恒达集团(控股)有限公司董事长'\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\t'name': '李小冰',\r\n\t\t\t\t\t\t'family': '汉族',\r\n\t\t\t\t\t\t'desc': '恒达集团(控股)有限公司董事长'\r\n\t\t\t\t\t}, {\r\n\t\t\t\t\t\t'name': '李小冰',\r\n\t\t\t\t\t\t'family': '汉族',\r\n\t\t\t\t\t\t'desc': '恒达集团(控股)有限公司董事长'\r\n\t\t\t\t\t}]\r\n\t\t\t\t}],\r\n\t\t\t\ttopCurrent: 0,\r\n\t\t\t\ttabbarIndex: 0,\r\n\t\t\t\t// 分类菜单item的信息\r\n\t\t\t\ttabbarItemInfo: [],\r\n\t\t\t\t// scrollView的top值\r\n\t\t\t\tscrollViewBasicTop: 0,\r\n\t\t\t\t// scrollView的高度\r\n\t\t\t\tscrollViewHeight: 0,\r\n\t\t\t\t// 左边scrollView的滚动高度\r\n\t\t\t\tleftScrollViewTop: 0,\r\n\t\t\t\t// 右边scrollView的滚动高度\r\n\t\t\t\trightScrollViewTop: 0,\r\n\t\t\t\t// 当前选中的tabbar序号\r\n\t\t\t\tcurrentTabbarIndex: 0\r\n\t\t\t}\r\n\t\t},\r\n\t\tcomputed: {\r\n\t\t\ttabbarItemClass() {\r\n\t\t\t\treturn index => {\r\n\t\t\t\t\tif (index === this.currentTabbarIndex) {\r\n\t\t\t\t\t\treturn 'tn-classify__tabbar__item--active tn-bg-white'\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tlet clazz = ''\r\n\t\t\t\t\t\tif (this.currentTabbarIndex > 0 && index === this.currentTabbarIndex - 1) {\r\n\t\t\t\t\t\t\tclazz += ' tn-classify__tabbar__item--active--prev'\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (this.currentTabbarIndex < this.tabbar.length && index === this.currentTabbarIndex + 1) {\r\n\t\t\t\t\t\t\tclazz += ' tn-classify__tabbar__item--active--next'\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\treturn clazz\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tmounted() {\r\n\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tclickClassifyNav(index) {\r\n\t\t\t\tthis.currentTabbarIndex = index\r\n\t\t\t\t//this.handleLeftScrollView(index)\r\n\t\t\t\t//this.switchClassifyContent();\r\n\t\t\t},\r\n\t\t\t// 点击分类后,处理scrollView滚动到居中位置\r\n\t\t\thandleLeftScrollView(index) {\r\n\t\t\t\tconst tabbarItemTop = this.tabbarItemInfo[index].top - this.scrollViewBasicTop\r\n\t\t\t\tif (tabbarItemTop > this.scrollViewHeight / 2) {\r\n\t\t\t\t\tthis.leftScrollViewTop = tabbarItemTop - (this.scrollViewHeight / 2) + this.tabbarItemInfo[index]\r\n\t\t\t\t\t\t.height\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.leftScrollViewTop = 0\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t// 切换对应分类的数据\r\n\t\t\tswitchClassifyContent() {\r\n\t\t\t\tthis.rightScrollViewTop = 1\r\n\t\t\t\tthis.$nextTick(() => {\r\n\t\t\t\t\tthis.rightScrollViewTop = 0\r\n\t\t\t\t})\r\n\t\t\t\t//this.classifyContent.subClassify[0].title = this.tabbar[this.currentTabbarIndex]\r\n\t\t\t},\r\n\t\t\ttn(url) {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: url\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tgoBack() {\r\n\t\t\t\tif (getCurrentPages().length > 1) {\r\n\t\t\t\t\tuni.navigateBack()\r\n\t\t\t\t} else {\r\n\t\t\t\t\tuni.redirectTo({\r\n\t\t\t\t\t\turl: '/pages/index/index'\r\n\t\t\t\t\t})\r\n\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n\r\n<style lang=\"scss\" scoped>\r\n\t/* 自定义导航栏内容 start */\r\n\t.custom-nav {\r\n\t\theight: 100%;\r\n\r\n\t\t&__back {\r\n\t\t\tmargin: auto 30rpx;\r\n\t\t\tmargin-right: 10rpx;\r\n\t\t\tflex-basis: 5%;\r\n\t\t\twidth: 100rpx;\r\n\t\t\tposition: absolute;\r\n\t\t}\r\n\t}\r\n\r\n\r\n\t.left-width {\r\n\t\tflex-basis: 42%;\r\n\t}\r\n\r\n\t/* 自定义导航栏内容 end */\r\n\t.tn-classify {\r\n\r\n\t\t/* 搜索栏 start */\r\n\r\n\r\n\t\t/* 搜索栏 end */\r\n\r\n\t\t/* 分类列表和内容 strat */\r\n\t\t&__container {}\r\n\r\n\t\t&__left-box {}\r\n\r\n\t\t&__right-box {\r\n\t\t\tbackground-color: #FFFFFF;\r\n\t\t}\r\n\r\n\t\t/* 分类列表和内容 end */\r\n\r\n\t\t/* 侧边导航 start */\r\n\t\t&__tabbar {\r\n\t\t\t&__item {\r\n\t\t\t\theight: 90rpx;\r\n\r\n\t\t\t\t&:first-child {\r\n\t\t\t\t\tborder-top-right-radius: 0rpx;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t&:last-child {\r\n\t\t\t\t\tborder-bottom-right-radius: 0rpx;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t&--active {\r\n\t\t\t\t\tbackground-color: #FFFFFF;\r\n\t\t\t\t\tposition: relative;\r\n\t\t\t\t\t// font-weight: bold;\r\n\t\t\t\t\tcolor: #4AA2EF;\r\n\r\n\t\t\t\t\t&--prev {\r\n\t\t\t\t\t\tborder-bottom-right-radius: 26rpx;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t&--next {\r\n\t\t\t\t\t\tborder-top-right-radius: 26rpx;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t/* 侧边导航 end */\r\n\r\n\t\t/* 分类内容 start */\r\n\t\t&__content {\r\n\t\t\tmargin: 18rpx;\r\n\r\n\t\t\t/* 推荐商品 start */\r\n\t\t\t&__recomm {\r\n\t\t\t\tmargin-bottom: 40rpx;\r\n\r\n\t\t\t\t&__swiper {}\r\n\t\t\t}\r\n\r\n\t\t\t/* 推荐商品 end */\r\n\r\n\t\t\t/* 子栏目 start */\r\n\t\t\t&__sub-classify {\r\n\t\t\t\tmargin-bottom: 20rpx;\r\n\t\t\t\tpadding-bottom: 40rpx;\r\n\r\n\t\t\t\t&--title {\r\n\t\t\t\t\tfont-weight: bold;\r\n\t\t\t\t\tmargin-bottom: 18rpx;\r\n\r\n\t\t\t\t}\r\n\r\n\t\t\t\t&__content {\r\n\r\n\t\t\t\t\t&__item {\r\n\t\t\t\t\t\tpadding: 20rpx;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t/* 子栏目 end */\r\n\t\t}\r\n\r\n\t\t/* 分类内容 end */\r\n\t}\r\n</style>","import mod from \"-!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./directory.vue?vue&type=style&index=0&id=671ec3f2&lang=scss&scoped=true&\"; export default mod; export * from \"-!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./directory.vue?vue&type=style&index=0&id=671ec3f2&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1705988259921\n var cssReload = require(\"F:/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n module.hot.dispose(cssReload);\n module.hot.accept(undefined, cssReload);\n }\n "],"sourceRoot":""} |