dataDetails.vue 20 KB

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