IndustryReport.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686
  1. <template>
  2. <view class="container industry-content" id="industry-content">
  3. <view v-if="haveData">
  4. <view class="content-top">
  5. <view class="top-bg">
  6. <!-- 详情封面图 -->
  7. <image :src="industryVideo.DetailImgUrl" class="industry-video-poster" v-show="industryVideo.Id && industryVideo.DetailImgUrl && !havePlayed" @click="handelVideoPlay"></image>
  8. <!-- 视频 -->
  9. <video :src="industryVideo.ResourceUrl" class="industry-video" id="industry-video" v-show="industryVideo.ResourceUrl && (havePlayed || !industryVideo.DetailImgUrl)" controls></video>
  10. <view class="top-bg-title" :style="{ height: industryVideo.Id ? '70rpx' : '99rpx', 'background-color': industryVideo.Id ? 'white' : '#d1ebff' }">产业赛道布局于{{ layoutTime }}</view>
  11. </view>
  12. <!-- industryVideo.ResourceUrl -- 视频url -->
  13. <view class="top-box" :style="{ top: industryVideo.Id ? '418rpx' : '99rpx' }">
  14. <view class="top-tab-cont">
  15. <view class="tab-cont">
  16. <scroll-view scroll-x="true" scroll-with-animation class="scroll-tab" :scroll-into-view="'_' + tabIndex">
  17. <block v-for="(item, index) in tabBars" :key="item.CategoryId">
  18. <view :id="'_' + index" class="scroll-tab-item" :class="{ active: tabAct_id == item.CategoryId }" @click.stop="toggleTab(item, index)">
  19. {{ item.MatchTypeName }}
  20. <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/border_act.png" mode="" class="border_act" v-if="tabAct_id == item.CategoryId"></image>
  21. <text class="reg-hint" v-if="item.IsRed"></text>
  22. </view>
  23. </block>
  24. </scroll-view>
  25. </view>
  26. <view class="lucency" v-if="tabBars.length > 6"></view>
  27. </view>
  28. </view>
  29. </view>
  30. <view class="collect-ul" :style="{ 'padding-top': industryVideo.ResourceUrl ? '528rpx' : '210rpx' }">
  31. <!-- 其他tab -->
  32. <block v-show="tabAct_id !== 99999">
  33. <view class="collect-ltem" v-for="(item, index) in collectList" :key="index" @click="goDetail(item, index)">
  34. <view class="item-left">
  35. <text class="title text_twoLine"
  36. >{{ item.Title }}
  37. <text class="reg-text" v-if="item.IsRed"></text>
  38. </text>
  39. <text class="text_twoLine desc">{{ item.PublishDate }}</text>
  40. </view>
  41. <u-icon name="arrow-right" color="#BDBDBD" size="34"></u-icon>
  42. </view>
  43. <u-loadmore :status="status" icon-type="flower" :load-text="loadText" margin-top="20" v-if="totalPage > 1 && tabAct_id !== 99999" />
  44. </block>
  45. <!-- 时间线 -->
  46. <block v-if="tabAct_id === 99999">
  47. <view class="time-line">
  48. <view class="line-item" v-for="(item, index) in timeLine" :key="index" @click="goDetailFromTimeLine(item, index)">
  49. <view class="time">{{ item.date }}</view>
  50. <view class="content" v-if="item.Content.length">
  51. <text class="content-reg" v-if="item.IsRed"></text>
  52. <rich-text class="rich-text" :style="{ height: item.isExpand ? 'auto' : richTextHeight + 'px' }" :data-index="index" :class="{ expand: item.isExpand }" :nodes="item.Content">
  53. </rich-text>
  54. <view class="expan-btn" :class="{ pos: !item.isExpand }" @click="handleExpand(item, index)" v-if="item.isShowBtn">{{ item.isExpand ? "收起" : "展开" }}</view>
  55. </view>
  56. <view class="title" v-else>{{ item.Title }}</view>
  57. </view>
  58. <view v-show="loadTimeLine" class="loadTimeLine"></view>
  59. <u-loadmore :status="status" icon-type="flower" :load-text="loadText" margin-top="20" v-if="totalPage > 1 && tabAct_id === 99999" />
  60. </view>
  61. </block>
  62. </view>
  63. </view>
  64. <view class="nodata" v-else>
  65. <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/act_search.png" mode="" class="nodata_ico"></image>
  66. <text>暂时没有报告的内容</text>
  67. </view>
  68. <freeCharge class="free-charge" :isShowFreeBtn="isShowFree" />
  69. <!-- 权限弹窗 -->
  70. <modalDialog :isShowhasPermission="isShowhasPermission" :applyForIsShow="applyForIsShow" :jurisdictionList="jurisdictionList" :hasPermission="hasPermission" />
  71. </view>
  72. </template>
  73. <script>
  74. import { Mine, Home } from "@/config/api.js";
  75. import { Reports } from "@/config/api.js";
  76. import { Throttle } from "@/config/util.js";
  77. import freeCharge from "@/components/freeCharge";
  78. import modalDialog from "@/components/modalDialog.vue";
  79. let app = getApp({ allowDefault: true });
  80. export default {
  81. data() {
  82. return {
  83. tabAct_id: "",
  84. tabBars: [],
  85. industrialManagementId: "",
  86. layoutTime: "",
  87. refresh: false, //正在下拉
  88. page_no: 1,
  89. pageSize: 10,
  90. categoryId: "",
  91. collectList: [],
  92. isShow: false,
  93. haveData: true,
  94. status: "loadmore",
  95. loadText: {
  96. loadmore: "上拉加载更多",
  97. loading: "加载中",
  98. nomore: "已经到底了",
  99. },
  100. totalPage: "",
  101. toggleTabIndex: 0,
  102. titleReport: "",
  103. pcTabActive: "",
  104. industryVideo: {},
  105. authInfo: {},
  106. havePlayed: false,
  107. isShowhasPermission: false, // 联系销售的提交申请
  108. applyForIsShow: false, // 提交申请
  109. jurisdictionList: {},
  110. hasPermission: "", //权限
  111. timeLine: [], //时间线数据
  112. mockTimeLine: [
  113. {
  114. date: "不重要",
  115. Content: "<p>hello,world</p><p>hello,world</p><p>hello,world</p>",
  116. }, //第一项是为了获取当前手机下,三行是多少相对高度
  117. ],
  118. loadTimeLine: false, //时间线的遮罩
  119. richTextHeight: 1000, //晨会富文本最大高度
  120. };
  121. },
  122. onLoad(option) {
  123. this.industrialManagementId = option.id;
  124. this.tabAct_id = option.tab;
  125. this.toArticleCategoryList();
  126. },
  127. onShow() {
  128. this.$store.dispatch("statistics", { PageType: "IndustryList", IndustrialManagementId: this.industrialManagementId });
  129. },
  130. components: {
  131. freeCharge,
  132. modalDialog,
  133. },
  134. watch: {
  135. //监听tabs的变化
  136. tabAct_id: {
  137. handler(newVal) {
  138. this.tabBars.forEach((item) => {
  139. if (item.CategoryId == newVal) {
  140. this.$store.commit("setRouterReport", item.MatchTypeName);
  141. }
  142. });
  143. if (newVal) {
  144. this.page_no = 1;
  145. this.collectList = [];
  146. this.getCollectList();
  147. }
  148. },
  149. immediate: true,
  150. },
  151. },
  152. methods: {
  153. //tabs切换事件
  154. toggleTab(item, index) {
  155. this.toggleTabIndex = index;
  156. if (this.tabAct_id !== item.CategoryId) {
  157. this.tabAct_id = item.CategoryId;
  158. this.pageNum = 1;
  159. this.timeLine = [];
  160. this.totalPage = "";
  161. uni.pageScrollTo({
  162. scrollTop: 0,
  163. duration: 0,
  164. });
  165. }
  166. },
  167. toArticleCategoryList() {
  168. Reports.toArticleCategoryList({
  169. IndustrialManagementId: this.industrialManagementId,
  170. ShowTimeLine: 1,
  171. }).then((res) => {
  172. if (res.Ret == 200) {
  173. uni.setNavigationBarTitle({
  174. title: res.Data.IndustryName,
  175. });
  176. this.titleReport = res.Data.IndustryName;
  177. this.layoutTime = res.Data.LayoutTime;
  178. this.industryVideo = res.Data.IndustryVideo;
  179. this.authInfo = res.Data.AuthInfo;
  180. if (res.Data.List) {
  181. this.tabAct_id = res.Data.List[0].CategoryId;
  182. this.tabBars = res.Data.List;
  183. }
  184. }
  185. });
  186. },
  187. /* 获取列表 */
  188. getCollectList() {
  189. //just for test
  190. if (this.tabAct_id === 99999) {
  191. Reports.getArticleList({
  192. PageSize: this.pageSize,
  193. CurrentIndex: this.page_no,
  194. CategoryId: 99999,
  195. IndustrialManagementId: this.industrialManagementId,
  196. }).then((res) => {
  197. if (res.Ret === 200) {
  198. this.loadTimeLine = true;
  199. this.status = this.page_no < res.Data.Paging.Pages ? "loadmore" : "nomore";
  200. this.totalPage = res.Data.Paging.Pages;
  201. let list = res.Data.List || [];
  202. list = list.map((item) => {
  203. let temp = item;
  204. temp.date = item.PublishTime.split(" ")[0];
  205. if (item.Content.length) {
  206. temp.isExpand = true;
  207. temp.isShowBtn = true;
  208. }
  209. return temp;
  210. });
  211. if (this.page_no === 1) {
  212. this.timeLine = list;
  213. this.haveData = this.timeLine.length ? true : false;
  214. if (this.refresh) {
  215. uni.stopPullDownRefresh();
  216. this.refresh = false;
  217. }
  218. } else {
  219. this.timeLine = this.timeLine.concat(list);
  220. }
  221. }
  222. this.timeLine.unshift(this.mockTimeLine[0]);
  223. //在获取高度前把所有的晨会展开,收起的话无法获取正确高度
  224. this.timeLine.forEach((item) => {
  225. if (item.Content.length) {
  226. item.isExpand = true;
  227. item.isShowBtn = true;
  228. }
  229. });
  230. setTimeout(() => {
  231. this.getConentsHeight();
  232. }, 0);
  233. });
  234. return;
  235. }
  236. Reports.getArticleList({
  237. PageSize: this.pageSize,
  238. CurrentIndex: this.page_no,
  239. CategoryId: this.tabAct_id,
  240. IndustrialManagementId: this.industrialManagementId,
  241. }).then((res) => {
  242. if (res.Ret === 200) {
  243. this.status = this.page_no < res.Data.Paging.Pages ? "loadmore" : "nomore";
  244. this.totalPage = res.Data.Paging.Pages; //总页数
  245. if (this.page_no === 1) {
  246. this.pcTabActive = res.Data.ChartPermissionId;
  247. this.collectList = res.Data.List || [];
  248. this.haveData = this.collectList.length ? true : false;
  249. if (this.refresh) {
  250. uni.stopPullDownRefresh();
  251. this.refresh = false;
  252. }
  253. } else {
  254. this.collectList = this.collectList.concat(res.Data.List);
  255. }
  256. }
  257. });
  258. },
  259. async goDetail(item, index) {
  260. /* 无需授权且已绑定 检验是或否有权限 */
  261. await this.$store.dispatch("checkHandle");
  262. if (!this.$store.state.isAuth && !this.$store.state.isBind) {
  263. // 已授权已绑定
  264. if (item.SubCategoryName === "路演精华") {
  265. //跳转路演精华
  266. uni.navigateTo({
  267. url: "/reportPages/roadEssence/roadEssence?id=" + item.ArticleId,
  268. });
  269. } else {
  270. uni.navigateTo({
  271. url: "/pageMy/reportDetail/reportDetail?id=" + item.ArticleId,
  272. });
  273. }
  274. }
  275. },
  276. // 视频播放权限判断
  277. handelVideoPlay() {
  278. this.$store.commit("setRouterReport", "资源包详情页");
  279. if (!this.$store.state.isAuth && !this.$store.state.isBind) {
  280. if (this.authInfo.HasPermission == 1) {
  281. this.playVideo();
  282. } else {
  283. this.hasPermission = this.authInfo.HasPermission;
  284. this.jurisdictionList.ActivityId = this.industryVideo.Id;
  285. this.jurisdictionList.isAudioVideo = 3;
  286. if (this.hasPermission == 2) {
  287. this.jurisdictionList.SellerMobile = this.authInfo.SellerMobile;
  288. this.jurisdictionList.SellerName = this.authInfo.SellerName;
  289. this.jurisdictionList.PopupMsg = this.authInfo.PopupMsg;
  290. this.isShowhasPermission = true;
  291. } else if (this.hasPermission == 3 || this.hasPermission == 4 || this.hasPermission == 5) {
  292. this.jurisdictionList.PopupMsg = this.authInfo.PopupMsg;
  293. this.applyForIsShow = true;
  294. }
  295. }
  296. } else {
  297. this.$store.dispatch("checkHandle");
  298. }
  299. },
  300. // 播放视频
  301. playVideo() {
  302. const query = uni.createSelectorQuery().in(this);
  303. query
  304. .select("#industry-video")
  305. .context((data) => {
  306. data.context.play();
  307. this.handelVideoBindplay();
  308. setTimeout(() => {
  309. this.havePlayed = true;
  310. }, 10);
  311. })
  312. .exec();
  313. },
  314. //
  315. async handelVideoBindplay() {
  316. const res = await Home.microAideoHistoryAdd({ VideoId: this.industryVideo.Id, SourceType: 1, PageRouter: this.$store.state.pageRouterReport });
  317. },
  318. //展开收起晨会内容
  319. handleExpand(item, index) {
  320. item.isExpand = !item.isExpand;
  321. this.timeLine.splice(index, 1, item);
  322. },
  323. //获取所有晨会内容的高度并决定是否显示展开收起按钮
  324. getConentsHeight() {
  325. const query = wx.createSelectorQuery();
  326. query.selectAll(".rich-text").boundingClientRect();
  327. query.exec((res) => {
  328. //根据timeLine的第一项确定当前手机三行文字的高度
  329. const standardHeight = res[0][0].height;
  330. this.richTextHeight = standardHeight;
  331. res[0].forEach((item) => {
  332. let temp = this.timeLine[item.dataset.index];
  333. //超过这个高度的,需要显示展开/收起按钮
  334. if (item.height > standardHeight) {
  335. temp.isExpand = false;
  336. temp.isShowBtn = true;
  337. } else {
  338. temp.isExpand = true;
  339. temp.isShowBtn = false;
  340. }
  341. });
  342. //然后把timeLine的第一项扔掉
  343. this.timeLine.shift();
  344. this.loadTimeLine = false;
  345. });
  346. },
  347. async goDetailFromTimeLine(item, index) {
  348. if (item.Content.length !== 0) return;
  349. await this.$store.dispatch("checkHandle");
  350. if (!this.$store.state.isAuth && !this.$store.state.isBind) {
  351. // 已授权已绑定
  352. if (item.SubCategoryName === "路演精华") {
  353. //跳转路演精华
  354. uni.navigateTo({
  355. url: "/reportPages/roadEssence/roadEssence?id=" + item.Id,
  356. });
  357. } else {
  358. uni.navigateTo({
  359. url: "/pageMy/reportDetail/reportDetail?id=" + item.Id,
  360. });
  361. }
  362. }
  363. },
  364. getNode(content, isExpand) {
  365. return `<div style='-webkit-line-clamp: ${isExpand ? 9999 : 3};-webkit-box-orient: vertical;display: -webkit-box;overflow: hidden;text-overflow: ellipsis;'>${content}</div>`;
  366. },
  367. },
  368. /* 触底 */
  369. onReachBottom: Throttle(function () {
  370. if (this.status === "nomore") return;
  371. this.status = "loading";
  372. this.page_no++;
  373. if (this.tabAct_id) {
  374. this.getCollectList();
  375. }
  376. }),
  377. /* 下拉刷新 */
  378. onPullDownRefresh: Throttle(function () {
  379. if (this.tabAct_id) {
  380. this.page_no = 1;
  381. this.refresh = true;
  382. this.getCollectList();
  383. }
  384. }),
  385. /**
  386. * 用户点击分享
  387. */
  388. onShareAppMessage: function (res) {
  389. return {
  390. title: this.isHorzMobile ? "好友向您推荐此内容,上传名片享查研观向免费月卡!" : this.titleReport,
  391. path: "/reportPages/IndustryReport/IndustryReport?id=" + this.industrialManagementId + "&tab=" + this.tabAct_id + "&tabs=" + this.pcTabActive,
  392. success: (res) => {},
  393. fail: (err) => {},
  394. };
  395. },
  396. };
  397. </script>
  398. <style lang="scss">
  399. .industry-content {
  400. background-color: #f7f7f7;
  401. // height: 100vh;
  402. .top-bg {
  403. position: fixed;
  404. top: 0;
  405. left: 0;
  406. width: 100%;
  407. z-index: 100;
  408. background-color: white;
  409. text-align: center;
  410. .industry-video-poster {
  411. border-radius: 8rpx 8rpx 0 0;
  412. height: 340rpx;
  413. width: 728rpx;
  414. }
  415. .industry-video {
  416. height: 340rpx;
  417. width: 728rpx;
  418. }
  419. .top-bg-title {
  420. height: 99rpx;
  421. color: #2c83ff;
  422. background-color: #d1ebff;
  423. font-size: 28rpx;
  424. display: flex;
  425. align-items: center;
  426. justify-content: center;
  427. }
  428. .test {
  429. position: relative;
  430. span {
  431. position: absolute;
  432. left: 30rpx;
  433. bottom: 30rpx;
  434. color: white;
  435. }
  436. }
  437. }
  438. .top-box {
  439. position: fixed;
  440. width: 100%;
  441. top: 99rpx;
  442. left: 0;
  443. z-index: 100;
  444. }
  445. .top-tab-cont {
  446. .lucency {
  447. position: absolute;
  448. top: 0;
  449. right: 0;
  450. width: 32px;
  451. height: 30px;
  452. opacity: 0.9;
  453. background-color: #fff;
  454. }
  455. .tab-cont {
  456. padding: retu;
  457. padding: 30rpx 26rpx 0;
  458. background-color: #fff;
  459. font-size: 32rpx;
  460. box-shadow: 0 3rpx 6rpx rgba(187, 216, 255, 0.2);
  461. .scroll-tab {
  462. width: 100%;
  463. white-space: nowrap;
  464. }
  465. .scroll-tab-item {
  466. // flex-grow: 1;
  467. text-align: center;
  468. display: inline-block;
  469. padding: 0rpx 8rpx 30rpx 8rpx;
  470. margin-right: 60rpx;
  471. border-bottom: 8rpx solid transparent;
  472. position: relative;
  473. &:last-child {
  474. margin-right: 0;
  475. }
  476. &.active {
  477. border-bottom: none;
  478. color: #2c83ff;
  479. font-weight: 700;
  480. }
  481. .border_act {
  482. width: 100%;
  483. height: 8rpx;
  484. position: absolute;
  485. bottom: 0;
  486. left: 0;
  487. }
  488. .reg-hint {
  489. position: absolute;
  490. top: 0rpx;
  491. right: -10rpx;
  492. width: 14rpx;
  493. height: 14rpx;
  494. background-color: #ff0000;
  495. border-radius: 50%;
  496. }
  497. }
  498. }
  499. }
  500. .collect-ul {
  501. // margin-top: 30rpx;s
  502. padding-top: 210rpx;
  503. // padding-top: 4rpx;
  504. .collect-ltem {
  505. display: flex;
  506. padding: 30rpx 34rpx;
  507. background: #fff;
  508. margin-bottom: 4rpx;
  509. align-items: center;
  510. justify-content: space-between;
  511. .title {
  512. position: relative;
  513. max-width: 625rpx;
  514. color: #4a4a4a;
  515. font-size: 34rpx;
  516. padding-left: 28rpx;
  517. .reg-text {
  518. position: absolute;
  519. top: 15rpx;
  520. left: 0rpx;
  521. width: 14rpx;
  522. height: 14rpx;
  523. background-color: #ff0000;
  524. border-radius: 50%;
  525. z-index: 9;
  526. }
  527. }
  528. .desc {
  529. margin-top: 17rpx;
  530. padding-left: 28rpx;
  531. width: 625rpx;
  532. color: #999;
  533. }
  534. }
  535. .time-line {
  536. margin-top: 15rpx;
  537. padding: 30rpx 40rpx 50rpx 40rpx;
  538. min-height: calc(100vh - 190rpx);
  539. background-color: #ffffff;
  540. position: relative;
  541. .loadTimeLine {
  542. top: 0;
  543. bottom: 0;
  544. left: 0;
  545. right: 0;
  546. position: absolute;
  547. background-color: #fff;
  548. z-index: 6;
  549. }
  550. .line-item {
  551. position: relative;
  552. padding: 0 0 50rpx 40rpx;
  553. /* border-left:1rpx solid #DAE9FD; */
  554. &:last-child {
  555. padding-bottom: 0;
  556. &::after {
  557. height: calc(100% - 25rpx);
  558. }
  559. }
  560. &:first-child {
  561. .time {
  562. &::after {
  563. background-color: #3385ff;
  564. }
  565. }
  566. }
  567. &::before,
  568. &::after {
  569. position: absolute;
  570. content: "";
  571. }
  572. &::before {
  573. width: 24rpx;
  574. height: 24rpx;
  575. background-color: #dae9fd;
  576. z-index: 1;
  577. left: 0;
  578. top: 27rpx;
  579. transform: translate(-50%, -50%);
  580. border-radius: 50%;
  581. }
  582. &::after {
  583. top: 17rpx;
  584. left: 0;
  585. width: 1rpx;
  586. height: calc(100%);
  587. background-color: #dae9fd;
  588. z-index: 2;
  589. }
  590. .time {
  591. width: 245rpx;
  592. height: 55rpx;
  593. text-align: center;
  594. line-height: 45rpx;
  595. padding: 5rpx 20rpx;
  596. background-color: #f5f9ff;
  597. border-radius: 64rpx;
  598. color: #5181c9;
  599. font-size: 32rpx;
  600. margin-bottom: 20rpx;
  601. position: relative;
  602. &::before,
  603. &::after {
  604. position: absolute;
  605. content: "";
  606. left: -36rpx;
  607. top: 27rpx;
  608. width: 24rpx;
  609. height: 1rpx;
  610. background-color: #dae9fd;
  611. z-index: 1;
  612. }
  613. &::after {
  614. left: -40rpx;
  615. top: 27rpx;
  616. width: 12rpx;
  617. height: 12rpx;
  618. border-radius: 50%;
  619. transform: translate(-50%, -50%);
  620. background-color: #9dc5ff;
  621. z-index: 3;
  622. }
  623. }
  624. .content {
  625. color: #666666;
  626. position: relative;
  627. .rich-text {
  628. overflow: hidden;
  629. text-overflow: ellipsis;
  630. text-align: justify;
  631. display: -webkit-box;
  632. -webkit-line-clamp: 3;
  633. -webkit-box-orient: vertical;
  634. position: relative;
  635. &.expand {
  636. -webkit-line-clamp: 999;
  637. height: auto;
  638. }
  639. }
  640. .expan-btn {
  641. color: #2c83ff;
  642. text-align: right;
  643. &.pos {
  644. padding: 0 0 0 40rpx;
  645. background-color: rgba(255, 255, 255, 0.882);
  646. position: absolute;
  647. right: 0;
  648. bottom: 0;
  649. }
  650. }
  651. .content-reg {
  652. position: absolute;
  653. top: 10rpx;
  654. left: -20rpx;
  655. width: 14rpx;
  656. height: 14rpx;
  657. background-color: #ff0000;
  658. border-radius: 50%;
  659. }
  660. }
  661. .title {
  662. color: #3385ff;
  663. }
  664. }
  665. }
  666. }
  667. }
  668. #industry-content {
  669. .industry-video-module {
  670. .global-video-box {
  671. .video-content {
  672. top: 400rpx !important;
  673. }
  674. .close-icon {
  675. top: 330rpx !important;
  676. }
  677. }
  678. }
  679. }
  680. </style>