reportForm.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751
  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. <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. <suspenButton :show.sync="wholeShowListData.IsShow" v-if="wholeShowListData.IsShow" />
  151. </view>
  152. </template>
  153. <script>
  154. import strategy from "./components/strategy.vue";
  155. import { Throttle, Debounce } from "@/config/util.js";
  156. import freeCharge from "@/components/freeCharge";
  157. import suspenButton from "@/components/suspen_button.vue";
  158. import videoModule from "@/components/videoModule/index";
  159. import modalDialog from "@/components/modalDialog.vue";
  160. import { Reports } from "@/config/api.js";
  161. let app = getApp();
  162. export default {
  163. components: {
  164. strategy,
  165. freeCharge,
  166. suspenButton,
  167. videoModule,
  168. modalDialog,
  169. },
  170. data() {
  171. return {
  172. tabAct_id: "",
  173. tabAct_idTwo: "",
  174. tabBars: [],
  175. pageNumFather: "",
  176. shadowStyle: {
  177. backgroundImage: "none",
  178. },
  179. tabBarsTow: [],
  180. isNum: 1,
  181. strategyIndex: "",
  182. strategyIndexTwo: 0,
  183. isSwitchover: 1,
  184. tradeList: [],
  185. OrderColumn: "",
  186. industryList: [],
  187. loadText: {
  188. loadmore: "上拉加载更多",
  189. loading: "加载中",
  190. nomore: "已经到底了",
  191. },
  192. refresh: false, //正在下拉
  193. page_no: 1,
  194. pageSize: 10,
  195. status: "loadmore",
  196. haveData: true,
  197. totalPage: "",
  198. matchTypeName: "",
  199. deepCoverFocus: [], //深度覆盖 //推荐关注
  200. isScrollShow: false,
  201. goFollowShow: false,
  202. accounts: "",
  203. confirmText: "知道了",
  204. isCancelBtn: false,
  205. scrollLeft: 0,
  206. showTransition: false, //点击绝密后的隐现
  207. showVideoPop: false, //视频弹窗显示控制
  208. videoPopList: {}, // 视频信息
  209. isShowhasPermission: false, // 联系销售的提交申请
  210. applyForIsShow: false, // 提交申请
  211. jurisdictionList: {},
  212. hasPermission: "", //权限
  213. labelListData: [],
  214. };
  215. },
  216. onLoad(option) {
  217. this.loadList(option);
  218. this.initNavBar();
  219. },
  220. watch: {
  221. //监听tabs的变化
  222. tabAct_id: {
  223. handler() {
  224. this.initList();
  225. },
  226. immediate: true,
  227. },
  228. },
  229. methods: {
  230. //获取胶囊位置
  231. initNavBar() {
  232. let menuButtonInfo = uni.getMenuButtonBoundingClientRect();
  233. this.navBarStyle = {
  234. height: menuButtonInfo.height + menuButtonInfo.top + 46 + "px",
  235. paddingTop: menuButtonInfo.top + "px",
  236. paddingBottom: "4px",
  237. };
  238. },
  239. //获取一级事件
  240. getClassify() {
  241. Reports.getClassify().then((res) => {
  242. if (res.Ret !== 200) return;
  243. this.tabBars = res.Data.List || [];
  244. if (!this.tabAct_id) {
  245. this.tabAct_id = res.Data.List[0].ChartPermissionId;
  246. this.$store.dispatch("statistics", {
  247. PageType: "Report",
  248. ChartPermissionId: Number(this.tabAct_id),
  249. });
  250. }
  251. this.getHomeStockName();
  252. });
  253. },
  254. //获取二级事件
  255. getstrategyAll() {
  256. Reports.getstrategyAll().then((res) => {
  257. this.tabBarsTow = res.Data.List;
  258. if (!this.tabAct_idTwo) {
  259. this.tabAct_idTwo = res.Data.List[0].CategoryId;
  260. }
  261. this.matchTypeName = res.Data.List[0].MatchTypeName;
  262. });
  263. },
  264. //tabs切换事件
  265. toggleTab(item, index) {
  266. this.strategyIndex = index;
  267. this.deepCoverFocus = [];
  268. this.labelListData = [];
  269. if (this.tabAct_id !== item.ChartPermissionId) {
  270. this.tabAct_id = item.ChartPermissionId;
  271. this.$store.dispatch("statistics", {
  272. PageType: "Report",
  273. ChartPermissionId: Number(this.tabAct_id),
  274. });
  275. this.getHomeStockName();
  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. app.globalData.isSx = true;
  416. this.tabAct_id = option.tab || "";
  417. if (option.tabs !== "" && option.tabs) {
  418. this.strategyIndex = 4;
  419. this.tabAct_idTwo = option.tabs;
  420. }
  421. if (this.tabAct_id == 31) {
  422. this.strategyIndex = 5;
  423. }
  424. this.getClassify();
  425. },
  426. goSecretDetail(type) {
  427. uni.navigateTo({
  428. url: "/reportPages/secretDetails/secretDetails?type=" + type,
  429. });
  430. },
  431. /* 跳转榜单 */
  432. goHot() {
  433. uni.navigateTo({
  434. url: "/reportPages/hotList/hotList",
  435. });
  436. },
  437. //点击了checkbox
  438. checkboxChange(e) {
  439. this.deepCoverFocus = e.detail;
  440. this.page_no = 1;
  441. this.getIndustryList();
  442. },
  443. // 视频播放权限判断
  444. handelVideoPlay(item) {
  445. if (!this.$store.state.isAuth && !this.$store.state.isBind) {
  446. if (item.AuthInfo.HasPermission == 1) {
  447. this.playVideo(item);
  448. } else {
  449. this.hasPermission = item.AuthInfo.HasPermission;
  450. this.jurisdictionList.ActivityId = item.IndustryVideo.Id;
  451. this.jurisdictionList.isAudioVideo = 3;
  452. if (this.hasPermission == 2) {
  453. this.jurisdictionList.SellerMobile = item.AuthInfo.SellerMobile;
  454. this.jurisdictionList.SellerName = item.AuthInfo.SellerName;
  455. this.jurisdictionList.PopupMsg = item.AuthInfo.PopupMsg;
  456. this.isShowhasPermission = true;
  457. } else if (this.hasPermission == 3 || this.hasPermission == 4 || this.hasPermission == 5) {
  458. this.jurisdictionList.PopupMsg = item.AuthInfo.PopupMsg;
  459. this.applyForIsShow = true;
  460. }
  461. }
  462. } else {
  463. this.$store.dispatch("checkHandle");
  464. }
  465. },
  466. playVideo(item) {
  467. let params = {
  468. Id: item.IndustryVideo.Id,
  469. ResourceUrl: item.IndustryVideo.ResourceUrl,
  470. BackgroundImg: item.IndustryVideo.BackgroundImg,
  471. Title: `5min【${item.IndustryName}】逻辑解析`,
  472. };
  473. if (this.$store.state.videoPlay.playVideoId != item.Id) {
  474. this.$store.commit("videoPlay/palyTimeUpdate", 0);
  475. this.$store.commit("videoPlay/playVideo", item.Id);
  476. }
  477. // console.log(params);
  478. this.globalBgAudioManager.stop();
  479. this.videoPopList = params;
  480. this.showVideoPop = true;
  481. },
  482. // 获取产业下的标签
  483. async getHomeStockName() {
  484. const res = await Reports.getHomeStockName({
  485. ChartPermissionId: this.tabAct_id,
  486. });
  487. if (res.Ret === 200) {
  488. this.labelListData = res.Data.List || [];
  489. }
  490. },
  491. // 策略平台的 标签 点击事件
  492. strategyLabelHadel(item) {
  493. //去往文章详情页面
  494. this.$store.dispatch("checkHandle", "/pageMy/reportDetail/reportDetail?id=" + item.ArticleId);
  495. },
  496. },
  497. /* 触底 */
  498. onReachBottom: Throttle(function () {
  499. if (this.strategyIndex == 4) {
  500. this.isNum++;
  501. return;
  502. }
  503. if (this.status === "nomore") return;
  504. this.status = "loading";
  505. this.page_no++;
  506. this.getIndustryList();
  507. }),
  508. /* 下拉刷新 */
  509. onPullDownRefresh: Throttle(function () {
  510. if (this.strategyIndex == 4) {
  511. this.pageNumFather = 1;
  512. } else {
  513. this.industryList = [];
  514. this.pageNumFather = null;
  515. this.page_no = 1;
  516. this.refresh = true;
  517. this.getIndustryList();
  518. this.getTradeList();
  519. }
  520. wx.stopPullDownRefresh();
  521. }),
  522. onShow() {
  523. this.$store.dispatch("checkHandle", "noGO");
  524. if (this.tabAct_id) {
  525. this.$store.dispatch("statistics", {
  526. PageType: "Report",
  527. ChartPermissionId: Number(this.tabAct_id),
  528. });
  529. }
  530. if (this.tabAct_id && app.globalData.isSx) {
  531. this.getTradeList();
  532. }
  533. },
  534. /**
  535. * 用户点击分享
  536. */
  537. onShareAppMessage: function (res) {
  538. return {
  539. title: this.isHorzMobile ? "好友向您推荐此内容,上传名片享查研观向免费月卡!" : "产业报告",
  540. path: "/pages/reportForm/reportForm?tab=" + this.tabAct_id + "&tabs=" + this.tabAct_idTwo,
  541. success: (res) => {},
  542. fail: (err) => {},
  543. };
  544. },
  545. onHide() {
  546. if (this.showTransition) {
  547. this.showTransition = false;
  548. }
  549. if (this.strategyIndex == 4 || this.strategyIndex == 5) return;
  550. },
  551. };
  552. </script>
  553. <style lang="scss">
  554. @import "./index.scss";
  555. .reportForm-container {
  556. .nav-bar-wrap {
  557. background-color: #fff;
  558. color: #fff;
  559. position: sticky;
  560. top: 0;
  561. left: 0;
  562. width: 100%;
  563. z-index: 99;
  564. padding-left: 30rpx;
  565. .content {
  566. position: relative;
  567. display: flex;
  568. align-items: center;
  569. width: 70%;
  570. height: 63rpx;
  571. margin-bottom: 20rpx;
  572. .hot-top {
  573. display: flex;
  574. align-items: center;
  575. width: 140rpx;
  576. height: 100%;
  577. color: #3385ff;
  578. font-size: 30rpx;
  579. flex-shrink: 0;
  580. .hot-img {
  581. width: 28rpx;
  582. height: 28rpx;
  583. }
  584. }
  585. .search-box {
  586. display: flex;
  587. align-items: center;
  588. flex: 1;
  589. height: 100%;
  590. font-size: 30rpx;
  591. color: #8d8d8d;
  592. background-color: #f6f6f6;
  593. padding-left: 33rpx;
  594. border-radius: 70rpx;
  595. // border: 1rpx solid #e5e5e5;
  596. }
  597. .sea_ipt {
  598. padding-left: 15rpx;
  599. }
  600. }
  601. .second-tabs {
  602. width: 100%;
  603. display: flex;
  604. overflow-x: auto;
  605. background-color: #fff;
  606. font-size: 34rpx;
  607. color: #999999;
  608. &::-webkit-scrollbar {
  609. width: 0;
  610. height: 0;
  611. display: none;
  612. }
  613. .item {
  614. position: relative;
  615. padding-bottom: 16rpx;
  616. margin-right: 50rpx;
  617. flex-shrink: 0;
  618. .limit-img {
  619. position: absolute;
  620. top: -15rpx;
  621. right: -50rpx;
  622. z-index: 99;
  623. }
  624. .active {
  625. position: absolute;
  626. left: 0;
  627. bottom: 0;
  628. height: 4rpx;
  629. width: 100%;
  630. border-radius: 1rpx;
  631. background: linear-gradient(90deg, #2e85ff 0%, #7eeaf6 100%);
  632. }
  633. }
  634. .tabs-active {
  635. color: #3385ff;
  636. font-weight: 500;
  637. }
  638. .tabs-img {
  639. width: 46rpx;
  640. height: 26rpx;
  641. }
  642. }
  643. }
  644. .label-content {
  645. display: flex;
  646. flex-wrap: wrap;
  647. background-color: #fff;
  648. padding: 30rpx 30rpx 0rpx 80rpx;
  649. margin: 20rpx 0 0;
  650. .item {
  651. margin-bottom: 20px !important;
  652. }
  653. }
  654. .label-content-column {
  655. display: flex;
  656. flex-wrap: wrap;
  657. flex-direction: column;
  658. overflow: hidden;
  659. padding: 30rpx 30rpx 0;
  660. overflow-x: auto;
  661. height: 258rpx;
  662. margin: 20rpx 0 0;
  663. background-color: #fff;
  664. justify-content: space-between;
  665. &::after {
  666. content: "";
  667. width: 0rpx;
  668. height: 46rpx;
  669. }
  670. }
  671. .label-content .item,
  672. .label-content-column .item {
  673. display: flex;
  674. align-items: center;
  675. justify-content: center;
  676. margin-right: 40rpx;
  677. margin-bottom: 10px;
  678. width: 170rpx;
  679. height: 46rpx;
  680. background: #f5f5f5;
  681. box-shadow: 0px 2rpx 9rpx 0rpx rgba(0, 0, 0, 0.16), inset 0rpx 4rpx 4rpx 0rpx rgba(255, 255, 255, 0.49);
  682. border-radius: 65rpx;
  683. font-size: 26rpx;
  684. }
  685. .label-content .item,
  686. .label-content-column .item-size {
  687. font-size: 24rpx;
  688. }
  689. }
  690. .content-intimate {
  691. position: fixed;
  692. display: flex;
  693. align-items: center;
  694. bottom: 96rpx;
  695. right: 41rpx;
  696. height: 156rpx;
  697. .content {
  698. width: 432rpx;
  699. height: 112rpx;
  700. background-color: #fff;
  701. display: flex;
  702. border-radius: 56rpx;
  703. overflow: hidden;
  704. .cont-border {
  705. margin: 0 2rpx;
  706. }
  707. view {
  708. flex: 1;
  709. background-color: #3385ff;
  710. font-size: 30rpx;
  711. color: #fff;
  712. padding-top: 15rpx;
  713. text-align: center;
  714. }
  715. }
  716. image {
  717. width: 156rpx;
  718. height: 100%;
  719. z-index: 99;
  720. }
  721. }
  722. .new-recommend {
  723. width: 220rpx;
  724. height: 51rpx;
  725. display: flex;
  726. align-items: center;
  727. justify-content: space-between;
  728. color: #999999;
  729. font-size: 24rpx;
  730. background-color: #f8f8fa;
  731. border-radius: 47rpx;
  732. margin: auto 0;
  733. overflow: hidden;
  734. text {
  735. height: 51rpx;
  736. line-height: 51rpx;
  737. width: 120rpx;
  738. text-align: center;
  739. }
  740. .items-act {
  741. background-color: #3385ff;
  742. color: #fff;
  743. border-radius: 47rpx;
  744. }
  745. }
  746. </style>