index.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649
  1. <template>
  2. <page-meta :page-style="isMorningShow ? 'overflow: hidden;' : ''">
  3. <view class="container New-container">
  4. <view :class="['content-search', bannerClass && 'banne-bg', bannerPosition && 'banner-Position']">
  5. <view class="top-content-box">
  6. <search-bar @goSearch="goSearch" :searchTitle="searchPlaceholderList.SummarySearch" :width="58">
  7. <template slot="content-left">
  8. <view class="box-img" @click="goMyInfo">
  9. <view class="content-img">
  10. <image v-if="info.Headimgurl" :src="info.Headimgurl" alt=""></image>
  11. <image v-else src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/logo.png" class="avatar"></image>
  12. </view>
  13. </view>
  14. </template>
  15. </search-bar>
  16. </view>
  17. </view>
  18. <view class="banne-content" v-if="bannerDataList.length">
  19. <swiper autoplay :interval="4000" circular indicator-dots>
  20. <view v-for="item in bannerDataList" :key="item.BannerId" @click="bannerSwiperHandler(item)">
  21. <swiper-item>
  22. <image :src="item.IndexImg"></image>
  23. <view class="banner-title">
  24. <text class="text_twoLine" :style="{ 'font-size': item.Subtitle.length > 24 ? '45rpx' : '50rpx' }">
  25. {{ item.Title }}
  26. </text>
  27. <text class="time text_twoLine"> {{ item.Subtitle }}</text>
  28. </view>
  29. </swiper-item>
  30. </view>
  31. </swiper>
  32. </view>
  33. <view class="lable-select-box">
  34. <view class="global_two_tabs industry-box-tabs">
  35. <view
  36. :class="['item', item.ChartPermissionId == industrytabActId && 'tabs-active']"
  37. v-for="(item, index) in industryTablList"
  38. :key="item.ChartPermissionId"
  39. @click="toggleIndustryTab(item, index)"
  40. >
  41. {{ item.PermissionName }}
  42. </view>
  43. </view>
  44. <view
  45. v-if="isTopHeight"
  46. class="lable-select-content"
  47. :style="[{ top: isTopHeight }, { 'background-color': isScrollNumber >= 175 ? '#fff' : '#f5f6fa' }, { 'box-shadow': isScrollNumber >= 175 ? '0rpx 3rpx 8rpx 0rpx rgba(0, 0, 0, 0.16)' : '' }]"
  48. >
  49. <view class="lable-row" v-for="(item, index) in lableIsRows" :key="index">
  50. <view :class="['lable-item', lable.isAct && 'item-active']" v-for="lable in item" :key="lable.TagId" @click="lableKeysHandler(lable)">
  51. {{ lable.TagName }}
  52. </view>
  53. </view>
  54. </view>
  55. </view>
  56. <block v-if="newDataList && newDataList.length">
  57. <view class="content-ul">
  58. <view class="item-ul">
  59. <block v-for="(item, index) in newDataList" :key="index">
  60. <view v-if="index % 2 == 0 && item.IsShowData">
  61. <block v-if="item.Source === 'article' || item.Source === 'yanxuanspecial'"> <ReportItem :list="item.Article" /></block>
  62. <block v-if="item.Source === 'newchart'">
  63. <ChartItem :list="item.Newchart" :isMyChartCollection="isMyChartCollection" @myChartIsTop="myChartIsTop" @myChartCollect="myChartCollect" />
  64. </block>
  65. <block v-if="item.Source === 'roadshow' || item.Source === 'activityvideo' || item.Source === 'activityvoice' || item.Source === 'askserievideo'">
  66. <RoadshowItem :list="item.Roadshow" @isCollectionHandeler="isCollectionHandeler" />
  67. </block>
  68. <block v-if="item.Source === 'activity' || item.Source === 'activityspecial'">
  69. <ActivityItem :list="item.Activity" />
  70. </block>
  71. <block v-if="['researchsummary', 'minutessummary', 'meetingreviewchapt', 'productinterior', 'reportselection'].includes(item.Source)">
  72. <item-content :list="dataListItem(item)" @showMorningDialog="showMorningDialog" />
  73. </block>
  74. </view>
  75. </block>
  76. </view>
  77. <view class="item-ul">
  78. <block v-for="(item, index) in newDataList" :key="index">
  79. <view v-if="index % 2 !== 0 && item.IsShowData">
  80. <block v-if="item.Source === 'article' || item.Source === 'yanxuanspecial'"> <ReportItem :list="item.Article" /></block>
  81. <block v-if="item.Source === 'newchart'">
  82. <ChartItem :list="item.Newchart" :isMyChartCollection="isMyChartCollection" @myChartIsTop="myChartIsTop" @myChartCollect="myChartCollect" />
  83. </block>
  84. <block v-if="item.Source === 'roadshow' || item.Source === 'activityvideo' || item.Source === 'activityvoice' || item.Source === 'askserievideo'">
  85. <RoadshowItem :list="item.Roadshow" @isCollectionHandeler="isCollectionHandeler" />
  86. </block>
  87. <block v-if="item.Source === 'activity' || item.Source === 'activityspecial'">
  88. <ActivityItem :list="item.Activity" />
  89. </block>
  90. <block v-if="['researchsummary', 'minutessummary', 'meetingreviewchapt', 'productinterior', 'reportselection'].includes(item.Source)">
  91. <item-content :list="dataListItem(item)" @showMorningDialog="showMorningDialog" />
  92. </block>
  93. </view>
  94. </block>
  95. </view>
  96. </view>
  97. <u-loadmore :status="status" icon-type="flower" :load-text="loadText" margin-top="20" v-if="page_no > 1" />
  98. </block>
  99. <view class="nodata" v-else>
  100. <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/act_search.png" mode="" class="nodata_ico"></image>
  101. <text style="">暂无数据</text>
  102. </view>
  103. <!-- <view v-if="newDataList.length === 4" class="bind-btn">
  104. <view @click="goLogin"> 为了给您提供更好的使用体验,<br />请 <text class="login-text">登录</text>后再查看此页面内容</view>
  105. </view> -->
  106. <morning-dlg v-if="isMorningShow" :isMorningShow.sync="isMorningShow" :morningItem.sync="morningItem" />
  107. </view>
  108. <suspenButton :show.sync="wholeShowListData.IsShow" v-if="wholeShowListData.IsShow" ref="suspenButton">
  109. <template slot="center">
  110. <image mode="widthFix" style="height: 120rpx; width: 120rpx" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/new_cygx/most_confidential.png "> </image>
  111. </template>
  112. <template slot="top">
  113. <image @click.stop="goSecretDetail(1)" mode="widthFix" style="height: 120rpx; width: 120rpx" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/company_icon.png"> </image>
  114. </template>
  115. <template slot="left">
  116. <image @click.stop="goSecretDetail(3)" mode="widthFix" style="height: 120rpx; width: 120rpx" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/week_summary.png"> </image>
  117. </template>
  118. </suspenButton>
  119. <Loading />
  120. <videoModule :showVideoPop.sync="showVideoPopUp" :videoPopList="videoPopListUp" />
  121. <view v-if="showAudioBox">
  122. <audioModule :showAudioPop.sync="showAudioPop" />
  123. </view>
  124. </page-meta>
  125. </template>
  126. <script>
  127. import { Home, Mine, Reports } from "@/config/api";
  128. import ChartItem from "@/components/ItemComponent/chartItem.vue";
  129. import ReportItem from "@/components/ItemComponent/reportItem.vue";
  130. import RoadshowItem from "@/components/ItemComponent/roadshowItem.vue";
  131. import ActivityItem from "@/components/ItemComponent/activityItem.vue";
  132. import SearchBar from "@/components/search-bar/searchBar.vue";
  133. import MorningDlg from "./components/morningDlg.vue";
  134. import ItemContent from "./components/ItemContent.vue";
  135. import videoModule from "@/components/videoModule/index";
  136. import suspenButton from "@/components/suspen_button.vue";
  137. import audioModule from "@/components/audioModule/index";
  138. export default {
  139. data() {
  140. return {
  141. newDataList: [],
  142. page_no: 1,
  143. pageSize: 10,
  144. status: "loadmore",
  145. refresh: false, //正在下拉
  146. loadText: {
  147. loadmore: "上拉加载更多",
  148. loading: "加载中",
  149. nomore: "已经到底了",
  150. },
  151. info: {},
  152. isMorningShow: false, // 晨会的弹框
  153. morningItem: {}, // 晨会的弹框
  154. bannerDataList: [], // banner数据
  155. showVideoPopUp: false, //
  156. videoPopListUp: {},
  157. isScrollNumber: 0,
  158. dataListLable: [], // 标签的数据
  159. actIdLable: "", // 标签选择后的ID
  160. isTopHeight: "",
  161. lableArrList: [],
  162. showAudioPop: false,
  163. industryTablList: [],
  164. industrytabActId: 0,
  165. };
  166. },
  167. computed: {
  168. bannerClass() {
  169. //判断banner的样式
  170. return this.bannerDataList.length > 0 && this.isScrollNumber < 235;
  171. },
  172. bannerPosition() {
  173. return this.bannerDataList.length > 0;
  174. },
  175. lableIsRows() {
  176. //处理标签的样式
  177. const numTags = this.dataListLable.length;
  178. const rows = [];
  179. if (numTags <= 4) {
  180. rows.push(this.dataListLable);
  181. } else if (numTags > 4 && numTags <= 8) {
  182. const firstRow = this.dataListLable.slice(0, 4);
  183. const secondRow = this.dataListLable.slice(4);
  184. rows.push(firstRow, secondRow);
  185. } else if (numTags >= 9) {
  186. const firstRow = this.dataListLable.filter((_, index) => index % 2 === 0);
  187. const secondRow = this.dataListLable.filter((_, index) => index % 2 !== 0);
  188. rows.push(firstRow, secondRow);
  189. }
  190. return rows;
  191. },
  192. showAudioBox() {
  193. return this.$store.state.audioBg.parseIntShow;
  194. },
  195. },
  196. components: {
  197. ChartItem,
  198. ReportItem,
  199. RoadshowItem,
  200. ActivityItem,
  201. SearchBar,
  202. MorningDlg,
  203. ItemContent,
  204. videoModule,
  205. suspenButton,
  206. audioModule,
  207. },
  208. methods: {
  209. // 获取最先数据
  210. async getNewList() {
  211. const res = await Home.getNewList({
  212. PageSize: this.pageSize,
  213. CurrentIndex: this.page_no,
  214. TagIds: this.actIdLable,
  215. ChartPermissionId: this.industrytabActId,
  216. });
  217. if (res.Ret === 200) {
  218. this.status = !res.Data.Paging.IsEnd ? "loadmore" : "nomore";
  219. let listArr = [];
  220. res.Data.List &&
  221. res.Data.List.forEach((item) => {
  222. let obj = {
  223. Source: item.Source,
  224. Article: item.Article || item.YanxuanSpecial,
  225. Newchart: item.Newchart,
  226. Activity: item.Activity || item.Activityspecial,
  227. Roadshow: item.Roadshow || item.Activityvideo || item.Activityvoice || item.AskserieVideo,
  228. ThreeSummary: item.Researchsummary || item.Minutessummary || item.Meetingreviewchapt || item.ProductInterior || item.ReportSelection,
  229. };
  230. listArr.push({ ...obj, IsShowData: obj.Article || obj.Newchart || obj.Roadshow || obj.Activity || obj.ThreeSummary || item.YanxuanSpecial });
  231. });
  232. this.newDataList = this.page_no === 1 ? listArr : [...this.newDataList, ...listArr];
  233. if (this.refresh) {
  234. uni.stopPullDownRefresh();
  235. this.refresh = false;
  236. }
  237. }
  238. },
  239. // 微路演收藏
  240. async isCollectionHandeler(item) {
  241. await this.$store.dispatch("showLoginModal");
  242. const res = await Home.microRoadshowCollect({
  243. SourceId: item.SourceId,
  244. SourceType: item.Type,
  245. PageRouter: this.$store.state.pageRouterReport,
  246. });
  247. if (res.Ret === 200) {
  248. console.log(item, this.newDataList);
  249. let index = this.newDataList.findIndex((key) => key.Roadshow && key.Roadshow.SourceId == item.SourceId && key.Roadshow.Type == item.Type);
  250. res.Data.Status == 1 ? (this.newDataList[index].Roadshow.IsCollect = true) : (this.newDataList[index].Roadshow.IsCollect = false);
  251. uni.showToast({
  252. title: res.Msg,
  253. duration: 2000,
  254. });
  255. }
  256. },
  257. // 跳转到我的页面
  258. goMyInfo() {
  259. uni.navigateTo({
  260. url: "/pageMy/myPage/myPage",
  261. });
  262. },
  263. // 跳转绑定页面
  264. goLogin() {
  265. uni.showModal({
  266. title: "即将前往登录页面,请确认是否继续",
  267. content: "为了给您提供更好的使用体验,请登录后再进行查看或操作",
  268. confirmColor: "#376cbb",
  269. cancelColor: "#606266",
  270. success: function (res) {
  271. if (res.confirm) {
  272. //已授权未绑定
  273. uni.navigateTo({
  274. url: "/pageMy/login/login",
  275. });
  276. } else if (res.cancel) {
  277. console.log("用户点击取消");
  278. }
  279. },
  280. });
  281. },
  282. /* 搜索 */
  283. goSearch() {
  284. uni.navigateTo({ url: "/pages-search/indedxSearch/indedxSearch?isType=" + this.topTabsActive + "&source=首页页面" });
  285. },
  286. async getUserInfo() {
  287. const res = await Mine.getInfo();
  288. if (res.Ret === 200) {
  289. this.info = res.Data;
  290. }
  291. },
  292. // 晨会弹框显示
  293. async showMorningDialog(item) {
  294. if (item.Source == "meetingreviewchapt") {
  295. const res = await Reports.morning_meeting_history({ Id: item.Id, SourcePage: "首页" });
  296. this.isMorningShow = true;
  297. this.morningItem = item;
  298. }
  299. },
  300. dataListItem(item) {
  301. let obj = item.ThreeSummary ? { ...item.ThreeSummary, Source: item.Source } : {};
  302. return obj;
  303. },
  304. /* 绝密标签点击后的跳转 */
  305. goSecretDetail(type) {
  306. if (type == 1) {
  307. uni.navigateTo({
  308. url: "/reportPages/keyCompany/keyCompany",
  309. });
  310. } else {
  311. uni.navigateTo({
  312. url: "/reportPages/secretDetails/secretDetails",
  313. });
  314. }
  315. this.$refs.suspenButton.onOpen();
  316. },
  317. // 获取banner 列表
  318. async getBannerList() {
  319. const res = await Home.bannerList();
  320. if (res.Ret === 200) {
  321. this.bannerDataList = res.Data.List || [];
  322. }
  323. },
  324. // bannaer 点击事件
  325. async bannerSwiperHandler(item) {
  326. let { Type, SourceId, Path } = item.BannerUrlResp;
  327. if (Type == 1) return;
  328. await Home.bannerHistory({
  329. BannerId: item.BannerId,
  330. });
  331. if (Type == 5) {
  332. let obj = {
  333. BackgroundImg: "https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/my_log.png",
  334. Id: SourceId,
  335. PlaySeconds: "15",
  336. ResourceUrl: "https://hzstatic.hzinsights.com/static/yb/video/8617330c2a76e0c35999f6466b4470c4.mp4",
  337. Title: "三分钟了解弘则研究体系和方法论",
  338. Type: "三分钟了解弘则研究体系和方法论",
  339. };
  340. this.videoPopListUp = obj;
  341. this.showVideoPopUp = true;
  342. await Mine.addHistory();
  343. } else {
  344. Path &&
  345. uni.navigateTo({
  346. url: Path + SourceId,
  347. });
  348. }
  349. },
  350. async lableKeysHandler(item) {
  351. const checkList = item.CheckList;
  352. if (item.isAct) {
  353. item.isAct = false;
  354. this.lableArrList = this.lableArrList.filter((key) => checkList.includes(key));
  355. this.getLableDataList();
  356. return;
  357. }
  358. let isFlag = false; //是否有交集
  359. for (let e of checkList) {
  360. if (this.lableArrList.includes(e)) {
  361. isFlag = true;
  362. break;
  363. }
  364. }
  365. if (!isFlag) {
  366. this.lableArrList = [...this.lableArrList, ...checkList];
  367. item.isAct = true;
  368. } else {
  369. //有交集
  370. // 找到有交集的那个 设置为false 然后将点击的这个设置为true
  371. this.lableIsRows.forEach((e1) => {
  372. e1.forEach((e2) => {
  373. let flag = false;
  374. for (let i of e2.CheckList) {
  375. if (this.lableArrList.includes(i)) {
  376. flag = true;
  377. break;
  378. }
  379. }
  380. if (flag) {
  381. e2.isAct = false;
  382. }
  383. });
  384. });
  385. item.isAct = true;
  386. }
  387. this.getLableDataList();
  388. if (!item.isAct) return;
  389. const res = await Home.tagAddHistory({
  390. TagId: item.TagId,
  391. });
  392. },
  393. getLableDataList() {
  394. let actId = [];
  395. this.lableIsRows.forEach((item) => {
  396. item.forEach((_) => {
  397. _.isAct && actId.push(_.TagId);
  398. });
  399. });
  400. this.page_no = 1;
  401. this.actIdLable = actId.join(",");
  402. this.getNewList();
  403. },
  404. // 或者标签内容
  405. async homeTagListCustom() {
  406. const res = await Home.homeTagListCustom();
  407. if (res.Ret === 200) {
  408. this.dataListLable = res.Data.List || [];
  409. this.industryTablList = res.Data.ListPermission || [];
  410. }
  411. },
  412. // 行业选择的筛选
  413. toggleIndustryTab(item) {
  414. if (this.industrytabActId === item.ChartPermissionId) {
  415. this.industrytabActId = 0;
  416. } else {
  417. this.industrytabActId = item.ChartPermissionId;
  418. }
  419. this.page_no = 1;
  420. this.getNewList();
  421. },
  422. },
  423. mounted() {
  424. uni.$on("updateNewList", (data) => {
  425. this.page_no = 1;
  426. this.getNewList();
  427. });
  428. },
  429. onLoad() {
  430. this.getBannerList();
  431. this.getNewList();
  432. this.homeTagListCustom();
  433. let menuButtonInfo = uni.getMenuButtonBoundingClientRect();
  434. this.isTopHeight = menuButtonInfo.height + menuButtonInfo.top + 7 + "px";
  435. },
  436. onShow() {
  437. this.getUserInfo();
  438. this.getRecordTracking("首页");
  439. this.$store.commit("setRouterActivity", "首页");
  440. this.$store.commit("setRouterReport", "首页");
  441. },
  442. // 加载数据
  443. onReachBottom() {
  444. if (this.status === "nomore" || this.newDataList.length < 8) return;
  445. this.status = "loading";
  446. this.page_no++;
  447. this.getNewList();
  448. },
  449. // 下拉刷新
  450. onPullDownRefresh() {
  451. this.page_no = 1;
  452. this.refresh = true;
  453. this.getNewList();
  454. },
  455. onPageScroll(val) {
  456. this.isScrollNumber = val.scrollTop;
  457. },
  458. /** 用户点击分享*/
  459. onShareAppMessage: function ({ from, target }) {
  460. if (from === "button") {
  461. let item = target.dataset.item;
  462. let audio_id = item.Type == 1 || item.AudioType == 1 ? item.Id : "";
  463. // type=2 -- 活动视频 type=3 -- 产业视频
  464. let video_id = item.Type == 2 || item.Type == 3 ? item.Id : "";
  465. let activity_id = item.Type == 2 && item.ActivityId > 0 ? item.ActivityId : "";
  466. let title_share = item.AudioTitle || item.Title;
  467. this.getRecordTracking("首页转发", { ActivityId: item.ActivityId, Id: item.Id, Type: item.Type });
  468. return {
  469. title: this.isHorzMobile ? "好友向您推荐此内容,上传名片享查研观向免费月卡!" : title_share,
  470. path: "/pages/material/material?topTabsActive=4" + "&audioShareId=" + audio_id + "&videoShareId=" + video_id + "&activityId=" + activity_id,
  471. imageUrl: item.AudioShareImg || item.ShareImg,
  472. };
  473. } else {
  474. return {
  475. title: this.isHorzMobile ? "好友向您推荐此内容,上传名片享查研观向免费月卡!" : "弘则研究—聚焦·前瞻·客观·深度",
  476. path: "/pages/index/index",
  477. success: (res) => {},
  478. fail: (err) => {},
  479. };
  480. }
  481. },
  482. };
  483. </script>
  484. <style lang="scss" scoped>
  485. .New-container {
  486. background-color: $uni-bg-color;
  487. .content-search {
  488. position: sticky;
  489. top: 0;
  490. left: 0;
  491. width: 100%;
  492. z-index: 9;
  493. .top-content-box {
  494. position: sticky;
  495. top: 0;
  496. left: 0;
  497. width: 100%;
  498. z-index: 9;
  499. }
  500. }
  501. .banner-Position {
  502. position: fixed !important;
  503. }
  504. .banne-bg {
  505. /deep/ .nav-bar-wrap {
  506. background-color: transparent;
  507. }
  508. }
  509. .banne-content {
  510. height: 402rpx;
  511. width: 100%;
  512. overflow: hidden;
  513. swiper {
  514. height: 402rpx;
  515. }
  516. image {
  517. width: 100%;
  518. height: 100%;
  519. }
  520. .banner-title {
  521. position: absolute;
  522. bottom: 35rpx;
  523. left: 20rpx;
  524. color: #fff;
  525. font-weight: 500;
  526. line-height: 65rpx;
  527. min-height: 160rpx;
  528. max-height: 225rpx;
  529. overflow: hidden;
  530. .time {
  531. font-size: 28rpx;
  532. line-height: 39rpx;
  533. }
  534. }
  535. .top-content-box {
  536. position: absolute;
  537. top: 0;
  538. left: 0;
  539. width: 100%;
  540. z-index: 9;
  541. }
  542. }
  543. /deep/ .nav-bar-wrap {
  544. padding-left: 35rpx;
  545. .box-img {
  546. position: relative;
  547. height: 64rpx;
  548. width: 64rpx;
  549. display: flex;
  550. align-items: center;
  551. justify-content: center;
  552. margin-right: 20rpx;
  553. border-radius: 50%;
  554. image {
  555. width: 64rpx;
  556. height: 64rpx;
  557. }
  558. .content-img {
  559. position: absolute;
  560. top: 0;
  561. left: 0;
  562. width: 64rpx;
  563. height: 64rpx;
  564. border-radius: 50%;
  565. overflow: hidden;
  566. z-index: 9;
  567. }
  568. }
  569. }
  570. .content-ul {
  571. padding: 20rpx 10rpx;
  572. display: flex;
  573. justify-content: space-between;
  574. .item-ul {
  575. width: 49%;
  576. &:first-child {
  577. margin-right: 10rpx;
  578. }
  579. }
  580. }
  581. .bind-btn {
  582. padding-top: 110rpx;
  583. text-align: center;
  584. font-size: 24rpx;
  585. color: #333;
  586. line-height: 39rpx;
  587. padding-bottom: 100rpx;
  588. .login-text {
  589. display: inline-block;
  590. color: #376cbb;
  591. }
  592. }
  593. .lable-select-box {
  594. position: sticky;
  595. left: 0;
  596. top: 88px;
  597. z-index: 9;
  598. width: 100%;
  599. }
  600. .lable-select-content {
  601. overflow: hidden;
  602. overflow-x: auto;
  603. width: 100%;
  604. background-color: #fff;
  605. padding: 10rpx 0 20rpx 20rpx;
  606. .lable-row {
  607. display: flex;
  608. font-size: 24rpx;
  609. }
  610. .lable-item {
  611. flex-shrink: 0;
  612. padding: 8rpx 40rpx;
  613. background: #ffffff;
  614. border: 1rpx solid #dcdfe6;
  615. border-radius: 39rpx;
  616. margin-right: 20rpx;
  617. white-space: nowrap;
  618. margin-top: 20rpx;
  619. color: #999999;
  620. }
  621. .item-active {
  622. border: none;
  623. font-weight: 500;
  624. background: #e5efff;
  625. color: $uni-color-new;
  626. }
  627. }
  628. .industry-box-tabs {
  629. background-color: #fff;
  630. align-items: center;
  631. justify-content: space-between;
  632. padding: 0 10rpx;
  633. .item {
  634. background-color: #f8f8fa;
  635. border-radius: 200rpx;
  636. height: 64rpx;
  637. }
  638. }
  639. }
  640. </style>