1 |
- {"version":3,"sources":["uni-app:///main.js","webpack:///D:/company/RedDragonfly/pages/dealer/dealer.vue?da94","webpack:///D:/company/RedDragonfly/pages/dealer/dealer.vue?025d","webpack:///D:/company/RedDragonfly/pages/dealer/dealer.vue?db27","webpack:///D:/company/RedDragonfly/pages/dealer/dealer.vue?77f0","uni-app:///pages/dealer/dealer.vue","webpack:///D:/company/RedDragonfly/pages/dealer/dealer.vue?2b8b","webpack:///D:/company/RedDragonfly/pages/dealer/dealer.vue?3dcd"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","keyword","aList","bList","onLoad","created","methods","input","getData","uni","title","agencyList","name","accessToken","account","res","getList","searchHistory","v","_id","id"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,eAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAmH;AACnH;AAC0D;AACL;AACc;;;AAGnE;AACgN;AAChN,gBAAgB,0NAAU;AAC1B,EAAE,4EAAM;AACR,EAAE,iFAAM;AACR,EAAE,0FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,qFAAU;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;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAo0B,CAAgB,i1BAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;ACoBx1B;;;;;;;;;;;;;;;;;;;;eACA;EACAC;IACA;MACAC;MACAC;MAAA;MACA;MACAC;IACA;EACA;EACAC,2BAEA;EACAC;IACA;EACA;EACAC;IACAC;MACA;QACA;MACA;IACA;IACAC;MAAA;MAAA;QAAA;QAAA;UAAA;YAAA;cAAA;gBACAC;kBACAC;gBACA;gBAAA;gBAAA,OACA;kBACAC;kBACAC;kBACAC;kBACAC;gBACA;cAAA;gBALAC;gBAMAN;gBACA;gBACA;cAAA;cAAA;gBAAA;YAAA;UAAA;QAAA;MAAA;IACA;IACAO;MACA;IACA;IACA;IACAC;MAAA;MACA;MACA;QACA;QACA;MACA;QACA;QACA;QACA;QACA;UACAC;YACA;cACA;gBACAC;gBACAnB;kBACAY;kBACAQ;gBACA;cACA;cACA;YACA;UACA;QACA;MACA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;ACtFA;AAAA;AAAA;AAAA;AAAmiD,CAAgB,o/CAAG,EAAC,C;;;;;;;;;;;ACAvjD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/dealer/dealer.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/dealer/dealer.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./dealer.vue?vue&type=template&id=2ffdc0b4&\"\nvar renderjs\nimport script from \"./dealer.vue?vue&type=script&lang=js&\"\nexport * from \"./dealer.vue?vue&type=script&lang=js&\"\nimport style0 from \"./dealer.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../Install the package/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 null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/dealer/dealer.vue\"\nexport default component.exports","export * from \"-!../../../../Install the package/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!../../../../Install the package/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!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../Install the package/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!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./dealer.vue?vue&type=template&id=2ffdc0b4&\"","var components\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 \"-!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../Install the package/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!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../Install the package/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!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./dealer.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../Install the package/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!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../Install the package/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!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./dealer.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"dealer\">\r\n\t\t<view class=\"top\">\r\n\t\t\t<input class=\"uni-input\" v-model=\"keyword\" placeholder=\"请输入\" @input=\"input\"/>\r\n\t\t\t<view class=\"btn\" @click=\"searchHistory(keyword)\">搜索</view>\r\n\t\t</view>\r\n\t\t<view class=\"bom\">\r\n\t\t\t<view class=\"grouping\" v-for=\"(v,i) in aList\" :key=\"i\">\r\n\t\t\t\t<view class=\"th\">\r\n\t\t\t\t\t{{v._id}}\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"td\" v-for=\"(v1,i1) in v.data\" :key=\"i1\" @click=\"$goBack(2,'/pages/dealer/dealerDetails?id=' + v1.id + '&name=' +v1.name)\">\r\n\t\t\t\t\t{{v1.name}}\r\n\t\t\t\t</view>\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\timport {search} from '../../api/dealer.js'\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tkeyword: '',\r\n\t\t\t\taList: [], //展示的数据\r\n\t\t\t\t//所有的数据\r\n\t\t\t\tbList: []\r\n\t\t\t};\r\n\t\t},\r\n\t\tonLoad() {\r\n\t\t\t\r\n\t\t},\r\n\t\tcreated() {\r\n\t\t\tthis.getData()\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tinput(){\r\n\t\t\t\tif(this.keyword.length <= 0){\r\n\t\t\t\t\tthis.getList()\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tasync getData(){\r\n\t\t\t\tuni.showLoading({\r\n\t\t\t\t\ttitle: '加载中'\r\n\t\t\t\t});\r\n\t\t\t\tconst res = await search({\r\n\t\t\t\t\tagencyList: [],\r\n\t\t\t\t\tname: '',\r\n\t\t\t\t\taccessToken: uni.getStorageSync('tokenInfo'),\r\n\t\t\t\t\taccount: uni.getStorageSync('account')\r\n\t\t\t\t})\r\n\t\t\t\tuni.hideLoading();\r\n\t\t\t\tthis.bList = res.data.list\r\n\t\t\t\tthis.getList()\r\n\t\t\t},\r\n\t\t\tgetList(){\r\n\t\t\t\tthis.aList = this.bList\r\n\t\t\t},\r\n\t\t\t// 搜索\r\n\t\t\tsearchHistory(value) {\r\n\t\t\t\t// value自动接收输入框中的内容\r\n\t\t\t\tif (value == '') {\r\n\t\t\t\t\t//如果输入的值为空则加载所有的列表\r\n\t\t\t\t\tthis.getList();\r\n\t\t\t\t} else {\r\n\t\t\t\t\t//先清空展示的数据\r\n\t\t\t\t\tthis.aList = []\r\n\t\t\t\t\t//然后开始循环全部数据\r\n\t\t\t\t\tthis.bList.forEach(v => {\r\n\t\t\t\t\t\tv.data.forEach(v1 => {\r\n\t\t\t\t\t\t\tif(v1.name.indexOf(value) >= 0){\r\n\t\t\t\t\t\t\t\tlet list = {\r\n\t\t\t\t\t\t\t\t\t_id: v._id,\r\n\t\t\t\t\t\t\t\t\tdata: [{\r\n\t\t\t\t\t\t\t\t\t\tname: v1.name,\r\n\t\t\t\t\t\t\t\t\t\tid: v1.id\r\n\t\t\t\t\t\t\t\t\t\t}]\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tthis.aList.push(list)\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t})\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}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t.dealer {\r\n\t\theight: 100%;\r\n\r\n\t\t.top {\r\n\t\t\theight: 100rpx;\r\n\t\t\tdisplay: flex;\r\n\t\t\tpadding: 10rpx;\r\n\t\t\tborder-bottom: 1rpx solid #dfdfdf;\r\n\t\t\t.uni-input{\r\n\t\t\t\tflex: 1;\r\n\t\t\t\theight: 100%;\r\n\t\t\t\tpadding-left: 20rpx;\r\n\t\t\t}\r\n\t\t\t.btn{\r\n\t\t\t\twidth: 20%;\r\n\t\t\t\theight: 100%;\r\n\t\t\t\tline-height: 100rpx;\r\n\t\t\t\ttext-align: center;\r\n\t\t\t\tfont-size: 30rpx;\r\n\t\t\t\tbackground-color: #f4f4f4;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t.bom {\r\n\t\t\theight: calc(100% - 130rpx);\r\n\t\t\tpadding-top: 10rpx;\r\n\t\t\toverflow-y: scroll;\r\n\t\t\t.grouping {\r\n\t\t\t\t.th {\r\n\t\t\t\t\theight: 60rpx;\r\n\t\t\t\t\tline-height: 60rpx;\r\n\t\t\t\t\ttext-align: center;\r\n\t\t\t\t\tbackground-color: #f1f1f1;\r\n\t\t\t\t\tcolor: #834e9a;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.td {\r\n\t\t\t\t\tpadding: 30rpx;\r\n\t\t\t\t\tborder-bottom: 1rpx solid #b0b0b0;\r\n\t\t\t\t\t&:last-child{\r\n\t\t\t\t\t\tborder-bottom: 0;\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}\r\n</style>","import mod from \"-!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../Install the package/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!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../Install the package/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!../../../../Install the package/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!../../../../Install the package/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!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./dealer.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../Install the package/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!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../Install the package/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!../../../../Install the package/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!../../../../Install the package/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!../../../../Install the package/HBuilderX.3.5.3.20220729/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./dealer.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1693280592175\n var cssReload = require(\"D:/Install the package/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":""}
|