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 lines
14 KiB
1 lines
14 KiB
{"version":3,"sources":["uni-app:///main.js","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/user/profession/index.vue?1379","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/user/profession/index.vue?388d","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/user/profession/index.vue?e35f","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/user/profession/index.vue?4618","uni-app:///pages/user/profession/index.vue","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/user/profession/index.vue?e0cb","webpack:///F:/zhaoshang/zhaoshangMiniApp_uni/pages/user/profession/index.vue?84e4"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,uG;AACAA,UAAU,CAACC,cAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAkH;AAClH;AACyD;AACL;AACa;;;AAGjE;AAC+M;AAC/M,gBAAgB,uNAAU;AAC1B,EAAE,2EAAM;AACR,EAAE,gFAAM;AACR,EAAE,yFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,oFAAU;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,2RAEN;AACP,KAAK;AACL;AACA,aAAa,yTAEN;AACP;AACA;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;;;;;;;;;;;;;;ACtCA;AAAA;AAAA;AAAA;AAAizB,CAAgB,i0BAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACiBr0B,mB;AACA;AACA,MADA,kBACA;AACA;AACA,qBADA;AAEA,wBAFA;;AAIA,GANA;;AAQA,gBARA;;AAUA,WAVA;;AAYA;;;AAGA;AACA;AACA,GAjBA;;AAmBA;;;AAGA,gCAtBA;;AAwBA;;;AAGA,8BA3BA;;AA6BA;;;AAGA,8BAhCA;;AAkCA;;;AAGA,kCArCA;;AAuCA;;;AAGA,oDA1CA;;AA4CA;;;AAGA;AACA;;;AAGA;AACA;AApDA;AAsDA;AACA,YADA,oBACA,KADA,EACA;AACA;AACA,gCADA;;AAGA,KALA;;AAOA,qBAPA,+BAOA;AACA;AACA;;AAEA;AACA;AACA,yCADA;;AAGA;AACA,OARA;AASA,KAjBA;;AAmBA,gBAnBA,wBAmBA,CAnBA,EAmBA;AACA;AACA;AACA;AACA,oCAJA,CAIA;;AAEA,6CANA,CAMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBADA;;AAGA,KAlCA,EAtDA,E;;;;;;;;;;;;;AClBA;AAAA;AAAA;AAAA;AAAupC,CAAgB,0oCAAG,EAAC,C;;;;;;;;;;;ACA3qC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/user/profession/index.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/user/profession/index.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./index.vue?vue&type=template&id=f10108cc&\"\nvar renderjs\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\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 null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/user/profession/index.vue\"\nexport default component.exports","export * from \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=template&id=f10108cc&\"","var components\ntry {\n components = {\n uniCollapse: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uni-collapse/components/uni-collapse/uni-collapse\" */ \"@/uni_modules/uni-collapse/components/uni-collapse/uni-collapse.vue\"\n )\n },\n uniCollapseItem: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uni-collapse/components/uni-collapse-item/uni-collapse-item\" */ \"@/uni_modules/uni-collapse/components/uni-collapse-item/uni-collapse-item.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}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=script&lang=js&\"","<template>\r\n<!--pages/user/profession/index.wxml-->\r\n<view>\r\n\t<uni-collapse>\r\n\t <uni-collapse-item :title=\"item.industryname\" v-for=\"(item, index) in professionList\" :key=\"index\">\r\n\t <view v-for=\"(sonItem, sonItemIndex) in item.sunList\" :key=\"sonItemIndex\" class=\"sonItem\" @tap=\"sonItemClick\" :data-id=\"sonItem.industrycode\" :data-name=\"sonItem.industryname\">{{sonItem.industryname}}</view>\r\n\t </uni-collapse-item>\r\n\t</uni-collapse>\r\n <!-- <van-collapse :value=\"activeName\" @change=\"onChange\" accordion>\r\n <van-collapse-item v-for=\"(item, index) in professionList\" :key=\"index\" :title=\"item.industryname\" :name=\"item.id\" vx:for-index=\"itemIndex\">\r\n <view v-for=\"(sonItem, sonItemIndex) in item.sunList\" :key=\"sonItemIndex\" class=\"sonItem\" @tap=\"sonItemClick\" :data-id=\"sonItem.industrycode\" :data-name=\"sonItem.industryname\">{{sonItem.industryname}}</view>\r\n </van-collapse-item>\r\n </van-collapse> -->\r\n</view>\r\n</template>\r\n\r\n<script>\r\nconst app = getApp();\r\nexport default {\r\n data() {\r\n return {\r\n activeName: '1',\r\n professionList: []\r\n };\r\n },\r\n\r\n components: {\r\n },\r\n props: {},\r\n\r\n /**\r\n * 生命周期函数--监听页面加载\r\n */\r\n onLoad: function (options) {\r\n this.getProfessionList();\r\n },\r\n\r\n /**\r\n * 生命周期函数--监听页面初次渲染完成\r\n */\r\n onReady: function () {},\r\n\r\n /**\r\n * 生命周期函数--监听页面显示\r\n */\r\n onShow: function () {},\r\n\r\n /**\r\n * 生命周期函数--监听页面隐藏\r\n */\r\n onHide: function () {},\r\n\r\n /**\r\n * 生命周期函数--监听页面卸载\r\n */\r\n onUnload: function () {},\r\n\r\n /**\r\n * 页面相关事件处理函数--监听用户下拉动作\r\n */\r\n onPullDownRefresh: function () {},\r\n\r\n /**\r\n * 页面上拉触底事件的处理函数\r\n */\r\n onReachBottom: function () {}\r\n /**\r\n * 用户点击右上角分享\r\n */\r\n // onShareAppMessage: function () {\r\n // }\r\n ,\r\n methods: {\r\n onChange(event) {\r\n this.setData({\r\n activeName: event.detail\r\n });\r\n },\r\n\r\n getProfessionList() {\r\n app.http('post', 'api/industry/listIndustry').then(res => {\r\n console.log(res);\r\n\r\n if (res.data.success) {\r\n this.setData({\r\n professionList: res.data.data\r\n });\r\n }\r\n });\r\n },\r\n\r\n sonItemClick(e) {\r\n console.log(e);\r\n let name = e.currentTarget.dataset.name;\r\n let id = e.currentTarget.dataset.id;\r\n let pages = getCurrentPages(); //获取当前页面js里面的pages里的所有信息。\r\n\r\n let prevPage = pages[pages.length - 2]; //prevPage 是获取上一个页面的js里面的pages的所有信息。 -2 是上一个页面,-3是上上个页面以此类推。\r\n //也可以直接给页面上的参数赋值\r\n //try fix\r\n prevPage.$vm.form.industryId = id;\r\n //try fix\r\n prevPage.$vm.form.profession = name;\r\n uni.navigateBack({\r\n delta: 1\r\n });\r\n }\r\n\r\n }\r\n};\r\n</script>\r\n<style>\r\n/* pages/user/profession/index.wxss */\r\n.sonItem{\r\n font-size: 28rpx;\r\n line-height: 40rpx;\r\n padding: 20rpx;\r\n}\r\n</style>","import mod from \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-oneOf-1-1!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-2!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-oneOf-1-1!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-2!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\Program Files\\\\HBuilderX.3.1.13.20210514\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./index.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1634867348025\n var cssReload = require(\"D:/Program Files/HBuilderX.3.1.13.20210514/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":""} |