reportForm.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722
  1. <template>
  2. <view class="reportForm-container">
  3. <view class="nav-bar-wrap">
  4. <search-bar @goSearch="goSearch" :searchTitle="searchPlaceholderList.SummarySearch" :width="50">
  5. <template slot="content-left">
  6. <view class="content">
  7. <view class="hot-top" @click="goHot" v-if="wholeShowListData.IsShowList">
  8. <image class="hot-img" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/hot_icon_report.png"></image>
  9. <text class="sea_ipt">榜单</text>
  10. </view>
  11. </view>
  12. </template>
  13. </search-bar>
  14. <view class="second-tabs">
  15. <view :class="['item', item.ChartPermissionId == tabAct_id && 'tabs-active']" v-for="(item, index) in tabBars" :key="item.ChartPermissionId" @click="toggleTab(item, index)">
  16. {{ item.PermissionName }}
  17. <view class="active" v-if="item.ChartPermissionId == tabAct_id"></view>
  18. </view>
  19. </view>
  20. </view>
  21. <!-- 内容 -->
  22. <view class="strategy" v-if="strategyIndex == 4">
  23. <view class="tab-cont-two">
  24. <block v-for="(item, index) in tabBarsTow" :key="item.CategoryId">
  25. <view :id="'__' + index" class="scroll-tab-item" :class="{ active: tabAct_idTwo == item.CategoryId }" @click.stop="toggleTabTwo(item, index)">
  26. {{ item.MatchTypeName }}
  27. <text class="reg-text" v-if="item.IsRed"></text>
  28. </view>
  29. </block>
  30. </view>
  31. <view class="row"> </view>
  32. <!-- 子组件 -->
  33. <strategy
  34. :strategyIndexTwo="strategyIndexTwo"
  35. :pageNumFather="pageNumFather"
  36. :matchTypeName="matchTypeName"
  37. :tabAct_idTwo="tabAct_idTwo"
  38. :isNum="isNum"
  39. :isSwitchover="isSwitchover"
  40. @hideIsred="hideIsred"
  41. />
  42. </view>
  43. <!-- </view> -->
  44. <view class="industrial_eport_one" v-else>
  45. <!-- 行业报告 -->
  46. <view class="industry" v-if="tradeList">
  47. <view class="industry-top">
  48. <view class="img-top-box">
  49. <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/industry-ico.png"></image>
  50. <text>行业综述</text>
  51. </view>
  52. <view> </view>
  53. </view>
  54. <view class="industry-box" @click="isClickHandle(item.CategoryId)" v-for="item in tradeList" :key="item.CategoryId">
  55. <view class="box-left">
  56. {{ item.MatchTypeName }}
  57. <text v-if="item.IsRed"></text>
  58. </view>
  59. <view class="box-right">
  60. <text>{{ item.UpdateTime }}</text>
  61. <u-icon name="arrow-right" color="#BDBDBD" size="34"></u-icon>
  62. </view>
  63. </view>
  64. </view>
  65. <view v-if="labelListData.length" :class="[labelListData.length > 9 ? 'label-content-column' : 'label-content']">
  66. <view @click="strategyLabelHadel(item)" :class="['item', item.Stock.length > 6 && 'item-size', 'text_oneLine']" v-for="item in labelListData" :key="item.ArticleId"> {{ item.Stock }} </view>
  67. </view>
  68. <!-- 产业报告 -->
  69. <view class="industry">
  70. <view style="height: 12rpx" v-if="!tradeList"></view>
  71. <view class="industry-top industry-sticky">
  72. <view class="img-top-box">
  73. <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/property_ico.png" style="height: 50rpx"></image>
  74. <text class="text-sub">细分产业</text>
  75. </view>
  76. <view class="checkbox-content">
  77. <van-checkbox-group class="checkbox-ui" :value="deepCoverFocus" @change="checkboxChange">
  78. <van-checkbox style="margin-right: 30rpx" name="cover" icon-size="14" shape="square">深度覆盖</van-checkbox>
  79. <van-checkbox name="focus" icon-size="14" shape="square">推荐关注</van-checkbox>
  80. </van-checkbox-group>
  81. </view>
  82. </view>
  83. <!-- 需要循环的地方 -->
  84. <view class="forindustry" v-for="item in industryList" :key="item.IndustrialManagementId">
  85. <!-- 火锅底料这个位置 -->
  86. <view class="industry-content">
  87. <view class="industry-box-left" @click="reportFllow(item.IndustrialManagementId)">
  88. <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/attention_act.png" v-if="item.IsFollow"></image>
  89. <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/attention_icon.png" v-else></image>
  90. </view>
  91. <view class="industry-box-right" @click="goIndustryReport(item.IndustrialManagementId)">
  92. <view class="ndustry-box-read">
  93. <text>{{ item.IndustryName }}</text>
  94. <image class="hot-icon" v-if="item.IsHot" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/hot_report.png" mode=""></image>
  95. <image v-if="item.IsNew" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/new_report.png" mode=""></image>
  96. </view>
  97. <view class="ndustry-box-arrow">
  98. <text v-if="item.IsRed" class="read"></text>
  99. <text class="ndustry-box-text">{{ item.UpdateTime }}</text>
  100. <u-icon name="arrow-right" color="#BDBDBD" size="34"></u-icon>
  101. </view>
  102. </view>
  103. </view>
  104. <view class="content-box" @click="goIndustryReport(item.IndustrialManagementId)">
  105. <view class="read-more">
  106. <view class="industry-video-item" @click.stop="handelVideoPlay(item)" :style="{ 'background-image': 'url(' + item.IndustryVideo.BackgroundImg + ')' }" v-if="item.IndustryVideo">
  107. 5min
  108. <br />
  109. 逻辑解析
  110. <view class="industry-video-icon">
  111. <image src="https://hzstatic.hzinsights.com/cygx/video-right-top-icon.svg"></image>
  112. </view>
  113. </view>
  114. <block v-if="item.IndustrialSubjectList">
  115. <view v-if="item.IndustryVideo" style="display: flex; flex-wrap: wrap; width: 420rpx">
  116. <view v-for="val in item.IndustrialSubjectList.slice(0, 4)" :key="val.IndustrialSubjectId" class="text-box">{{ val.SubjectName }}</view>
  117. </view>
  118. <block v-if="item.IndustryVideo && item.IndustrialSubjectList.length > 4">
  119. <view v-for="val in item.IndustrialSubjectList.slice(4)" :key="val.IndustrialSubjectId" class="text-box">{{ val.SubjectName }}</view>
  120. </block>
  121. <block v-if="!item.IndustryVideo">
  122. <view v-for="val in item.IndustrialSubjectList" :key="val.IndustrialSubjectId" class="text-box">{{ val.SubjectName }}</view>
  123. </block>
  124. </block>
  125. </view>
  126. </view>
  127. </view>
  128. <u-loadmore :status="status" icon-type="flower" :load-text="loadText" margin-top="20" v-if="totalPage > 1" />
  129. </view>
  130. </view>
  131. <u-modal
  132. v-model="goFollowShow"
  133. :content-style="{ fontSize: '32rpx' }"
  134. @confirm="goFollowShowBtn"
  135. :show-cancel-button="isCancelBtn"
  136. :confirm-text="confirmText"
  137. @cancel="isCancelBtn = false"
  138. :show-title="false"
  139. :cancel-style="{ borderRight: '1rpx solid #EBEBEB' }"
  140. :confirm-style="{ fontWeight: '700' }"
  141. >
  142. <view class="slot-content">
  143. <rich-text :nodes="accounts"></rich-text>
  144. </view>
  145. </u-modal>
  146. <freeCharge class="free-charge" :isShowFreeBtn="isShowFree" />
  147. <!-- 视频模块 -->
  148. <videoModule :showVideoPop="showVideoPop" :videoPopList="videoPopList" />
  149. <modalDialog :isShowhasPermission="isShowhasPermission" :applyForIsShow="applyForIsShow" :jurisdictionList="jurisdictionList" :hasPermission="hasPermission" />
  150. </view>
  151. </template>
  152. <script>
  153. import strategy from "./components/strategy.vue";
  154. import { Throttle, Debounce } from "@/config/util.js";
  155. import freeCharge from "@/components/freeCharge";
  156. import videoModule from "@/components/videoModule/index";
  157. import modalDialog from "@/components/modalDialog.vue";
  158. import SearchBar from "@/components/search-bar/searchBar.vue";
  159. import { Reports } from "@/config/api.js";
  160. let app = getApp();
  161. export default {
  162. components: {
  163. strategy,
  164. freeCharge,
  165. videoModule,
  166. modalDialog,
  167. SearchBar,
  168. },
  169. data() {
  170. return {
  171. tabAct_id: "",
  172. tabAct_idTwo: "",
  173. tabBars: [],
  174. pageNumFather: "",
  175. shadowStyle: {
  176. backgroundImage: "none",
  177. },
  178. tabBarsTow: [],
  179. isNum: 1,
  180. strategyIndex: "",
  181. strategyIndexTwo: 0,
  182. isSwitchover: 1,
  183. tradeList: [],
  184. OrderColumn: "",
  185. industryList: [],
  186. loadText: {
  187. loadmore: "上拉加载更多",
  188. loading: "加载中",
  189. nomore: "已经到底了",
  190. },
  191. refresh: false, //正在下拉
  192. page_no: 1,
  193. pageSize: 10,
  194. status: "loadmore",
  195. haveData: true,
  196. totalPage: "",
  197. matchTypeName: "",
  198. deepCoverFocus: [], //深度覆盖 //推荐关注
  199. isScrollShow: false,
  200. goFollowShow: false,
  201. accounts: "",
  202. confirmText: "知道了",
  203. isCancelBtn: false,
  204. scrollLeft: 0,
  205. showTransition: false, //点击绝密后的隐现
  206. showVideoPop: false, //视频弹窗显示控制
  207. videoPopList: {}, // 视频信息
  208. isShowhasPermission: false, // 联系销售的提交申请
  209. applyForIsShow: false, // 提交申请
  210. jurisdictionList: {},
  211. hasPermission: "", //权限
  212. labelListData: [],
  213. };
  214. },
  215. onLoad(option) {
  216. this.loadList(option);
  217. },
  218. watch: {
  219. //监听tabs的变化
  220. tabAct_id: {
  221. handler() {
  222. this.initList();
  223. },
  224. immediate: true,
  225. },
  226. },
  227. methods: {
  228. //获取一级事件
  229. getClassify() {
  230. Reports.getClassify().then((res) => {
  231. if (res.Ret !== 200) return;
  232. this.tabBars = res.Data.List || [];
  233. if (!this.tabAct_id) {
  234. this.tabAct_id = res.Data.List[0].ChartPermissionId;
  235. this.$store.dispatch("statistics", {
  236. PageType: "Report",
  237. ChartPermissionId: Number(this.tabAct_id),
  238. });
  239. }
  240. this.getHomeStockName();
  241. });
  242. },
  243. //获取二级事件
  244. getstrategyAll() {
  245. Reports.getstrategyAll().then((res) => {
  246. this.tabBarsTow = res.Data.List;
  247. if (!this.tabAct_idTwo) {
  248. this.tabAct_idTwo = res.Data.List[0].CategoryId;
  249. }
  250. this.matchTypeName = res.Data.List[0].MatchTypeName;
  251. });
  252. },
  253. //tabs切换事件
  254. toggleTab(item, index) {
  255. this.strategyIndex = index;
  256. this.deepCoverFocus = [];
  257. this.labelListData = [];
  258. if (this.tabAct_id !== item.ChartPermissionId) {
  259. this.tabAct_id = item.ChartPermissionId;
  260. this.$store.dispatch("statistics", {
  261. PageType: "Report",
  262. ChartPermissionId: Number(this.tabAct_id),
  263. });
  264. this.getHomeStockName();
  265. this.pageNum = 1;
  266. uni.pageScrollTo({
  267. scrollTop: 0,
  268. duration: 0,
  269. });
  270. }
  271. },
  272. scrollMove(e) {
  273. this.scrollLeft = e.detail.scrollLeft;
  274. },
  275. //tabs切换二级事件
  276. toggleTabTwo(item, index) {
  277. this.matchTypeName = item.MatchTypeName;
  278. this.strategyIndexTwo = index;
  279. if (this.tabAct_idTwo !== item.CategoryId) {
  280. this.tabAct_idTwo = item.CategoryId;
  281. this.pageNum = 1;
  282. uni.pageScrollTo({
  283. scrollTop: 0,
  284. duration: 0,
  285. });
  286. }
  287. },
  288. //获取报告所有品种接口
  289. getTradeList() {
  290. Reports.getTradeList({
  291. ChartPermissionId: this.tabAct_id,
  292. }).then((res) => {
  293. if (res.Ret == 200) {
  294. this.tradeList = res.Data.List || [];
  295. }
  296. });
  297. },
  298. //获取产业报告所有品种接口
  299. getIndustryList() {
  300. Reports.getIndustryList({
  301. ChartPermissionId: this.tabAct_id,
  302. OrderColumn: this.OrderColumn,
  303. PageSize: this.pageSize,
  304. CurrentIndex: this.page_no,
  305. DeepCover: this.deepCoverFocus.includes("cover") ? 1 : 0,
  306. RecommendFocus: this.deepCoverFocus.includes("focus") ? 1 : 0,
  307. }).then((res) => {
  308. // this.industryList=res.Data.List
  309. this.status = this.page_no < res.Data.Paging.Pages ? "loadmore" : "nomore";
  310. this.totalPage = res.Data.Paging.Pages; //总页数
  311. if (this.page_no === 1) {
  312. this.industryList = res.Data.List || [];
  313. this.haveData = this.industryList.length ? true : false;
  314. if (this.refresh) {
  315. uni.stopPullDownRefresh();
  316. this.refresh = false;
  317. }
  318. } else {
  319. this.industryList = this.industryList.concat(res.Data.List);
  320. }
  321. });
  322. },
  323. //跳转季度策略
  324. async isClickHandle(id) {
  325. await this.$store.dispatch("checkHandle", "/reportPages/industrialReport/industrialReport?id=" + id);
  326. },
  327. //跳转产业报告
  328. async goIndustryReport(id) {
  329. this.$store.commit("setRouterReport", "产业列表");
  330. await this.$store.dispatch("checkHandle", "/reportPages/IndustryReport/IndustryReport?id=" + id);
  331. },
  332. //点击关注的图标
  333. reportFllow(id) {
  334. if (!this.$store.state.isAuth && !this.$store.state.isBind) {
  335. Reports.reportFllow({
  336. IndustrialManagementId: id,
  337. PageRouter: "细分产业列表",
  338. }).then((res) => {
  339. if (res.Ret === 200) {
  340. if (res.Data.Status == 1) {
  341. this.goFollowShow = true;
  342. this.confirmText = res.Data.GoFollow ? "去关注" : "知道了";
  343. if (res.Data.GoFollow) {
  344. this.accounts = `产业关注成功 <br> 想要及时获取该产业内容的更新推送,请关注【查研观向小助手】公众号`;
  345. this.isCancelBtn = true;
  346. } else {
  347. this.accounts = "产业关注成功<br>请关注【查研观向小助手】公众号,及时获取产业报告更新提醒";
  348. }
  349. }
  350. this.industryList.forEach((key) => {
  351. if (key.IndustrialManagementId == id) {
  352. if (key.IsFollow == 1) {
  353. key.IsFollow = 0;
  354. uni.showToast({
  355. title: "已取消关注",
  356. icon: "none",
  357. duration: 2000,
  358. });
  359. } else {
  360. key.IsFollow = 1;
  361. }
  362. }
  363. });
  364. }
  365. });
  366. } else if (this.$store.state.isAuth) {
  367. //未授权
  368. uni.navigateTo({
  369. url: "/pageMy/authGuide/authGuide",
  370. });
  371. } else if (!this.$store.state.isAuth && this.$store.state.isBind) {
  372. //已授权未绑定
  373. uni.navigateTo({
  374. url: "/pageMy/login/login",
  375. });
  376. }
  377. },
  378. goFollowShowBtn() {
  379. if (this.confirmText == "去关注") {
  380. uni.navigateTo({
  381. url: "/activityPages/accountsOfficial/accountsOfficial",
  382. });
  383. }
  384. this.goFollowShow = false;
  385. },
  386. hideIsred(is) {
  387. this.tabBarsTow[this.strategyIndexTwo].IsRed = is;
  388. },
  389. /* 搜索 */
  390. async goSearch() {
  391. await this.$store.dispatch("checkHandle", "/pages-search/indedxSearch/indedxSearch?id=报告" + "&source=深度研究页面");
  392. },
  393. /* 初始 */
  394. initList() {
  395. if (this.tabAct_id && this.strategyIndex !== 4 && this.strategyIndex !== 5) {
  396. this.page_no = 1;
  397. this.refresh = true;
  398. this.getIndustryList();
  399. this.getTradeList();
  400. }
  401. this.strategyIndex == 4 ? this.getstrategyAll() : (this.tabAct_idTwo = "");
  402. this.isNum = 1;
  403. },
  404. /* 页面加载 */
  405. loadList(option) {
  406. app.globalData.isSx = true;
  407. this.tabAct_id = option.tab || "";
  408. if (option.tabs !== "" && option.tabs) {
  409. this.strategyIndex = 4;
  410. this.tabAct_idTwo = option.tabs;
  411. }
  412. if (this.tabAct_id == 31) {
  413. this.strategyIndex = 5;
  414. }
  415. this.getClassify();
  416. },
  417. goSecretDetail(type) {
  418. uni.navigateTo({
  419. url: "/reportPages/secretDetails/secretDetails?type=" + type,
  420. });
  421. },
  422. /* 跳转榜单 */
  423. goHot() {
  424. uni.navigateTo({
  425. url: "/reportPages/hotList/hotList",
  426. });
  427. },
  428. //点击了checkbox
  429. checkboxChange(e) {
  430. this.deepCoverFocus = e.detail;
  431. this.page_no = 1;
  432. this.getIndustryList();
  433. },
  434. // 视频播放权限判断
  435. handelVideoPlay(item) {
  436. this.$store.commit("setRouterReport", "产业列表");
  437. if (!this.$store.state.isAuth && !this.$store.state.isBind) {
  438. if (item.AuthInfo.HasPermission == 1) {
  439. this.playVideo(item);
  440. } else {
  441. this.hasPermission = item.AuthInfo.HasPermission;
  442. this.jurisdictionList.ActivityId = item.IndustryVideo.Id;
  443. this.jurisdictionList.isAudioVideo = 3;
  444. if (this.hasPermission == 2) {
  445. this.jurisdictionList.SellerMobile = item.AuthInfo.SellerMobile;
  446. this.jurisdictionList.SellerName = item.AuthInfo.SellerName;
  447. this.jurisdictionList.PopupMsg = item.AuthInfo.PopupMsg;
  448. this.isShowhasPermission = true;
  449. } else if (this.hasPermission == 3 || this.hasPermission == 4 || this.hasPermission == 5) {
  450. this.jurisdictionList.PopupMsg = item.AuthInfo.PopupMsg;
  451. this.applyForIsShow = true;
  452. }
  453. }
  454. } else {
  455. this.$store.dispatch("checkHandle");
  456. }
  457. },
  458. playVideo(item) {
  459. let params = {
  460. Id: item.IndustryVideo.Id,
  461. ResourceUrl: item.IndustryVideo.ResourceUrl,
  462. BackgroundImg: item.IndustryVideo.BackgroundImg,
  463. Title: `5min【${item.IndustryName}】逻辑解析`,
  464. };
  465. if (this.$store.state.videoPlay.playVideoId != item.Id) {
  466. this.$store.commit("videoPlay/palyTimeUpdate", 0);
  467. this.$store.commit("videoPlay/playVideo", item.Id);
  468. }
  469. this.globalBgAudioManager.stop();
  470. this.videoPopList = params;
  471. this.showVideoPop = true;
  472. },
  473. // 获取产业下的标签
  474. async getHomeStockName() {
  475. const res = await Reports.getHomeStockName({
  476. ChartPermissionId: this.tabAct_id,
  477. });
  478. if (res.Ret === 200) {
  479. this.labelListData = res.Data.List || [];
  480. }
  481. },
  482. // 策略平台的 标签 点击事件
  483. strategyLabelHadel(item) {
  484. this.$store.commit("setRouterReport", "综述链接");
  485. //去往文章详情页面
  486. this.$store.dispatch("checkHandle", "/pageMy/reportDetail/reportDetail?id=" + item.ArticleId);
  487. },
  488. },
  489. /* 触底 */
  490. onReachBottom: Throttle(function () {
  491. if (this.strategyIndex == 4) {
  492. this.isNum++;
  493. return;
  494. }
  495. if (this.status === "nomore") return;
  496. this.status = "loading";
  497. this.page_no++;
  498. this.getIndustryList();
  499. }),
  500. /* 下拉刷新 */
  501. onPullDownRefresh: Throttle(function () {
  502. if (this.strategyIndex == 4) {
  503. this.pageNumFather = 1;
  504. } else {
  505. this.industryList = [];
  506. this.pageNumFather = null;
  507. this.page_no = 1;
  508. this.refresh = true;
  509. this.getIndustryList();
  510. this.getTradeList();
  511. }
  512. wx.stopPullDownRefresh();
  513. }),
  514. onShow() {
  515. this.$store.dispatch("checkHandle", "noGO");
  516. this.getRecordTracking("深度研究");
  517. if (this.tabAct_id) {
  518. this.$store.dispatch("statistics", {
  519. PageType: "Report",
  520. ChartPermissionId: Number(this.tabAct_id),
  521. });
  522. }
  523. if (this.tabAct_id && app.globalData.isSx) {
  524. this.getTradeList();
  525. }
  526. },
  527. /**
  528. * 用户点击分享
  529. */
  530. onShareAppMessage: function (res) {
  531. return {
  532. title: this.isHorzMobile ? "好友向您推荐此内容,上传名片享查研观向免费月卡!" : "产业报告",
  533. path: "/pages/reportForm/reportForm?tab=" + this.tabAct_id + "&tabs=" + this.tabAct_idTwo,
  534. success: (res) => {},
  535. fail: (err) => {},
  536. };
  537. },
  538. onHide() {
  539. if (this.showTransition) {
  540. this.showTransition = false;
  541. }
  542. if (this.strategyIndex == 4 || this.strategyIndex == 5) return;
  543. },
  544. };
  545. </script>
  546. <style lang="scss">
  547. @import "./index.scss";
  548. .reportForm-container {
  549. .nav-bar-wrap {
  550. position: sticky;
  551. top: 0;
  552. left: 0;
  553. z-index: 99;
  554. .content {
  555. position: relative;
  556. padding-left: 30rpx;
  557. .hot-top {
  558. display: flex;
  559. align-items: center;
  560. width: 140rpx;
  561. height: 100%;
  562. color: #3385ff;
  563. font-size: 30rpx;
  564. flex-shrink: 0;
  565. .hot-img {
  566. width: 28rpx;
  567. height: 28rpx;
  568. }
  569. }
  570. }
  571. .second-tabs {
  572. width: 100%;
  573. padding-left: 30rpx;
  574. display: flex;
  575. overflow-x: auto;
  576. background-color: #fff;
  577. font-size: 34rpx;
  578. color: #999999;
  579. &::-webkit-scrollbar {
  580. width: 0;
  581. height: 0;
  582. display: none;
  583. }
  584. .item {
  585. position: relative;
  586. padding-bottom: 16rpx;
  587. margin-right: 50rpx;
  588. flex-shrink: 0;
  589. .limit-img {
  590. position: absolute;
  591. top: -15rpx;
  592. right: -50rpx;
  593. z-index: 99;
  594. }
  595. .active {
  596. position: absolute;
  597. left: 0;
  598. bottom: 0;
  599. height: 4rpx;
  600. width: 100%;
  601. border-radius: 1rpx;
  602. background: linear-gradient(90deg, #2e85ff 0%, #7eeaf6 100%);
  603. }
  604. }
  605. .tabs-active {
  606. color: #3385ff;
  607. font-weight: 500;
  608. }
  609. .tabs-img {
  610. width: 46rpx;
  611. height: 26rpx;
  612. }
  613. }
  614. }
  615. .label-content {
  616. display: flex;
  617. flex-wrap: wrap;
  618. background-color: #fff;
  619. padding: 30rpx 30rpx 0rpx 80rpx;
  620. margin: 20rpx 0 0;
  621. .item {
  622. margin-bottom: 20px !important;
  623. }
  624. }
  625. .label-content-column {
  626. display: flex;
  627. flex-wrap: wrap;
  628. flex-direction: column;
  629. overflow: hidden;
  630. padding: 30rpx 30rpx 0;
  631. overflow-x: auto;
  632. height: 258rpx;
  633. margin: 20rpx 0 0;
  634. background-color: #fff;
  635. justify-content: space-between;
  636. &::after {
  637. content: "";
  638. width: 0rpx;
  639. height: 46rpx;
  640. }
  641. }
  642. .label-content .item,
  643. .label-content-column .item {
  644. display: flex;
  645. align-items: center;
  646. justify-content: center;
  647. margin-right: 40rpx;
  648. margin-bottom: 10px;
  649. width: 170rpx;
  650. height: 46rpx;
  651. background: #f5f5f5;
  652. box-shadow: 0px 2rpx 9rpx 0rpx rgba(0, 0, 0, 0.16), inset 0rpx 4rpx 4rpx 0rpx rgba(255, 255, 255, 0.49);
  653. border-radius: 65rpx;
  654. font-size: 26rpx;
  655. }
  656. .label-content .item,
  657. .label-content-column .item-size {
  658. font-size: 24rpx;
  659. }
  660. }
  661. .content-intimate {
  662. position: fixed;
  663. display: flex;
  664. align-items: center;
  665. bottom: 96rpx;
  666. right: 41rpx;
  667. height: 156rpx;
  668. .content {
  669. width: 432rpx;
  670. height: 112rpx;
  671. background-color: #fff;
  672. display: flex;
  673. border-radius: 56rpx;
  674. overflow: hidden;
  675. .cont-border {
  676. margin: 0 2rpx;
  677. }
  678. view {
  679. flex: 1;
  680. background-color: #3385ff;
  681. font-size: 30rpx;
  682. color: #fff;
  683. padding-top: 15rpx;
  684. text-align: center;
  685. }
  686. }
  687. image {
  688. width: 156rpx;
  689. height: 100%;
  690. z-index: 99;
  691. }
  692. }
  693. .new-recommend {
  694. width: 220rpx;
  695. height: 51rpx;
  696. display: flex;
  697. align-items: center;
  698. justify-content: space-between;
  699. color: #999999;
  700. font-size: 24rpx;
  701. background-color: #f8f8fa;
  702. border-radius: 47rpx;
  703. margin: auto 0;
  704. overflow: hidden;
  705. text {
  706. height: 51rpx;
  707. line-height: 51rpx;
  708. width: 120rpx;
  709. text-align: center;
  710. }
  711. .items-act {
  712. background-color: #3385ff;
  713. color: #fff;
  714. border-radius: 47rpx;
  715. }
  716. }
  717. </style>