indedxSearch.vue 21 KB

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