reportForm.vue 23 KB

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