ass.js.map
6.6 KB
{"version":3,"sources":["uni-app:///main.js","webpack:///E:/公司资料/ly1/我的练习项目/myTest/pages/index/ass.vue?7682","webpack:///E:/公司资料/ly1/我的练习项目/myTest/pages/index/ass.vue?5245","webpack:///E:/公司资料/ly1/我的练习项目/myTest/pages/index/ass.vue?963f","webpack:///E:/公司资料/ly1/我的练习项目/myTest/pages/index/ass.vue?9d17","uni-app:///pages/index/ass.vue"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":";;;;;;;;;;kDAAA;;;AAGA;AACA,yF,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGAC,UAAU,CAACC,YAAD,CAAV,C;;;;;;;;;;;;;ACLA;AAAA;AAAA;AAAA;AAAA;AAAgH;AAChH;AACuD;AACL;;;AAGlD;AAC2L;AAC3L,gBAAgB,kMAAU;AAC1B,EAAE,yEAAM;AACR,EAAE,8EAAM;AACR,EAAE,uFAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,kFAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACtBf;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;AAA2sB,CAAgB,stBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;ACU/tB;AACA,MADA,kBACA;AACA;;;;AAIA,GANA;AAOA;AACA,UADA,kBACA,CADA,EACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAHA;AAIA;AACA;AACA,OArBA,EAqBA,GArBA;AAsBA,KA3BA,EAPA,E","file":"pages/index/ass.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/ass.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./ass.vue?vue&type=template&id=a395ccca&\"\nvar renderjs\nimport script from \"./ass.vue?vue&type=script&lang=js&\"\nexport * from \"./ass.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!C:\\\\Users\\\\LY\\\\Downloads\\\\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/index/ass.vue\"\nexport default component.exports","export * from \"-!C:\\\\Users\\\\LY\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!C:\\\\Users\\\\LY\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!C:\\\\Users\\\\LY\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!C:\\\\Users\\\\LY\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!C:\\\\Users\\\\LY\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!C:\\\\Users\\\\LY\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./ass.vue?vue&type=template&id=a395ccca&\"","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 \"-!C:\\\\Users\\\\LY\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!C:\\\\Users\\\\LY\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!C:\\\\Users\\\\LY\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!C:\\\\Users\\\\LY\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!C:\\\\Users\\\\LY\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./ass.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!C:\\\\Users\\\\LY\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!C:\\\\Users\\\\LY\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!C:\\\\Users\\\\LY\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!C:\\\\Users\\\\LY\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!C:\\\\Users\\\\LY\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./ass.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"\">\r\n\t\t<input type=\"text\" placeholder=\"请输入要搜索的商品名称\" bindinput=\"search\"/></view>\r\n\t\t<!-- <block wx:for=\"{{search}}\">\r\n\t\t<view>{{item}}</view>\r\n\t\t</block> -->\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\t\r\n\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods:{\r\n\t\t\t search(e){\r\n\t\t\t // 清除之前的定时器\r\n\t\t\t clearTimeout(this.data.timer)\r\n\t\t\t // 启动新的定时器\r\n\t\t\t this.data.timer = setTimeout(()=>{\r\n\t\t\t // 取出搜索的值\r\n\t\t\t let search = e.detail.value\r\n\t\t\t // 取出数据源\r\n\t\t\t let searchInfo=this.data.searchInfo\r\n\t\t\t // 判断搜索值是否为空\r\n\t\t\t if(search==\"\"){\r\n\t\t\t // 为空返回一个空数组\r\n\t\t\t return this.setData({search:[]})\r\n\t\t\t }\r\n\t\t\t // 创建正则对象\r\n\t\t\t let reg =new RegExp(search);\r\n\t\t\t // 定义一个容器接收数据源\r\n\t\t\t let res =[]\r\n\t\t\t // 循环\r\n\t\t\t res=searchInfo.filter((item,key)=>{\r\n\t\t\t // 返回通过正则的数据\r\n\t\t\t return reg.test(item)\r\n\t\t\t })\r\n\t\t\t // 将结果刷新至视图层\r\n\t\t\t this.setData({search:res})\r\n\t\t\t },800)\r\n\t\t\t },\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n</style>\n"],"sourceRoot":""}