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.
huazhiyu/unpackage/dist/build/h5/static/js/pages-search-search.be41637...

1 line
7.4 KiB

1 year ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-search-search"],{"5b15":function(e,t,a){"use strict";var i=a("d956"),r=a.n(i);r.a},"6e4e":function(e,t,a){"use strict";a.d(t,"b",(function(){return i})),a.d(t,"c",(function(){return r})),a.d(t,"a",(function(){}));var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{staticClass:"page"},[a("v-uni-view",{staticClass:"search-head"},[a("v-uni-view",{staticClass:"back",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onBack.apply(void 0,arguments)}}},[a("v-uni-text")],1),a("v-uni-view",{staticClass:"search"},[a("v-uni-text",{staticClass:"iconfont icon-fadajing"}),a("v-uni-input",{attrs:{type:"text",placeholder:"请输入关键字搜索"},model:{value:e.keyword,callback:function(t){e.keyword=t},expression:"keyword"}})],1),a("v-uni-view",{staticClass:"btn",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.onSearch.apply(void 0,arguments)}}},[a("v-uni-text",[e._v("搜索")])],1)],1),a("v-uni-view",{staticClass:"search-record"},[a("v-uni-view",{staticClass:"search-title"},[a("v-uni-view",{staticClass:"title"},[e._v("搜索历史")]),a("v-uni-view",{staticClass:"iconfont icon-laji"})],1),a("v-uni-view",{staticClass:"record-list"},e._l(e.SearchRecordArr,(function(t,i){return a("v-uni-view",{key:i,staticClass:"list",on:{click:function(a){arguments[0]=a=e.$handleEvent(a),e.onRecord(t)}}},[a("v-uni-text",[e._v(e._s(t))])],1)})),1)],1),a("v-uni-view",{staticClass:"search-found"},[a("v-uni-view",{staticClass:"search-title"},[a("v-uni-view",{staticClass:"title"},[e._v("搜索发现")])],1),a("v-uni-view",{staticClass:"found-list"},e._l(e.searchList,(function(t,i){return a("v-uni-view",{key:i,staticClass:"list",on:{click:function(a){arguments[0]=a=e.$handleEvent(a),e.onRecord(t)}}},[a("v-uni-view",{staticClass:"searchItem"},[a("v-uni-view",{staticClass:"num"},[e._v(e._s(i+1))]),a("v-uni-text",[e._v(e._s(t))])],1)],1)})),1)],1)],1)},r=[]},7393:function(e,t,a){var i=a("24fb");t=i(!1),t.push([e.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 主要颜色 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.page[data-v-c21c7b00]{position:absolute;width:100%;height:100%;background:#fff;overflow-x:hidden;overflow-y:auto}\r\n/* 搜索 */.search-head[data-v-c21c7b00]{position:fixed;left:0;top:0;display:flex;align-items:center;width:100%;height:%?100?%;z-index:10;background-color:#fff;border-bottom:%?2?% solid #f6f6f6}.search-head .back[data-v-c21c7b00]{display:flex;justify-content:center;align-items:center;width:10%;height:100%}.search-head .back uni-text[data-v-c21c7b00]{width:%?20?%;height:%?20?%;border-left:%?2?% solid #555;border-bottom:%?2?% solid #555;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.search-head .search[data-v-c21c7b00]{display:flex;align-items:center;width:76%;height:%?60?%;background-color:#f6f6f6;border-radius:%?60?%;padding:0 4%}.search-head .search uni-text[data-v-c21c7b00]{font-size:%?34?%;color:silver}.search-head .search uni-input[data-v-c21c7b00]{width:90%;height:100%;font-size:%?26?%;color:#212121;margin-left:%?10?%}.search-head .btn[data-v-c21