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
13 KiB
1 lines
13 KiB
{"version":3,"sources":["uni-app:///main.js","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/user/profession/index.vue?b4e6","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/user/profession/index.vue?c31d","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/user/profession/index.vue?ed9a","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/user/profession/index.vue?f656","uni-app:///pages/user/profession/index.vue","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/user/profession/index.vue?4d9c","webpack:////Users/yanghao/Desktop/禅易云/zhaoshangMiniApp-uniapp/pages/user/profession/index.vue?9686"],"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;AACmN;AACnN,gBAAgB,iNAAU;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;AAAk1B,CAAgB,myBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACiBt2B,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;AAAqsC,CAAgB,gmCAAG,EAAC,C;;;;;;;;;;;ACAztC;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 \"!../../../../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./index.vue?vue&type=script&lang=js&\"","<template>\n<!--pages/user/profession/index.wxml-->\n<view>\n\t<uni-collapse>\n\t <uni-collapse-item :title=\"item.industryname\" v-for=\"(item, index) in professionList\" :key=\"index\">\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>\n\t </uni-collapse-item>\n\t</uni-collapse>\n <!-- <van-collapse :value=\"activeName\" @change=\"onChange\" accordion>\n <van-collapse-item v-for=\"(item, index) in professionList\" :key=\"index\" :title=\"item.industryname\" :name=\"item.id\" vx:for-index=\"itemIndex\">\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>\n </van-collapse-item>\n </van-collapse> -->\n</view>\n</template>\n\n<script>\nconst app = getApp();\nexport default {\n data() {\n return {\n activeName: '1',\n professionList: []\n };\n },\n\n components: {\n },\n props: {},\n\n /**\n * 生命周期函数--监听页面加载\n */\n onLoad: function (options) {\n this.getProfessionList();\n },\n\n /**\n * 生命周期函数--监听页面初次渲染完成\n */\n onReady: function () {},\n\n /**\n * 生命周期函数--监听页面显示\n */\n onShow: function () {},\n\n /**\n * 生命周期函数--监听页面隐藏\n */\n onHide: function () {},\n\n /**\n * 生命周期函数--监听页面卸载\n */\n onUnload: function () {},\n\n /**\n * 页面相关事件处理函数--监听用户下拉动作\n */\n onPullDownRefresh: function () {},\n\n /**\n * 页面上拉触底事件的处理函数\n */\n onReachBottom: function () {}\n /**\n * 用户点击右上角分享\n */\n // onShareAppMessage: function () {\n // }\n ,\n methods: {\n onChange(event) {\n this.setData({\n activeName: event.detail\n });\n },\n\n getProfessionList() {\n app.http('post', 'api/industry/listIndustry').then(res => {\n console.log(res);\n\n if (res.data.success) {\n this.setData({\n professionList: res.data.data\n });\n }\n });\n },\n\n sonItemClick(e) {\n console.log(e);\n let name = e.currentTarget.dataset.name;\n let id = e.currentTarget.dataset.id;\n let pages = getCurrentPages(); //获取当前页面js里面的pages里的所有信息。\n\n let prevPage = pages[pages.length - 2]; //prevPage 是获取上一个页面的js里面的pages的所有信息。 -2 是上一个页面,-3是上上个页面以此类推。\n //也可以直接给页面上的参数赋值\n //try fix\n prevPage.$vm.form.industryId = id;\n //try fix\n prevPage.$vm.form.profession = name;\n uni.navigateBack({\n delta: 1\n });\n }\n\n }\n};\n</script>\n<style>\n/* pages/user/profession/index.wxss */\n.sonItem{\n font-size: 28rpx;\n line-height: 40rpx;\n padding: 20rpx;\n}\n</style>","import mod from \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../../../Applications/HBuilderX.app/Contents/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 // 1635513139163\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/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":""} |