indedxSearch.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746
  1. <template>
  2. <view class="container search-container">
  3. <view class="sticky-content">
  4. <view class="searchTarget-header">
  5. <input
  6. type="text"
  7. :placeholder="searchPlaceholderList.TabSearch"
  8. placeholder-class="sea_ipt_placeholder"
  9. class="sea_ipt"
  10. v-model="searchTxt"
  11. focus="true"
  12. confirm-type="search"
  13. @confirm="searchHandle"
  14. />
  15. <icon type="search" size="15" class="sea_ico" />
  16. <view class="ipt-right">
  17. <icon type="clear" size="16" color="#E0E0E0" v-show="searchTxt" @click="clearIpt" />
  18. <text class="line">|</text>
  19. <text @click="searchHandle" style="color: #3385ff">搜索</text>
  20. </view>
  21. </view>
  22. <view class="search-tabs" v-if="isResult">
  23. <view :class="['tabs-item', tabsActive == item.id && 'active']" v-for="item in tabsList" :key="item.id" @click="tabsHandel(item)">
  24. {{ item.title }}
  25. <view class="item-act" v-if="tabsActive == item.id"></view>
  26. </view>
  27. </view>
  28. <block v-if="isResult">
  29. <view class="more-summary more-box" v-if="(tabsActive == 1 || tabsActive == 2) && haveResultSummary">
  30. <view>
  31. <text class="more-text" v-if="tabsActive == 1"> 纪要/图表 </text>
  32. </view>
  33. <view style="display: flex; align-items: center">
  34. <view class="summary-select">
  35. <text @click="summarySelectHandler(item, '纪要')" :class="['select-item', summarySelectActive == item.value && 'active-item']" v-for="item in summarySelect" :key="item.value">{{
  36. item.name
  37. }}</text>
  38. </view>
  39. <view v-if="tabsActive == 1" class="more-rivet" @click="tabsActiveMore(2)"> 更多 <u-icon name="arrow-right" color="#3385FF" size="28"></u-icon> </view>
  40. </view>
  41. </view>
  42. <view class="activity-select" style="display: flex; align-items: center; justify-content: flex-end" v-if="tabsActive == 4 || tabsActive == 5">
  43. <block v-for="item in activitySelect" :key="item.type">
  44. <view :class="['summary-select', item.type == 5 && 'select-roadshow']" v-if="tabsActive == item.type">
  45. <text @click="summarySelectHandler(key, item.name)" :class="['select-item', activitySelectActive == key.value && 'active-item']" v-for="key in item.list" :key="key.value">
  46. {{ key.name }}
  47. </text>
  48. </view>
  49. </block>
  50. </view>
  51. </block>
  52. </view>
  53. <view class="search-cont" v-if="!isResult">
  54. <block v-for="key in keywordList" :key="key.title">
  55. <view class="history" v-if="key.title !== '搜索历史' || (key.title == '搜索历史' && historySearchList.length)">
  56. <view class="history-title title">
  57. <text>{{ key.title }}</text>
  58. <image v-if="key.imgShown" @click="clearHistory" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/empty_ico.png" class="empty_ico"></image>
  59. </view>
  60. <view class="history-item">
  61. <block v-for="(item, index) in relyOn(key.title)" :key="item">
  62. <block v-if="key.title == '搜索历史'">
  63. <view v-if="index < 8" class="item" @click="chooseTarget(item)">{{ item }}</view>
  64. </block>
  65. <view v-else class="item" @click="chooseTarget(item)">{{ item }}</view>
  66. </block>
  67. </view>
  68. </view>
  69. </block>
  70. </view>
  71. <view v-else class="content">
  72. <block v-if="haveResult">
  73. <view>
  74. <summary-chart :resultList="tabsActive == 1 ? resultList.slice(0, 10) : resultList" :tabsActiveChild="tabsActive" v-if="resultList.length && (tabsActive == 2 || tabsActive == 1)" />
  75. <view class="more-report more-box" v-if="tabsActive === 1 && haveResultReport">
  76. <text class="more-text"> 资源包/报告 </text>
  77. <view>
  78. <view class="more-rivet" @click="tabsActiveMore(3)"> 更多 <u-icon name="arrow-right" color="#3385FF" size="28"></u-icon> </view>
  79. </view>
  80. </view>
  81. <reportPage @updateFllow="updateFllow" :reportPageData="reportPageData" id="container-report-page" v-if="Object.keys(reportPageData).length && (tabsActive == 3 || tabsActive == 1)" />
  82. <view class="more-activity more-box" v-if="tabsActive === 1 && haveResultActivity">
  83. <text class="more-text"> 活动 </text>
  84. <view>
  85. <view class="more-rivet" @click="tabsActiveMore(4)"> 更多 <u-icon name="arrow-right" color="#3385FF" size="28"></u-icon> </view>
  86. </view>
  87. </view>
  88. <activityBack :collectLists="collectList" :tabsActiveSearch="tabsActive" v-if="collectList.length && (tabsActive == 4 || tabsActive == 1)" />
  89. <view class="more-activity more-box" v-if="tabsActive === 1 && haveResultRoadshow">
  90. <text class="more-text"> 微路演 </text>
  91. <view>
  92. <view class="more-rivet" @click="tabsActiveMore(5)"> 更多 <u-icon name="arrow-right" color="#3385FF" size="28"></u-icon> </view>
  93. </view>
  94. </view>
  95. <roadshowPage :roadshowPageList="roadshowPageList" :tabsRoadshowSearch="tabsActive" v-if="roadshowPageList.length && (tabsActive == 5 || tabsActive == 1)" />
  96. </view>
  97. </block>
  98. <view class="nodata" v-else>
  99. <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/act_search.png" mode="" class="nodata_ico"></image>
  100. <text>未找到您想搜索的内容</text>
  101. </view>
  102. </view>
  103. </view>
  104. </template>
  105. <script>
  106. import { KeywordList, TabsList, SummarySelect, ActivitySelect } from "./searchList";
  107. import { Search, activity, Report, Home } from "@/config/api";
  108. import { Debounce, Throttle } from "@/config/util.js";
  109. import summaryChart from "../components/summaryChart.vue";
  110. import activityBack from "../components/activityBack.vue";
  111. import reportPage from "../components/report.vue";
  112. import roadshowPage from "../components/roadshow.vue";
  113. export default {
  114. components: { summaryChart, activityBack, reportPage, roadshowPage },
  115. data() {
  116. return {
  117. searchTxt: "",
  118. isResult: false,
  119. historySearchList: [], //历史搜索
  120. hotKeyWord: [], //热搜关键词
  121. wordList: [], //推荐关键词
  122. tabsActive: 1, //搜索的筛选条件
  123. resultList: [], //纪要与图表
  124. resultDataList: [], ////纪要与图表
  125. collectList: [], //活动的数据
  126. reportPageData: {}, //报告的数据
  127. roadshowPageList: [], //微路演的数据
  128. // haveResult: true, //是否有搜索数据
  129. haveResultSummary: true, //是否有搜索数据 纪要
  130. haveResultActivity: true, //是否有搜索数据 活动
  131. haveResultReport: true, //是否有搜索数据 报告
  132. haveResultRoadshow: true, //是否有搜索数据 微路演
  133. summarySelectActive: "Matching",
  134. activitySelectActive: "0",
  135. refresh: false, //正在下拉
  136. pageNum: 1,
  137. pageSize: null,
  138. totalPage: 0,
  139. status: "loadmore",
  140. loadText: {
  141. loadmore: "上拉加载更多",
  142. loading: "加载中",
  143. nomore: "已经到底了",
  144. },
  145. };
  146. },
  147. computed: {
  148. keywordList() {
  149. return KeywordList;
  150. },
  151. tabsList() {
  152. return TabsList;
  153. },
  154. summarySelect() {
  155. return SummarySelect;
  156. },
  157. activitySelect() {
  158. return ActivitySelect;
  159. },
  160. haveResult() {
  161. let all = this.haveResultSummary || this.haveResultActivity || this.haveResultReport || this.haveResultRoadshow;
  162. return this.tabsActive == 1
  163. ? all
  164. : this.tabsActive == 2
  165. ? this.haveResultSummary
  166. : this.tabsActive == 3
  167. ? this.haveResultReport
  168. : this.tabsActive == 4
  169. ? this.haveResultActivity
  170. : this.haveResultRoadshow;
  171. },
  172. },
  173. watch: {
  174. tabsActive: {
  175. handler(val) {
  176. val == 1 ? (this.pageSize = 5) : (this.pageSize = 10);
  177. },
  178. deep: true,
  179. immediate: true,
  180. },
  181. },
  182. methods: {
  183. //搜索事件
  184. searchHandle() {
  185. if (this.searchTxt) {
  186. if (!this.historySearchList.includes(this.searchTxt)) {
  187. this.historySearchList.unshift(this.searchTxt);
  188. this.$db.set("historySearchList", JSON.stringify(this.historySearchList));
  189. }
  190. this.getListInit();
  191. this.getDataList();
  192. } else {
  193. this.$util.toast("请输入关键字");
  194. }
  195. },
  196. //清除搜索关键字
  197. clearIpt() {
  198. this.searchTxt = "";
  199. this.tabsActive = 1;
  200. this.isResult = false;
  201. this.getListInit();
  202. },
  203. //关键词 遍历的依赖
  204. relyOn(val) {
  205. return val == "搜索历史" ? this.historySearchList : val == "热搜关键词" ? this.hotKeyWord : this.wordList;
  206. },
  207. //点击了筛选项目
  208. tabsHandel(item) {
  209. this.tabsActive = item.id;
  210. this.getListInit();
  211. this.getDataList();
  212. },
  213. //获取热搜关键词的请求
  214. async researchHotKeyWord() {
  215. const res = await Search.getKeys();
  216. if (res.Ret === 200) {
  217. this.hotKeyWord = res.Data.ListHot ? res.Data.ListHot.map((key) => key.KeyWord) : [];
  218. this.wordList = res.Data.Item ? res.Data.Item.ConfigValue.split(",") : [];
  219. }
  220. },
  221. // 选择历史搜索
  222. chooseTarget(item) {
  223. this.searchTxt = item;
  224. if (!this.historySearchList.includes(item)) {
  225. this.historySearchList.unshift(item);
  226. this.$db.set("historySearchList", JSON.stringify(this.historySearchList));
  227. }
  228. this.getListInit();
  229. this.getDataList();
  230. },
  231. //搜索
  232. getDataList() {
  233. this.isResult = true;
  234. if (this.tabsActive == 1) {
  235. this.synthesiz();
  236. this.getReportList();
  237. this.getActivityBackList();
  238. this.getRoadshowList();
  239. } else if (this.tabsActive == 2) {
  240. this.synthesiz();
  241. } else if (this.tabsActive == 3) {
  242. this.getReportList();
  243. } else if (this.tabsActive == 4) {
  244. this.getActivityBackList();
  245. } else if (this.tabsActive == 5) {
  246. this.getRoadshowList();
  247. }
  248. },
  249. //纪要 图表的搜索
  250. async synthesiz() {
  251. const res = await Search.getArtAndChartList({
  252. KeyWord: this.searchTxt.replace(/^\s+|\s+$/g, ""),
  253. OrderColumn: this.summarySelectActive,
  254. PageSize: 10,
  255. CurrentIndex: this.pageNum,
  256. ListType: 1,
  257. });
  258. if (res.Ret === 200) {
  259. this.status = this.pageNum < res.Data.Paging.Pages ? "loadmore" : "nomore";
  260. this.totalPage = res.Data.Paging.Totals;
  261. if (this.pageNum == 1) {
  262. this.haveResultSummary = res.Data.List.length || res.Data.ChartList.length ? true : false;
  263. }
  264. if (res.Data.List.length && res.Data.ChartList.length) {
  265. if (this.pageNum == 1) {
  266. this.resultDataList.push(res.Data.List.shift());
  267. if (this.refresh) {
  268. uni.stopPullDownRefresh();
  269. this.refresh = false;
  270. }
  271. }
  272. let newArr = [];
  273. let newArrTwo = [];
  274. for (let i = 0; i < res.Data.List.length; i += 2) {
  275. newArr.push(res.Data.List.slice(i, i + 2));
  276. }
  277. for (let i = 0; i < res.Data.ChartList.length; i += 2) {
  278. newArrTwo.push(res.Data.ChartList.slice(i, i + 2));
  279. }
  280. let arr = [];
  281. newArr.forEach((item, index) => {
  282. if (newArrTwo[index]) {
  283. arr.push(newArrTwo[index], item);
  284. } else {
  285. arr.push(item);
  286. }
  287. });
  288. this.resultDataList = this.resultDataList.concat(arr.flat(Infinity));
  289. } else if (!res.Data.List.length) {
  290. res.Data.ChartList.length && this.resultDataList.push(...res.Data.ChartList);
  291. } else if (!res.Data.ChartList.length) {
  292. res.Data.List.length && this.resultDataList.push(...res.Data.List);
  293. }
  294. this.resultList = this.resultDataList;
  295. }
  296. },
  297. //活动回放的接口获取列表
  298. async getActivityBackList() {
  299. const res =
  300. this.tabsActive === 1 || this.activitySelectActive == 0
  301. ? await activity.getActivityListSearch({
  302. PageSize: this.pageSize,
  303. CurrentIndex: this.pageNum,
  304. KeyWord: this.searchTxt,
  305. ActiveState: "1,2,3", //活动进行状态
  306. PlayBack: Number(this.activitySelectActive),
  307. })
  308. : await activity.getActivityListNew({
  309. PageSize: this.pageSize,
  310. CurrentIndex: this.pageNum,
  311. KeyWord: this.searchTxt,
  312. ActiveState: "1,2,3", //活动进行状态
  313. PlayBack: Number(this.activitySelectActive),
  314. });
  315. if (res.Ret !== 200) return;
  316. this.status = this.pageNum < res.Data.Paging.Pages ? "loadmore" : "nomore";
  317. this.totalPage = res.Data.Paging.Pages; //总页数
  318. if (this.pageNum === 1) {
  319. this.collectList = res.Data.List || [];
  320. this.haveResultActivity = this.collectList.length ? true : false;
  321. if (this.refresh) {
  322. uni.stopPullDownRefresh();
  323. this.refresh = false;
  324. }
  325. } else {
  326. this.collectList.push(...res.Data.List);
  327. }
  328. },
  329. //获取报告的
  330. async getReportList() {
  331. const res = await Report.getSearchReportAndResource({
  332. KeyWord: this.searchTxt.replace(/^\s+|\s+$/g, ""),
  333. PageSize: this.tabsActive == 1 ? 5 : "",
  334. });
  335. if (res.Ret === 200) {
  336. if (this.refresh) {
  337. uni.stopPullDownRefresh();
  338. this.refresh = false;
  339. }
  340. this.reportPageData = res.Data || {};
  341. if (res.Data.ListHzReport.length || res.Data.ListHzResource.length || res.Data.ListYxReport.length || res.Data.ListYxResource.length) {
  342. this.haveResultReport = true;
  343. } else {
  344. this.haveResultReport = false;
  345. }
  346. }
  347. },
  348. //获取微路演
  349. async getRoadshowList() {
  350. const res = await Home.microRoadshowList({
  351. PageSize: this.pageSize == 5 ? 6 : this.pageSize,
  352. CurrentIndex: this.pageNum,
  353. KeyWord: this.searchTxt.replace(/^\s+|\s+$/g, ""),
  354. Filter: Number(this.activitySelectActive),
  355. });
  356. if (res.Ret === 200) {
  357. this.status = this.pageNum < res.Data.Paging.Pages ? "loadmore" : "nomore";
  358. this.totalPage = res.Data.Paging.Pages; //总页数
  359. if (this.pageNum == 1) {
  360. this.roadshowPageList = res.Data.List || [];
  361. this.haveResultRoadshow = this.roadshowPageList.length > 0 ? true : false;
  362. if (this.refresh) {
  363. uni.stopPullDownRefresh();
  364. this.refresh = false;
  365. }
  366. } else {
  367. this.roadshowPageList = this.roadshowPageList.concat(res.Data.List);
  368. }
  369. }
  370. },
  371. //点击了更多
  372. tabsActiveMore(val) {
  373. this.tabsActive = val;
  374. this.getListInit();
  375. this.getDataList();
  376. },
  377. //纪要、图标的筛选
  378. summarySelectHandler(item, type) {
  379. this.pageNum = 1;
  380. if (type == "纪要") {
  381. this.summarySelectActive = item.value;
  382. this.resultList = [];
  383. this.resultDataList = [];
  384. this.synthesiz();
  385. } else if (type == "活动") {
  386. this.activitySelectActive = item.value;
  387. this.collectList = [];
  388. this.getActivityBackList();
  389. } else if (type == "微路演") {
  390. this.activitySelectActive = item.value;
  391. this.roadshowPageList = [];
  392. this.getRoadshowList();
  393. }
  394. },
  395. /* 历史搜索清空 */
  396. clearHistory() {
  397. this.getRecordTracking("清空搜索历史");
  398. this.historySearchList = [];
  399. this.$db.del("historySearchList");
  400. },
  401. // 数据 初始化
  402. getListInit() {
  403. uni.pageScrollTo({
  404. scrollTop: 0,
  405. duration: 300,
  406. });
  407. this.pageNum = 1;
  408. this.pageSize = this.tabsActive == 1 ? 5 : 10;
  409. this.totalPage = 0;
  410. this.summarySelectActive = "Matching";
  411. this.activitySelectActive = "0";
  412. this.status = "loadmore";
  413. this.resultList = [];
  414. this.resultDataList = [];
  415. this.collectList = [];
  416. this.reportPageData = {};
  417. this.roadshowPageList = [];
  418. },
  419. // 进入页面 load的事件
  420. laodInit(options) {
  421. if (Object.keys(options).length && options.searchTxt) {
  422. this.searchTxt = options.searchTxt;
  423. this.tabsActive = options.tabsActive;
  424. this.summarySelectActive = options.summaryActive;
  425. this.activitySelectActive = options.activityActive;
  426. this.searchTxt && this.getDataList();
  427. }
  428. },
  429. // 报告、资源包的关注 改变状态
  430. updateFllow(id, type) {
  431. let typeName = type == "弘则" ? "ListHzResource" : "ListYxResource";
  432. this.reportPageData[typeName].forEach((key) => {
  433. if (key.IndustrialManagementId == id) {
  434. if (key.IsFollw) {
  435. uni.showToast({
  436. title: "已取消关注",
  437. icon: "none",
  438. duration: 2000,
  439. });
  440. }
  441. key.IsFollw = !key.IsFollw;
  442. }
  443. });
  444. },
  445. },
  446. onLoad(options) {
  447. this.getRecordTracking("搜索入口:" + options.source);
  448. this.researchHotKeyWord();
  449. this.laodInit(options);
  450. if (this.$db.get("historySearchList")) {
  451. this.historySearchList = JSON.parse(this.$db.get("historySearchList"));
  452. }
  453. },
  454. onShow() {
  455. this.$store.commit("setRouterActivity", "搜索");
  456. this.$store.commit("setRouterReport", "搜索");
  457. this.$store.dispatch("checkHandle");
  458. },
  459. /* 下拉刷新 */
  460. onPullDownRefresh: Throttle(function () {
  461. this.page_no = 1;
  462. this.refresh = true;
  463. this.getDataList();
  464. }),
  465. // 上拉加载this.resultList
  466. onReachBottom: Throttle(function () {
  467. if (this.tabsActive == 1 || this.tabsActive == 3) return;
  468. if (this.status === "nomore") return;
  469. this.status = "loading";
  470. this.pageNum++;
  471. this.getDataList();
  472. }),
  473. // 分享
  474. onShareAppMessage({ from, target }) {
  475. if (from === "button") {
  476. let item = target.dataset.item;
  477. let audio_id = item.Type == 1 || item.AudioType == 1 ? item.Id : "";
  478. // type=2 -- 活动视频 type=3 -- 产业视频
  479. let video_id = item.Type == 2 || item.Type == 3 ? item.Id : "";
  480. let activity_id = item.Type == 2 && item.ActivityId > 0 ? item.ActivityId : "";
  481. let title_share = item.AudioTitle || item.Title;
  482. this.getRecordTracking("搜索转发", { ActivityId: item.ActivityId, Id: item.Id, Type: item.Type });
  483. return {
  484. title: this.isHorzMobile ? "好友向您推荐此内容,上传名片享查研观向免费月卡!" : title_share,
  485. path: "/pages/material/material?topTabsActive=4" + "&audioShareId=" + audio_id + "&videoShareId=" + video_id + "&activityId=" + activity_id,
  486. imageUrl: item.AudioShareImg || item.ShareImg,
  487. };
  488. } else {
  489. return {
  490. title: this.searchTxt || "搜索",
  491. path:
  492. "/pages-search/indedxSearch/indedxSearch?searchTxt=" +
  493. this.searchTxt +
  494. "&tabsActive=" +
  495. this.tabsActive +
  496. "&summaryActive=" +
  497. this.summarySelectActive +
  498. "&activityActive=" +
  499. this.activitySelectActive,
  500. };
  501. }
  502. },
  503. };
  504. </script>
  505. <style lang="scss" scoped>
  506. .search-container {
  507. background-color: #f5f6fa;
  508. padding: 200rpx 0 0rpx;
  509. min-height: 100vh;
  510. box-sizing: border-box;
  511. .sticky-content {
  512. position: fixed;
  513. top: 0;
  514. left: 0;
  515. width: 100%;
  516. z-index: 99;
  517. background-color: #fff;
  518. }
  519. .searchTarget-header {
  520. padding: 0 34rpx;
  521. width: 100%;
  522. position: relative;
  523. padding: 30rpx 0;
  524. display: flex;
  525. justify-content: center;
  526. align-items: center;
  527. .sea_ipt_placeholder {
  528. color: #8d8d8d;
  529. }
  530. .sea_ipt {
  531. width: 682rpx;
  532. height: 70rpx;
  533. line-height: 70rpx;
  534. box-sizing: border-box;
  535. background: #f9f9f9;
  536. font-size: 26rpx;
  537. color: #4a4a4a;
  538. padding: 0 180rpx 0 78rpx;
  539. border-radius: 70rpx;
  540. }
  541. .sea_ico {
  542. width: 31rpx;
  543. height: 31rpx;
  544. position: absolute;
  545. left: 68rpx;
  546. top: 50%;
  547. transform: translateY(-50%);
  548. }
  549. .ipt-right {
  550. display: flex;
  551. align-items: center;
  552. position: absolute;
  553. right: 59rpx;
  554. top: 50%;
  555. transform: translateY(-50%);
  556. color: #3385ff;
  557. .line {
  558. margin: 0 21rpx;
  559. color: #e0e0e0;
  560. }
  561. }
  562. }
  563. .search-cont {
  564. padding: 32rpx;
  565. font-size: 24rpx;
  566. margin-top: -80rpx;
  567. color: #666666;
  568. background-color: #fff;
  569. height: calc(100vh - 135rpx);
  570. overflow: hidden;
  571. .title {
  572. font-size: 32rpx;
  573. font-weight: 500;
  574. color: #333333;
  575. }
  576. .history {
  577. height: 270rpx;
  578. .history-title {
  579. display: flex;
  580. align-items: center;
  581. justify-content: space-between;
  582. .empty_ico {
  583. width: 36rpx;
  584. height: 36rpx;
  585. }
  586. }
  587. .history-item {
  588. width: 100%;
  589. overflow: hidden;
  590. display: flex;
  591. flex-wrap: wrap;
  592. .item {
  593. background-color: #f9f9f9;
  594. padding: 10rpx 20rpx;
  595. margin: 20rpx 20rpx 0 0;
  596. border-radius: 4rpx;
  597. }
  598. }
  599. }
  600. }
  601. .search-tabs {
  602. display: flex;
  603. align-items: center;
  604. width: 100%;
  605. font-size: 32rpx;
  606. color: #333333;
  607. padding-left: 35rpx;
  608. overflow: hidden;
  609. overflow-x: auto;
  610. background-color: #fff;
  611. margin-bottom: 10rpx;
  612. .tabs-item {
  613. margin-right: 50rpx;
  614. flex-shrink: 0;
  615. padding-bottom: 10rpx;
  616. position: relative;
  617. .item-act {
  618. width: 80%;
  619. position: absolute;
  620. bottom: 0;
  621. left: 50%;
  622. transform: translateX(-50%);
  623. height: 4rpx;
  624. border-radius: 21px;
  625. background: linear-gradient(90deg, #2e85ff 0%, #7eeaf6 100%);
  626. }
  627. }
  628. .active {
  629. color: #4791ff;
  630. font-weight: 500;
  631. }
  632. }
  633. .content {
  634. width: 100%;
  635. background-color: #f5f6fa;
  636. }
  637. .nodata {
  638. font-size: 40rpx;
  639. .bind-mobile {
  640. width: 244rpx;
  641. height: 58rpx;
  642. background: #3385ff;
  643. border-radius: 8rpx;
  644. font-size: 28rpx;
  645. line-height: 58rpx;
  646. text-align: center;
  647. color: #fff;
  648. margin: 50rpx auto;
  649. }
  650. }
  651. .more-box {
  652. display: flex;
  653. height: 88rpx;
  654. padding: 0 30rpx;
  655. align-items: center;
  656. justify-content: space-between;
  657. font-size: 28rpx;
  658. background-color: #f5f6fa;
  659. position: sticky;
  660. left: 0;
  661. z-index: 99;
  662. .more-text {
  663. font-weight: 500;
  664. color: #333333;
  665. &::before {
  666. content: "";
  667. display: inline-block;
  668. height: 20rpx;
  669. width: 4rpx;
  670. background-color: #3189ff;
  671. margin-right: 20rpx;
  672. }
  673. }
  674. .more-rivet {
  675. color: #3385ff;
  676. margin-left: 20rpx;
  677. }
  678. }
  679. .summary-select {
  680. display: flex;
  681. align-items: center;
  682. width: 252rpx;
  683. background-color: #fff;
  684. color: #999999;
  685. font-size: 24rpx;
  686. height: 51rpx;
  687. border-radius: 47rpx;
  688. box-shadow: 0rpx 0rpx 4rpx 0rpx rgba(0, 0, 0, 0.09);
  689. overflow: hidden;
  690. .select-item {
  691. display: flex;
  692. align-items: center;
  693. justify-content: center;
  694. width: 50%;
  695. height: 100%;
  696. border-radius: 47rpx;
  697. }
  698. .active-item {
  699. background-color: #3385ff;
  700. color: #fff;
  701. }
  702. }
  703. .activity-select {
  704. padding-right: 34rpx;
  705. height: 88rpx;
  706. position: sticky;
  707. top: 184rpx;
  708. left: 0;
  709. z-index: 99;
  710. background-color: #f5f6fa;
  711. }
  712. .select-roadshow {
  713. width: 345rpx !important;
  714. }
  715. .more-summary {
  716. top: 184rpx;
  717. }
  718. .more-report {
  719. top: 184rpx;
  720. z-index: 100;
  721. }
  722. .more-activity {
  723. top: 184rpx;
  724. z-index: 101;
  725. }
  726. }
  727. </style>
  728. <style lang="scss">
  729. #container-report-page {
  730. .industry-video-module {
  731. .global-video-box {
  732. .video-content {
  733. top: 400rpx !important;
  734. }
  735. .close-icon {
  736. top: 330rpx !important;
  737. }
  738. }
  739. }
  740. }
  741. </style>