123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705 |
- <template>
- <page-meta :page-style="isMorningShow ? 'overflow: hidden;' : ''">
- <view v-if="sourceType == '微信分享' && mixinIsSceneNumber == 1154" class="share-line-content">
- <view class="share-content-box">
- <image class="share-image" src="https://hzstatic.hzinsights.com/yx_xcx/home-share.png"></image>
- </view>
- <image class="share-report-go_cygx_xcx" src="https://hzstatic.hzinsights.com/new_cygx/go_cygx_xcx.png"></image>
- </view>
- <block v-else>
- <view class="container New-container">
- <view :class="['content-search', bannerClass && 'banne-bg', bannerPosition && 'banner-Position']">
- <view class="top-content-box">
- <search-bar @goSearch="goSearch" :searchTitle="searchPlaceholderList.SummarySearch" :width="58">
- <template slot="content-left">
- <view class="box-img" @click="goMyInfo">
- <view class="content-img">
- <image v-if="info.Headimgurl" :src="info.Headimgurl" alt=""></image>
- <image v-else src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/logo.png" class="avatar"></image>
- </view>
- </view>
- </template>
- </search-bar>
- </view>
- </view>
- <view class="banne-content" v-if="bannerDataList.length > 0">
- <swiper autoplay :interval="4000" circular indicator-dots>
- <view v-for="item in bannerDataList" :key="item.BannerId" @click="bannerSwiperHandler(item)">
- <swiper-item>
- <image :src="item.IndexImg"></image>
- <view class="banner-title">
- <text class="text_twoLine" :style="{ 'font-size': item.Subtitle.length > 24 ? '45rpx' : '50rpx' }">
- {{ item.Title }}
- </text>
- <text class="time text_twoLine"> {{ item.Subtitle }}</text>
- </view>
- </swiper-item>
- </view>
- </swiper>
- </view>
- <view class="lable-select-box" v-if="industryTablList.length > 0">
- <view class="global_two_tabs industry-box-tabs">
- <view
- :class="['item', item.ChartPermissionId == industrytabActId && 'tabs-active']"
- v-for="(item, index) in industryTablList"
- :key="item.ChartPermissionId"
- @click="toggleIndustryTab(item, index)"
- >
- {{ item.PermissionName }}
- </view>
- </view>
- <view
- v-if="isTopHeight"
- class="lable-select-content"
- :style="[
- { top: isTopHeight },
- { 'background-color': isScrollNumber >= 175 ? '#fff' : '#f5f6fa' },
- { 'box-shadow': isScrollNumber >= 175 ? '0rpx 3rpx 8rpx 0rpx rgba(0, 0, 0, 0.16)' : '' },
- ]"
- >
- <view class="lable-row" v-for="(item, index) in lableIsRows" :key="index">
- <view :class="['lable-item', lable.isAct && 'item-active']" v-for="lable in item" :key="lable.TagId" @click="lableKeysHandler(lable)">
- {{ lable.TagName }}
- <image v-if="lable.TagName == '问答'" class="item-image" lazy-load src="https://hzstatic.hzinsights.com/cygx/icon/new_report.png"></image>
- </view>
- </view>
- </view>
- </view>
- <block v-if="newDataList && newDataList.length">
- <view :class="['content-ul', industryTablList.length == 0 && 'content-ul-top']">
- <view class="item-ul">
- <block v-for="(item, index) in newDataList" :key="index">
- <view v-if="index % 2 == 0 && item.IsShowData">
- <block v-if="item.Source === 'article' || item.Source === 'yanxuanspecial' || item.Source === 'ficcreport'"> <ReportItem :list="item.Article" /></block>
- <block v-if="item.Source === 'newchart'">
- <ChartItem :list="item.Newchart" :isMyChartCollection="isMyChartCollection" @myChartIsTop="myChartIsTop" @myChartCollect="myChartCollect" />
- </block>
- <block v-if="item.Source === 'roadshow' || item.Source === 'activityvideo' || item.Source === 'activityvoice' || item.Source === 'askserievideo'">
- <RoadshowItem :list="item.Roadshow" @isCollectionHandeler="isCollectionHandeler" />
- </block>
- <block v-if="item.Source === 'activity' || item.Source === 'activityspecial'">
- <ActivityItem :list="item.Activity" />
- </block>
- <block v-if="['researchsummary', 'minutessummary', 'meetingreviewchapt', 'productinterior', 'reportselection'].includes(item.Source)">
- <item-content :list="dataListItem(item)" @showMorningDialog="showMorningDialog" />
- </block>
- <FiccReport v-if="item.Source === 'ficcreportxcx'" :list="item.FiccReportXcx" />
- </view>
- </block>
- </view>
- <view class="item-ul">
- <block v-for="(item, index) in newDataList" :key="index">
- <view v-if="index % 2 !== 0 && item.IsShowData">
- <block v-if="item.Source === 'article' || item.Source === 'yanxuanspecial' || item.Source === 'ficcreport'"> <ReportItem :list="item.Article" /></block>
- <block v-if="item.Source === 'newchart'">
- <ChartItem :list="item.Newchart" :isMyChartCollection="isMyChartCollection" @myChartIsTop="myChartIsTop" @myChartCollect="myChartCollect" />
- </block>
- <block v-if="item.Source === 'roadshow' || item.Source === 'activityvideo' || item.Source === 'activityvoice' || item.Source === 'askserievideo'">
- <RoadshowItem :list="item.Roadshow" @isCollectionHandeler="isCollectionHandeler" />
- </block>
- <block v-if="item.Source === 'activity' || item.Source === 'activityspecial'">
- <ActivityItem :list="item.Activity" />
- </block>
- <block v-if="['researchsummary', 'minutessummary', 'meetingreviewchapt', 'productinterior', 'reportselection'].includes(item.Source)">
- <item-content :list="dataListItem(item)" @showMorningDialog="showMorningDialog" />
- </block>
- <FiccReport v-if="item.Source === 'ficcreportxcx'" :list="item.FiccReportXcx" />
- </view>
- </block>
- </view>
- </view>
- <u-loadmore :status="status" icon-type="flower" :load-text="loadText" margin-top="20" v-if="page_no > 1" />
- </block>
- <view class="nodata" v-else>
- <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/act_search.png" mode="" class="nodata_ico"></image>
- <text style="">暂无数据</text>
- </view>
- <!-- <view v-if="newDataList.length === 4" class="bind-btn">
- <view @click="goLogin"> 为了给您提供更好的使用体验,<br />请 <text class="login-text">登录</text>后再查看此页面内容</view>
- </view> -->
- <morning-dlg v-if="isMorningShow" :isMorningShow.sync="isMorningShow" :morningItem.sync="morningItem" />
- </view>
- <suspenButton :show.sync="wholeShowListData.IsShow" v-if="wholeShowListData.IsShow" ref="suspenButton">
- <template slot="center">
- <image mode="widthFix" style="height: 120rpx; width: 120rpx" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/new_cygx/most_confidential.png "> </image>
- </template>
- <template slot="top">
- <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>
- </template>
- <template slot="left">
- <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>
- </template>
- </suspenButton>
- <Loading />
- <videoModule :showVideoPop.sync="showVideoPopUp" :videoPopList="videoPopListUp" />
- <view v-if="showAudioBox">
- <audioModule :showAudioPop.sync="showAudioPop" />
- </view>
- </block>
- </page-meta>
- </template>
- <script>
- import { Home, Mine, Reports } from "@/config/api";
- import ChartItem from "@/components/ItemComponent/chartItem.vue";
- import ReportItem from "@/components/ItemComponent/reportItem.vue";
- import RoadshowItem from "@/components/ItemComponent/roadshowItem.vue";
- import ActivityItem from "@/components/ItemComponent/activityItem.vue";
- import SearchBar from "@/components/search-bar/searchBar.vue";
- import MorningDlg from "./components/morningDlg.vue";
- import ItemContent from "./components/ItemContent.vue";
- import videoModule from "@/components/videoModule/index";
- import suspenButton from "@/components/suspen_button.vue";
- import audioModule from "@/components/audioModule/index";
- import FiccReport from "@/components/ItemComponent/ficcReport.vue";
- export default {
- data() {
- return {
- newDataList: [],
- page_no: 1,
- pageSize: 10,
- status: "loadmore",
- refresh: false, //正在下拉
- loadText: {
- loadmore: "上拉加载更多",
- loading: "加载中",
- nomore: "已经到底了",
- },
- info: {},
- isMorningShow: false, // 晨会的弹框
- morningItem: {}, // 晨会的弹框
- bannerDataList: [], // banner数据
- showVideoPopUp: false, //
- videoPopListUp: {},
- isScrollNumber: 0,
- dataListLable: [], // 标签的数据
- actIdLable: "", // 标签选择后的ID
- isTopHeight: "",
- lableArrList: [],
- showAudioPop: false,
- industryTablList: [],
- industrytabActId: 0,
- sourceType: "",
- };
- },
- computed: {
- bannerClass() {
- //判断banner的样式
- return this.bannerDataList.length > 0 && this.isScrollNumber < 235;
- },
- bannerPosition() {
- return this.bannerDataList.length > 0;
- },
- lableIsRows() {
- //处理标签的样式
- // const numTags =.length;
- const rows = [this.dataListLable];
- // if (numTags <= 4) {
- // rows.push(this.dataListLable);
- // } else if (numTags > 4 && numTags <= 8) {
- // const firstRow = this.dataListLable.slice(0, 4);
- // const secondRow = this.dataListLable.slice(4);
- // rows.push(firstRow, secondRow);
- // } else if (numTags >= 9) {
- // const firstRow = this.dataListLable.filter((_, index) => index % 2 === 0);
- // const secondRow = this.dataListLable.filter((_, index) => index % 2 !== 0);
- // rows.push(firstRow, secondRow);
- // }
- return rows;
- },
- showAudioBox() {
- return this.$store.state.audioBg.parseIntShow;
- },
- },
- components: {
- ChartItem,
- ReportItem,
- RoadshowItem,
- ActivityItem,
- SearchBar,
- MorningDlg,
- ItemContent,
- videoModule,
- suspenButton,
- audioModule,
- FiccReport,
- },
- methods: {
- // 获取最先数据
- async getNewList() {
- const res = await Home.getNewList({
- PageSize: this.pageSize,
- CurrentIndex: this.page_no,
- TagIds: this.actIdLable || "",
- ChartPermissionId: this.industrytabActId,
- });
- if (res.Ret === 200) {
- this.status = !res.Data.Paging.IsEnd ? "loadmore" : "nomore";
- let listArr = [];
- res.Data.List &&
- res.Data.List.forEach((item) => {
- let obj = {
- Source: item.Source,
- Article: item.Article || item.YanxuanSpecial || item.FiccReport,
- Newchart: item.Newchart,
- Activity: item.Activity || item.Activityspecial,
- Roadshow: item.Roadshow || item.Activityvideo || item.Activityvoice || item.AskserieVideo,
- ThreeSummary: item.Researchsummary || item.Minutessummary || item.Meetingreviewchapt || item.ProductInterior || item.ReportSelection,
- FiccReportXcx: item.FiccReportXcx,
- };
- listArr.push({ ...obj, IsShowData: obj.Article || obj.Newchart || obj.Roadshow || obj.Activity || obj.ThreeSummary || item.YanxuanSpecial || obj.FiccReportXcx });
- });
- this.newDataList = this.page_no === 1 ? listArr : [...this.newDataList, ...listArr];
- if (this.refresh) {
- uni.stopPullDownRefresh();
- this.refresh = false;
- }
- }
- },
- // 微路演收藏
- async isCollectionHandeler(item) {
- await this.$store.dispatch("showLoginModal");
- const res = await Home.microRoadshowCollect({
- SourceId: item.SourceId,
- SourceType: item.Type,
- PageRouter: this.$store.state.pageRouterReport,
- });
- if (res.Ret === 200) {
- let index = this.newDataList.findIndex((key) => key.Roadshow && key.Roadshow.SourceId == item.SourceId && key.Roadshow.Type == item.Type);
- res.Data.Status == 1 ? (this.newDataList[index].Roadshow.IsCollect = true) : (this.newDataList[index].Roadshow.IsCollect = false);
- uni.showToast({
- title: res.Msg,
- duration: 2000,
- });
- }
- },
- // 跳转到我的页面
- goMyInfo() {
- uni.navigateTo({
- url: "/pageMy/myPage/myPage",
- });
- },
- // 跳转绑定页面
- goLogin() {
- uni.showModal({
- title: "即将前往登录页面,请确认是否继续",
- content: "为了给您提供更好的使用体验,请登录后再进行查看或操作",
- confirmColor: "#376cbb",
- cancelColor: "#606266",
- success: function (res) {
- if (res.confirm) {
- //已授权未绑定
- uni.navigateTo({
- url: "/pageMy/login/login",
- });
- }
- },
- });
- },
- /* 搜索 */
- goSearch() {
- uni.navigateTo({ url: "/pages-search/indedxSearch/indedxSearch?isType=" + this.topTabsActive + "&source=首页页面" });
- },
- async getUserInfo() {
- const res = await Mine.getInfo();
- if (res.Ret === 200) {
- this.info = res.Data;
- res.Data.Mobile && this.$db.set("mobile", res.Data.Mobile);
- }
- },
- // 晨会弹框显示
- async showMorningDialog(item) {
- if (item.Source == "meetingreviewchapt") {
- const res = await Reports.morning_meeting_history({ Id: item.Id, SourcePage: "首页" });
- this.isMorningShow = true;
- this.morningItem = item;
- }
- },
- dataListItem(item) {
- let obj = item.ThreeSummary ? { ...item.ThreeSummary, Source: item.Source } : {};
- return obj;
- },
- /* 绝密标签点击后的跳转 */
- goSecretDetail(type) {
- if (type == 1) {
- uni.navigateTo({
- url: "/reportPages/keyCompany/keyCompany",
- });
- } else {
- uni.navigateTo({
- url: "/reportPages/secretDetails/secretDetails",
- });
- }
- this.$refs.suspenButton.onOpen();
- },
- // 获取banner 列表
- async getBannerList() {
- const res = await Home.bannerList();
- if (res.Ret === 200) {
- this.bannerDataList = res.Data.List || [];
- }
- },
- // bannaer 点击事件
- async bannerSwiperHandler(item) {
- let { Type, SourceId, Path } = item.BannerUrlResp;
- if (Type == 1) return;
- await Home.bannerHistory({
- BannerId: item.BannerId,
- });
- if (Type == 5) {
- let obj = {
- BackgroundImg: "https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/my_log.png",
- Id: SourceId,
- PlaySeconds: "15",
- ResourceUrl: "https://hzstatic.hzinsights.com/static/yb/video/8617330c2a76e0c35999f6466b4470c4.mp4",
- Title: "三分钟了解弘则研究体系和方法论",
- Type: "三分钟了解弘则研究体系和方法论",
- };
- this.videoPopListUp = obj;
- this.showVideoPopUp = true;
- await Mine.addHistory();
- } else {
- Path &&
- uni.navigateTo({
- url: Path + SourceId,
- });
- }
- },
- async lableKeysHandler(item) {
- const checkList = item.CheckList;
- if (item.isAct) {
- item.isAct = false;
- this.lableArrList = this.lableArrList.filter((key) => checkList.includes(key));
- this.getLableDataList();
- return;
- }
- let isFlag = false; //是否有交集
- for (let e of checkList) {
- if (this.lableArrList.includes(e)) {
- isFlag = true;
- break;
- }
- }
- if (!isFlag) {
- this.lableArrList = [...this.lableArrList, ...checkList];
- item.isAct = true;
- } else {
- //有交集
- // 找到有交集的那个 设置为false 然后将点击的这个设置为true
- this.lableIsRows.forEach((e1) => {
- e1.forEach((e2) => {
- let flag = false;
- for (let i of e2.CheckList) {
- if (this.lableArrList.includes(i)) {
- flag = true;
- break;
- }
- }
- if (flag) {
- e2.isAct = false;
- }
- });
- });
- item.isAct = true;
- }
- this.getLableDataList();
- if (!item.isAct) return;
- const res = await Home.tagAddHistory({
- TagId: item.TagId,
- });
- },
- getLableDataList() {
- let actId = [];
- this.lableIsRows.forEach((item) => {
- item.forEach((_) => {
- _.isAct && actId.push(_.TagId);
- });
- });
- this.page_no = 1;
- this.actIdLable = actId.join(",");
- this.getNewList();
- },
- // 或者标签内容
- async homeTagListCustom() {
- const res = await Home.homeTagListCustom();
- if (res.Ret === 200) {
- this.dataListLable = res.Data.List || [];
- let arr = [];
- if (this.actIdLable) {
- arr = this.actIdLable.split(",").map((_) => Number(_));
- }
- this.dataListLable.forEach((item) => {
- if (arr.includes(item.TagId)) {
- item.isAct = true;
- }
- });
- this.industryTablList = res.Data.ListPermission || [];
- }
- },
- // 行业选择的筛选
- toggleIndustryTab(item) {
- if (this.industrytabActId === item.ChartPermissionId) {
- this.industrytabActId = 0;
- } else {
- this.industrytabActId = item.ChartPermissionId;
- }
- this.page_no = 1;
- this.getNewList();
- },
- },
- mounted() {
- uni.$on("updateNewList", (data) => {
- this.page_no = 1;
- this.getNewList();
- });
- },
- onLoad(options) {
- this.sourceType = options.sourceType || "";
- this.industrytabActId = options.industrytabActId ? Number(options.industrytabActId) : 0;
- this.actIdLable = options.findIndexId;
- if (this.mixinIsSceneNumber == 1154) return;
- this.getBannerList();
- this.getNewList();
- this.homeTagListCustom();
- let menuButtonInfo = uni.getMenuButtonBoundingClientRect();
- this.isTopHeight = menuButtonInfo.height + menuButtonInfo.top + 7 + "px";
- },
- onShow() {
- if (this.mixinIsSceneNumber == 1154) return;
- this.getUserInfo();
- this.getRecordTracking("首页");
- this.$store.commit("setRouterActivity", "首页");
- this.$store.commit("setRouterReport", "首页");
- },
- // 加载数据
- onReachBottom() {
- if (this.status === "nomore" || this.newDataList.length < 8) return;
- this.status = "loading";
- this.page_no++;
- this.getNewList();
- },
- // 下拉刷新
- onPullDownRefresh() {
- this.page_no = 1;
- this.refresh = true;
- this.getNewList();
- this.homeTagListCustom();
- },
- onPageScroll(val) {
- this.isScrollNumber = val.scrollTop;
- },
- /** 用户点击分享*/
- onShareAppMessage: function ({ from, target }) {
- if (from === "button") {
- let item = target.dataset.item;
- let audio_id = item.Type == 1 || item.AudioType == 1 ? item.Id : "";
- // type=2 -- 活动视频 type=3 -- 产业视频
- let video_id = item.Type == 2 || item.Type == 3 ? item.Id : "";
- let activity_id = item.Type == 2 && item.ActivityId > 0 ? item.ActivityId : "";
- let title_share = item.AudioTitle || item.Title;
- this.getRecordTracking("首页转发", { ActivityId: item.ActivityId, Id: item.Id, Type: item.Type });
- return {
- title: this.isHorzMobile ? "好友向您推荐此内容,上传名片享查研观向免费月卡!" : title_share,
- path: "/pages/material/material?topTabsActive=4" + "&audioShareId=" + audio_id + "&videoShareId=" + video_id + "&activityId=" + activity_id,
- imageUrl: item.AudioShareImg || item.ShareImg,
- };
- } else {
- return {
- title: this.isHorzMobile ? "好友向您推荐此内容,上传名片享查研观向免费月卡!" : "弘则研究—聚焦·前瞻·客观·深度",
- path: "/pages/index/index?industrytabActId=" + this.industrytabActId + "&findIndexId=" + this.actIdLable,
- success: (res) => {},
- fail: (err) => {},
- };
- }
- },
- /**
- * 用户点击分享朋友圈
- */
- onShareTimeline() {
- return {
- title: "弘则研究—聚焦·前瞻·客观·深度",
- query: "sourceType=微信分享",
- imageUrl: "https://hzstatic.hzinsights.com/T2ddwIIaULVdkGM6gVMuNxBSft8Y.png",
- };
- },
- };
- </script>
- <style lang="scss" scoped>
- .New-container {
- background-color: $uni-bg-color;
- .content-search {
- position: sticky;
- top: 0;
- left: 0;
- width: 100%;
- z-index: 9;
- .top-content-box {
- position: sticky;
- top: 0;
- left: 0;
- width: 100%;
- z-index: 9;
- }
- }
- .banner-Position {
- position: fixed !important;
- }
- .banne-bg {
- /deep/ .nav-bar-wrap {
- background-color: transparent;
- }
- }
- .banne-content {
- height: 402rpx;
- width: 100%;
- overflow: hidden;
- swiper {
- height: 402rpx;
- }
- image {
- width: 100%;
- height: 100%;
- }
- .banner-title {
- position: absolute;
- bottom: 35rpx;
- left: 20rpx;
- color: #fff;
- font-weight: 500;
- line-height: 65rpx;
- min-height: 160rpx;
- max-height: 225rpx;
- overflow: hidden;
- .time {
- font-size: 28rpx;
- line-height: 39rpx;
- }
- }
- .top-content-box {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- z-index: 9;
- }
- }
- /deep/ .nav-bar-wrap {
- padding-left: 35rpx;
- .box-img {
- position: relative;
- height: 64rpx;
- width: 64rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- margin-right: 20rpx;
- border-radius: 50%;
- image {
- width: 64rpx;
- height: 64rpx;
- }
- .content-img {
- position: absolute;
- top: 0;
- left: 0;
- width: 64rpx;
- height: 64rpx;
- border-radius: 50%;
- overflow: hidden;
- z-index: 9;
- }
- }
- }
- .content-ul {
- padding: 0rpx 10rpx 20rpx;
- display: flex;
- justify-content: space-between;
- .item-ul {
- width: 49%;
- &:first-child {
- margin-right: 10rpx;
- }
- }
- }
- .content-ul-top {
- padding-top: 30rpx;
- }
- .bind-btn {
- padding-top: 110rpx;
- text-align: center;
- font-size: 24rpx;
- color: #333;
- line-height: 39rpx;
- padding-bottom: 100rpx;
- .login-text {
- display: inline-block;
- color: #376cbb;
- }
- }
- .lable-select-box {
- position: sticky;
- left: 0;
- top: 88px;
- z-index: 9;
- width: 100%;
- }
- .lable-select-content {
- overflow: hidden;
- overflow-x: auto;
- width: 100%;
- background-color: #fff;
- padding: 18rpx 0 18rpx 20rpx;
- .lable-row {
- display: flex;
- font-size: 24rpx;
- }
- .lable-item {
- position: relative;
- flex-shrink: 0;
- padding: 6rpx 35rpx;
- background: #ffffff;
- border: 1rpx solid #dcdfe6;
- border-radius: 39rpx;
- margin-right: 20rpx;
- white-space: nowrap;
- // padding-top: 20rpx;
- color: #999999;
- .item-image {
- position: absolute;
- top: -16rpx;
- right: -18rpx;
- width: 60rpx;
- height: 30rpx;
- border-radius: 4rpx;
- }
- }
- .item-active {
- border: none;
- font-weight: 500;
- background: #e5efff;
- color: $uni-color-new;
- }
- }
- .industry-box-tabs {
- background-color: #fff;
- align-items: center;
- justify-content: space-between;
- padding: 0 10rpx;
- .item {
- background-color: #f8f8fa;
- border-radius: 200rpx;
- justify-content: center;
- height: 64rpx;
- width: 92rpx;
- padding: 0;
- }
- }
- }
- </style>
|