material.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663
  1. <template>
  2. <view class="container Index-container">
  3. <view class="top-content-box">
  4. <search-bar @goSearch="goSearch" :searchTitle="searchPlaceholderList.SummarySearch" :width="70" />
  5. <view class="top-tabs">
  6. <block v-for="item in topTabBars" :key="item.Id">
  7. <view v-if="item.IsShow" :class="['item', item.val == topTabsActive && 'tabs-active']" @click="topTabsChange(item)">
  8. {{ item.Name }}
  9. <block v-if="(item.Id === 3 || item.Name == '图表') && wholeShowListData.IsShowChart">
  10. <image class="limit-img tabs-img" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/limit_icon.png" mode=""></image>
  11. </block>
  12. <view class="active" v-if="item.Id == topTabsActive"></view>
  13. </view>
  14. </block>
  15. </view>
  16. <view class="tabs-content">
  17. <view class="second-tabs" v-if="topTabsActive == '2' || topTabsActive == '3'">
  18. <view :class="['item', item.ChartPermissionId == secondActive && 'tabs-active']" v-for="(item, index) in secondBars" :key="item.ChartPermissionId" @click="handleClickTopSub(item)">
  19. {{ item.PermissionName }}
  20. <block v-if="wholeShowListData.IsShowResearch && index === secondBars.length - 1 && topTabsActive == '2'">
  21. <image class="limit-img tabs-img" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/limit_icon.png" mode=""></image>
  22. </block>
  23. <view class="active" v-if="item.ChartPermissionId == secondActive"></view>
  24. </view>
  25. </view>
  26. <block v-if="topTabsActive == '3'">
  27. <view class="children-ul">
  28. <view :class="['chart-children', chartChildrenActive == item.CtagId ? 'children-active' : '']" v-for="item in chartChildren" :key="item.CtagId" @click="handleChartChildren(item)">{{
  29. item.Name
  30. }}</view>
  31. </view>
  32. </block>
  33. <view v-if="topTabsActive == '4'" class="medium-ul">
  34. <view class="item-content">
  35. <view @click="mediumClickHandler(item)" :class="['item', mediumActive === item.value && 'item-act']" v-for="item in mediumSelect" :key="item.value">{{ item.name }}</view>
  36. </view>
  37. </view>
  38. </view>
  39. </view>
  40. <block v-if="haveData">
  41. <view class="content-ul">
  42. <block v-if="topTabsActive == 4">
  43. <view style="width: 49%" v-for="item in roadshowPageList" :key="item.Id">
  44. <RoadshowItem :list="item" @isCollectionHandeler="isCollectionHandeler" />
  45. </view>
  46. </block>
  47. <block v-else>
  48. <view class="report-ul" style="width: 49%">
  49. <block v-for="(item, index) in dataList" :key="index">
  50. <view v-if="index % 2 == 0">
  51. <ChartItem v-if="topTabsActive == 3" :list="item" :isMyChartCollection="isMyChartCollection" @myChartIsTop="myChartIsTop" @myChartCollect="myChartCollect" />
  52. <ReportItem v-if="topTabsActive == 2" :list="item" />
  53. </view>
  54. </block>
  55. </view>
  56. <view class="report-ul" style="width: 49%">
  57. <block v-for="(item, index) in dataList" :key="index">
  58. <view v-if="index % 2 !== 0">
  59. <ChartItem v-if="topTabsActive == 3" :list="item" :isMyChartCollection="isMyChartCollection" @myChartIsTop="myChartIsTop" @myChartCollect="myChartCollect" />
  60. <ReportItem v-if="topTabsActive == 2" :list="item" />
  61. </view>
  62. </block>
  63. </view>
  64. </block>
  65. </view>
  66. <u-loadmore :status="status" icon-type="flower" :load-text="loadText" margin-top="20" v-if="pageNum > 1" />
  67. </block>
  68. <view class="nodata" v-else-if="haveData === false" style="padding-top: 400rpx">
  69. <block class="nodata" v-if="!isBindingMobile && secondActive == 0">
  70. <text>请先绑定联系方式</text>
  71. <view class="bind-mobile" @click="bindingMobile">绑定联系方式</view>
  72. </block>
  73. <block v-else>
  74. <image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/act_search.png" mode="" class="nodata_ico"></image>
  75. <text>{{ topTabsActive == 3 && secondActive == 0 ? "暂无收藏的图表" : "暂时没有数据" }}</text>
  76. </block>
  77. </view>
  78. <freeCharge class="free-charge" :isShowFreeBtn="isShowFree" />
  79. </view>
  80. </template>
  81. <script>
  82. import { Home, Reports, Chart, activity } from "@/config/api.js";
  83. import { Throttle, deepCopy } from "@/config/util.js";
  84. import freeCharge from "@/components/freeCharge";
  85. import SearchBar from "@/components/search-bar/searchBar.vue";
  86. import ChartItem from "@/components/ItemComponent/chartItem.vue";
  87. import ReportItem from "@/components/ItemComponent/reportItem.vue";
  88. import RoadshowItem from "@/components/ItemComponent/roadshowItem.vue";
  89. let app = getApp();
  90. export default {
  91. data() {
  92. return {
  93. topTabBars: [],
  94. topTabsActive: 2, //一级top的tabs
  95. secondActive: "", //二级的tabs
  96. secondBars: [], //二级的tabs数组
  97. chartChildren: [], //二级的tabs下的标签
  98. chartChildrenActive: 0,
  99. refresh: false,
  100. pageSize: 10, //条数
  101. pageNum: 1, //页码
  102. haveMore: true, //是否有更多数据
  103. haveData: null, //是否有数据
  104. //数据列表
  105. dataList: [],
  106. status: "loadmore",
  107. loadText: {
  108. loadmore: "上拉加载更多",
  109. loading: "加载中",
  110. nomore: "已经到底了",
  111. },
  112. showTransition: false, //点击绝密后的隐现
  113. isBindingMobile: true, //图表我的收藏是否绑定手机号
  114. videoContext: null,
  115. audioShareId: "", //通过分享单个音频点进页面时使用
  116. videoShareId: "", //通过分享单个视频点进页面时使用
  117. activityShareId: "",
  118. roadshowPageList: [], //音频 视频 list
  119. mediumSelect: [
  120. { name: "全部", value: 0 },
  121. { name: "视频", value: 1 },
  122. { name: "音频", value: 2 },
  123. ],
  124. mediumActive: 0,
  125. };
  126. },
  127. components: {
  128. freeCharge,
  129. ChartItem,
  130. ReportItem,
  131. RoadshowItem,
  132. SearchBar,
  133. },
  134. watch: {},
  135. onLoad(optios) {
  136. this.getHeaderTab();
  137. if (optios.topTabsActive) {
  138. this.topTabsActive = optios.topTabsActive;
  139. this.secondActive = optios.secondActive;
  140. this.chartChildrenActive = optios.childrenActive;
  141. this.videoShareId = optios.videoShareId;
  142. this.audioShareId = optios.audioShareId;
  143. this.activityShareId = optios.activityId;
  144. }
  145. this.getTabs();
  146. this.getReportList();
  147. this.$store.dispatch("checkHandle", "noGO");
  148. },
  149. onShow() {
  150. this.getRecordTracking("纪要库");
  151. this.$store.commit("setRouterActivity", "纪要库");
  152. this.$store.commit("setRouterReport", "纪要库");
  153. //进入页面的记录
  154. this.$store.dispatch("statistics", { PageType: "Activit" });
  155. // #ifdef MP-WEIXIN
  156. uni.hideHomeButton();
  157. // #endif
  158. this.$store.commit("audioBg/parseIntAudio", true);
  159. },
  160. computed: {
  161. curVoiceId() {
  162. //当前正在播放的音频id
  163. return this.$store.state.audioBg.indexId;
  164. },
  165. curAudioPaused() {
  166. //当前音频是否暂停状态
  167. return this.$store.state.audioBg.paused;
  168. },
  169. showAudioBox() {
  170. return this.$store.state.audioBg.parseIntShow;
  171. },
  172. isMyChartCollection() {
  173. return this.topTabsActive == "3" && this.secondActive == 0;
  174. },
  175. },
  176. methods: {
  177. //点击顶部一级分类
  178. topTabsChange(item) {
  179. this.topTabsActive = item.Id;
  180. this.chartChildren = [];
  181. this.chartChildrenActive = 0;
  182. this.secondActive = "";
  183. this.pageNum = 1;
  184. this.dataList = [];
  185. this.audioShareId = "";
  186. this.videoShareId = "";
  187. uni.pageScrollTo({
  188. scrollTop: 0,
  189. duration: 0,
  190. });
  191. if (this.topTabsActive == "2" || this.topTabsActive == "3") {
  192. this.getTabs();
  193. } else {
  194. this.initData();
  195. }
  196. this.$store.commit("setRouterReport", item.Id === 3 ? "我的收藏" : "纪要库");
  197. },
  198. //点击顶部二级分类
  199. handleClickTopSub(item) {
  200. this.$store.commit("setRouterReport", item.PermissionName === "我的收藏" ? "我的收藏" : "纪要库");
  201. this.secondActive = item.ChartPermissionId;
  202. this.chartChildren = [];
  203. this.chartChildrenActive = 0;
  204. this.childrenChartData();
  205. this.initData();
  206. },
  207. //点击图标的二级分类 处理数据
  208. childrenChartData() {
  209. if (this.topTabsActive == 3 && this.secondActive != 0) {
  210. let arr = [];
  211. this.secondBars &&
  212. this.secondBars.forEach((item) => {
  213. if (this.secondActive == item.ChartPermissionId) {
  214. deepCopy(arr, item.List);
  215. arr.unshift({
  216. CtagId: 0,
  217. Name: "全部",
  218. });
  219. this.chartChildren = arr;
  220. }
  221. });
  222. this.chartChildrenActive > 0 ? "" : (this.chartChildrenActive = 0);
  223. }
  224. },
  225. //点击图标的三级分类
  226. handleChartChildren(item) {
  227. this.chartChildrenActive = item.CtagId;
  228. this.initData();
  229. },
  230. // 点击为路演的筛选
  231. mediumClickHandler(item) {
  232. this.mediumActive = item.value;
  233. this.initData();
  234. },
  235. //点击
  236. initData() {
  237. this.pageNum = 1;
  238. this.dataList = [];
  239. uni.pageScrollTo({
  240. scrollTop: 0,
  241. duration: 0,
  242. });
  243. this.getReportList();
  244. },
  245. /* 获取tab分类 */
  246. getTabs() {
  247. this.secondBars = [];
  248. this.topTabsActive == "2"
  249. ? Home.Tab().then((res) => {
  250. if (res.Ret === 200) {
  251. this.secondBars = res.Data.List;
  252. this.secondActive > 0 ? "" : (this.secondActive = this.secondBars[0].ChartPermissionId);
  253. this.getReportList();
  254. }
  255. })
  256. : this.topTabsActive == "3"
  257. ? Chart.getChartPatg().then((res) => {
  258. if (res.Ret === 200) {
  259. let arr = res.Data;
  260. arr.unshift({
  261. ChartPermissionId: 0,
  262. PermissionName: "我的收藏",
  263. });
  264. this.secondBars = arr;
  265. this.secondActive ? "" : (this.secondActive = 0);
  266. this.secondActive > 0 && this.childrenChartData();
  267. this.getReportList();
  268. }
  269. })
  270. : "";
  271. },
  272. /* 获取列表 */
  273. async getReportList() {
  274. if (this.topTabsActive == "3" && this.secondActive == 0) {
  275. const res = await Chart.getChartcollection({
  276. PageSize: this.pageSize,
  277. CurrentIndex: this.pageNum,
  278. });
  279. if (res.Ret === 200) {
  280. this.status = this.pageNum < res.Data.Paging.Pages ? "loadmore" : "nomore";
  281. this.isBindingMobile = res.Data.IsBindingMobile;
  282. if (this.pageNum === 1) {
  283. this.dataList = res.Data.List || [];
  284. this.haveData = this.dataList.length > 0 ? true : false;
  285. } else {
  286. this.dataList = this.dataList.concat(res.Data.List);
  287. }
  288. }
  289. } else if (this.topTabsActive == 4) {
  290. const res = await Home.microRoadshowList({
  291. PageSize: this.pageSize,
  292. CurrentIndex: this.pageNum,
  293. AudioId: this.audioShareId,
  294. VideoId: this.activityShareId ? "" : this.videoShareId,
  295. ActivityVideoId: this.activityShareId && this.videoShareId,
  296. Filter: this.mediumActive,
  297. });
  298. if (res.Ret === 200) {
  299. this.status = this.pageNum < res.Data.Paging.Pages ? "loadmore" : "nomore";
  300. if (this.pageNum == 1) {
  301. this.roadshowPageList = res.Data.List || [];
  302. this.haveData = this.roadshowPageList.length > 0 ? true : false;
  303. if (this.refresh) {
  304. uni.stopPullDownRefresh();
  305. this.refresh = false;
  306. }
  307. } else {
  308. this.roadshowPageList = this.roadshowPageList.concat(res.Data.List);
  309. }
  310. }
  311. } else {
  312. const res = await Home.getList({
  313. PageSize: this.pageSize,
  314. CurrentIndex: this.pageNum,
  315. ChartPermissionId: this.secondActive,
  316. CtagId: this.chartChildrenActive,
  317. ListType: this.topTabsActive,
  318. });
  319. if (res.Ret === 200) {
  320. this.processingData(res);
  321. }
  322. }
  323. },
  324. //处理数据
  325. processingData(res) {
  326. if (!res.Data.HaveResearch) {
  327. this.$util.modalShow("", "您暂无查看买方研选权限", "", () => {
  328. uni.reLaunch({
  329. url: "/pages/index/index",
  330. });
  331. });
  332. }
  333. this.status = this.pageNum < res.Data.Paging.Pages ? "loadmore" : "nomore";
  334. res.Data.List &&
  335. res.Data.List.forEach((item) => {
  336. if (item.BodyHtml) {
  337. item.BodyHtml = item.BodyHtml.replace(/'\'/g, "");
  338. }
  339. });
  340. if (this.topTabsActive == "2") {
  341. if (this.pageNum === 1) {
  342. this.dataList = res.Data.List || [];
  343. this.haveData = this.dataList.length ? true : false;
  344. } else {
  345. this.dataList = this.dataList.concat(res.Data.List);
  346. }
  347. } else {
  348. if (this.pageNum === 1) {
  349. this.haveData = res.Data.List ? true : res.Data.ChartList ? true : false;
  350. }
  351. if (!res.Data.List) {
  352. this.dataList = this.dataList.concat(res.Data.ChartList);
  353. } else if (!res.Data.ChartList) {
  354. this.dataList = this.dataList.concat(res.Data.List);
  355. } else {
  356. this.dataList.push(res.Data.List.shift());
  357. let newArr = [];
  358. let newArrTwo = [];
  359. for (let i = 0; i < res.Data.List.length; i += 2) {
  360. newArr.push(res.Data.List.slice(i, i + 2));
  361. }
  362. for (let i = 0; i < res.Data.ChartList.length; i += 2) {
  363. newArrTwo.push(res.Data.ChartList.slice(i, i + 2));
  364. }
  365. let arr = [];
  366. newArr.forEach((item, index) => {
  367. if (newArrTwo[index]) {
  368. arr.push(newArrTwo[index], item);
  369. } else {
  370. arr.push(item);
  371. }
  372. });
  373. this.dataList = this.dataList.concat(arr.flat(Infinity));
  374. }
  375. }
  376. if (this.refresh) {
  377. uni.stopPullDownRefresh();
  378. this.refresh = false;
  379. }
  380. },
  381. //我的收藏的删除
  382. myChartCollect(id) {
  383. uni.showModal({
  384. content: "确认要将该图表移除我的收藏吗?",
  385. confirmColor: "#3385FF",
  386. cancelColor: "#606266",
  387. success: async (res) => {
  388. if (res.confirm) {
  389. const res = await Chart.myChartCollect({
  390. ChartId: id,
  391. });
  392. if (res.Ret === 200) {
  393. this.initData();
  394. this.$util.toast("已取消收藏");
  395. }
  396. }
  397. },
  398. });
  399. },
  400. //我的收藏 置顶
  401. async myChartIsTop(id) {
  402. const res = await Chart.myChartTop({
  403. ChartId: id,
  404. });
  405. if (res.Ret === 200) {
  406. this.initData();
  407. this.$util.toast(res.Msg);
  408. }
  409. },
  410. /* 搜索 */
  411. goSearch() {
  412. this.$store.dispatch("checkHandle", "/pages-search/indedxSearch/indedxSearch?isType=" + this.topTabsActive + "&source=纪要库页面");
  413. },
  414. /* 绑定联系方式 */
  415. bindingMobile() {
  416. uni.navigateTo({
  417. url: "/pageMy/login/login",
  418. });
  419. },
  420. //获取顶部导航
  421. async getHeaderTab() {
  422. const res = await Home.headerTab();
  423. if (res.Ret === 200) {
  424. this.topTabBars = res.Data || [];
  425. }
  426. },
  427. // 微路演收藏
  428. async isCollectionHandeler(item) {
  429. const res = await Home.microRoadshowCollect({
  430. Id: item.Id,
  431. SourceType: item.Type,
  432. PageRouter: this.$store.state.pageRouterReport,
  433. });
  434. if (res.Ret === 200) {
  435. let index = this.roadshowPageList.findIndex((key) => key.Id == item.Id);
  436. res.Data.Status == 1 ? (this.roadshowPageList[index].IsCollect = true) : (this.roadshowPageList[index].IsCollect = false);
  437. uni.showToast({
  438. title: res.Msg,
  439. duration: 2000,
  440. });
  441. }
  442. },
  443. },
  444. onHide() {
  445. this.$store.commit("audioBg/parseIntAudio", false);
  446. },
  447. mounted() {
  448. uni.$on("updateAudioVideo", (data) => {
  449. this.$store.dispatch("checkHandle", "noGO");
  450. this.getReportList();
  451. });
  452. },
  453. /* 下拉刷新 */
  454. onPullDownRefresh: Throttle(function () {
  455. this.audioShareId = "";
  456. this.videoShareId = "";
  457. this.activityShareId = "";
  458. this.status = "loadmore";
  459. this.refresh = true;
  460. this.dataList = [];
  461. this.pageNum = 1;
  462. this.getReportList();
  463. }),
  464. // 上拉加载
  465. onReachBottom: Throttle(function () {
  466. if (this.status === "nomore") return;
  467. this.status = "loading";
  468. this.pageNum++;
  469. this.getReportList();
  470. }),
  471. /** 用户点击分享*/
  472. onShareAppMessage: function ({ from, target }) {
  473. if (from === "button") {
  474. let item = target.dataset.item;
  475. let audio_id = item.Type == 1 || item.AudioType == 1 ? item.Id : "";
  476. // type=2 -- 活动视频 type=3 -- 产业视频
  477. let video_id = item.Type == 2 || item.Type == 3 ? item.Id : "";
  478. let activity_id = item.Type == 2 && item.ActivityId > 0 ? item.ActivityId : "";
  479. let title_share = item.AudioTitle || item.Title;
  480. this.getRecordTracking("微路演转发", { ActivityId: item.ActivityId, Id: item.Id, Type: item.Type });
  481. return {
  482. title: this.isHorzMobile ? "好友向您推荐此内容,上传名片享查研观向免费月卡!" : title_share,
  483. path: "/pages/material/material?topTabsActive=4" + "&audioShareId=" + audio_id + "&videoShareId=" + video_id + "&activityId=" + activity_id,
  484. imageUrl: item.AudioShareImg || item.ShareImg,
  485. };
  486. } else {
  487. return {
  488. title: this.isHorzMobile ? "好友向您推荐此内容,上传名片享查研观向免费月卡!" : "素材库",
  489. path: "/pages/material/material?topTabsActive=" + this.topTabsActive + "&secondActive=" + this.secondActive + "&childrenActive=" + this.chartChildrenActive,
  490. success: (res) => {},
  491. fail: (err) => {},
  492. };
  493. }
  494. },
  495. };
  496. </script>
  497. <style lang="scss">
  498. .Index-container {
  499. background-color: #f7f7f7;
  500. font-size: 30rpx;
  501. .content-ul {
  502. display: flex;
  503. flex-wrap: wrap;
  504. justify-content: space-between;
  505. padding: 20rpx 15rpx;
  506. }
  507. .top-content-box {
  508. position: sticky;
  509. top: 0;
  510. left: 0;
  511. width: 100%;
  512. z-index: 9;
  513. .top-tabs {
  514. width: 100%;
  515. display: flex;
  516. align-items: center;
  517. justify-content: center;
  518. font-size: 34rpx;
  519. background-color: #fff;
  520. padding: 35rpx 0 10rpx;
  521. &::-webkit-scrollbar {
  522. width: 0;
  523. height: 0;
  524. display: none;
  525. }
  526. .item {
  527. position: relative;
  528. padding-bottom: 8rpx;
  529. margin-right: 60rpx;
  530. flex-shrink: 0;
  531. .limit-img {
  532. position: absolute;
  533. top: -15rpx;
  534. right: -50rpx;
  535. z-index: 99;
  536. }
  537. .active {
  538. position: absolute;
  539. left: 0;
  540. bottom: 0;
  541. height: 4rpx;
  542. width: 100%;
  543. border-radius: 1rpx;
  544. background: linear-gradient(90deg, #2e85ff 0%, #7eeaf6 100%);
  545. }
  546. }
  547. .tabs-active {
  548. color: #3385ff;
  549. font-weight: 500;
  550. }
  551. }
  552. }
  553. .nav-bar-wrap {
  554. padding-left: 35rpx;
  555. }
  556. .tabs-content {
  557. padding: 0 30rpx;
  558. background-color: #fff;
  559. .children-ul {
  560. display: flex;
  561. flex-wrap: wrap;
  562. .children-active {
  563. background-color: #3385ff;
  564. color: #fff;
  565. }
  566. }
  567. .medium-ul {
  568. display: flex;
  569. justify-content: flex-end;
  570. padding: 10px 0;
  571. .item-content {
  572. display: flex;
  573. height: 51rpx;
  574. background: #f8f8fa;
  575. width: 345rpx;
  576. border-radius: 64rpx;
  577. color: #999999;
  578. }
  579. .item {
  580. display: flex;
  581. align-items: center;
  582. justify-content: center;
  583. width: 115rpx;
  584. height: 51rpx;
  585. border-radius: 47rpx;
  586. }
  587. .item-act {
  588. background-color: #3385ff;
  589. color: #fff;
  590. }
  591. }
  592. .chart-children {
  593. padding: 10rpx 20rpx;
  594. margin: 0rpx 20rpx 20rpx 0;
  595. background-color: #f9f9f9;
  596. color: #666666;
  597. font-size: 26rpx;
  598. border-radius: 4rpx;
  599. }
  600. }
  601. .second-tabs {
  602. width: 100%;
  603. display: flex;
  604. overflow-x: auto;
  605. background-color: #fff;
  606. font-size: 30rpx;
  607. color: #999999;
  608. padding: 20rpx 0;
  609. &::-webkit-scrollbar {
  610. width: 0;
  611. height: 0;
  612. display: none;
  613. }
  614. .item {
  615. position: relative;
  616. padding-bottom: 16rpx;
  617. margin-right: 50rpx;
  618. flex-shrink: 0;
  619. .limit-img {
  620. position: absolute;
  621. top: -15rpx;
  622. right: -50rpx;
  623. z-index: 99;
  624. }
  625. .active {
  626. position: absolute;
  627. left: 0;
  628. bottom: 0;
  629. height: 4rpx;
  630. width: 100%;
  631. border-radius: 1rpx;
  632. background: linear-gradient(90deg, #2e85ff 0%, #7eeaf6 100%);
  633. }
  634. }
  635. .tabs-active {
  636. color: #3385ff;
  637. font-weight: 500;
  638. }
  639. }
  640. .tabs-img {
  641. width: 46rpx;
  642. height: 26rpx;
  643. }
  644. .nodata {
  645. font-size: 40rpx;
  646. .bind-mobile {
  647. width: 244rpx;
  648. height: 58rpx;
  649. background: #3385ff;
  650. border-radius: 8rpx;
  651. font-size: 28rpx;
  652. line-height: 58rpx;
  653. text-align: center;
  654. color: #fff;
  655. margin: 50rpx auto;
  656. }
  657. }
  658. }
  659. </style>