yunshangxie/unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/search.js.map

1 line
26 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{"version":3,"sources":["uni-app:///main.js","webpack:///E:/云商会/云商会/pages/index/search.vue?f17d","webpack:///E:/云商会/云商会/pages/index/search.vue?48e5","webpack:///E:/云商会/云商会/pages/index/search.vue?af0c","webpack:///E:/云商会/云商会/pages/index/search.vue?051e","uni-app:///pages/index/search.vue","webpack:///E:/云商会/云商会/pages/index/search.vue?fabb","webpack:///E:/云商会/云商会/pages/index/search.vue?9a2e"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","data","content","topCurrent","list","is_serach","apiImgUrl","association_id","methods","formatTime","year","month","day","getSerach","name","then","console","catch","uni","title","icon","duration","tn","url","goBack"],"mappings":";;;;;;;;;;;;;AAAA;AAGA;AACA;AAHA;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,UAAU,CAACC,eAAI,CAAC,C;;;;;;;;;;;;;ACLhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAA+H;AAC/H;AAC0D;AACL;AACsC;;;AAG3F;AAC+L;AAC/L,gBAAgB,wMAAU;AAC1B,EAAE,4EAAM;AACR,EAAE,6FAAM;AACR,EAAE,sGAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,iGAAU;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,aAAa,wRAEN;AACP,KAAK;AACL;AACA,aAAa,sQAEN;AACP,KAAK;AACL;AACA,aAAa,kRAEN;AACP,KAAK;AACL;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACpFA;AAAA;AAAA;AAAA;AAAkuB,CAAgB,uvBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;AC6KtvB;AAGA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eACA;EACAC;IACA;MACAC;MACAC;MACA;MACA;MACA;MACA;MACA;MACAC;MACAC;MACAC;MACAC;IACA;EACA;EACAC;IACAC;MACA;QAAA;QAAAC;QAAAC;QAAAC;MACA;IACA;IACAC;MAAA;MAEA;QACAC;MACA,GACAC;QACAC;QACA;QACA;MACA,GACAC;QACAC;UACAC;UACAC;UACAC;QACA;MACA;IACA;IACAC;MACAJ;QACAK;MACA;IACA;IACAC;MACA;QACAN;MACA;QACAA;UACAK;QACA;MAEA;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;ACxOA;AAAA;AAAA;AAAA;AAA64C,CAAgB,02CAAG,EAAC,C;;;;;;;;;;;ACAj6C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"pages/index/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/index/search.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./search.vue?vue&type=template&id=64d2b7fe&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=64d2b7fe&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!F:\\\\HBuilderX.3.5.3.20220729\\\\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 \"64d2b7fe\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/index/search.vue\"\nexport default component.exports","export * from \"-!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--17-0!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./search.vue?vue&type=template&id=64d2b7fe&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 tnTabs: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-tabs/tn-tabs\" */ \"@/tuniao-ui/components/tn-tabs/tn-tabs.vue\"\n )\n },\n tnButton: function () {\n return import(\n /* webpackChunkName: \"tuniao-ui/components/tn-button/tn-button\" */ \"@/tuniao-ui/components/tn-button/tn-button.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 var g0 = _vm.is_serach ? _vm.list.member.length : null\n var g1 = _vm.is_serach ? _vm.list.association.length : null\n var g2 = _vm.is_serach ? _vm.list.activity.length : null\n var l0 = _vm.is_serach\n ? _vm.__map(_vm.list.activity, function (item, index) {\n var $orig = _vm.__get_orig(item)\n var m0 = _vm.formatTime(item.createtime)\n var g3 = _vm.list.news.length\n return {\n $orig: $orig,\n m0: m0,\n g3: g3,\n }\n })\n : null\n var g4 = _vm.is_serach ? _vm.list.news.length : null\n var l1 = _vm.is_serach\n ? _vm.__map(_vm.list.news, function (item, index) {\n var $orig = _vm.__get_orig(item)\n var m1 = _vm.formatTime(item.showtime)\n var g5 = _vm.list.news.length\n return {\n $orig: $orig,\n m1: m1,\n g5: g5,\n }\n })\n : null\n _vm.$mp.data = Object.assign(\n {},\n {\n $root: {\n g0: g0,\n g1: g1,\n g2: g2,\n l0: l0,\n g4: g4,\n l1: l1,\n },\n }\n )\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX.3.5.3.20220729\\\\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 \"-!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./search.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view style=\"letter-spacing: 1rpx;\">\r\n\t\t<tn-nav-bar :isBack=\"false\" backTitle=\"\" :bottomShadow=\"true\" backgroundColor=\"#FFFFFF\">\r\n\t\t\t<view class=\"custom-nav tn-flex tn-flex-col-center tn-flex-row-left\">\r\n\t\t\t\t<view style=\"padding-left: 15rpx;\" @click=\"goBack()\">\r\n\t\t\t\t\t<text class=\"tn-icon-left\" style=\"font-size: 40rpx;\"></text>\r\n\t\t\t\t</view>\r\n\t\t\t\t<view class=\"tn-margin-top\"\r\n\t\t\t\t\tstyle=\";text-shadow: 1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF;\">\r\n\t\t\t\t\t<tn-tabs :list=\"[{name:'搜索'}]\" :current=\"topCurrent\" activeColor=\"#000\" :bold=\"false\"\r\n\t\t\t\t\t\t:fontSize=\"36\"></tn-tabs>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</tn-nav-bar>\r\n\t\t<view>\r\n\t\t\t<view class=\"tn-flex tn-flex-row-between tn-flex-col-center tn-margin\"\r\n\t\t\t\t:style=\"{marginTop: vuex_custom_bar_height + 20+'px'}\">\r\n\t\t\t\t<view class=\"justify-content-item align-content-item\" style=\"width: 100%;\">\r\n\t\t\t\t\t<view class=\"tn-flex tn-flex-col-center\"\r\n\t\t\t\t\t\tstyle=\"border-radius: 100rpx;padding: 10rpx 20rpx 10rpx 20rpx;width: 95%;background-color: rgba(248, 247, 248, 0.9);\">\r\n\t\t\t\t\t\t<text\r\n\t\t\t\t\t\t\tclass=\"tn-icon-search justify-content-item tn-padding-right-xs tn-color-gray tn-text-lg\"></text>\r\n\t\t\t\t\t\t<input v-model=\"content\" class=\"justify-content-item\" placeholder=\"请填写搜索内容\" name=\"input\"\r\n\t\t\t\t\t\t\tplaceholder-style=\"color:#AAAAAA\" style=\"width: 90%;\"></input>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\r\n\t\t\t\t<view class=\"align-content-item\">\r\n\t\t\t\t\t<view class=\"justify-content-item tn-text-center\">\r\n\t\t\t\t\t\t<tn-button backgroundColor=\"#3668fc\" shape=\"round\" padding=\"20rpx 20rpx\" width=\"150rpx\"\r\n\t\t\t\t\t\t\t@tap=\"getSerach\">\r\n\t\t\t\t\t\t\t<text class=\"tn-color-white\">搜 索</text>\r\n\t\t\t\t\t\t</tn-button>\r\n\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<view v-if=\"is_serach\">\r\n\t\t\t<!-- <block>\r\n\t\t\t\t<view>\r\n\t\t\t\t\t<view class=\"tn-flex tn-flex-row-between tn-margin\">\r\n\t\t\t\t\t\t<view class=\"justify-content-item tn-text-bold\">\r\n\t\t\t\t\t\t\t<text class=\"tn-text-df tn-color-black\">最近搜索</text>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view class=\"justify-content-item tn-text-df tn-color-gray\">\r\n\t\t\t\t\t\t\t<text class=\"tn-padding-xs\">删除</text>\r\n\t\t\t\t\t\t\t<text class=\"tn-icon-delete\"></text>\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\t<view class=\"\">\r\n\t\t\t\t\t<view class=\"tn-tag-search tn-text-justify\" style=\"padding: 0rpx 30rpx;\">\r\n\t\t\t\t\t\t<view v-for=\"(item, index) in tagList\" :key=\"index\"\r\n\t\t\t\t\t\t\tclass=\"tn-tag-search__item tn-margin-right tn-round tn-text-sm tn-bg-gray--light tn-color-gray\">\r\n\t\t\t\t\t\t\t{{ item.name }}\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</block> -->\r\n\t\t\t<view v-if=\"list.member.length>0\" class=\"tn-flex tn-flex-row-between tn-padding-bottom\"\r\n\t\t\t\tstyle=\"padding-top: 20rpx;margin: 30rpx 30rpx 0rpx 30rpx;\">\r\n\t\t\t\t<view class=\"justify-content-item tn-text-bold\">\r\n\t\t\t\t\t<text class=\"tn-text-df tn-color-black\">会员搜索结果</text>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view style=\"padding:0rpx 30rpx;\">\r\n\t\t\t\t<view v-for=\"(item,index) in list.member\" class=\"tn-flex tn-flex-center tn-flex-col-center\"\r\n\t\t\t\t\t@click=\"tn('/pages/index/my_card?id='+item.id)\"\r\n\t\t\t\t\tstyle=\"background-color: #ffffff;padding:30rpx;border-radius: 15rpx;margin-bottom: 20rpx;box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(12,0,5,0.1);\">\r\n\t\t\t\t\t<view>\r\n\t\t\t\t\t\t<image :src=\"apiImgUrl+item.photo_image\"\r\n\t\t\t\t\t\t\tstyle=\"width: 100rpx;height: 100rpx;border-radius: 50%;\"></image>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view style=\"margin-left: 20rpx;\">\r\n\t\t\t\t\t\t<view style=\"font-size: 31rpx;font-weight: 600;letter-spacing: 5rpx;\">{{item.nikename}}</view>\r\n\t\t\t\t\t\t<view style=\"font-size: 24rpx;colo r: #808080;margin-top: 15rpx;\">{{item.enterprise_name}}\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</view>\r\n\t\t\t<view v-if=\"list.association.length>0\" class=\"tn-flex tn-flex-row-between tn-padding-bottom\"\r\n\t\t\t\tstyle=\"padding-top: 20rpx;margin: 30rpx 30rpx 0rpx 30rpx;\">\r\n\t\t\t\t<view class=\"justify-content-item tn-text-bold\">\r\n\t\t\t\t\t<text class=\"tn-text-df tn-color-black\">协会搜索结果</text>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view style=\"padding:0rpx 30rpx;\">\r\n\t\t\t\t<view @click=\"tn('/pages/index/pizz_info?id='+item.id)\" v-for=\"(item,index) in list.association\"\r\n\t\t\t\t\tclass=\"tn-flex tn-flex-center tn-flex-col-center\"\r\n\t\t\t\t\tstyle=\"background-color: #ffffff;padding:30rpx;border-radius: 15rpx;margin-bottom: 20rpx;box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(12,0,5,0.1);\">\r\n\t\t\t\t\t<view>\r\n\t\t\t\t\t\t<image :src=\"apiImgUrl+item.association_image\"\r\n\t\t\t\t\t\t\tstyle=\"width: 100rpx;height: 100rpx;border-radius: 50%;\"></image>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view style=\"margin-left: 20rpx;\">\r\n\t\t\t\t\t\t<view style=\"font-size: 31rpx;font-weight: 600;letter-spacing: 5rpx;\">{{item.association_name}}\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view style=\"font-size: 24rpx;color: #808080;margin-top: 15rpx;\">成立时间:{{item.createtime}}</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view v-if=\"list.activity.length>0\" class=\"tn-flex tn-flex-row-between tn-padding-bottom\"\r\n\t\t\t\tstyle=\"padding-top: 20rpx;margin: 30rpx 30rpx 0rpx 30rpx;\">\r\n\t\t\t\t<view class=\"justify-content-item tn-text-bold\">\r\n\t\t\t\t\t<text class=\"tn-text-df tn-color-black\">活动搜索结果</text>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view>\r\n\t\t\t\t<view v-for=\"(item,index) in list.activity\" style=\"background-color: #ffffff;\">\r\n\t\t\t\t\t<view class=\"tn-flex tn-flex-row-between\" @click=\"tn('/pages/index/event_info?id='+item.id)\"\r\n\t\t\t\t\t\tstyle=\"padding: 20rpx;\">\r\n\t\t\t\t\t\t<view style=\"margin-left: 20rpx;\" v-if=\"item.activity_image\">\r\n\t\t\t\t\t\t\t<image :src=\"apiImgUrl+item.activity_image\" mode=\"aspectFill\"\r\n\t\t\t\t\t\t\t\tstyle=\"width: 230rpx;height: 180rpx;border-radius: 8rpx;\"></image>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view style=\"position:relative;min-height: 200rpx;width: 100%;\">\r\n\t\t\t\t\t\t\t<view class=\"tn-text-ellipsis-3\" style=\"font-size: 28rpx;padding-left: 20rpx;\">\r\n\t\t\t\t\t\t\t\t{{ item.activity_name }}\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"tn-flex tn-flex-row-between\"\r\n\t\t\t\t\t\t\t\tstyle=\"width: 100%;padding: 20rpx;font-size:24rpx;color: rgb(171, 171, 171);position: absolute; bottom: 0rpx;overflow: hidden\">\r\n\t\t\t\t\t\t\t\t<view>{{formatTime(item.createtime) }}</view>\r\n\t\t\t\t\t\t\t\t<view>\r\n\t\t\t\t\t\t\t\t\t<text v-if=\"item.activity_type==1\" style=\"vertical-align: middle;\">协会活动</text>\r\n\t\t\t\t\t\t\t\t\t<text v-if=\"item.activity_type==2\" style=\"vertical-align: middle;\">调查问卷</text>\r\n\t\t\t\t\t\t\t\t\t<text v-if=\"item.activity_type==3\" style=\"vertical-align: middle;\">公益捐赠</text>\r\n\t\t\t\t\t\t\t\t\t<text v-if=\"item.activity_type==4\" style=\"vertical-align: middle;\">学习培训</text>\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view v-if=\"list.news.length-1>index\"\r\n\t\t\t\t\t\tstyle=\"background: rgba(217, 217, 217, 0.5);width: 90%;margin: 0 auto;height: 2rpx;\"></view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view v-if=\"list.news.length>0\" class=\"tn-flex tn-flex-row-between tn-padding-bottom\"\r\n\t\t\t\tstyle=\"padding-top: 20rpx;margin: 30rpx 30rpx 0rpx 30rpx;\">\r\n\t\t\t\t<view class=\"justify-content-item tn-text-bold\">\r\n\t\t\t\t\t<text class=\"tn-text-df tn-color-black\">新闻搜索结果</text>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t\t<view style=\"padding:0px 30rpx;\">\r\n\t\t\t\t<view v-for=\"(item,index) in list.news\" style=\"background-color: #ffffff;\">\r\n\t\t\t\t\t<view class=\"tn-flex tn-flex-row-between\" @click=\"tn('/pages/index/new_info?id='+item.id)\"\r\n\t\t\t\t\t\tstyle=\"padding: 20rpx;\">\r\n\t\t\t\t\t\t<view style=\"margin-left: 20rpx;\" v-if=\"item.news_image\">\r\n\t\t\t\t\t\t\t<image :src=\"apiImgUrl+item.news_image\" mode=\"aspectFill\"\r\n\t\t\t\t\t\t\t\tstyle=\"width: 230rpx;height: 180rpx;border-radius: 8rpx;\"></image>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t<view style=\"position:relative;min-height: 200rpx;width: 100%;\">\r\n\t\t\t\t\t\t\t<view class=\"tn-text-ellipsis-3\" style=\"font-size: 28rpx;padding-left: 20rpx;\">\r\n\t\t\t\t\t\t\t\t{{ item.news_title }}\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t<view class=\"tn-flex tn-flex-row-between\"\r\n\t\t\t\t\t\t\t\tstyle=\"width: 100%;padding: 20rpx;font-size:24rpx;color: rgb(171, 171, 171);position: absolute; bottom: 0rpx;overflow: hidden\">\r\n\t\t\t\t\t\t\t\t<view>{{ formatTime(item.showtime)}}</view>\r\n\t\t\t\t\t\t\t\t<view>\r\n\t\t\t\t\t\t\t\t\t<text class=\"tn-icon-eye\" style=\"vertical-align: middle;\"></text>\r\n\t\t\t\t\t\t\t\t\t<text style=\"vertical-align: middle;\">{{ item.news_hits }}</text>\r\n\t\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t\t</view>\r\n\t\t\t\t\t\t</view>\r\n\t\t\t\t\t</view>\r\n\t\t\t\t\t<view v-if=\"list.news.length-1>index\"\r\n\t\t\t\t\t\tstyle=\"background: rgba(217, 217, 217, 0.5);width: 90%;margin: 0 auto;height: 2rpx;\"></view>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\timport {\r\n\t\tgetSerachIndex\r\n\t} from '@/util/api.js';\r\n\timport store from '@/store/index.js'\r\n\texport default {\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\tcontent: '',\r\n\t\t\t\ttopCurrent: 0,\r\n\t\t\t\t// tagList: [{\r\n\t\t\t\t// \tname: '李小兵'\r\n\t\t\t\t// }, {\r\n\t\t\t\t// \tname: '李小兵'\r\n\t\t\t\t// }],\r\n\t\t\t\tlist: {},\r\n\t\t\t\tis_serach: false,\r\n\t\t\t\tapiImgUrl: this.$store.state.imgUrl,\r\n\t\t\t\tassociation_id: this.$store.state.Gid,\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tformatTime(time) {\r\n\t\t\t\tconst [year, month, day] = time.split(' ')[0].split('-');\r\n\t\t\t\treturn `${year}-${month}-${day}`;\r\n\t\t\t},\r\n\t\t\tgetSerach() {\r\n\r\n\t\t\t\tgetSerachIndex({\r\n\t\t\t\t\t\tname: this.content\r\n\t\t\t\t\t})\r\n\t\t\t\t\t.then(res => {\r\n\t\t\t\t\t\tconsole.log(res);\r\n\t\t\t\t\t\tthis.list = res.data;\r\n\t\t\t\t\t\tthis.is_serach = true;\r\n\t\t\t\t\t})\r\n\t\t\t\t\t.catch(error => {\r\n\t\t\t\t\t\tuni.showToast({\r\n\t\t\t\t\t\t\ttitle: error,\r\n\t\t\t\t\t\t\ticon: 'none',\r\n\t\t\t\t\t\t\tduration: 2000\r\n\t\t\t\t\t\t});\r\n\t\t\t\t\t})\r\n\t\t\t},\r\n\t\t\ttn(e) {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: e\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tgoBack() {\r\n\t\t\t\tif (getCurrentPages().length > 1) {\r\n\t\t\t\t\tuni.navigateBack()\r\n\t\t\t\t} else {\r\n\t\t\t\t\tuni.redirectTo({\r\n\t\t\t\t\t\turl: '/pages/index/index'\r\n\t\t\t\t\t})\r\n\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.tn-search-fixed {\r\n\t\tposition: fixed;\r\n\t\ttop: 50rpx;\r\n\t\twidth: 100%;\r\n\t\ttransition: all 0.25s ease-out;\r\n\t\tz-index: 1;\r\n\t}\r\n\r\n\r\n\t/* 搜索标签 start*/\r\n\t.tn-tag-search {\r\n\t\t&__item {\r\n\t\t\tdisplay: inline-block;\r\n\t\t\tline-height: 45rpx;\r\n\t\t\tpadding: 10rpx 30rpx;\r\n\t\t\tmargin: 20rpx 20rpx 5rpx 0rpx;\r\n\r\n\t\t\t&--prefix {\r\n\t\t\t\tpadding-right: 10rpx;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t/* 标签内容 end*/\r\n\r\n\t/* 标题 start */\r\n\t.nav_title {\r\n\t\t-webkit-background-clip: text;\r\n\t\tcolor: transparent;\r\n\r\n\t\t&--wrap {\r\n\t\t\tposition: relative;\r\n\t\t\tdisplay: flex;\r\n\t\t\theight: 120rpx;\r\n\t\t\tfont-size: 42rpx;\r\n\t\t\talign-items: center;\r\n\t\t\tjustify-content: center;\r\n\t\t\tfont-weight: bold;\r\n\t\t\tbackground-image: url(https://resource.tuniaokj.com/images/title_bg/title00.png);\r\n\t\t\tbackground-size: cover;\r\n\t\t}\r\n\t}\r\n\r\n\t/* 标题 end */\r\n\r\n\t/* 富文本图示意 start */\r\n\t.news-img {\r\n\t\tz-index: -1;\r\n\t\tpadding-bottom: 40rpx;\r\n\r\n\t\timage {\r\n\t\t\twidth: 100%;\r\n\t\t\tmargin: 20rpx 0;\r\n\t\t\t// height: 3373rpx;\r\n\t\t\t// z-index: -1;\r\n\t\t}\r\n\t}\r\n\r\n\t/* 资讯主图 start*/\r\n\t.image-article {\r\n\t\tborder-radius: 8rpx;\r\n\t\tborder: 1rpx solid #F8F7F8;\r\n\t\twidth: 200rpx;\r\n\t\theight: 200rpx;\r\n\t\tposition: relative;\r\n\t}\r\n\r\n\t.image-pic {\r\n\t\tbackground-size: cover;\r\n\t\tbackground-repeat: no-repeat;\r\n\t\t// background-attachment:fixed;\r\n\t\tbackground-position: top;\r\n\t\tborder-radius: 10rpx;\r\n\t}\r\n\r\n\t.article-shadow {\r\n\t\tborder-radius: 15rpx;\r\n\t\tbox-shadow: 0rpx 0rpx 50rpx 0rpx rgba(0, 0, 0, 0.07);\r\n\t}\r\n\r\n\t/* 文字截取*/\r\n\t.clamp-text-1 {\r\n\t\t-webkit-line-clamp: 1;\r\n\t\tdisplay: -webkit-box;\r\n\t\t-webkit-box-orient: vertical;\r\n\t\ttext-overflow: ellipsis;\r\n\t\toverflow: hidden;\r\n\t}\r\n\r\n\t.clamp-text-2 {\r\n\t\t-webkit-line-clamp: 2;\r\n\t\tdisplay: -webkit-box;\r\n\t\t-webkit-box-orient: vertical;\r\n\t\ttext-overflow: ellipsis;\r\n\t\toverflow: hidden;\r\n\t}\r\n\r\n\t/* 标签内容 start*/\r\n\t.tn-tag-content {\r\n\t\t&__item {\r\n\t\t\tdisplay: inline-block;\r\n\t\t\tline-height: 35rpx;\r\n\t\t\tpadding: 7rpx 25rpx 5rpx 25rpx;\r\n\r\n\t\t\t&--prefix {\r\n\t\t\t\tpadding-right: 10rpx;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\t/* 标签内容 end*/\r\n</style>","import mod from \"-!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./search.vue?vue&type=style&index=0&id=64d2b7fe&lang=scss&scoped=true&\"; export default mod; export * from \"-!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./search.vue?vue&type=style&index=0&id=64d2b7fe&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1717134508124\n var cssReload = require(\"F:/HBuilderX.3.5.3.20220729/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":""}