dataDetails.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657
  1. <template>
  2. <view class="column flex-1 hb">
  3. <view>
  4. <dropdownPanel :filterData='filterData' @onChange="onChange" @confirm="confirm" @reset="reset">
  5. <view class="column flex-1 hb hidden">
  6. <view v-if="searchbarNav == 0">
  7. <scroll-view scroll-y="true" class="hb" :refresher-enabled="isEnableds"
  8. :refresher-triggered="triggereds" refresher-background="rgba(0,0,0,0)"
  9. @refresherrefresh="pullDownRefreshs" @refresherrestore="triggereds = false"
  10. :upper-threshold="100" :lower-threshold="100" @refresherabort="triggereds = false"
  11. @scrolltolower="reachBottoms">
  12. <view class="p20 fs28 column flex-1 scrolly">
  13. <view v-for="(items,index) in courseOne" :key="items" :class="courseid==items.periodId?'actNav':''"
  14. class="m10 p10 center" style="border-bottom: 2rpx solid #eee;" @click="getCourseOne(items.periodId)">
  15. {{items.periodName}}
  16. </view>
  17. </view>
  18. <u-loadmore :status="statusA" />
  19. </scroll-view>
  20. </view>
  21. <view v-else class="p20 fs28 column flex-1 hidden">
  22. <scroll-view scroll-y="true" class="hb" :refresher-enabled="isEnabled"
  23. :refresher-triggered="triggered" refresher-background="rgba(0,0,0,0)"
  24. @refresherrefresh="pullDownRefresh" @refresherrestore="triggered = false"
  25. :upper-threshold="100" :lower-threshold="100" @refresherabort="triggered = false"
  26. @scrolltolower="reachBottom">
  27. <view v-for="(item,index) in courseTwo" :key="index"
  28. :class="courseids==item.videoId?'actNav':''" class="m10 p10 center"
  29. style="border-bottom: 2rpx solid #eee;" @click="getCourseTwo(item.videoId)">
  30. {{item.title}}
  31. </view>
  32. <u-loadmore :status="status" />
  33. <view class="ptb40"></view>
  34. </scroll-view>
  35. </view>
  36. </view>
  37. </dropdownPanel>
  38. </view>
  39. <view class="bgf m20 radius8 column flex-1 scrolly" style="max-height: 100%;">
  40. <view class="column flex-1 scrolly">
  41. <u-collapse ref="collapseRef" :border="false" :value="collapseValue" @change="changeCollapse">
  42. <!-- #ifdef MP-WEIXIN -->
  43. <u-collapse-item name="course" title="课程统计">
  44. <!-- #endif -->
  45. <!-- #ifndef MP-WEIXIN -->
  46. <u-collapse-item name="course">
  47. <text slot="title" class="bold fs32">课程统计</text>
  48. <!-- #endif -->
  49. <text slot="value" class="base-color fs24">{{collapseValue.includes('course')?'收回':'展开'}}</text>
  50. <view slot="right-icon">
  51. <u-icon name="arrow-right" color="#1677ff" size="12"></u-icon>
  52. </view>
  53. <view class="justify-around ">
  54. <view class="base-bg-f8 radius16 p30 flex-1">
  55. <view class="mb12 bold">营期</view>
  56. <view class="base-color"><text class="bold fs40">
  57. {{courselist.courseNum}}</text>期</view>
  58. </view>
  59. <view class="base-bg-f8 radius16 p20 flex-1 mlr20">
  60. <view class="mb12 bold">课程数</view>
  61. <view class="base-color"><text class="bold fs40">
  62. {{courselist.videoNum}}</text>课</view>
  63. </view>
  64. <view class="base-bg-f8 radius16 p20 flex-1">
  65. <view class="mb12 bold">参与会员</view>
  66. <view class="base-color"><text class="bold fs40">
  67. {{courselist.courseUserNum}}</text>人</view>
  68. </view>
  69. </view>
  70. </u-collapse-item>
  71. <!-- #ifdef MP-WEIXIN -->
  72. <u-collapse-item name="questions" title="看课统计">
  73. <!-- #endif -->
  74. <!-- #ifndef MP-WEIXIN -->
  75. <u-collapse-item name="questions">
  76. <text slot="title" class="bold fs32">看课统计</text>
  77. <!-- #endif -->
  78. <text slot="value"
  79. class="base-color fs24">{{collapseValue.includes('questions')?'收回':'展开'}}</text>
  80. <view slot="right-icon">
  81. <u-icon name="arrow-right" color="#1677ff" size="12"></u-icon>
  82. </view>
  83. <view class="justify-around ">
  84. <view class="base-bg-f8 radius16 p30 flex-1">
  85. <view class="mb12 bold">观看人数</view>
  86. <view class="base-color"><text class="bold fs40">{{courselist.courseWatchNum}}</text>人</view>
  87. </view>
  88. <view class="base-bg-f8 radius16 p20 flex-1 mlr20">
  89. <view class="mb12 bold">完播人数</view>
  90. <view class="base-color"><text class="bold fs40">{{courselist.courseCompleteNum}}</text>人</view>
  91. </view>
  92. <view class="base-bg-f8 radius16 p20 flex-1">
  93. <view class="mb12 bold">完播率</view>
  94. <view class="base-color"><text class="bold fs40">{{courselist.courseCompleteRate}}</text>%</view>
  95. </view>
  96. </view>
  97. </u-collapse-item>
  98. <!-- #ifdef MP-WEIXIN -->
  99. <u-collapse-item name="redenvelope" title="答题统计">
  100. <!-- #endif -->
  101. <!-- #ifndef MP-WEIXIN -->
  102. <u-collapse-item name="redenvelope">
  103. <text slot="title" class="bold fs32">答题统计</text>
  104. <!-- #endif -->
  105. <text slot="value"
  106. class="base-color fs24">{{collapseValue.includes('redenvelope')?'收回':'展开'}}</text>
  107. <view slot="right-icon">
  108. <u-icon name="arrow-right" color="#1677ff" size="12"></u-icon>
  109. </view>
  110. <view class="justify-around ">
  111. <view class="base-bg-f8 radius16 p30 flex-1">
  112. <view class="mb12 bold">答题人数</view>
  113. <view class="base-color"><text class="bold fs40">
  114. {{courselist.answerNum}}</text>人</view>
  115. </view>
  116. <view class="base-bg-f8 radius16 p20 flex-1 mlr20">
  117. <view class="mb12 bold">正确人数</view>
  118. <view class="base-color"><text class="bold fs40">
  119. {{courselist.answerRightNum}}</text>人</view>
  120. </view>
  121. <view class="base-bg-f8 radius16 p20 flex-1">
  122. <view class="mb12 bold">正确率</view>
  123. <view class="base-color"><text class="bold fs40">
  124. {{courselist.answerRightRate}}</text>%</view>
  125. </view>
  126. </view>
  127. </u-collapse-item>
  128. <!-- #ifdef MP-WEIXIN -->
  129. <u-collapse-item name="live" title="红包统计">
  130. <!-- #endif -->
  131. <!-- #ifndef MP-WEIXIN -->
  132. <u-collapse-item name="live">
  133. <text slot="title" class="bold fs32">红包统计</text>
  134. <!-- #endif -->
  135. <text slot="value" class="base-color fs24">{{collapseValue.includes('live')?'收回':'展开'}}</text>
  136. <view slot="right-icon">
  137. <u-icon name="arrow-right" color="#1677ff" size="12"></u-icon>
  138. </view>
  139. <view class="justify-around ">
  140. <view class="base-bg-f8 radius16 p30 flex-1">
  141. <view class="mb12 bold">红包个数</view>
  142. <view class="base-color"><text class="bold fs40">
  143. {{courselist.redPacketNum}}</text>个</view>
  144. </view>
  145. <view class="base-bg-f8 radius16 p20 mlr20 justify-start align-center">
  146. <image :src="imgPath+'/app/images/redenvelope.png'" class="w102 h102"></image>
  147. <view class="ml20">
  148. <view class="mb12 bold">答题红包金额</view>
  149. <view class="base-color">
  150. <text class="bold fs40">{{courselist.redPacketAmount}}</text>元
  151. </view>
  152. </view>
  153. </view>
  154. </view>
  155. </u-collapse-item>
  156. <!-- #ifdef MP-WEIXIN -->
  157. <u-collapse-item name="funnel" title="转化漏斗图" v-if="!ratelistState">
  158. <!-- #endif -->
  159. <!-- #ifndef MP-WEIXIN -->
  160. <u-collapse-item name="funnel" v-if="!ratelistState">
  161. <text slot="title" class="bold fs32">转化漏斗图</text>
  162. <!-- #endif -->
  163. <text slot="value" class="base-color fs24">{{collapseValue.includes('funnel')?'收回':'展开'}}</text>
  164. <view slot="right-icon">
  165. <u-icon name="arrow-right" color="#1677ff" size="12"></u-icon>
  166. </view>
  167. <view v-show="!ratelistState">
  168. <funnelChart :getratelist="getrateimg" />
  169. </view>
  170. <view v-show="ratelistState" class="center">暂无数据</view>
  171. </u-collapse-item>
  172. <!-- #ifdef MP-WEIXIN -->
  173. <u-collapse-item name="rank" title="排行榜">
  174. <!-- #endif -->
  175. <!-- #ifndef MP-WEIXIN -->
  176. <u-collapse-item name="rank">
  177. <text slot="title" class="bold fs32">排行榜</text>
  178. <!-- #endif -->
  179. <text slot="value" class="base-color fs24">{{collapseValue.includes('rank')?'收回':'展开'}}</text>
  180. <view slot="right-icon">
  181. <u-icon name="arrow-right" color="#1677ff" size="12"></u-icon>
  182. </view>
  183. <view class="flex-1">
  184. <!-- <view class="mt40">
  185. <view class="justify-between align-center">
  186. <view class="base-color-3 bold fs32">群管排行榜</view>
  187. <view class="justify-start" @click="ordergroup(1)" v-if="orderGroup=='asc'">
  188. <u-icon name="list-dot" size="20"></u-icon>
  189. <view>按正序(前20名)</view>
  190. </view>
  191. <view class="justify-start" @click="ordergroup(0)" v-else>
  192. <u-icon name="list-dot" size="20"></u-icon>
  193. <view>按倒序(后20名)</view>
  194. </view>
  195. </view>
  196. <view class="centerV">
  197. <u-tabs :list="list1" @click="clickTab" lineColor='#1773ff' lineWidth='40'
  198. activeStyle="font-weight:bold"></u-tabs>
  199. </view>
  200. <view class="justify-start align-center mtb28" v-for="(items,index) in rankListA"
  201. :key="index">
  202. <u-avatar :src="items.avatar" size="40"></u-avatar>
  203. <view class="flex-1 ml20">
  204. <view class="justify-between mb16">
  205. <view class="base-color-3 single-line-ellipsis">{{items.userName}}</view>
  206. <view v-if="activeA==1">{{items.completeRate}}%</view>
  207. <view v-else>{{items.answerRightRate}}%</view>
  208. </view>
  209. <u-line-progress :percentage="activeA==1?items.completeRate:items.answerRightRate" activeColor='#ed0922' />
  210. </view>
  211. </view>
  212. <view v-if="rankListA.length==0" class="center mtb32">暂无数据</view>
  213. </view> -->
  214. <view class="mt60 column flex-1">
  215. <view class="justify-between align-center">
  216. <view class="base-color-3 bold fs32">课程排行榜</view>
  217. <view class="justify-start" @click="ordergroupB(1)" v-if="orderGroupB=='asc'">
  218. <u-icon name="list-dot" size="20"></u-icon>
  219. <view>按正序(前20名)</view>
  220. </view>
  221. <view class="justify-start" @click="ordergroupB(0)" v-else>
  222. <u-icon name="list-dot" size="20"></u-icon>
  223. <view>按倒序(后20名)</view>
  224. </view>
  225. </view>
  226. <view class="centerV">
  227. <u-tabs :list="list1" @click="clickTabB" lineColor='#1773ff' lineWidth='40'
  228. activeStyle="font-weight:bold"></u-tabs>
  229. </view>
  230. <view class="justify-start align-center" style="height: fit-content;" v-for="(item,index) in rankListB" :key="index">
  231. <view class="flex-1 ml20">
  232. <view class="justify-between mb16">
  233. <view class="base-color-3 single-line-ellipsis">{{item.videoName}}</view>
  234. <view v-if="activeB==1">{{item.completeRate}}%</view>
  235. <view v-else>{{item.answerRightRate}}%</view>
  236. </view>
  237. <u-line-progress :percentage="activeB==1?item.completeRate:item.answerRightRate" activeColor='#ed0922' />
  238. </view>
  239. </view>
  240. <view v-if="rankListB.length==0" class="center mtb32">暂无数据</view>
  241. </view>
  242. </view>
  243. </u-collapse-item>
  244. </u-collapse>
  245. </view>
  246. </view>
  247. <u-loading-page :loading="viewload" iconSize="32" loadingColor="#3c9cff" fontSize="20"
  248. :loading-text="loadingtext"></u-loading-page>
  249. </view>
  250. </template>
  251. <script>
  252. import {
  253. getFsCourseList,
  254. getvideolist,
  255. getshopCoursenum,
  256. getcourseRates,
  257. getGroupRanklist,
  258. getCourseRanklist
  259. } from "@/api/manageCompany.js"
  260. import dropdownPanel from "@/pages_manage/components/dropdownPanel.vue"
  261. import funnelChart from "@/pages_manage/components/chart.vue"
  262. export default {
  263. components: {
  264. dropdownPanel,
  265. funnelChart,
  266. },
  267. data() {
  268. return {
  269. viewload:true,
  270. loadingtext:"数据加载中...",
  271. activeTab: 0,
  272. showCalendar: false,
  273. user: {},
  274. filterData: [{
  275. name: '训练营-营期',
  276. value: 1,
  277. },
  278. {
  279. name: '课程',
  280. value: 2,
  281. }
  282. ],
  283. searchbarNav: 0,
  284. collapseValue: ['course', 'questions', 'redenvelope', 'live', 'funnel', 'rank'],
  285. courseOne: [],
  286. courseTwo: [],
  287. courseid: '',
  288. courseids: '',
  289. triggered: false,
  290. status: 'loadmore',
  291. isEnabled: true,
  292. pageNum: 1,
  293. pageSize: 10,
  294. courselist: [],
  295. answerlist: [],
  296. getrateimg: {},
  297. list1: [{
  298. name: '按完播率',
  299. }, {
  300. name: '按正确率'
  301. }],
  302. orderGroup: 'asc',
  303. orderGroupB: 'asc',
  304. rankListA: {},
  305. rankListB: {},
  306. activeA: 1,
  307. activeB: 1,
  308. triggereds: false,
  309. statusA: 'loadmore',
  310. isEnableds: true,
  311. pageNums: 1,
  312. pageSizes: 10,
  313. ratelistState:false
  314. }
  315. },
  316. computed: {
  317. imgPath() {
  318. return this.$store.state.imgpath
  319. }
  320. },
  321. async mounted() {
  322. // this.user = uni.getStorageSync("companyUserInfo") ? JSON.parse(uni.getStorageSync("companyUserInfo")) : {}
  323. this.getCoursestatistics()
  324. this.getrateList()
  325. this.getrankgroup()
  326. await this.getrankCourse()
  327. this.$nextTick(() => {
  328. setTimeout(()=>{
  329. this.$refs?.collapseRef?.init()
  330. if(this.courselist!=[]||this.courselist){
  331. this.viewload=false
  332. }
  333. },1000)
  334. })
  335. },
  336. methods: {
  337. ordergroup(item) {
  338. if (item == 0) {
  339. this.orderGroup = 'asc'
  340. this.getrankgroup()
  341. } else {
  342. this.orderGroup = 'desc'
  343. this.getrankgroup()
  344. }
  345. },
  346. ordergroupB(item) {
  347. if (item == 0) {
  348. this.orderGroupB = 'asc'
  349. this.getrankCourse()
  350. } else {
  351. this.orderGroupB = 'desc'
  352. this.getrankCourse()
  353. }
  354. },
  355. getrankCourse() {
  356. //获取课程排行
  357. // console.log(this.orderGroupB)
  358. const params = {
  359. companyId: this.user.companyId,
  360. endTime: '',
  361. startTime: '',
  362. periodId: this.courseid,
  363. videoId: this.courseids,
  364. order: this.orderGroupB,
  365. type: this.activeB, // 0:经销商/1:群管
  366. }
  367. getCourseRanklist(params).then(res => {
  368. if (res.code == 200) {
  369. // console.log(res)
  370. this.rankListB = res.data
  371. } else {
  372. uni.showToast({
  373. icon: 'none',
  374. title: res.msg
  375. })
  376. }
  377. })
  378. },
  379. getrankgroup() {
  380. //获取群管排行
  381. const params = {
  382. companyId: this.user.companyId,
  383. periodId: this.courseid,
  384. videoId: this.courseids,
  385. order: this.orderGroup,
  386. type: this.activeA, // 0:经销商/1:群管
  387. }
  388. getGroupRanklist(params).then(res => {
  389. if (res.code == 200) {
  390. // console.log(res)
  391. this.rankListA = res.data
  392. } else {
  393. uni.showToast({
  394. icon: 'none',
  395. title: res.msg
  396. })
  397. }
  398. })
  399. },
  400. getrateList() {
  401. //获取漏斗图
  402. const params = {
  403. periodId: this.courseid,
  404. videoId: this.courseids,
  405. }
  406. getcourseRates(params).then(res => {
  407. if (res.code == 200) {
  408. this.ratelistState = res.data.every(item => item.value === 0);
  409. this.getrateimg = res
  410. } else {
  411. uni.showToast({
  412. icon: 'none',
  413. title: res.msg
  414. })
  415. }
  416. })
  417. },
  418. getCoursestatistics() {
  419. //课程统计
  420. const params = {
  421. periodId: this.courseid,
  422. videoId:this.courseids,
  423. }
  424. getshopCoursenum(params).then(res => {
  425. if (res.code == 200) {
  426. // console.log(res)
  427. this.courselist = res.data
  428. } else {
  429. uni.showToast({
  430. icon: 'none',
  431. title: res.msg
  432. })
  433. }
  434. })
  435. },
  436. pullDownRefreshs() {
  437. // 下拉
  438. this.triggereds = true; //下拉了状态为true
  439. setTimeout(() => {
  440. this.triggereds = false;
  441. uni.stopPullDownRefresh()
  442. this.pageNums = 1;
  443. this.getCourseList('refresh') //触底 不穿执行else
  444. // 请求接口里面需要判断是不是最后一页 是最后一页 status赋值为‘loadmore’没有更多了
  445. // 请求接口
  446. }, 1000)
  447. },
  448. reachBottoms() {
  449. // status这个是加载状态
  450. console.log(111);
  451. if (this.statusA === 'loadmore') {
  452. this.statusA = 'loading'
  453. uni.showNavigationBarLoading()
  454. setTimeout(() => {
  455. this.pageNums++
  456. this.getCourseList() //触底 不穿执行else
  457. uni.hideNavigationBarLoading()
  458. }, 1000);
  459. }
  460. },
  461. pullDownRefresh() {
  462. // 下拉
  463. this.triggered = true; //下拉了状态为true
  464. setTimeout(() => {
  465. this.triggered = false;
  466. uni.stopPullDownRefresh()
  467. this.pageNum = 1;
  468. this.getCourseListsmall('refresh') //触底 不穿执行else
  469. // 请求接口里面需要判断是不是最后一页 是最后一页 status赋值为‘loadmore’没有更多了
  470. // 请求接口
  471. }, 1000)
  472. },
  473. reachBottom() {
  474. // status这个是加载状态
  475. console.log(111);
  476. if (this.status === 'loadmore') {
  477. this.status = 'loading'
  478. uni.showNavigationBarLoading()
  479. setTimeout(() => {
  480. this.pageNum++
  481. this.getCourseListsmall() //触底 不穿执行else
  482. uni.hideNavigationBarLoading()
  483. }, 1000);
  484. }
  485. },
  486. getCourseOne(id) {
  487. this.courseid = id
  488. },
  489. getCourseTwo(id) {
  490. this.courseids = id
  491. },
  492. getCourseList(type) {
  493. this.courseOne=[]
  494. const param = {
  495. pageNum: this.pageNums,
  496. pageSize: this.pageSizes,
  497. }
  498. getFsCourseList(param).then(res => {
  499. if (res.code == 200) {
  500. if (type == 'refresh') {
  501. this.courseOne = res.data.list
  502. } else {
  503. // 加载更多 当前页和下一页合并
  504. this.courseOne = [...this.courseOne, ...res.data.list]
  505. }
  506. if (res.data.isLastPage) {
  507. this.statusA = 'nomore'
  508. } else {
  509. this.statusA = 'loadmore'
  510. }
  511. console.log(this.courseOne);
  512. // this.courseOne
  513. } else {
  514. uni.showToast({
  515. icon: 'none',
  516. title: res.msg
  517. })
  518. }
  519. })
  520. },
  521. getCourseListsmall(type) {
  522. const param = {
  523. periodId: this.courseid,
  524. pageNum: this.pageNum,
  525. pageSize: this.pageSize, //
  526. }
  527. getvideolist(param).then(res => {
  528. if (res.code == 200) {
  529. // refresh 下拉
  530. if (type == 'refresh') {
  531. this.courseTwo = res.data.list
  532. } else {
  533. // 加载更多 当前页和下一页合并
  534. this.courseTwo = [...this.courseTwo, ...res.data.list]
  535. }
  536. if (this.pageNum >= res.data.pages) {
  537. this.status = 'nomore'
  538. } else {
  539. this.status = 'loadmore'
  540. }
  541. } else {
  542. }
  543. })
  544. },
  545. changeCollapse(e) {
  546. this.collapseValue = e.filter(item => item.status == 'open').map(it => it.name)
  547. },
  548. handleNav(type) {
  549. this.activeTab = type
  550. },
  551. onChange(index) {
  552. this.searchbarNav = index
  553. if (index == 0) {
  554. this.getCourseList()
  555. } else {
  556. this.pageNum = 1
  557. if (this.courseid == 0) {
  558. uni.showToast({
  559. icon: 'none',
  560. title: "请先选择训练营-营期"
  561. })
  562. } else {
  563. this.getCourseListsmall('refresh')
  564. }
  565. }
  566. },
  567. confirm() {
  568. this.getCoursestatistics()
  569. this.getrateList()
  570. this.getrankgroup()
  571. this.getrankCourse()
  572. },
  573. reset() {
  574. console.log(this.searchbarNav)
  575. if (this.searchbarNav == 0) {
  576. this.courseid = ''
  577. } else {
  578. this.courseids = ''
  579. }
  580. this.getCoursestatistics()
  581. this.getrateList()
  582. this.getrankgroup()
  583. this.getrankCourse()
  584. },
  585. clickTab(item) {
  586. this.activeA = item.index + 1
  587. this.getrankgroup()
  588. console.log(this.activeA)
  589. },
  590. clickTabB(item) {
  591. this.activeB = item.index + 1
  592. this.getrankCourse()
  593. console.log(this.activeA)
  594. },
  595. }
  596. }
  597. </script>
  598. <style lang="scss" scoped>
  599. .headnav {
  600. padding: 15px 12px;
  601. margin: 0 -10px -10px 0;
  602. box-sizing: border-box;
  603. background-color: #fff;
  604. image {
  605. height: 60px;
  606. width: 50px;
  607. position: absolute;
  608. z-index: 0;
  609. bottom: 0;
  610. right: 0;
  611. display: none;
  612. }
  613. &-item {
  614. flex: 1;
  615. font-size: 16px;
  616. padding: 10px;
  617. border-radius: 10px;
  618. background: #f8f8f8;
  619. margin: 0 10px 10px 0;
  620. position: relative;
  621. z-index: 1;
  622. overflow: hidden;
  623. color: #555;
  624. }
  625. &-active {
  626. background-color: rgb(231, 241, 255) !important;
  627. .headnav-num {
  628. color: #1677ff !important;
  629. }
  630. image {
  631. display: block !important;
  632. }
  633. }
  634. &-num {
  635. font-family: DIN, DIN;
  636. font-weight: bold;
  637. font-size: 25px;
  638. margin: 5px 0;
  639. }
  640. }
  641. .actNav {
  642. color: #1677ff !important;
  643. background-color: #e7f2fe;
  644. }
  645. </style>