1 |
- {"version":3,"sources":["uni-app:///main.js","webpack:///D:/Code2024/sulibao-mini/pages/comm/search.vue?39f6","webpack:///D:/Code2024/sulibao-mini/pages/comm/search.vue?55ff","webpack:///D:/Code2024/sulibao-mini/pages/comm/search.vue?7962","webpack:///D:/Code2024/sulibao-mini/pages/comm/search.vue?677d","uni-app:///pages/comm/search.vue","webpack:///D:/Code2024/sulibao-mini/pages/comm/search.vue?37ec"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","renderjs","component","options","__file","components","tnNavBar","uniSearchBar","e","message","indexOf","console","error","render","_vm","this","_h","$createElement","_self","_c","recyclableRender","staticRenderFns","_withStripped","data","brand","prodName","prodSpec","wxFontSize","onLoad","methods","goBack","uni","searchProd"],"mappings":"4IAAA,MAGA,aACA,YAFAA,EAAGC,kCAAoCC,EAGvCC,EAAWC,a,gFCLX,oIACIC,EADJ,QASIC,EAAY,qBACd,aACA,YACA,sBACA,EACA,KACA,WACA,MACA,EACA,gBACAD,GAGFC,EAAUC,QAAQC,OAAS,wBACZ,aAAAF,E,0CCvBf,uQ,iCCAA,IAAIG,EAAJ,0LACA,IACEA,EAAa,CACXC,SAAU,WACR,OAAO,8GAITC,aAAc,WACZ,OAAO,wIAKX,MAAOC,GACP,IAC+C,IAA7CA,EAAEC,QAAQC,QAAQ,wBACa,IAA/BF,EAAEC,QAAQC,QAAQ,QAWlB,MAAMF,EATNG,QAAQC,MAAMJ,EAAEC,SAChBE,QAAQC,MAAM,mBACdD,QAAQC,MACN,uFAEFD,QAAQC,MACN,mDAMN,IAAIC,EAAS,WACX,IAAIC,EAAMC,KACNC,EAAKF,EAAIG,eACJH,EAAII,MAAMC,IAEjBC,GAAmB,EACnBC,EAAkB,GACtBR,EAAOS,eAAgB,G,iCCtCvB,yHAA2zB,eAAG,G,wHCsC9zB,CACAC,gBACA,OACAC,SACAC,YACAC,YACAC,gBAGAC,kBACA,yBACA,qEAEAC,SACAC,kBACAC,kBAEAC,sBACA,yCACAD,mFAEAA,uCAGAA,oBAGA,c,6ECjEA,yHAA8hD,eAAG,G","file":"pages/comm/search.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/comm/search.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./search.vue?vue&type=template&id=1b3856bc&scoped=true&\"\nvar renderjs\nimport script from \"./search.vue?vue&type=script&lang=js&\"\nexport * from \"./search.vue?vue&type=script&lang=js&\"\nimport style0 from \"./search.vue?vue&type=style&index=0&id=1b3856bc&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../self software/HBuilderX.3.99.2023122611/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 \"1b3856bc\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/comm/search.vue\"\nexport default component.exports","export * from \"-!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./search.vue?vue&type=template&id=1b3856bc&scoped=true&\"","var components\ntry {\n components = {\n tnNavBar: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-nav-bar/tn-nav-bar\" */ \"@/tuniao-ui/components/tn-nav-bar/tn-nav-bar.vue\"\n )\n },\n uniSearchBar: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uni-search-bar/components/uni-search-bar/uni-search-bar\" */ \"@/uni_modules/uni-search-bar/components/uni-search-bar/uni-search-bar.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 \"-!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./search.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./search.vue?vue&type=script&lang=js&\"","<template>\n\t<view>\r\n\t\t<tn-nav-bar fixed alpha customBack>\r\n\t\t <view slot=\"back\" class='tn-custom-nav-bar__back'\r\n\t\t @click=\"goBack\">\r\n\t\t <text class='icon tn-icon-left'></text>\r\n\t\t </view>\r\n\t\t <view slot=\"default\">\r\n\t\t \t<view>\r\n\t\t \t\t<text :style=\"{fontSize:(wxFontSize)+'px'}\">搜索</text>\r\n\t\t \t</view>\r\n\t\t \t \r\n\t\t </view>\r\n\t\t</tn-nav-bar>\r\n\t\t\n\t\t<view style=\"width: 100%;padding:16px\" :style=\"{paddingTop: vuex_custom_bar_height + 'px'}\">\r\n\t\t\t<uni-search-bar radius=\"30\" :focus=\"true\" :fontSize=\"(wxFontSize-2)\" v-model=\"prodName\" placeholder=\"请输入您感兴趣的产品名称(选填)\" cancelButton=\"none\">\r\n\t\t\t\t<template v-slot:searchIcon>\r\n\t\t\t\t\t\t \r\n\t\t\t\t\t</template>\r\n\t\t\t</uni-search-bar>\r\n\t\t\t<uni-search-bar radius=\"30\" v-model=\"brand\" :fontSize=\"(wxFontSize-2)\" placeholder=\"请输入您感兴趣的产品品牌(选填)\" cancelButton=\"none\">\r\n\t\t\t\t<template v-slot:searchIcon>\r\n\t\t\t\t\t\t \r\n\t\t\t\t\t</template>\r\n\t\t\t</uni-search-bar>\r\n\t\t\t<uni-search-bar radius=\"30\" v-model=\"prodSpec\" :fontSize=\"(wxFontSize-2)\" placeholder=\"请输入您感兴趣的产品型号(选填)\" cancelButton=\"none\">\r\n\t\t\t\t<template v-slot:searchIcon>\r\n\t\t\t\t\t\t \r\n\t\t\t\t\t</template>\r\n\t\t\t</uni-search-bar>\r\n\t\t\t<button type=\"primary\" style=\"background-color:#1d60b1;border-radius: 23px\" :style=\"{fontSize:(wxFontSize-2)+'px'}\" @click=\"searchProd\">搜索</button>\r\n\t\t\t<!-- <button type=\"primary\" style=\"border-radius:30px;background-color: #3a96d7;\" radius @click=\"searchProd\">搜索</button> -->\r\n\t\t</view>\n\t</view>\n</template>\n\n<script>\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tbrand: '',\r\n\t\t\t\tprodName:'',\r\n\t\t\t\tprodSpec: '',\r\n\t\t\t\twxFontSize: 17\n\t\t\t}\n\t\t},\r\n\t\tonLoad(){\r\n\t\t\tconst appBaseInfo = wx.getAppBaseInfo();\r\n\t\t\tthis.wxFontSize = uni.getStorageSync('fontSize')||appBaseInfo.fontSizeSetting||17;\r\n\t\t},\n\t\tmethods: {\n\t\t\tgoBack(){\r\n\t\t\t\tuni.navigateBack();\r\n\t\t\t},\r\n\t\t\tsearchProd(){\r\n\t\t\t\tif(this.prodName||this.brand||this.prodSpec){\r\n\t\t\t\t\tuni.setStorageSync('searchProdValue',this.prodName+'/'+this.brand+'/'+this.prodSpec)\r\n\t\t\t\t}else{\r\n\t\t\t\t\tuni.removeStorageSync('searchProdValue');\r\n\t\t\t\t}\r\n\t\t\t\t\r\n\t\t\t\tuni.navigateBack();\r\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n /* 胶囊*/\r\n .tn-custom-nav-bar__back {\r\n width: 60%;\r\n height: 100%;\r\n position: relative;\r\n display: flex;\r\n justify-content: space-evenly;\r\n align-items: center;\r\n box-sizing: border-box;\r\n // background-color: rgba(0, 0, 0, 0.15);\r\n border-radius: 1000rpx;\r\n border: 1rpx solid rgba(255, 255, 255, 0.5);\r\n // color: #333;\r\n font-size: 18px;\r\n \r\n .icon {\r\n display: block;\r\n flex: 1;\r\n margin: auto;\r\n text-align: center;\r\n }\r\n \r\n }\n</style>\n","import mod from \"-!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./search.vue?vue&type=style&index=0&id=1b3856bc&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./search.vue?vue&type=style&index=0&id=1b3856bc&lang=scss&scoped=true&\""],"sourceRoot":""}
|