leave-unused/unpackage/dist/dev/.sourcemap/mp-weixin/pagesA/estate/estate.js.map

1 line
13 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{"version":3,"sources":["uni-app:///main.js","webpack:///D:/Lee/leave-unused/pagesA/estate/estate.vue?faee","webpack:///D:/Lee/leave-unused/pagesA/estate/estate.vue?c210","webpack:///D:/Lee/leave-unused/pagesA/estate/estate.vue?5596","webpack:///D:/Lee/leave-unused/pagesA/estate/estate.vue?db13","uni-app:///pagesA/estate/estate.vue","webpack:///D:/Lee/leave-unused/pagesA/estate/estate.vue?2823","webpack:///D:/Lee/leave-unused/pagesA/estate/estate.vue?9163"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;;AAGA;AACA,gG,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,eAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+H;AAC/H;AAC0D;AACL;AACqC;;;AAG1F;AAC6K;AAC7K,gBAAgB,uLAAU;AAC1B,EAAE,4EAAM;AACR,EAAE,6FAAM;AACR,EAAE,sGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,iGAAU;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,oMAEN;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;;;;;;;;;;;;;;ACjCA;AAAA;AAAA;AAAA;AAAqpB,CAAgB,kqBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACiBzqB;AACA;AACA,sBADA;AAEA,kBAFA,EADA;;AAKA,MALA,kBAKA;AACA;AACA,2DADA,EACA;AACA,oBAFA,EAEA;AACA,iBAHA,EAGA;AACA,aAJA,EAIA;AACA,cALA,EAKA;AACA,cANA,EAMA;AACA,sBAPA,EAOA;AACA,eARA,CAQA;AARA;AAUA,GAhBA;AAiBA,QAjBA,kBAiBA,EAjBA,EAiBA;AACA;AACA;AACA;AACA,GArBA;AAsBA,eAtBA,yBAsBA,CAtBA,EAsBA;AACA;AACA;AACA;AACA;AACA;AACA,GA5BA;AA6BA;AACA;AACA,eAFA,yBAEA;AACA;AACA,qBADA;AAEA,qBAFA,EAEA;AACA;AACA;AACA,SALA;AAMA;AACA;AACA,sCADA;AAEA,wBAFA;;AAIA,SAXA;;AAaA,KAhBA;;AAkBA;AACA,iBAnBA,2BAmBA;AACA;AACA,oBADA;;AAGA;AACA,uBADA;AAEA,uBAFA;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBADA;AAEA,8BAFA;;AAIA;AACA,WANA;AAOA;AACA;AACA;AACA;AACA,OAhBA;AAiBA,KA7CA;;AA+CA;AACA,gBAhDA,wBAgDA,EAhDA,EAgDA,IAhDA,EAgDA;AACA;AACA;AACA;AACA;AACA;AACA,iCADA;;AAGA;AACA,KAzDA;;AA2DA;AACA,YA5DA,sBA4DA;AACA;AACA;AACA;AACA;AACA;AACA,+BADA;;AAGA,KApEA,EA7BA,E;;;;;;;;;;;;;ACjBA;AAAA;AAAA;AAAA;AAAo9B,CAAgB,m8BAAG,EAAC,C;;;;;;;;;;;ACAx+B;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pagesA/estate/estate.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pagesA/estate/estate.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./estate.vue?vue&type=template&id=f174302a&scoped=true&\"\nvar renderjs\nimport script from \"./estate.vue?vue&type=script&lang=js&\"\nexport * from \"./estate.vue?vue&type=script&lang=js&\"\nimport style0 from \"./estate.vue?vue&type=style&index=0&id=f174302a&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../HbuilderX/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 \"f174302a\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pagesA/estate/estate.vue\"\nexport default component.exports","export * from \"-!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./estate.vue?vue&type=template&id=f174302a&scoped=true&\"","var components\ntry {\n components = {\n statusNav: function() {\n return import(\n /* webpackChunkName: \"components/status-nav/status-nav\" */ \"@/components/status-nav/status-nav.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 \"-!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./estate.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./estate.vue?vue&type=script&lang=js&\"","<template>\n\t<view v-if=\"isLoading\">\r\n\t\t<!-- 头部 -->\n\t\t<status-nav :ifReturn=\"false\" navBarTitle=\"小区选择\"></status-nav>\r\n\t\t<!-- 小区列表 -->\r\n\t\t<view class=\"estate-list background-white pad-zy20 border-box\">\r\n\t\t\t<view class=\"item font26 flex\" @tap=\"choiseEstate(item.id,item.name)\" v-for=\"(item,index) in estateList\" :key=\"index\">{{item.name}}</view>\r\n\t\t</view>\r\n\t\t<!-- 进入主页 -->\r\n\t\t<view class=\"back-idle flex\" :style=\"{top:statusHeight+'px'}\" @tap=\"backIdle\">\r\n\t\t\t<image src=\"/static/icon-home.png\" mode=\"widthFix\"></image>\r\n\t\t</view>\r\n\t</view>\n</template>\n<script>\r\n\timport goodList from '@/components/goods-list/goods-list.vue';\r\n\timport tabbar from '@/components/tabbar/tabbar';\n\texport default {\n\t\tcomponents:{\r\n\t\t\tgoodList,\r\n\t\t\ttabbar\n\t\t},\n\t\tdata() {\n\t\t\treturn {\r\n\t\t\t\tstatusHeight:uni.getSystemInfoSync().statusBarHeight, //状态栏高度\r\n\t\t\t\testateList:[], //商品列表\r\n\t\t\t\tkeyword:'', //关键词\r\n\t\t\t\tpage:1, //页数\r\n\t\t\t\tsize:10, //条数\r\n\t\t\t\ttotal:0, //总数\r\n\t\t\t\tisLoading:false, //是否加载完成\r\n\t\t\t\testate:1, //1:闲置进入,2:车位进入,3:房屋进入\r\n\t\t\t}\n\t\t},\n\t\tonLoad(op) {\r\n\t\t\tif(op.estate) this.estate = op.estate;\r\n\t\t\t// 查询小区列表\r\n\t\t\tthis.getEstateList();\r\n\t\t},\n\t\tonReachBottom(e) {\n\t\t\tif(this.estateList.length<this.total){\n\t\t\t\tthis.page++;\n\t\t\t\t// 查询商品列表\n\t\t\t\tthis.getEstateList();\n\t\t\t}\n\t\t},\n\t\tmethods: {\r\n\t\t\t// 获取定位\r\n\t\t\tgetLocation(){\r\n\t\t\t\tuni.getLocation({\r\n\t\t\t\t\ttype: 'wgs84',\r\n\t\t\t\t\tgeocode:true, // 设置该参数为true可直接获取经纬度及城市信息\r\n\t\t\t\t\tsuccess: (res)=> {\r\n\t\t\t\t\t\tconsole.log('位置信息',res)\r\n\t\t\t\t\t},\r\n\t\t\t\t\tfail: (err)=> {\r\n\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\ttitle: '获取地址失败,将导致部分功能不可用',\r\n\t\t\t\t\t\t\ticon:'none'\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\t\r\n\t\t\t// 查询小区列表\n\t\t\tgetEstateList(){\r\n\t\t\t\tuni.showLoading({\n\t\t\t\t\ttitle:'加载中'\n\t\t\t\t})\n\t\t\t\tlet params = {\n\t\t\t\t\tpage:this.page,\n\t\t\t\t\tsize:this.size\n\t\t\t\t}\r\n\t\t\t\tif(this.page==1) this.estateList = [];\n\t\t\t\tthis.$requst.get('/api/v1/goods/area',params).then(res=>{\n\t\t\t\t\tif(res.code == 0){\n\t\t\t\t\t\tconsole.log(res,'小区列表')\n\t\t\t\t\t\tthis.total = res.data.total;\n\t\t\t\t\t\tlet estateArr = [];\n\t\t\t\t\t\tres.data.list.forEach(item=>{\n\t\t\t\t\t\t\tlet obj = {\n\t\t\t\t\t\t\t\tid:item.id,\n\t\t\t\t\t\t\t\tname:item.title,\r\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\testateArr.push(obj)\n\t\t\t\t\t\t})\n\t\t\t\t\t\tthis.estateList = this.estateList.concat(estateArr);\n\t\t\t\t\t}\n\t\t\t\t\tuni.hideLoading();\n\t\t\t\t\tthis.isLoading = true;\n\t\t\t\t})\n\t\t\t},\n\t\t\t\n\t\t\t// 选择小区\n\t\t\tchoiseEstate(id,name){\r\n\t\t\t\t// 缓存小区信息\r\n\t\t\t\tuni.setStorageSync('area_id',id);\r\n\t\t\t\tuni.setStorageSync('area_name',name);\r\n\t\t\t\tif(this.estate == 1){\r\n\t\t\t\t\tuni.reLaunch({\r\n\t\t\t\t\t\turl:`/pages/idle/idle`\r\n\t\t\t\t\t})\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t\r\n\t\t\t// 返回闲置\n\t\t\tbackIdle(){\r\n\t\t\t\tif(!uni.getStorageSync('area_id')||!uni.getStorageSync('area_name')){\r\n\t\t\t\t\tuni.setStorageSync('area_id',this.estateList[0].id);\r\n\t\t\t\t\tuni.setStorageSync('area_name',this.estateList[0].name);\r\n\t\t\t\t}\r\n\t\t\t\tuni.reLaunch({\r\n\t\t\t\t\turl:`/pages/idle/idle`\r\n\t\t\t\t})\r\n\t\t\t}\r\n\t\t}\n\t}\n</script>\n<style scoped>\r\n\t.estate-list .item{\r\n\t\tjustify-content: space-between;\r\n\t\talign-items: center;\r\n\t\theight: 80rpx;\r\n\t\tborder-bottom: 2rpx solid #f4f5f6;\r\n\t}\r\n\t.estate-list .item:last-child{\r\n\t\tborder-bottom: 0;\r\n\t}\r\n\t.back-idle{\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: flex-start;\r\n\t\talign-items: center;\r\n\t\twidth: 60rpx;\r\n\t\theight: 100rpx;\r\n\t\tposition: fixed;\r\n\t\tleft: 20rpx;\r\n\t\tz-index: 999;\r\n\t}\r\n\t.back-idle>image{\r\n\t\twidth: 48rpx;\r\n\t\theight: 48rpx;\r\n\t}\n</style>","import mod from \"-!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./estate.vue?vue&type=style&index=0&id=f174302a&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./estate.vue?vue&type=style&index=0&id=f174302a&scoped=true&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1670319359924\n var cssReload = require(\"D:/HbuilderX/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":""}