indedxSearch.vue 23 KB

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