indedxSearch.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724
  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 :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.historySearchList = [];
  398. this.$db.del("historySearchList");
  399. },
  400. getListInit() {
  401. uni.pageScrollTo({
  402. scrollTop: 0,
  403. duration: 300,
  404. });
  405. this.pageNum = 1;
  406. this.pageSize = this.tabsActive == 1 ? 5 : 10;
  407. this.totalPage = 0;
  408. this.summarySelectActive = "Matching";
  409. this.activitySelectActive = "0";
  410. this.status = "loadmore";
  411. this.resultList = [];
  412. this.resultDataList = [];
  413. this.collectList = [];
  414. this.reportPageData = {};
  415. this.roadshowPageList = [];
  416. },
  417. laodInit(options) {
  418. if (Object.keys(options).length && options.searchTxt) {
  419. this.searchTxt = options.searchTxt;
  420. this.tabsActive = options.tabsActive;
  421. this.summarySelectActive = options.summaryActive;
  422. this.activitySelectActive = options.activityActive;
  423. this.searchTxt && this.getDataList();
  424. }
  425. },
  426. },
  427. onLoad(options) {
  428. this.researchHotKeyWord();
  429. this.laodInit(options);
  430. if (this.$db.get("historySearchList")) {
  431. this.historySearchList = JSON.parse(this.$db.get("historySearchList"));
  432. }
  433. },
  434. onShow() {
  435. this.$store.commit("setRouterActivity", "搜索");
  436. this.$store.commit("setRouterReport", "搜索");
  437. this.$store.dispatch("checkHandle");
  438. },
  439. /* 下拉刷新 */
  440. onPullDownRefresh: Throttle(function () {
  441. this.page_no = 1;
  442. this.refresh = true;
  443. this.getDataList();
  444. }),
  445. // 上拉加载this.resultList
  446. onReachBottom: Throttle(function () {
  447. if (this.tabsActive == 1) return;
  448. if (this.status === "nomore") return;
  449. this.status = "loading";
  450. this.pageNum++;
  451. this.getDataList();
  452. }),
  453. // 分享
  454. onShareAppMessage({ from, target }) {
  455. if (from === "button") {
  456. let item = target.dataset.item;
  457. let audio_id = item.Type == 1 || item.AudioType == 1 ? item.Id : "";
  458. // type=2 -- 活动视频 type=3 -- 产业视频
  459. let video_id = item.Type == 2 || item.Type == 3 ? item.Id : "";
  460. let activity_id = item.Type == 2 && item.ActivityId > 0 ? item.ActivityId : "";
  461. let title_share = item.AudioTitle || item.Title;
  462. return {
  463. title: this.isHorzMobile ? "好友向您推荐此内容,上传名片享查研观向免费月卡!" : title_share,
  464. path: "/pages/material/material?topTabsActive=4" + "&audioShareId=" + audio_id + "&videoShareId=" + video_id + "&activityId=" + activity_id,
  465. imageUrl: item.AudioShareImg || item.ShareImg,
  466. };
  467. } else {
  468. return {
  469. title: this.searchTxt || "搜索",
  470. path:
  471. "/pages-search/indedxSearch/indedxSearch?searchTxt=" +
  472. this.searchTxt +
  473. "&tabsActive=" +
  474. this.tabsActive +
  475. "&summaryActive=" +
  476. this.summarySelectActive +
  477. "&activityActive=" +
  478. this.activitySelectActive,
  479. };
  480. }
  481. },
  482. };
  483. </script>
  484. <style lang="scss" scoped>
  485. .search-container {
  486. background-color: #f5f6fa;
  487. padding: 200rpx 0 0rpx;
  488. min-height: 100vh;
  489. box-sizing: border-box;
  490. .sticky-content {
  491. position: fixed;
  492. top: 0;
  493. left: 0;
  494. width: 100%;
  495. z-index: 99;
  496. background-color: #fff;
  497. }
  498. .searchTarget-header {
  499. padding: 0 34rpx;
  500. width: 100%;
  501. position: relative;
  502. padding: 30rpx 0;
  503. display: flex;
  504. justify-content: center;
  505. align-items: center;
  506. .sea_ipt_placeholder {
  507. color: #8d8d8d;
  508. }
  509. .sea_ipt {
  510. width: 682rpx;
  511. height: 70rpx;
  512. line-height: 70rpx;
  513. box-sizing: border-box;
  514. background: #f9f9f9;
  515. font-size: 26rpx;
  516. color: #4a4a4a;
  517. padding: 0 180rpx 0 78rpx;
  518. border-radius: 70rpx;
  519. }
  520. .sea_ico {
  521. width: 31rpx;
  522. height: 31rpx;
  523. position: absolute;
  524. left: 68rpx;
  525. top: 50%;
  526. transform: translateY(-50%);
  527. }
  528. .ipt-right {
  529. display: flex;
  530. align-items: center;
  531. position: absolute;
  532. right: 59rpx;
  533. top: 50%;
  534. transform: translateY(-50%);
  535. color: #3385ff;
  536. .line {
  537. margin: 0 21rpx;
  538. color: #e0e0e0;
  539. }
  540. }
  541. }
  542. .search-cont {
  543. padding: 32rpx;
  544. font-size: 24rpx;
  545. margin-top: -80rpx;
  546. color: #666666;
  547. background-color: #fff;
  548. height: calc(100vh - 135rpx);
  549. overflow: hidden;
  550. .title {
  551. font-size: 32rpx;
  552. font-weight: 500;
  553. color: #333333;
  554. }
  555. .history {
  556. height: 270rpx;
  557. .history-title {
  558. display: flex;
  559. align-items: center;
  560. justify-content: space-between;
  561. .empty_ico {
  562. width: 36rpx;
  563. height: 36rpx;
  564. }
  565. }
  566. .history-item {
  567. width: 100%;
  568. overflow: hidden;
  569. display: flex;
  570. flex-wrap: wrap;
  571. .item {
  572. background-color: #f9f9f9;
  573. padding: 10rpx 20rpx;
  574. margin: 20rpx 20rpx 0 0;
  575. border-radius: 4rpx;
  576. }
  577. }
  578. }
  579. }
  580. .search-tabs {
  581. display: flex;
  582. align-items: center;
  583. width: 100%;
  584. font-size: 32rpx;
  585. color: #333333;
  586. padding-left: 35rpx;
  587. overflow: hidden;
  588. overflow-x: auto;
  589. background-color: #fff;
  590. margin-bottom: 10rpx;
  591. .tabs-item {
  592. margin-right: 50rpx;
  593. flex-shrink: 0;
  594. padding-bottom: 10rpx;
  595. position: relative;
  596. .item-act {
  597. width: 80%;
  598. position: absolute;
  599. bottom: 0;
  600. left: 50%;
  601. transform: translateX(-50%);
  602. height: 4rpx;
  603. border-radius: 21px;
  604. background: linear-gradient(90deg, #2e85ff 0%, #7eeaf6 100%);
  605. }
  606. }
  607. .active {
  608. color: #4791ff;
  609. font-weight: 500;
  610. }
  611. }
  612. .content {
  613. width: 100%;
  614. background-color: #f5f6fa;
  615. }
  616. .nodata {
  617. font-size: 40rpx;
  618. .bind-mobile {
  619. width: 244rpx;
  620. height: 58rpx;
  621. background: #3385ff;
  622. border-radius: 8rpx;
  623. font-size: 28rpx;
  624. line-height: 58rpx;
  625. text-align: center;
  626. color: #fff;
  627. margin: 50rpx auto;
  628. }
  629. }
  630. .more-box {
  631. display: flex;
  632. height: 88rpx;
  633. padding: 0 30rpx;
  634. align-items: center;
  635. justify-content: space-between;
  636. font-size: 28rpx;
  637. background-color: #f5f6fa;
  638. position: sticky;
  639. left: 0;
  640. z-index: 99;
  641. .more-text {
  642. font-weight: 500;
  643. color: #333333;
  644. &::before {
  645. content: "";
  646. display: inline-block;
  647. height: 20rpx;
  648. width: 4rpx;
  649. background-color: #3189ff;
  650. margin-right: 20rpx;
  651. }
  652. }
  653. .more-rivet {
  654. color: #3385ff;
  655. margin-left: 20rpx;
  656. }
  657. }
  658. .summary-select {
  659. display: flex;
  660. align-items: center;
  661. width: 252rpx;
  662. background-color: #fff;
  663. color: #999999;
  664. font-size: 24rpx;
  665. height: 51rpx;
  666. border-radius: 47rpx;
  667. box-shadow: 0rpx 0rpx 4rpx 0rpx rgba(0, 0, 0, 0.09);
  668. overflow: hidden;
  669. .select-item {
  670. display: flex;
  671. align-items: center;
  672. justify-content: center;
  673. width: 50%;
  674. height: 100%;
  675. border-radius: 47rpx;
  676. }
  677. .active-item {
  678. background-color: #3385ff;
  679. color: #fff;
  680. }
  681. }
  682. .activity-select {
  683. padding-right: 34rpx;
  684. height: 88rpx;
  685. position: sticky;
  686. top: 184rpx;
  687. left: 0;
  688. z-index: 99;
  689. background-color: #f5f6fa;
  690. }
  691. .select-roadshow {
  692. width: 345rpx !important;
  693. }
  694. .more-summary {
  695. top: 184rpx;
  696. }
  697. .more-report {
  698. top: 184rpx;
  699. z-index: 100;
  700. }
  701. .more-activity {
  702. top: 184rpx;
  703. z-index: 101;
  704. }
  705. }
  706. </style>
  707. <style lang="scss">
  708. #container-report-page {
  709. .industry-video-module {
  710. .global-video-box {
  711. .video-content {
  712. top: 400rpx !important;
  713. }
  714. .close-icon {
  715. top: 330rpx !important;
  716. }
  717. }
  718. }
  719. }
  720. </style>