indedxSearch.vue 23 KB

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