statistics.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676
  1. <template>
  2. <view class="container">
  3. <image class="topbg" :src="info.thumbnail" mode="scaleToFill"></image>
  4. <view class="container-body">
  5. <view class="coursebox">
  6. <view class="coursebox-info">
  7. <!-- <view class="status">进行中</view> -->
  8. <!-- <view class="status" style="background-color: #ff4746;">已结束</view> -->
  9. <view class="coursebox-name">
  10. <text class="more-t">{{info.title}}</text>
  11. <view class="btn_icon" @click="copyId">ID
  12. <image src="@/static/images/copy_icon.png" mode="aspectFill"></image>
  13. </view>
  14. </view>
  15. <!-- <view class="coursebox-name">7.明医有话说-杜老师给您讲讲抑郁杜老师给您讲讲抑郁</view> -->
  16. <view style="margin-top: 5px;">{{info.courseName}}</view>
  17. <view class="coursebox-time x-start">
  18. <view class="coursebox-time-item" style="margin-right: 14px;">
  19. <view>直播时间</view>
  20. <view class="coursebox-time-t">{{info.createTime}}</view>
  21. </view>
  22. <view class="coursebox-time-item duration">
  23. <view>课程时长</view>
  24. <view class="coursebox-time-t">{{$formatSeconds(info.duration || 0,1)}}</view>
  25. </view>
  26. </view>
  27. </view>
  28. </view>
  29. <view class="statistics">
  30. <u-tabs :list="list1" :current='current' :scrollable="false" :lineWidth="40" lineColor="#1677ff" :activeStyle="activeStyle" :inactiveStyle="inactiveStyle" @click="clickTab"></u-tabs>
  31. <u-collapse :border='false' :value='collapseValue' @change="changeCollapse" v-if="current == 0">
  32. <u-collapse-item name="live">
  33. <view slot="title" class="statistics-title">直播数据<text class="statistics-title-tip">2分钟自动更新</text></view>
  34. <text slot="value" class="statistics-slot-title">{{collapseValue.includes('live')?'收回':'展开'}}</text>
  35. <text slot="right-icon">
  36. <u-icon name="arrow-right" color="#1677ff" size="12"></u-icon>
  37. </text>
  38. <view class="collapse-content x-ac">
  39. <view class="collapse-content-item">
  40. <view class="collapse-content-title">观看人数</view>
  41. <view class="collapse-content-num"><text>{{courseCount.count || 0}}</text>人</view>
  42. </view>
  43. <view class="collapse-content-item">
  44. <view class="collapse-content-title">完播人数</view>
  45. <view class="collapse-content-num"><text>{{courseCount.completeCount || 0}}</text>人</view>
  46. </view>
  47. <view class="collapse-content-item">
  48. <view class="collapse-content-title">完播率</view>
  49. <view class="collapse-content-num"><text>{{courseCount.rate || 0}}</text>%</view>
  50. </view>
  51. </view>
  52. </u-collapse-item>
  53. <u-collapse-item name="questions">
  54. <text slot="title" class="statistics-title">答题数据<text class="statistics-title-tip">2分钟自动更新</text></text>
  55. <text slot="value" class="statistics-slot-title">{{collapseValue.includes('questions')?'收回':'展开'}}</text>
  56. <text slot="right-icon">
  57. <u-icon name="arrow-right" color="#1677ff" size="12"></u-icon>
  58. </text>
  59. <view class="collapse-content">
  60. <view class="x-ac">
  61. <view class="collapse-content-item">
  62. <view class="collapse-content-title">答题人数</view>
  63. <view class="collapse-content-num"><text>{{quesCount.count || 0}}</text>人</view>
  64. </view>
  65. <view class="collapse-content-item">
  66. <view class="collapse-content-title">正确人数</view>
  67. <view class="collapse-content-num"><text>{{quesCount.completeCount || 0}}</text>人</view>
  68. </view>
  69. <view class="collapse-content-item">
  70. <view class="collapse-content-title">答题红包数</view>
  71. <view class="collapse-content-num"><text>{{redPacketCount.count || 0}}</text>个</view>
  72. </view>
  73. </view>
  74. <view class="redenvelope x-bc">
  75. <view class="x-f">
  76. <image src="@/static/images/redenvelope.png" mode="aspectFill"></image>
  77. <text>答题红包金额</text>
  78. </view>
  79. <view class="collapse-content-num"><text>{{redPacketCount.amount || '0.00'}}</text>元</view>
  80. </view>
  81. </view>
  82. </u-collapse-item>
  83. <u-collapse-item name="funnelplot">
  84. <text slot="title" class="statistics-title">转化漏斗图<text class="statistics-title-tip">2分钟自动更新</text></text>
  85. <text slot="value" class="statistics-slot-title">{{collapseValue.includes('funnelplot')?'收回':'展开'}}</text>
  86. <text slot="right-icon">
  87. <u-icon name="arrow-right" color="#1677ff" size="12"></u-icon>
  88. </text>
  89. <view>
  90. 漏斗
  91. </view>
  92. </u-collapse-item>
  93. </u-collapse>
  94. </view>
  95. <!-- 参与记录 -->
  96. <view v-if="current == 1">
  97. <view class="participate-search">
  98. <view class="x-bc">
  99. <u-search placeholder="会员ID、昵称、姓名、手机" v-model="keyword" :showAction="false" height="30px"></u-search>
  100. <u-button type="primary" class="refresh" color='#1677ff' size="small" :disabled="disabled" text="刷新" @click="refresh"></u-button>
  101. </view>
  102. <view class="x-bc">
  103. <u-tabs :list="list2" :current='currentType' :lineWidth="40" lineColor="#1677ff" :activeStyle="activeStyle" :inactiveStyle="inactiveStyle" @click="clickTypeTab"></u-tabs>
  104. <view class="participate-order x-f">
  105. <image src="@/static/images/order_icon2.png" mode="aspectFill" v-if="searchTypeIndex == 3"></image>
  106. <image src="@/static/images/order_icon.png" mode="aspectFill" v-else></image>
  107. <picker @change="bindPickerChange" :value="searchTypeIndex" :range="typeArray">
  108. {{typeoption[searchTypeIndex]}}
  109. </picker>
  110. </view>
  111. </view>
  112. </view>
  113. <mescroll-body top="0" bottom="0" ref="mescrollRef" @init="mescrollInit" :down="downOption" :up="upOption" @down="downCallback" @up="upCallback">
  114. <view class="list">
  115. <view class="list-item" v-for="(item,index) in dataList" :key="index">
  116. <view class="list-item-head x-bc">
  117. <view class="x-f" style="flex: 1;overflow: hidden;">
  118. <u-avatar :src='item.avatar'></u-avatar>
  119. <view class="list-item-head-l">
  120. <view style="flex: 1;overflow: hidden;display: flex;">
  121. <text class="list-item-name one-t">{{item.nickName}}</text>
  122. <image class="list-item-copy" src="@/static/images/copy_icon.png" mode="aspectFill"></image>
  123. </view>
  124. <view class="list-item-re">注册时间:{{item.createTime?item.createTime.substring(0,10):'--'}}</view>
  125. </view>
  126. </view>
  127. <image class="phone" src="@/static/logo.png" mode="aspectFill"></image>
  128. </view>
  129. <view class="list-item-desc">
  130. <view class="taglist">
  131. <view v-for="(tag,i) in item.tags ? item.tags.split(',') : []">
  132. <u-tag :text="tag" size="mini" color="#999" bgColor="#f5f5f5" borderColor="#f5f5f5"></u-tag>
  133. </view>
  134. </view>
  135. <view style="margin-top: 5px;">
  136. <text class="label">观看次数</text><text class="value-num">{{item.watchCount || 0}}</text>
  137. <text class="label">完播次数</text><text class="value-num">{{item.watchComlpleteCount || 0}}</text>
  138. <text class="label">累计时长</text><text class="value-num">{{item.watchTime || '--'}}</text>
  139. </view>
  140. <view style="margin-top: 5px;">
  141. <text class="label">红包领取状态</text>
  142. <!-- 发送中 1 已发送 -->
  143. <text class="value-num">{{item.redStatus == 1 ? '已发送': item.redStatus == 0 ? '发送中': item.redStatus}}</text>
  144. </view>
  145. <view style="margin-top: 5px;"><text class="label">观看时间</text><text class="value-num">{{item.watchDate}}</text></view>
  146. </view>
  147. <view class="list-item-footer x-f">
  148. <view class="list-item-footer-btn x-f" @click="openModel('name',item)">改姓名</view>
  149. <view class="list-item-footer-btn x-f" @click="openModel('remark',item)">改备注</view>
  150. <view class="list-item-footer-btn footer-tagbtn x-f" @click="openModel('tag',item)">改标签</view>
  151. </view>
  152. </view>
  153. </view>
  154. </mescroll-body>
  155. </view>
  156. <!-- 修改名字/备注-->
  157. <u-modal :show="modelShow" :title="modelTitle" content='content' class="model" :showCancelButton='true' @cancel="closeModel" @confirm="confirmModel">
  158. <view class="setTimebox">
  159. <u-input
  160. fontSize="14px"
  161. :placeholder="modelTitle == '修改姓名' ? '请输入姓名':''"
  162. v-model="inputVal"
  163. maxlength="5"
  164. style="width: 520rpx;"
  165. ></u-input>
  166. </view>
  167. </u-modal>
  168. </view>
  169. </view>
  170. </template>
  171. <script>
  172. import {getCompanyUserAndUserCount,getCourseCount,getQuesCount,getRecPacketCount,getUserLogListByCourseId,updateFsUser} from "@/api/courseManage.js"
  173. export default{
  174. data() {
  175. return {
  176. modelShow: false,
  177. modelTitle: '',
  178. inputVal: '',
  179. info: {},
  180. list1: [{
  181. name: '课程数据',
  182. }, {
  183. name: '参与记录',
  184. }, {
  185. name: '活动节目'
  186. }],
  187. current: 0,
  188. list2: [{
  189. name: '答题正确',
  190. label: '答题正确',
  191. value: 0
  192. }, {
  193. name: '仅播完',
  194. label: '仅播完',
  195. value: 2
  196. }, {
  197. name: '未完播',
  198. label: '未完播',
  199. value: 1
  200. }, {
  201. name: '未播放',
  202. label: '未播放',
  203. value: 3
  204. }],
  205. currentType: 0,
  206. activeStyle:{
  207. color: '#1677ff',
  208. fontSize: '14px',
  209. fontWeight: 'bold'
  210. },
  211. inactiveStyle:{
  212. fontSize: '14px'
  213. },
  214. collapseValue:['live','questions','funnelplot'],
  215. keyword: '',
  216. disabled: false,
  217. searchTypeIndex: 0,
  218. typeArray: ['按看课时间从晚到早', '按完播时间从晚到早', '按注册时间从晚到早','按会员姓名0-9-A-Z'],
  219. typeoption: ['看课时间', '完播时间', '注册时间','会员姓名'],
  220. typeoptionOrder: ['desc', 'watchDesc', 'registerDesc','nameDesc'],
  221. mescroll:null,
  222. downOption: {
  223. auto:false//不要自动加载
  224. },
  225. upOption: {
  226. onScroll:false,
  227. use: true, // 是否启用上拉加载; 默认true
  228. page: {
  229. num: 0, // 当前页码,默认0,回调之前会加1,即callback(page)会从1开始
  230. size: 10 // 每页数据的数量,默认10
  231. },
  232. noMoreSize: 10, // 配置列表的总数量要大于等于5条才显示'-- END --'的提示
  233. textNoMore:"已经到底了",
  234. empty: {
  235. icon:'/static/images/empty.png',
  236. tip: '暂无数据'
  237. }
  238. },
  239. dataList: [],
  240. user: {},
  241. todayday: uni.$u.timeFormat(new Date(), 'yyyy-mm-dd'),
  242. courseCount: {},
  243. quesCount: {},
  244. redPacketCount: {},
  245. courseId: '',
  246. chooseUserId: ''
  247. }
  248. },
  249. onLoad(option) {
  250. this.info = option.info ? JSON.parse(option.info) : {}
  251. uni.setNavigationBarTitle({
  252. title: '数据统计'
  253. });
  254. this.user = uni.getStorageSync("companyUserInfo") ? JSON.parse(uni.getStorageSync("companyUserInfo")) : {}
  255. this.courseId = this.info.courseId || ''
  256. if(this.courseId)
  257. this.getCount()
  258. },
  259. methods: {
  260. copyId() {
  261. uni.setClipboardData({
  262. data: this.info.fileId,
  263. success: ()=> {
  264. uni.showToast({
  265. title: '复制课程ID成功',
  266. icon: 'success'
  267. })
  268. }
  269. });
  270. },
  271. clickTab(e) {
  272. this.current = e.index
  273. },
  274. clickTypeTab(e) {
  275. this.currentType = e.index
  276. this.mescroll.resetUpScroll()
  277. },
  278. bindPickerChange(e) {
  279. console.log('picker发送选择改变,携带值为', e.detail.value)
  280. this.searchTypeIndex = e.detail.value
  281. },
  282. changeCollapse(e) {
  283. this.collapseValue = e.filter(item=>item.status == 'open').map(it=>it.name)
  284. },
  285. refresh() {
  286. this.mescroll.resetUpScroll()
  287. },
  288. mescrollInit(mescroll) {
  289. this.mescroll = mescroll;
  290. },
  291. /*下拉刷新的回调 */
  292. downCallback(mescroll) {
  293. mescroll.resetUpScroll()
  294. },
  295. upCallback(page) {
  296. //联网加载数据
  297. var that = this;
  298. var data={
  299. courseId:this.courseId,
  300. order: this.typeoptionOrder[this.searchTypeIndex],
  301. tagIds: [],
  302. type: this.list2[this.currentType].value, // 0:答题正确 1:未完播 2:已完播 3:未播放
  303. pageNum: page.num,
  304. pageSize: page.size
  305. };
  306. uni.showLoading({
  307. title:"加载中..."
  308. })
  309. this.list2[this.currentType].name = this.list2[this.currentType].label
  310. getUserLogListByCourseId(data).then(res => {
  311. uni.hideLoading()
  312. if(res.code==200){
  313. //设置列表数据
  314. if (page.num == 1) {
  315. that.dataList = res.data.list;
  316. } else {
  317. that.dataList = that.dataList.concat(res.data.list);
  318. }
  319. this.list2[this.currentType].name = this.list2[this.currentType].label + (res.data.total)
  320. that.mescroll.endBySize(res.data.list.length, res.data.total);
  321. }else{
  322. uni.showToast({
  323. icon:'none',
  324. title: "请求失败",
  325. });
  326. that.dataList = null;
  327. that.mescroll.endErr();
  328. }
  329. });
  330. },
  331. getCount() {
  332. const param = {
  333. companyId: this.user.companyId,
  334. companyUserId: this.user.userId,
  335. courseId: this.courseId,
  336. endTime: this.todayday + ' 23:59:59',
  337. startTime: this.todayday + ' 00:00:00',
  338. type: this.user.userType=='00' ? 0 : 1, // 0:经销商/1:群管
  339. }
  340. this.getCourseCount(param)
  341. this.getQuesCount(param)
  342. this.getRecPacketCount(param)
  343. },
  344. getCourseCount(param){
  345. getCourseCount(param).then(res=>{
  346. if(res.code==200){
  347. this.courseCount = res.data
  348. }else{
  349. uni.showToast({
  350. icon:'none',
  351. title: res.msg,
  352. });
  353. }
  354. })
  355. },
  356. getQuesCount(param){
  357. getQuesCount(param).then(res=>{
  358. if(res.code==200){
  359. this.quesCount = res.data
  360. }else{
  361. uni.showToast({
  362. icon:'none',
  363. title: res.msg,
  364. });
  365. }
  366. })
  367. },
  368. getRecPacketCount(param){
  369. getRecPacketCount(param).then(res=>{
  370. if(res.code==200){
  371. this.redPacketCount = res.data
  372. }else{
  373. uni.showToast({
  374. icon:'none',
  375. title: res.msg,
  376. });
  377. }
  378. })
  379. },
  380. openModel(type,item) {
  381. this.chooseUserId = item.userId if(type == 'name') { this.modelTitle = '修改姓名'
  382. this.inputVal = item.nickName || '' } else if(type == 'remark') { this.modelTitle = '修改备注'
  383. this.inputVal = item.remark || '' } this.modelShow = true },
  384. closeModel() {
  385. this.modelShow = false
  386. this.inputVal = ''
  387. },
  388. confirmModel() {
  389. this.modelShow = false
  390. if(this.modelTitle == '修改姓名') {
  391. const param = {
  392. userId: this.chooseUserId,
  393. nickName: this.inputVal,
  394. }
  395. this.updateFsUser(param)
  396. } else if(this.modelTitle == '修改备注') {
  397. const param = {
  398. userId: this.chooseUserId,
  399. remark: this.inputVal,
  400. }
  401. this.updateFsUser(param)
  402. }
  403. },
  404. updateFsUser(param) {
  405. console.log(param)
  406. updateFsUser(param).then(res=>{
  407. if(res.code==200){
  408. this.redPacketCount = res.data
  409. }else{
  410. uni.showToast({
  411. icon:'none',
  412. title: res.msg,
  413. });
  414. }
  415. })
  416. }
  417. }
  418. }
  419. </script>
  420. <style lang="scss" scoped>
  421. .container {
  422. position: relative;
  423. z-index: 2;
  424. font-family: PingFang SC, PingFang SC;
  425. font-weight: 400;
  426. font-size: 14px;
  427. color: #222;
  428. .topbg {
  429. position: absolute;
  430. z-index: -1;
  431. top: 0;
  432. left: 0;
  433. width: 100%;
  434. height: 210px;
  435. }
  436. &-body {
  437. }
  438. .coursebox {
  439. padding: 120px 50rpx 20px 50rpx;
  440. font-family: PingFang SC, PingFang SC;
  441. font-weight: 400;
  442. font-size: 14px;
  443. color: #999;
  444. .status {
  445. position: absolute;
  446. top: 0;
  447. right: 0;
  448. z-index: 2;
  449. height: 30px;
  450. padding: 0 8px;
  451. box-sizing: border-box;
  452. line-height: 30px;
  453. border-radius: 0 12px 0 12px;
  454. text-align: center;
  455. color: #fff;
  456. background-color: #08ce36;
  457. }
  458. &-info {
  459. padding: 12px;
  460. background-color: rgba(255,255,255,0.88);
  461. border-radius: 12px;
  462. overflow: hidden;
  463. position: relative;
  464. }
  465. &-name {
  466. color: #222;
  467. font-weight: bold;
  468. font-size: 16px;
  469. padding-right: 50px;
  470. .more-t {
  471. flex: 1;
  472. font-size: 14px;
  473. color: #222;
  474. display: inline;
  475. }
  476. }
  477. &-time-item {
  478. flex: 1;
  479. margin-top: 5px;
  480. }
  481. &-time-t {
  482. color: #222;
  483. font-weight: bold;
  484. margin-top: 5px;
  485. font-size: 12px;
  486. }
  487. .duration {
  488. position: relative;
  489. padding-left: 14px;
  490. &::after {
  491. content: "";
  492. height: 30px;
  493. width: 1px;
  494. background-color: #f5f5f5;
  495. position: absolute;
  496. left: 0;
  497. top: 5px;
  498. }
  499. }
  500. }
  501. }
  502. .statistics {
  503. background-color: #fff;
  504. &-title {
  505. font-family: PingFang SC, PingFang SC;
  506. font-weight: bold;
  507. font-size: 16px;
  508. color: #222222;
  509. }
  510. &-title-tip {
  511. font-weight: 400;
  512. font-size: 11px;
  513. color: #999;
  514. padding-left: 10px;
  515. }
  516. &-slot-title {
  517. font-size: 12px;
  518. color: #1677ff;
  519. }
  520. .collapse-content {
  521. margin: 0 -8px -8rpx 0;
  522. &-item {
  523. flex: 1;
  524. padding: 12px;
  525. box-sizing: border-box;
  526. border-radius: 10px;
  527. background: #f5f5f5;
  528. font-family: PingFang SC, PingFang SC;
  529. font-weight: 400;
  530. font-size: 10px;
  531. color: #222222;
  532. margin: 0 8px 8rpx 0;
  533. }
  534. &-title {
  535. font-size: 14px;
  536. margin-bottom: 10px;
  537. }
  538. &-num {
  539. color: #1677ff;
  540. font-size: 10px;
  541. text {
  542. font-family: DIN, DIN;
  543. font-weight: bold;
  544. font-size: 25px;
  545. }
  546. }
  547. }
  548. .redenvelope {
  549. background-color: #f5f5f5;
  550. margin-right: 8px;
  551. margin-top: 4px;
  552. padding: 15px;
  553. box-sizing: border-box;
  554. border-radius: 10px;
  555. color: #222222;
  556. image {
  557. width: 50px;
  558. height: 50px;
  559. margin-right: 10px;
  560. }
  561. }
  562. }
  563. .participate-search {
  564. background-color: #fff;
  565. padding: 10px 15px;
  566. .refresh {
  567. height: 26px;
  568. min-width: 40px;
  569. width: 40px;
  570. padding: 0;
  571. display: inline-flex;
  572. margin-left: 15px;
  573. border-radius: 5px;
  574. overflow: hidden;
  575. }
  576. }
  577. .participate-order {
  578. font-size: 12px;
  579. image {
  580. width: 15px;
  581. height: 15px;
  582. }
  583. }
  584. .btn_icon {
  585. font-weight: 400;
  586. font-size: 14px;
  587. color: #1677ff;
  588. display: inline-flex;
  589. align-items: center;
  590. margin-left: 5px;
  591. image {
  592. width: 20px;
  593. height: 20px;
  594. }
  595. }
  596. .list {
  597. padding: 20px 10px;
  598. }
  599. .list-item{
  600. padding: 10px;
  601. margin-bottom: 10px;
  602. background-color: #fff;
  603. border-radius: 12px;
  604. &-head {
  605. .phone {
  606. flex-shrink: 0;
  607. width: 30px;
  608. height: 30px;
  609. }
  610. &-l {
  611. flex: 1;
  612. overflow: hidden;
  613. margin-left: 10px;
  614. margin-right: 10px;
  615. }
  616. }
  617. &-copy {
  618. width: 20px;
  619. height: 20px;
  620. }
  621. &-re {
  622. font-size: 10px;
  623. margin-top: 5px;
  624. }
  625. &-desc {
  626. padding: 5px;
  627. color: #999;
  628. font-size: 12px;
  629. }
  630. .label {
  631. margin-right: 4px;
  632. }
  633. .value-num {
  634. margin-right: 18px;
  635. color: #222;
  636. font-weight: bold;
  637. }
  638. .taglist {
  639. display: flex;
  640. align-items: center;
  641. flex-wrap: wrap;
  642. color: #555;
  643. padding-top: 5px;
  644. view {
  645. margin: 0 5px 5px 0;
  646. }
  647. }
  648. &-footer {
  649. justify-content: flex-end;
  650. padding: 6px 0;
  651. .footer-tagbtn {
  652. color: #1677ff;
  653. background-color: #e7f2fe;
  654. border: 1px solid #c9e1fb;
  655. }
  656. &-btn {
  657. height: 26px;
  658. padding: 0 10px;
  659. margin-left: 10px;
  660. background-color: #f5f5f5;
  661. border-radius: 25px;
  662. font-weight: 400;
  663. font-size: 10px;
  664. line-height: 26px;
  665. border: 1px solid #f5f5f5;
  666. box-sizing: border-box;
  667. }
  668. }
  669. }
  670. </style>