indedxSearch.vue 23 KB

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