reportForm.vue 22 KB

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