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
37 KiB
1 lines
37 KiB
{"version":3,"sources":["uni-app:///main.js","webpack:///C:/Users/Administrator/Documents/high-mini/pages/goods/HM-search/HM-search.vue?b72a","webpack:///C:/Users/Administrator/Documents/high-mini/pages/goods/HM-search/HM-search.vue?2542","webpack:///C:/Users/Administrator/Documents/high-mini/pages/goods/HM-search/HM-search.vue?24e2","webpack:///C:/Users/Administrator/Documents/high-mini/pages/goods/HM-search/HM-search.vue?d8ce","uni-app:///pages/goods/HM-search/HM-search.vue","webpack:///C:/Users/Administrator/Documents/high-mini/pages/goods/HM-search/HM-search.vue?8692","webpack:///C:/Users/Administrator/Documents/high-mini/pages/goods/HM-search/HM-search.vue?862e"],"names":["createPage","Page"],"mappings":";;;;;;;;;;kDAAA;AACA;AACA,6G;AACAA,UAAU,CAACC,iBAAD,CAAV,C;;;;;;;;;;;;;ACHA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAsH;AACtH;AAC6D;AACL;AACc;;;AAGtE;AACgL;AAChL,gBAAgB,yLAAU;AAC1B,EAAE,+EAAM;AACR,EAAE,oFAAM;AACR,EAAE,6FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,wFAAU;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;AAA0pB,CAAgB,+qBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACuD9qB,gE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,mB,CACA;4aAEA,EACA,IADA,kBACA,CACA,SACA,kBADA,EAEA,WAFA,EAGA,kBAHA,EAIA,kBAJA,EAKA,eALA,EAMA,UANA,EAOA,wBAPA,EAQA,+BARA,EASA,eATA,EAUA,UAVA,EAWA,YAXA,EAYA,mBAZA,EAaA,eAbA,GAeA,CAjBA,EAkBA,MAlBA,oBAkBA,CACA,YACA,CApBA,EAqBA,cACA;AACA,oBAFA,EArBA,EAyBA,aAzBA,2BAyBA,CACA,qBACA,CA3BA,EA4BA,WACA,OADA,mBACA,CADA,EACA,CACA,iBACA,gCADA,IAGA,CALA,EAMA,aANA,2BAMA,kBACA,kBACA,eADA,IAGA,wBACA,kBACA,yBACA,aACA,CACA,2BACA,eACA,+BADA,EAEA,gBAFA,EAGA,wBAHA,EAIA,uBAJA,GAMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SARA,MAQA;AACA;AACA;AACA;AACA,OAbA;;AAeA,KArCA;AAsCA,QAtCA,kBAsCA;AACA;;AAEA,KAzCA;AA0CA,QA1CA,kBA0CA;AACA;AACA,KA5CA;AA6CA;AACA,sBA9CA,gCA8CA;AACA;AACA;AACA,KAjDA;AAkDA;AACA,kBAnDA,4BAmDA;AACA;AACA,sBADA;AAEA;AACA;AACA;AACA,SALA;;AAOA,KA3DA;;AA6DA;AACA,eA9DA,uBA8DA,KA9DA,EA8DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAzEA;AA0EA;AACA,0BA3EA,kCA2EA,QA3EA,EA2EA,OA3EA,EA2EA;AACA;AACA,qBADA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,yBADA;AAEA,uBAFA;;AAIA;AACA;AACA;AACA,KA1FA;AA2FA;AACA,cA5FA,sBA4FA,KA5FA,EA4FA;AACA;AACA,KA9FA;AA+FA;AACA,aAhGA,uBAgGA;AACA;AACA,8BADA;AAEA;AACA;AACA;AACA;AACA;AACA,4BADA;;AAGA,WANA,MAMA;AACA;AACA;AACA,SAZA;;AAcA,KA/GA;AAgHA;AACA,aAjHA,uBAiHA;AACA;AACA,KAnHA;AAoHA;AACA,YArHA,oBAqHA,OArHA,EAqHA;AACA;AACA;AACA;AACA;AACA,KA1HA;AA2HA;AACA,eA5HA,uBA4HA,OA5HA,EA4HA;AACA;AACA,sBADA;AAEA;AACA;AACA;AACA;AACA;AACA,WAFA,MAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,0BADA;AAEA,yCAFA;;AAIA,0CAfA,CAeA;AACA,SAlBA;AAmBA;AACA;AACA;AACA,0BADA;AAEA,yCAFA;;AAIA,0CANA,CAMA;AACA,SA1BA;;AA4BA,KAzJA,EA5BA,E;;;;;;;;;;;;;AC7DA;AAAA;AAAA;AAAA;AAAwsC,CAAgB,yqCAAG,EAAC,C;;;;;;;;;;;ACA5tC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/goods/HM-search/HM-search.js","sourcesContent":["import 'uni-pages';\nimport Vue from 'vue'\nimport Page from './pages/goods/HM-search/HM-search.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./HM-search.vue?vue&type=template&id=05f8bd2f&\"\nvar renderjs\nimport script from \"./HM-search.vue?vue&type=script&lang=js&\"\nexport * from \"./HM-search.vue?vue&type=script&lang=js&\"\nimport style0 from \"./HM-search.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!D:\\\\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 null,\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/goods/HM-search/HM-search.vue\"\nexport default component.exports","export * from \"-!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./HM-search.vue?vue&type=template&id=05f8bd2f&\"","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 \"-!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./HM-search.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./HM-search.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"content\">\r\n\t\t<view class=\"search-box\">\r\n\t\t\t<!-- mSearch组件 如果使用原样式,删除组件元素-->\r\n\t\t\t<mSearch class=\"mSearch-input-box\" :mode=\"2\" button=\"inside\" :placeholder=\"defaultKeyword\"\r\n\t\t\t\t@search=\"doSearch(false)\" @confirm=\"doSearch(false)\" v-model=\"keyword\"></mSearch>\r\n\t\t\t<!-- 原样式 如果使用原样式,恢复下方注销代码 -->\r\n\t\t\t<!-- \t\t\t\t\t\t\r\n\t\t\t<view class=\"input-box\">\r\n\t\t\t\t<input type=\"text\" :adjust-position=\"true\" :placeholder=\"defaultKeyword\" @input=\"inputChange\" v-model=\"keyword\" @confirm=\"doSearch(false)\"\r\n\t\t\t\t placeholder-class=\"placeholder-class\" confirm-type=\"search\">\r\n\t\t\t</view>\r\n\t\t\t<view class=\"search-btn\" @tap=\"doSearch(false)\">搜索</view> \r\n\t\t\t -->\r\n\t\t\t<!-- 原样式 end -->\r\n\t\t</view>\r\n\t\t<view class=\"search-keyword\">\r\n\t\t\t<scroll-view class=\"keyword-list-box\" v-show=\"isShowKeywordList\" scroll-y>\r\n\t\t\t\t<block v-for=\"(row,index) in keywordList\" :key=\"index\">\r\n\t\t\t\t\t<view class=\"keyword-entry\" hover-class=\"keyword-entry-tap\">\r\n\t\t\t\t\t\t<view class=\"keyword-text\" @tap.stop=\"doSearch(keywordList[index].keyword)\">\r\n\t\t\t\t\t\t\t<rich-text :nodes=\"row.htmlStr\"></rich-text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"keyword-img\" @tap.stop=\"setKeyword(keywordList[index].keyword)\">\r\n\t\t\t\t\t\t\t<image src=\"/static/HM-search/back.png\"></image>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</block>\r\n\r\n\t\t\t</scroll-view>\r\n\t\t\t<scroll-view class=\"keyword-box\" v-show=\"!isShowKeywordList\" scroll-y>\r\n\t\t\t\t<view class=\"product-list mart15\">\r\n\t\t\t\t\t<view class=\"product\" v-for=\"product in productList\" :key=\"product.id\" @tap=\"toGoods(product.id)\">\r\n\t\t\t\t\t\t<image mode=\"widthFix\" :src=\"imageUrl+product.couponImg\"></image>\r\n\t\t\t\t\t\t<view class=\"name\">{{ product.couponName }}</view>\r\n\t\t\t\t\t\t<view class=\"info\" v-if=\"product.payType == 1\">\r\n\t\t\t\t\t\t\t<view class=\"price\">¥{{ product.discountPrice}}</view>\r\n\t\t\t\t\t\t\t<view class=\"slogan\" v-if=\"product.discountPrice !== product.salesPrice\">\r\n\t\t\t\t\t\t\t\t¥{{ product.salesPrice}}</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"info\" v-else>\r\n\t\t\t\t\t\t\t<view class=\"price\">\r\n\t\t\t\t\t\t\t\t\t<image style=\"width: 15px;height: 15px;vertical-align: sub;\" src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAXdElEQVR4Xu1dCZhcVZX+z3v1Xnc6nfSW7qSTdDZAAgkJJC4EERCZEMF0V4UhRlkVRKPCDDKiA44iCIqMCMoyoowLiJAZyGDgC8IgiChLFkgngQAh6e50dzrpfa2qtx2/9yppeqmq917Vq6W7634fX4evzj33nHP/d9dzziXkyoS2AE1o7XPKIweACQ6CHAByAJjgFpjg6udGgBwAJrgFJrj6uREgB4DxZwHehAItf84ylBx3NqSS5YZYdDzkyRUQ5DyQz8fkE0mUBYj5kQ9A7TNID+lshDTSFYUNZQCG3knQm1jre0MYOPi8r+O1l2k1BsabtcbFCMAvwKdOXfVFiJPXQipebuRXFFNeiad9xWofhODBbmh9O0RoTwqTjn2Ijvthq6eNZIDZmAQAN99UoIfUT+nBlitZKjyV8ivKIUhp14XCHd0c7vqbKJfeIx4z9/+JvqxmoA+TajLtRktGWt6z/nhFV29B3rRVyC+dkgwvz+tqoTCCTZtkfeA6WvxQg+f8U8Qw6wHArbfPVLoOX00kXMn55dNSZAcAIZChAawAHAZx5GNmkoAh/zHJAHyxxTB59O59j0OHr8tf/tSm1MnrDeesBoBSe+FVXDDnR8if7tmETkYXSGsBaYcANfKX9A6X1syDIVWCpVmANNP6y0LxKB7cV39YCLbcLJ/y+L0uG0gbeVYCQN3yT9cbRQtvQEFVUbKWENQGkHoAUOph/hscSpZl9PqUD0OqAuQFMOR5YF/lIB2Zi8f2bTfKp76UdUDIKgDwa6etCBcc+ySVLCpHgvdUZPRDUPYAwVoIan1qOtsJVxMQ8rwIIPIWgoUpoO53DkuhfTW0/MVXnbBIB01WAIC3Li8Ii/M2omTpSvLlu9ebQxDDu4HQbgjKfnPmds8jpTUIRt5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N7deHPmyCgDWaLAJBYqG7xFwLYgiV4oji3nTWFgJmlxq+aMyqYCgg8y/rIEQAnHYuoiCeSgDk40Zz+oDkwjAPKjxgXQGwmFwqA/cn8IpmFlhwp2yiFuc5O1xiCdPyLIOAIND8OOYrQomCMxwJ4r5bK0nVkgVE+ZuJjwgE+7y8g7fS3GzFgCDQNiAQi0PVxkGriGiuV4qnypeDK4jwl1SGA/SWvSlqh0v+GY9AAaBwBC0P+JMZpiPV1wA0DQvDOAdDza3LY+TgA2+1XgxlRc43smcZYtAN4qpG7GSCReDcR6IytzU9Y6W28B4moBHpACe9Y5v+jiNmREglkmsi6Y/YjkxzmPg02B8FDQkYNFLWzKbjpivE7CZBWyWqrEtHRc2XqowkteYB8BIhfgZlOphrGADC5mwgIFjwDiWiEYlt4pnWAabx5LvE7CXCPuIsUf04RX6DDpT2SHp5j3uABC3UzegEJNRCAWTVR8KyUChSc8C+iQNfRDQhzD6s33h5iVIJhQAvDTceOGVA8B46ckE9cgBIEHDjZdqOQCMl55MUI8cABI03HiplgPAeOnJBPXIASBBw42XajkAjJeeTFCPfwDFw2wILO7XOQAAAABJRU5ErkJggg==\"></image> {{ product.discountPrice*100}}</view>\r\n\t\t\t\t\t\t\t\t<view class=\"slogan\" v-if=\"product.discountPrice !== product.salesPrice\">\r\n\t\t\t\t\t\t\t\t\t<image style=\"width: 15px;height: 15px;vertical-align: sub;\" src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAQkUlEQVR4Xu1dC5BdRZn+/54ZMrkDDAoJtSgYFARNsNTgAyhXyVIUoLLJUjXEJz6QiFnjmuR23yS7etaYye2+k1lAI0YXBWV5xAdYSKVEDWgZ8EG0VLR0w4qQlTJBJYHkTmVmcn7rH+fGYXLvPX3O6XPuuXdOV6VmMufvv//H1+/uvxHyNKMtgDNa+1x5yAEww0GQAyAHwAy3wAxXP28BcgDMcAvMcPXzFiAHQOdZwPO8Qm9v76uFEIsAYCEAnE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42bAwAAAAASUVORK5CYII=\"></image> {{ product.salesPrice*100}}</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</scroll-view>\r\n\t\t</view>\n\t\t<view class=\"loading-text\">{{ loadingText }}</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\tgetCouponList\r\n\t} from \"../../../Utils/Api.js\";\r\n\tlet app = getApp()\r\n\t//引用mSearch组件,如不需要删除即可\r\n\timport mSearch from '@/components/mehaotian-search-revision/mehaotian-search-revision.vue';\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tdefaultKeyword: \"\",\r\n\t\t\t\tkeyword: \"\",\r\n\t\t\t\toldKeywordList: [],\r\n\t\t\t\thotKeywordList: [],\r\n\t\t\t\tkeywordList: [],\r\n\t\t\t\tforbid: '',\r\n\t\t\t\tisShowKeywordList: false,\r\n\t\t\t\timageUrl: app.globalData.imgUrl,\r\n\t\t\t\tproductList: [],\n\t\t\t\tpageNum: 1,\n\t\t\t\tpageSize: 10,\n\t\t\t\tisNoMoreData: false,\n\t\t\t\tloadingText: ''\r\n\t\t\t}\r\n\t\t},\r\n\t\tonLoad() {\r\n\t\t\tthis.init();\r\n\t\t},\r\n\t\tcomponents: {\r\n\t\t\t//引用mSearch组件,如不需要删除即可\r\n\t\t\tmSearch\r\n\t\t},\n\t\tonReachBottom() {\n\t\t\tthis.getCouponList();\n\t\t},\r\n\t\tmethods: {\n\t\t\ttoGoods(e) {\n\t\t\t\tuni.navigateTo({\n\t\t\t\t\turl:'../../goods/goods?id='+e\n\t\t\t\t});\n\t\t\t},\r\n\t\t\tgetCouponList() {\n\t\t\t\tuni.showLoading({\n\t\t\t\t\ttitle: '加载中...'\n\t\t\t\t})\n\t\t\t\tif (this.isNoMoreData) {\n\t\t\t\t\tuni.hideLoading()\n\t\t\t\t\tthis.loadingText = '到底了';\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t\tlet pagenum = this.pageNum;\n\t\t\t\tlet params = {\n\t\t\t\t\tregionId: app.globalData.cityId,\n\t\t\t\t\tpageNum: pagenum,\n\t\t\t\t\tcouponName: this.keyword,\n\t\t\t\t\tpageSize: this.pageSize\n\t\t\t\t}\n\t\t\t\tgetCouponList(params).then(res => {\n\t\t\t\t\tif (res.return_code == '000000') {\n\t\t\t\t\t\tuni.hideLoading();\n\t\t\t\t\t\tthis.isNoMoreData = res.return_data.list.length == this.pageSize ? false : true;\r\n\t\t\t\t\t\tthis.productList = this.productList.concat(res.return_data.list);\r\n\t\t\t\t\t\tif(res.return_data.total == (this.pageNum * this.pageSize)){\r\n\t\t\t\t\t\t\tthis.isNoMoreData = true;\r\n\t\t\t\t\t\t}\n\t\t\t\t\t\tthis.pageNum = res.return_data.list.length == this.pageSize ? ++pagenum : pagenum;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.productList = [];\n\t\t\t\t\t\tuni.hideLoading()\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t\t\r\n\t\t\t},\r\n\t\t\tinit() {\r\n\t\t\t\tthis.loadDefaultKeyword();\r\n\r\n\t\t\t},\r\n\t\t\tblur() {\r\n\t\t\t\tuni.hideKeyboard()\r\n\t\t\t},\r\n\t\t\t//加载默认搜索关键字\r\n\t\t\tloadDefaultKeyword() {\r\n\t\t\t\t//定义默认搜索关键字,可以自己实现ajax请求数据再赋值,用户未输入时,以水印方式显示在输入框,直接不输入内容搜索会搜索默认关键字\r\n\t\t\t\tthis.defaultKeyword = \"默认关键字\";\r\n\t\t\t},\r\n\t\t\t//加载历史搜索,自动读取本地Storage\r\n\t\t\tloadOldKeyword() {\r\n\t\t\t\tuni.getStorage({\r\n\t\t\t\t\tkey: 'OldKeys',\r\n\t\t\t\t\tsuccess: (res) => {\r\n\t\t\t\t\t\tvar OldKeys = JSON.parse(res.data);\r\n\t\t\t\t\t\tthis.oldKeywordList = OldKeys;\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\t\t//监听输入\r\n\t\t\tinputChange(event) {\r\n\t\t\t\t//兼容引入组件时传入参数情况\r\n\t\t\t\tvar keyword = event.detail ? event.detail.value : event;\r\n\t\t\t\tif (!keyword) {\r\n\t\t\t\t\tthis.keywordList = [];\r\n\t\t\t\t\tthis.isShowKeywordList = false;\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\tthis.isShowKeywordList = true;\r\n\t\t\t\t//以下示例截取淘宝的关键字,请替换成你的接口\r\n\t\t\t\tthis.getCouponList();\r\n\t\t\t},\r\n\t\t\t//高亮关键字\r\n\t\t\tdrawCorrelativeKeyword(keywords, keyword) {\r\n\t\t\t\tvar len = keywords.length,\r\n\t\t\t\t\tkeywordArr = [];\r\n\t\t\t\tfor (var i = 0; i < len; i++) {\r\n\t\t\t\t\tvar row = keywords[i];\r\n\t\t\t\t\t//定义高亮#9f9f9f\r\n\t\t\t\t\tvar html = row[0].replace(keyword, \"<span style='color: #9f9f9f;'>\" + keyword + \"</span>\");\r\n\t\t\t\t\thtml = '<div>' + html + '</div>';\r\n\t\t\t\t\tvar tmpObj = {\r\n\t\t\t\t\t\tkeyword: row[0],\r\n\t\t\t\t\t\thtmlStr: html\r\n\t\t\t\t\t};\r\n\t\t\t\t\tkeywordArr.push(tmpObj)\r\n\t\t\t\t}\r\n\t\t\t\treturn keywordArr;\r\n\t\t\t},\r\n\t\t\t//顶置关键字\r\n\t\t\tsetKeyword(index) {\r\n\t\t\t\tthis.keyword = this.keywordList[index].keyword;\r\n\t\t\t},\r\n\t\t\t//清除历史搜索\r\n\t\t\toldDelete() {\r\n\t\t\t\tuni.showModal({\r\n\t\t\t\t\tcontent: '确定清除历史搜索记录?',\r\n\t\t\t\t\tsuccess: (res) => {\r\n\t\t\t\t\t\tif (res.confirm) {\r\n\t\t\t\t\t\t\tconsole.log('用户点击确定');\r\n\t\t\t\t\t\t\tthis.oldKeywordList = [];\r\n\t\t\t\t\t\t\tuni.removeStorage({\r\n\t\t\t\t\t\t\t\tkey: 'OldKeys'\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t} else if (res.cancel) {\r\n\t\t\t\t\t\t\tconsole.log('用户点击取消');\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\thotToggle() {\r\n\t\t\t\tthis.forbid = this.forbid ? '' : '_forbid';\r\n\t\t\t},\r\n\t\t\t//执行搜索\r\n\t\t\tdoSearch(keyword) {\r\n\t\t\t\tkeyword = keyword === false ? this.keyword : keyword;\r\n\t\t\t\tthis.keyword = keyword;\n\t\t\t\tthis.pageNum = 1;\r\n\t\t\t\tthis.getCouponList();\r\n\t\t\t},\r\n\t\t\t//保存关键字到历史记录\r\n\t\t\tsaveKeyword(keyword) {\r\n\t\t\t\tuni.getStorage({\r\n\t\t\t\t\tkey: 'OldKeys',\r\n\t\t\t\t\tsuccess: (res) => {\r\n\t\t\t\t\t\tvar OldKeys = JSON.parse(res.data);\r\n\t\t\t\t\t\tvar findIndex = OldKeys.indexOf(keyword);\r\n\t\t\t\t\t\tif (findIndex == -1) {\r\n\t\t\t\t\t\t\tOldKeys.unshift(keyword);\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tOldKeys.splice(findIndex, 1);\r\n\t\t\t\t\t\t\tOldKeys.unshift(keyword);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\t//最多10个纪录\r\n\t\t\t\t\t\tOldKeys.length > 10 && OldKeys.pop();\r\n\t\t\t\t\t\tuni.setStorage({\r\n\t\t\t\t\t\t\tkey: 'OldKeys',\r\n\t\t\t\t\t\t\tdata: JSON.stringify(OldKeys)\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\tthis.oldKeywordList = OldKeys; //更新历史搜索\r\n\t\t\t\t\t},\r\n\t\t\t\t\tfail: (e) => {\r\n\t\t\t\t\t\tvar OldKeys = [keyword];\r\n\t\t\t\t\t\tuni.setStorage({\r\n\t\t\t\t\t\t\tkey: 'OldKeys',\r\n\t\t\t\t\t\t\tdata: JSON.stringify(OldKeys)\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t\tthis.oldKeywordList = OldKeys; //更新历史搜索\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<style lang=\"scss\">\r\n\tview {\r\n\t\tdisplay: block;\r\n\t}\r\n\n.loading-text {\r\n\t\twidth: 100%;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\theight: 60upx;\r\n\t\tcolor: #979797;\r\n\t\tfont-size: 24upx;\r\n\t}\r\n\t.product-list {\r\n\t\twidth: 92%;\r\n\t\tpadding: 0 4% 3vw 4%;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: space-between;\r\n\t\tflex-wrap: wrap;\r\n\r\n\t\t.product {\r\n\t\t\twidth: 48%;\r\n\t\t\tborder-radius: 20upx;\r\n\t\t\tbackground-color: #fff;\r\n\t\t\tmargin: 0 0 15upx 0;\r\n\t\t\tbox-shadow: 0upx 5upx 25upx rgba(0, 0, 0, 0.1);\r\n\r\n\t\t\timage {\r\n\t\t\t\twidth: 100%;\r\n\t\t\t\tborder-radius: 20upx 20upx 0 0;\r\n\t\t\t}\r\n\r\n\t\t\t.name {\r\n\t\t\t\twidth: 92%;\r\n\t\t\t\tpadding: 10upx 4%;\r\n\t\t\t\tdisplay: -webkit-box;\r\n\t\t\t\t-webkit-box-orient: vertical;\r\n\t\t\t\t-webkit-line-clamp: 2;\r\n\t\t\t\ttext-align: justify;\r\n\t\t\t\toverflow: hidden;\r\n\t\t\t\tfont-size: 30upx;\r\n\t\t\t}\r\n\r\n\t\t\t.info {\r\n\t\t\t\tdisplay: flex;\r\n\t\t\t\tjustify-content: space-between;\r\n\t\t\t\talign-items: flex-end;\r\n\t\t\t\twidth: 92%;\r\n\t\t\t\tpadding: 10upx 4% 10upx 4%;\r\n\r\n\t\t\t\t.price {\r\n\t\t\t\t\tcolor: #e65339;\r\n\t\t\t\t\tfont-size: 30upx;\r\n\t\t\t\t\tfont-weight: 600;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t.slogan {\r\n\t\t\t\t\tcolor: #807c87;\r\n\t\t\t\t\tfont-size: 24upx;\r\n\t\t\t\t\ttext-decoration: line-through;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t.search-box {\r\n\t\twidth: 95%;\r\n\t\tbackground-color: rgb(242, 242, 242);\r\n\t\tpadding: 15upx 2.5%;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: space-between;\r\n\t\tposition: sticky;\r\n\t\ttop: 0;\r\n\t}\r\n\r\n\t.search-box .mSearch-input-box {\r\n\t\twidth: 100%;\r\n\t}\r\n\r\n\t.search-box .input-box {\r\n\t\twidth: 85%;\r\n\t\tflex-shrink: 1;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t}\r\n\r\n\t.search-box .search-btn {\r\n\t\twidth: 15%;\r\n\t\tmargin: 0 0 0 2%;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\tflex-shrink: 0;\r\n\t\tfont-size: 28upx;\r\n\t\tcolor: #fff;\r\n\t\tbackground: linear-gradient(to right, #ff9801, #ff570a);\r\n\t\tborder-radius: 60upx;\r\n\t}\r\n\r\n\t.search-box .input-box>input {\r\n\t\twidth: 100%;\r\n\t\theight: 60upx;\r\n\t\tfont-size: 32upx;\r\n\t\tborder: 0;\r\n\t\tborder-radius: 60upx;\r\n\t\t-webkit-appearance: none;\r\n\t\t-moz-appearance: none;\r\n\t\tappearance: none;\r\n\t\tpadding: 0 3%;\r\n\t\tmargin: 0;\r\n\t\tbackground-color: #ffffff;\r\n\t}\r\n\r\n\t.placeholder-class {\r\n\t\tcolor: #9e9e9e;\r\n\t}\r\n\r\n\t.search-keyword {\r\n\t\twidth: 100%;\r\n\t\tbackground-color: rgb(242, 242, 242);\r\n\t}\r\n\r\n\t.keyword-list-box {\r\n\t\theight: calc(100vh - 110upx);\r\n\t\tpadding-top: 10upx;\r\n\t\tborder-radius: 20upx 20upx 0 0;\r\n\t\tbackground-color: #fff;\r\n\t}\r\n\r\n\t.keyword-entry-tap {\r\n\t\tbackground-color: #eee;\r\n\t}\r\n\r\n\t.keyword-entry {\r\n\t\twidth: 94%;\r\n\t\theight: 80upx;\r\n\t\tmargin: 0 3%;\r\n\t\tfont-size: 30upx;\r\n\t\tcolor: #333;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: space-between;\r\n\t\talign-items: center;\r\n\t\tborder-bottom: solid 1upx #e7e7e7;\r\n\t}\r\n\r\n\t.keyword-entry image {\r\n\t\twidth: 60upx;\r\n\t\theight: 60upx;\r\n\t}\r\n\r\n\t.keyword-entry .keyword-text,\r\n\t.keyword-entry .keyword-img {\r\n\t\theight: 80upx;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t}\r\n\r\n\t.keyword-entry .keyword-text {\r\n\t\twidth: 90%;\r\n\t}\r\n\r\n\t.keyword-entry .keyword-img {\r\n\t\twidth: 10%;\r\n\t\tjustify-content: center;\r\n\t}\r\n\r\n\t.keyword-box {\r\n\t\theight: calc(100vh - 110upx);\r\n\t\tborder-radius: 20upx 20upx 0 0;\r\n\t\tbackground-color: #fff;\r\n\t}\r\n\r\n\t.keyword-box .keyword-block {\r\n\t\tpadding: 10upx 0;\r\n\t}\r\n\r\n\t.keyword-box .keyword-block .keyword-list-header {\r\n\t\twidth: 94%;\r\n\t\tpadding: 10upx 3%;\r\n\t\tfont-size: 27upx;\r\n\t\tcolor: #333;\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: space-between;\r\n\t}\r\n\r\n\t.keyword-box .keyword-block .keyword-list-header image {\r\n\t\twidth: 40upx;\r\n\t\theight: 40upx;\r\n\t}\r\n\r\n\t.keyword-box .keyword-block .keyword {\r\n\t\twidth: 94%;\r\n\t\tpadding: 3px 3%;\r\n\t\tdisplay: flex;\r\n\t\tflex-flow: wrap;\r\n\t\tjustify-content: flex-start;\r\n\t}\r\n\r\n\t.keyword-box .keyword-block .hide-hot-tis {\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\tfont-size: 28upx;\r\n\t\tcolor: #6b6b6b;\r\n\t}\r\n\r\n\t.keyword-box .keyword-block .keyword>view {\r\n\t\tdisplay: flex;\r\n\t\tjustify-content: center;\r\n\t\talign-items: center;\r\n\t\tborder-radius: 60upx;\r\n\t\tpadding: 0 20upx;\r\n\t\tmargin: 10upx 20upx 10upx 0;\r\n\t\theight: 60upx;\r\n\t\tfont-size: 28upx;\r\n\t\tbackground-color: rgb(242, 242, 242);\r\n\t\tcolor: #6b6b6b;\r\n\t}\r\n</style>\n","import mod from \"-!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./HM-search.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!D:\\\\HBuilderX\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./HM-search.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1618243231390\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":""} |