search.vue 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598
  1. <template>
  2. <view class="content">
  3. <view class="search-box">
  4. <view class="serach">
  5. <view class="content" :style="{'border-radius':radius+'px'}">
  6. <!-- HM修改 增加进入输入状态的点击范围 -->
  7. <view class="content-box" @click="getFocus">
  8. <text class="icon icon-serach"></text>
  9. <!-- HM修改 增加placeholder input confirm-type confirm-->
  10. <input ref='myInput' :placeholder="placeholder" placeholder-style='font-size:28rpx' @input="inputChange"
  11. confirm-type="search" @confirm="doSearch(inputVal)" class="input" focus v-model="inputVal"
  12. @blur="blur" />
  13. <!-- <view v-if="!active && mode === 2" class="input sub" @click="getFocus">请输入搜索内容</view> -->
  14. <!-- HM修改 @click换成@click.stop阻止冒泡 -->
  15. <text v-if="isDelShow" class="icon icon-del" @click.stop="clear"></text>
  16. </view>
  17. <!-- <view v-show="(active&&show&&button === 'inside')||(isDelShow && button === 'inside')" class="serachBtn"
  18. @click="search">
  19. 搜索
  20. </view> -->
  21. </view>
  22. <view v-if="button === 'outside'" class="button" :class="{'active':show||active}" @click="doSearch(inputVal)">
  23. <view class="button-item">{{!show?searchName:'搜索'}}</view>
  24. </view>
  25. </view>
  26. <view class="cancel" @click="doSearch(keyword)">
  27. 搜索
  28. </view>
  29. <!-- 原样式 如果使用原样式,恢复下方注销代码 -->
  30. <!--
  31. <view class="input-box">
  32. <input type="text" :adjust-position="true" :placeholder="defaultKeyword" @input="inputChange" v-model="keyword" @confirm="doSearch(false)"
  33. placeholder-class="placeholder-class" confirm-type="search">
  34. </view>
  35. <view class="search-btn" @tap="doSearch(false)">搜索</view>
  36. -->
  37. <!-- 原样式 end -->
  38. </view>
  39. <view class="search-keyword">
  40. <scroll-view class="keyword-list-box" v-show="isShowKeywordList" scroll-y>
  41. <block v-for="(row,index) in keywordList" :key="index">
  42. <view class="keyword-entry" hover-class="keyword-entry-tap">
  43. <view class="keyword-text" @tap.stop="doSearch(keywordList[index].keyword)">
  44. <rich-text :nodes="row.htmlStr"></rich-text>
  45. </view>
  46. <view class="keyword-img" @tap.stop="setKeyword(keywordList[index].keyword)">
  47. <image src="/static/back.png"></image>
  48. </view>
  49. </view>
  50. </block>
  51. </scroll-view>
  52. <scroll-view class="keyword-box" v-show="!isShowKeywordList" scroll-y>
  53. <view class="keyword-block" v-if="oldKeywordList.length>0">
  54. <view class="keyword-list-header">
  55. <view style="font-size: 32rpx; font-weight: 700;">最近搜索</view>
  56. <view>
  57. <image @tap="oldDelete" src="/static/delete.png"></image>
  58. </view>
  59. </view>
  60. <view class="keyword">
  61. <view v-for="(keyword,index) in oldKeywordList" @tap="doSearch(keyword)" :key="index">
  62. {{keyword}}
  63. </view>
  64. </view>
  65. </view>
  66. <view class="keyword-block">
  67. <view class="keyword-list-header">
  68. <view style="font-size: 32rpx; font-weight: 700;">推荐搜索</view>
  69. <view>
  70. <image @tap="hotToggle" :src="'/static/HM-search/attention'+forbid+'.png'"></image>
  71. </view>
  72. </view>
  73. <view class="keyword" v-if="forbid==''">
  74. <view v-for="(keyword,index) in hotKeywordList" @tap="doSearch(keyword)" :key="index">
  75. {{keyword}}
  76. </view>
  77. </view>
  78. <view class="hide-hot-tis" v-else>
  79. <view>当前搜热门搜索已隐藏</view>
  80. </view>
  81. </view>
  82. </scroll-view>
  83. </view>
  84. </view>
  85. </template>
  86. <script>
  87. import mSearch from '@/components/mehaotian-search-revision.vue';
  88. export default {
  89. data() {
  90. return {
  91. defaultKeyword: "请输入作物名称或用户名称",
  92. keyword: "",
  93. keyword2: "",
  94. oldKeywordList: [],
  95. hotKeywordList: [],
  96. keywordList: [],
  97. forbid: '',
  98. inputVal:'',
  99. radius:'60',
  100. isDelShow: false,
  101. isFocus: false,
  102. button:"inside",
  103. placeholder:'请输入作物名称或用户名称',
  104. isShowKeywordList: false
  105. };
  106. },
  107. components: {
  108. //引用mSearch组件,如不需要删除即可
  109. },
  110. mounted() {
  111. this.init();
  112. },
  113. watch: {
  114. // searchcontent:{
  115. // handler(oldValue, newValue) {
  116. // this.keyword=oldValue
  117. // // if (val != '') {
  118. // // this.place = val
  119. // // }
  120. // },
  121. // deep:true,
  122. // immediate:true,
  123. // },
  124. // keyword:{
  125. // handler(oldValue, newValue) {
  126. // this.keyword2=oldValue
  127. // console.log(oldValue, newValue,11111111)
  128. // // if (val != '') {
  129. // // this.place = val
  130. // // }
  131. // },
  132. // deep:true,
  133. // immediate:true,
  134. // },
  135. },
  136. methods: {
  137. focus() {
  138. this.active = true;
  139. //HM修改 增加获取焦点判断
  140. if (this.inputVal) {
  141. this.isDelShow = true;
  142. }
  143. },
  144. blur() {
  145. this.isFocus = false;
  146. if (!this.inputVal) {
  147. this.active = false;
  148. }
  149. uni.hideKeyboard()
  150. },
  151. clear() {
  152. //HM修改 收起键盘
  153. uni.hideKeyboard();
  154. this.isFocus = false;
  155. this.inputVal = '';
  156. this.keyword = '';
  157. this.active = false;
  158. if (this.inputVal) {
  159. this.isDelShow = true;
  160. }else{
  161. this.isDelShow = false
  162. }
  163. //this.$emit('search', '');//HM修改 清空内容时候不进行搜索
  164. },
  165. getFocus() {
  166. this.isFocus = true;
  167. },
  168. // cancel() {
  169. // this.inputVal=''
  170. // this.keyword = ''
  171. // if (this.inputVal) {
  172. // this.isDelShow = true;
  173. // }else{
  174. // this.isDelShow = false
  175. // }
  176. // uni.setStorageSync('jiaoyikeyword', this.keyword)
  177. // },
  178. init() {
  179. this.loadDefaultKeyword();
  180. this.loadOldKeyword();
  181. this.loadHotKeyword();
  182. if(uni.getStorageSync('jiaoyikeyword')){
  183. this.inputVal=uni.getStorageSync('jiaoyikeyword')
  184. this.keyword=uni.getStorageSync('jiaoyikeyword')
  185. if (this.inputVal) {
  186. this.isDelShow = true;
  187. }
  188. }
  189. // this.$refs.msearch.setFocus()
  190. },
  191. //加载默认搜索关键字
  192. loadDefaultKeyword() {
  193. //定义默认搜索关键字,可以自己实现ajax请求数据再赋值,用户未输入时,以水印方式显示在输入框,直接不输入内容搜索会搜索默认关键字
  194. // this.defaultKeyword = "默认关键字";
  195. },
  196. //加载历史搜索,自动读取本地Storage
  197. loadOldKeyword() {
  198. uni.getStorage({
  199. key: 'OldKeys',
  200. success: (res) => {
  201. var OldKeys = JSON.parse(res.data);
  202. this.oldKeywordList = OldKeys;
  203. }
  204. });
  205. },
  206. //加载热门搜索
  207. loadHotKeyword() {
  208. //定义热门搜索关键字,可以自己实现ajax请求数据再赋值
  209. this.hotKeywordList = ['大豆', '玉米', '高粱', '白小麦', '混合麦', '水稻', '玉米淀粉', '豆粕', '大麦', '小麦'];
  210. },
  211. //监听输入
  212. inputChange(event) {
  213. if (this.inputVal) {
  214. this.isDelShow = true;
  215. }
  216. //兼容引入组件时传入参数情况
  217. var keyword = event.detail ? event.detail.value : event;
  218. if (!keyword) {
  219. this.keywordList = [];
  220. this.isShowKeywordList = false;
  221. return;
  222. }
  223. },
  224. //高亮关键字
  225. drawCorrelativeKeyword(keywords, keyword) {
  226. var len = keywords.length,
  227. keywordArr = [];
  228. for (var i = 0; i < len; i++) {
  229. var row = keywords[i];
  230. //定义高亮#9f9f9f
  231. var html = row[0].replace(keyword, "<span style='color: #9f9f9f;'>" + keyword + "</span>");
  232. html = '<div>' + html + '</div>';
  233. var tmpObj = {
  234. keyword: row[0],
  235. htmlStr: html
  236. };
  237. keywordArr.push(tmpObj)
  238. }
  239. return keywordArr;
  240. },
  241. //顶置关键字
  242. setKeyword(index) {
  243. this.keyword = this.keywordList[index].keyword;
  244. },
  245. //清除历史搜索
  246. oldDelete() {
  247. uni.showModal({
  248. content: '确定清除历史搜索记录?',
  249. success: (res) => {
  250. if (res.confirm) {
  251. console.log('用户点击确定');
  252. this.oldKeywordList = [];
  253. uni.removeStorage({
  254. key: 'OldKeys'
  255. });
  256. } else if (res.cancel) {
  257. console.log('用户点击取消');
  258. }
  259. }
  260. });
  261. },
  262. //热门搜索开关
  263. hotToggle() {
  264. this.forbid = this.forbid ? '' : '_forbid';
  265. },
  266. //执行搜索
  267. doSearch(keyword) {
  268. this.inputVal=keyword
  269. this.keyword = keyword;
  270. this.saveKeyword(keyword); //保存为历史
  271. if (this.inputVal) {
  272. this.isDelShow = true;
  273. }
  274. uni.setStorageSync('jiaoyikeyword', this.keyword)
  275. uni.switchTab({
  276. url:'/pages/business/businessNew'
  277. })
  278. },
  279. //保存关键字到历史记录
  280. saveKeyword(keyword) {
  281. uni.getStorage({
  282. key: 'OldKeys',
  283. success: (res) => {
  284. var OldKeys = JSON.parse(res.data);
  285. var findIndex = OldKeys.indexOf(keyword);
  286. if (findIndex == -1) {
  287. OldKeys.unshift(keyword);
  288. } else {
  289. OldKeys.splice(findIndex, 1);
  290. OldKeys.unshift(keyword);
  291. }
  292. //最多10个纪录
  293. OldKeys.length > 10 && OldKeys.pop();
  294. uni.setStorage({
  295. key: 'OldKeys',
  296. data: JSON.stringify(OldKeys)
  297. });
  298. this.oldKeywordList = OldKeys; //更新历史搜索
  299. },
  300. fail: (e) => {
  301. var OldKeys = [keyword];
  302. uni.setStorage({
  303. key: 'OldKeys',
  304. data: JSON.stringify(OldKeys)
  305. });
  306. this.oldKeywordList = OldKeys; //更新历史搜索
  307. }
  308. });
  309. }
  310. }
  311. }
  312. </script>
  313. <style lang="scss" scoped>
  314. view {
  315. // display: block;
  316. }
  317. .content {
  318. overflow: hidden;
  319. background: #fff;
  320. height:100vh;
  321. }
  322. .cancel {
  323. font-size: 28rpx;
  324. color: #333333;
  325. }
  326. .search-box {
  327. width: 100%;
  328. background-color: #fff;
  329. padding: 15upx 2.5%;
  330. display: flex;
  331. justify-content: space-between;
  332. position: sticky;
  333. top: 0;
  334. align-items: center;
  335. }
  336. .search-box .mSearch-input-box {
  337. width: 90%;
  338. }
  339. .search-box .input-box {
  340. width: 85%;
  341. flex-shrink: 1;
  342. display: flex;
  343. justify-content: center;
  344. align-items: center;
  345. }
  346. .search-box .search-btn {
  347. width: 15%;
  348. margin: 0 0 0 2%;
  349. display: flex;
  350. justify-content: center;
  351. align-items: center;
  352. flex-shrink: 0;
  353. font-size: 28upx;
  354. color: #fff;
  355. background: linear-gradient(to right, #ff9801, #ff570a);
  356. border-radius: 60upx;
  357. }
  358. .search-box .input-box>input {
  359. width: 100%;
  360. height: 60upx;
  361. font-size: 32upx;
  362. border: 0;
  363. border-radius: 60upx;
  364. -webkit-appearance: none;
  365. -moz-appearance: none;
  366. appearance: none;
  367. padding: 0 3%;
  368. margin: 0;
  369. background-color: #ffffff;
  370. }
  371. .placeholder-class {
  372. color: #9e9e9e;
  373. }
  374. .search-keyword {
  375. width: 100%;
  376. background-color: rgb(242, 242, 242);
  377. }
  378. .keyword-list-box {
  379. height: calc(100vh - 110upx);
  380. padding-top: 10upx;
  381. border-radius: 20upx 20upx 0 0;
  382. background-color: #fff;
  383. }
  384. .keyword-entry-tap {
  385. background-color: #eee;
  386. }
  387. .keyword-entry {
  388. width: 94%;
  389. height: 80upx;
  390. margin: 0 3%;
  391. font-size: 30upx;
  392. color: #333;
  393. display: flex;
  394. justify-content: space-between;
  395. align-items: center;
  396. border-bottom: solid 1upx #e7e7e7;
  397. }
  398. .keyword-entry image {
  399. width: 60upx;
  400. height: 60upx;
  401. }
  402. .keyword-entry .keyword-text,
  403. .keyword-entry .keyword-img {
  404. height: 80upx;
  405. display: flex;
  406. align-items: center;
  407. }
  408. .keyword-entry .keyword-text {
  409. width: 90%;
  410. }
  411. .keyword-entry .keyword-img {
  412. width: 10%;
  413. justify-content: center;
  414. }
  415. .keyword-box {
  416. height: calc(100vh - 280rpx);
  417. background-color: #fff;
  418. }
  419. .keyword-box .keyword-block {
  420. padding: 10upx 0;
  421. }
  422. .keyword-box .keyword-block .keyword-list-header {
  423. width: 100%;
  424. padding: 10upx 3%;
  425. font-size: 27upx;
  426. color: #333;
  427. display: flex;
  428. justify-content: space-between;
  429. align-items: center;
  430. }
  431. .keyword-box .keyword-block .keyword-list-header image {
  432. width: 32upx;
  433. height: 32upx;
  434. }
  435. .keyword-box .keyword-block .keyword {
  436. width: 100%;
  437. padding: 3px 3%;
  438. display: flex;
  439. flex-flow: wrap;
  440. justify-content: flex-start;
  441. }
  442. .keyword-box .keyword-block .hide-hot-tis {
  443. display: flex;
  444. justify-content: center;
  445. font-size: 28upx;
  446. }
  447. .keyword-box .keyword-block .keyword>view {
  448. display: flex;
  449. justify-content: center;
  450. align-items: center;
  451. border-radius: 60upx;
  452. padding: 0 20upx;
  453. margin: 10upx 20upx 10upx 0;
  454. height: 56rpx;
  455. font-size: 24rpx;
  456. background-color: #F5F6F9;
  457. color: #333333;
  458. }
  459. .serach {
  460. display: flex;
  461. width: 91%;
  462. //border-bottom: 1px #f5f5f5 solid; //HM修改 去掉边框
  463. box-sizing: border-box;
  464. font-size: $uni-font-size-base;
  465. .content {
  466. display: flex;
  467. align-items: center;
  468. width: 100%;
  469. height: 60upx;
  470. //border: 1px #ccc solid; //HM修改 去掉边框
  471. background: #fff;
  472. overflow: hidden;
  473. transition: all 0.2s linear;
  474. border-radius: 30px;
  475. .content-box {
  476. background: #F5F6F9;
  477. width: 100%;
  478. display: flex;
  479. align-items: center;
  480. &.center {
  481. justify-content: center;
  482. }
  483. .icon {
  484. padding: 0 15upx;
  485. &.icon-del {
  486. font-size: 30upx;
  487. &:before {
  488. content: "\e644";
  489. }
  490. }
  491. &.icon-serach:before {
  492. content: "\e61c";
  493. }
  494. }
  495. .input {
  496. width: 100%;
  497. max-width: 100%;
  498. line-height: 60upx;
  499. height: 60upx;
  500. transition: all 0.2s linear;
  501. &.center {
  502. width: 200upx;
  503. }
  504. &.sub {
  505. // position: absolute;
  506. width: auto;
  507. color: grey;
  508. }
  509. }
  510. }
  511. .serachBtn {
  512. height: 100%;
  513. flex-shrink: 0;
  514. padding: 0 30upx;
  515. //HM修改 按钮背景色
  516. background: linear-gradient(to right, #ff9801, #ff570a);
  517. //background: $uni-color-success;
  518. line-height: 60upx;
  519. color: #fff;
  520. //border-left: 1px #ccc solid; //HM修改 去掉边框
  521. transition: all 0.3s;
  522. }
  523. }
  524. .button {
  525. display: flex;
  526. align-items: center;
  527. justify-content: center;
  528. position: relative;
  529. flex-shrink: 0;
  530. width: 0;
  531. transition: all 0.2s linear;
  532. white-space: nowrap;
  533. overflow: hidden;
  534. &.active {
  535. padding-left: 15upx;
  536. width: 100upx;
  537. }
  538. }
  539. }
  540. //HM修改 把字体改成本地加载
  541. @font-face {
  542. font-family: "iconfont";
  543. src: url('data:application/x-font-woff;charset=utf-8;base64,AAEAAAALAIAAAwAwR1NVQrD+s+0AAAE4AAAAQk9TLzI8fEg3AAABfAAAAFZjbWFws6gbWQAAAeQAAAGcZ2x5ZqgAaogAAAOMAAABMGhlYWQTyEk0AAAA4AAAADZoaGVhB90DhQAAALwAAAAkaG10eBAA//8AAAHUAAAAEGxvY2EA0gBOAAADgAAAAAptYXhwARIANgAAARgAAAAgbmFtZT5U/n0AAAS8AAACbXBvc3SanfjSAAAHLAAAAEUAAQAAA4D/gABcBAD//wAABAAAAQAAAAAAAAAAAAAAAAAAAAQAAQAAAAE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AAAAAAIAAAAAAAAACgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAECAQMBBAEFAAZzb3VzdW8IamlhbnRvdTQHc2hhbmNodQAAAAAA');
  544. }
  545. .icon {
  546. font-family: iconfont;
  547. font-size: 32upx;
  548. font-style: normal;
  549. color: #999;
  550. }
  551. </style>