index.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668
  1. <template>
  2. <view>
  3. <view class="content">
  4. <view class="header-box">
  5. <UniStatusBar></UniStatusBar>
  6. <view class="title flex align_center" :style="{height:(navHeight+'px')}">
  7. <u-image src="/static/logo-h.png" width="349" height='40'></u-image>
  8. </view>
  9. </view>
  10. <view class="cbody">
  11. <view class="body-box bg-blue">
  12. <!-- 滚动区域 -->
  13. <view class="scroll-list">
  14. <scrollBox v-if="list.length" :list="list"></scrollBox>
  15. </view>
  16. <!-- 保证金 -->
  17. <view class="notices flex align_center" v-if="bondRecord" @click="toPayBondAmount">
  18. <view><u-icon name="volume" color="#f2a557" :size="28" :margin-right='15'></u-icon> 您有一笔保证金待支付 ¥{{bondRecord.bondAmount}}</view>
  19. <!-- <text class="text">立即支付>></text> -->
  20. </view>
  21. <!-- 待取货提醒 -->
  22. <view class="notices flex align_center" v-if="!bondRecord&&orderTodo" @click="toOrder">
  23. <view><u-icon name="volume" color="#f2a557" :size="28" :margin-right='15'></u-icon> 您有待取货的货架订单哦!</view> <text class="text">立即处理>></text>
  24. </view>
  25. <!-- 门店审核不通过 -->
  26. <view class="notices flex justify_between" v-if="storeApply&&storeApply.auditStatus=='REFUSE'&&storeApply.readFlag=='0'">
  27. <view><u-icon name="volume" color="#f2a557" :size="28" :margin-right='15'></u-icon> 门店认证资料审核不通过,请重新提交审核!</view> <text class="text" @click="toKnow">知道了</text>
  28. </view>
  29. <!-- 名片 -->
  30. <view class="userCard flex align_center justify_between">
  31. <view class="userCard-info flex align_center">
  32. <view>
  33. <u-image shape='circle' v-if="!hasLogin" src="/static/def_personal_avatar.png" width="90" height="90"></u-image>
  34. <u-image shape='circle' v-else :src="avatarUrl||'/static/def_personal_avatar.png'" width="90" height="90"></u-image>
  35. </view>
  36. <view class="user-info" @click="toUser">
  37. <view v-if="!hasLogin" style="font-size: 40rpx;">
  38. 请点击登录
  39. </view>
  40. <view v-else>
  41. <view class="user-name">{{userInfo.userNameCN || userInfo.mobile}}</view>
  42. <view v-if="hasLogin&&userInfo&&userInfo.sysUserFlag == '0'">
  43. <u-tag text="个人用户" mode="dark" type="warning" shape="circle" size="mini" />
  44. </view>
  45. <view v-else>{{userInfo.orgName}}</view>
  46. </view>
  47. </view>
  48. </view>
  49. <view @click="toUser">
  50. <text v-if="hasLogin&&userInfo&&userInfo.sysUserFlag == '0'" class="user-rz">
  51. {{storeApply&&storeApply.auditStatus=='WAIT'?'认证门店审核中':'认证成为门店'}}
  52. </text>
  53. <u-icon name="arrow-right"></u-icon>
  54. </view>
  55. </view>
  56. </view>
  57. <view class="body-box">
  58. <!-- 扫描按钮 -->
  59. <!-- <view class="scanButton flex align_center" @click="openCamera">
  60. <u-icon name="scan" size="60"></u-icon><text class="ml10">扫描VIN</text>
  61. </view> -->
  62. <!-- 直接取货 -->
  63. <!-- <view class="scanButton flex align_center" v-if="userInfo.sysUserFlag == '1'" @click="openTakeGood">
  64. <text>没有VIN,直接取货</text>
  65. </view> -->
  66. <view class="action-button flex" v-if="userInfo.sysUserFlag == '1'">
  67. <view></view>
  68. <view class="f1" @click="openTakeGood(1)">
  69. <view class="icons"><u-icon name="shujuchaxun" custom-prefix="custom-icon"></u-icon></view>
  70. <view class="tits">产品编码取货</view>
  71. </view>
  72. <view class="f2" @click="openTakeGood(0)">
  73. <view class="icons"><u-icon name="saomasoudan" custom-prefix="custom-icon"></u-icon></view>
  74. <view class="tits">二维码/条形码取货</view>
  75. </view>
  76. <view></view>
  77. </view>
  78. <view class="flex align_center justify_center" style="margin-top: 20upx;">
  79. <u-image src="/static/banner1.png" width="645" height="504"></u-image>
  80. </view>
  81. <u-action-sheet :list="actionList" @click="clickAction" v-model="showAction"></u-action-sheet>
  82. </view>
  83. <!-- 扫描记录 -->
  84. <view class="list-box">
  85. <!-- 扫描记录 -->
  86. <u-cell-group :border="false">
  87. <u-cell-item title="VIN查询历史" @click="toAllRecord" :title-style="{fontSize:'1em'}" value="全部">
  88. <u-icon slot="icon" size="38" color="#066cff" style="margin-right: 0.3em;" name="order"></u-icon>
  89. </u-cell-item>
  90. </u-cell-group>
  91. <u-cell-group :border="false" v-if="hasLogin">
  92. <u-cell-item v-for="item in vinList"
  93. @click="toChoosePart(item)"
  94. :key="item.id"
  95. :title="item.vinCode"
  96. :title-style="{fontSize:'1em'}"
  97. :label="userInfo&&userInfo.sysUserFlag == '0' ? item.createDate : (item.brandName +' '+item.modelName)">
  98. <text slot="icon"></text>
  99. </u-cell-item>
  100. <view style="padding: 20upx;">
  101. <u-empty :src="`/static/nodata.png`" icon-size="180" :text="noDataText" img-width="120" v-if="vinList.length==0 && status!='loading'" mode="list"></u-empty>
  102. <u-loadmore v-if="status=='loading'" :status="status" />
  103. </view>
  104. </u-cell-group>
  105. <view class="des" v-if="vinList.length&&hasLogin">仅展示最近5条记录,点击“全部”查看更多</view>
  106. <view class="des" v-if="!hasLogin">请登录后查看历史记录</view>
  107. </view>
  108. </view>
  109. </view>
  110. <u-tabbar :list="vuex_tabBarList" :before-switch="beforeSwitch" :mid-button="true"></u-tabbar>
  111. </view>
  112. </template>
  113. <script>
  114. import {
  115. mapState,
  116. mapMutations,
  117. } from 'vuex'
  118. import scrollBox from '@/components/scrollBox.vue'
  119. import UniStatusBar from '@/components/uni-status-bar/uni-status-bar.vue'
  120. import { shelfBondRecordWaitPayRecord, findStoreShelf, shelfGetTotalWaitQty, getProductfindByScanCode, findPriceShow,findPriceShowType,findPriceShowEmployee } from '@/api/shelf.js'
  121. import { xprhStoreApplyRead } from '@/api/xprh.js'
  122. import { listLookUp, getLookUpDatas } from '@/api/data.js';
  123. import { scanVinLogQueryRoll, getScanVinLogList, getScanGetMaxQty }from '@/api/car.js'
  124. export default {
  125. components: {
  126. scrollBox,
  127. UniStatusBar
  128. },
  129. data() {
  130. return {
  131. status: 'loading',
  132. noDataText: '暂无数据',
  133. bondRecord: null, // 保证金
  134. list:[],
  135. vinList: [],
  136. orderTodo: null,
  137. avatarUrl:'',
  138. navHeight: '44',
  139. scanMaxNums: 10,
  140. showAction: false,
  141. actionList: [
  142. {
  143. text: '扫描条形码/二维码',
  144. fontSize: 32
  145. },
  146. {
  147. text: '按产品编码查询',
  148. fontSize: 32
  149. }
  150. ]
  151. }
  152. },
  153. computed: {
  154. ...mapState(['hasLogin','vuex_vinScanNums','vuex_tabBarList']),
  155. hasShelf(){
  156. return this.$store.state.vuex_storeShelf
  157. },
  158. userInfo(){
  159. return this.$store.state.vuex_userInfo
  160. },
  161. storeApply(){
  162. return this.$store.state.vuex_storeAuthInfo || null
  163. }
  164. },
  165. onReady() {
  166. this.getScrollLog()
  167. // 获取导航栏高度
  168. const res = uni.getSystemInfoSync()
  169. const system = res.platform
  170. if (system === 'android') {
  171. this.navHeight = 48
  172. } else if (system === 'ios') {
  173. this.navHeight = 44
  174. }
  175. },
  176. onLoad() {
  177. this.orderTodo = null
  178. this.bondRecord = null
  179. this.vinList = []
  180. // 检测是否登录
  181. this.$store.dispatch('checkLogin',()=>{
  182. // 获取数据字典
  183. this.getListLookUp();
  184. // 获取支付,收款方式
  185. this.getLookUpList('PAY_PROCUCT_TYPE', 'vuex_paymentTypeList');
  186. // 价格类型
  187. this.getLookUpList('PRICE_SHOW_TYPE', 'vuex_priceTypeList');
  188. // 初始化页面
  189. this.pageInit()
  190. })
  191. // 刷新首页数据
  192. uni.$on("refashHome",()=>{
  193. this.pageInit()
  194. })
  195. },
  196. onUnload() {
  197. uni.$off('refashHome')
  198. },
  199. // 下拉刷新
  200. onPullDownRefresh(){
  201. this.pageInit()
  202. setTimeout(function () {
  203. uni.stopPullDownRefresh();
  204. }, 1000);
  205. },
  206. onShareAppMessage() {},
  207. onShow() {
  208. // 用户头像
  209. this.avatarUrl = uni.getStorageSync('userPhoto');
  210. if(this.hasLogin){
  211. // 查询门店认证信息
  212. if(this.userInfo.sysUserFlag == '0'){
  213. this.findLastApply()
  214. }
  215. }
  216. },
  217. methods: {
  218. beforeSwitch(index){
  219. if(index==1){
  220. this.openCamera()
  221. }else{
  222. return true
  223. }
  224. },
  225. async getPriceShow(){
  226. await findPriceShow().then(res => {
  227. this.showPrice = res.data ? res.data.paramValue=='1' : false
  228. this.$store.state.vuex_showPrice[0] = this.showPrice
  229. })
  230. await findPriceShowType().then(res => {
  231. if(res.data&&res.data.paramValue){
  232. this.priceType = res.data.paramValue
  233. this.priceTypeName = this.$store.state.vuex_priceTypeList.find(item => item.code == res.data.paramValue).dispName
  234. this.$store.state.vuex_showPrice[1] = this.priceType
  235. }
  236. })
  237. await findPriceShowEmployee().then(res => {
  238. this.showJhPrice = res.data ? res.data.paramValue=='1' : false
  239. this.$store.state.vuex_showPrice[2] = this.showJhPrice
  240. })
  241. },
  242. pageInit(){
  243. if(this.hasLogin){
  244. // 获取扫描记录
  245. this.getVinLog()
  246. // 非游客
  247. if(this.userInfo.sysUserFlag == '1'){
  248. // 查询是否有数字货架
  249. this.getStoreShelf()
  250. }else{
  251. // 获取扫描次数
  252. this.$store.dispatch("getScanNums")
  253. // 获取最大扫描次数
  254. this.getMaxQty()
  255. // 查询门店认证信息
  256. this.findLastApply()
  257. }
  258. }else{
  259. uni.removeStorageSync('token')
  260. }
  261. },
  262. // 获取数据字典
  263. getListLookUp() {
  264. const _this = this;
  265. listLookUp({ pageNo: 1, pageSize: 1000 }).then(res => {
  266. if (res.status == 200) {
  267. _this.$store.state.vuex_allLookUp = res.data;
  268. }
  269. });
  270. },
  271. // 或某一项字典列表,参数code
  272. getLookUpList(code, vuexKey) {
  273. getLookUpDatas({ type: code }).then(res => {
  274. if (res.status == 200) {
  275. this.$store.state[vuexKey] = res.data || [];
  276. if(code=='PRICE_SHOW_TYPE'){
  277. // 获取显示价格类型
  278. this.getPriceShow()
  279. }
  280. }
  281. });
  282. },
  283. // 获取最大扫描数
  284. getMaxQty(){
  285. getScanGetMaxQty().then(res => {
  286. this.scanMaxNums = res.data || 10
  287. this.$store.state.vuex_scanMaxNums = this.scanMaxNums
  288. })
  289. },
  290. // 获取最新申请门店
  291. findLastApply(){
  292. const mobile = this.userInfo.mobile
  293. this.$store.dispatch('getSotreAuth',mobile)
  294. },
  295. // 知道审核不通过
  296. toKnow(){
  297. uni.showLoading({
  298. title: "正在提交"
  299. })
  300. xprhStoreApplyRead({sn:this.storeApply.applySn}).then(res => {
  301. if(res.status == 200){
  302. this.findLastApply()
  303. }
  304. uni.hideLoading()
  305. })
  306. },
  307. // 待取货数量合计
  308. shelfGetTotalWaitQty(){
  309. shelfGetTotalWaitQty({billState:'WAIT'}).then(res => {
  310. if(res.status == 200){
  311. this.orderTodo = res.data;
  312. }
  313. })
  314. },
  315. // 货架订单列表
  316. toOrder(){
  317. if(this.hasShelf){
  318. uni.navigateTo({
  319. url: "/pages/digitalShelf/orderList"
  320. })
  321. }else{
  322. uni.showToast({
  323. icon:'none',
  324. title: '门店没有关联数字货架,无法使用此功能!'
  325. })
  326. }
  327. },
  328. // 获取上方滚动扫描记录
  329. getScrollLog(){
  330. scanVinLogQueryRoll({pageNo:1,pageSize:1000}).then(res => {
  331. console.log(res)
  332. this.list = res.data.list || []
  333. })
  334. },
  335. // 获取当前门店扫描记录
  336. getVinLog(){
  337. this.vinList = []
  338. this.status = "loading"
  339. // VISITOR:游客,EMPLOYEE:雇员
  340. getScanVinLogList({ pageNo:1, pageSize:5, identifyType: this.userInfo.identifyType }).then(res => {
  341. this.vinList = res.data&&res.data.list || []
  342. this.vinList = this.vinList.filter(item => item.vinCode)
  343. this.status = 'nomore'
  344. })
  345. },
  346. // 查询是否支持数字货架
  347. getStoreShelf(){
  348. findStoreShelf().then(res => {
  349. console.log(res)
  350. this.$store.state.vuex_storeShelf = res.data;
  351. if(res.data){
  352. // 保证金查询
  353. this.getShelfBWPayRecord()
  354. // 获取订单信息
  355. this.shelfGetTotalWaitQty()
  356. }
  357. })
  358. },
  359. // 获取保证金金额
  360. getShelfBWPayRecord(){
  361. const data = this.$store.state.vuex_storeShelf
  362. shelfBondRecordWaitPayRecord({shelfSn: data.shelfSn, storeSn: data.storeSn}).then(res => {
  363. console.log(res,'获取保证金金额')
  364. this.bondRecord = res.data
  365. })
  366. },
  367. // 保证金支付
  368. toPayBondAmount(){},
  369. openTakeGood(index){
  370. // 已有数字货架
  371. if(this.hasShelf){
  372. // this.showAction = true
  373. this.clickAction(index)
  374. }else{
  375. uni.showToast({
  376. icon:'none',
  377. title: '门店没有关联数字货架,无法使用此功能!'
  378. })
  379. }
  380. },
  381. // 选择取货方式
  382. clickAction(index){
  383. const shelfSn = this.hasShelf.shelfSn
  384. const _this = this
  385. // 扫描
  386. if(index == 0){
  387. uni.scanCode({
  388. success: function (ret) {
  389. console.log(ret);
  390. const params = {
  391. codeType: ret.scanType == 'QR_CODE' ? 0 : 1
  392. }
  393. // 二维码
  394. if(ret.scanType == 'QR_CODE'){
  395. const result = ret.result.split("&")
  396. params.productSn = result[2] // 产品编码sn
  397. }else{
  398. params.qrCode = ret.result
  399. }
  400. uni.showLoading({
  401. title: "正在查询产品..."
  402. })
  403. // 确认取货
  404. getProductfindByScanCode(params).then(res => {
  405. if(res.status == 200 && res.data){
  406. if(res.data.currentInven){
  407. const billSource = ret.scanType == 'QR_CODE' ? 'qr_code': 'bar_code'
  408. const params = Object.assign({shelfSn: shelfSn, billSource: billSource},res.data)
  409. _this.$store.state.vuex_tempData = params
  410. uni.navigateTo({
  411. url: '/pages/queryByCode/confirmQh'
  412. })
  413. }else{
  414. uni.showModal({
  415. title: '提示',
  416. content: '产品库存为0,无法取货!',
  417. confirmText: '好的',
  418. showCancel: false
  419. })
  420. }
  421. }else{
  422. uni.showModal({
  423. title: '提示',
  424. content: '产品不属于此货架,请重新扫描!',
  425. confirmText: '好的',
  426. showCancel: false
  427. })
  428. }
  429. uni.hideLoading()
  430. })
  431. }
  432. });
  433. }else{
  434. // 按编码搜索
  435. uni.navigateTo({
  436. url: '/pages/queryByCode/queryByCode'
  437. })
  438. }
  439. },
  440. // 去扫描
  441. openCamera(){
  442. if(this.hasLogin){
  443. if(this.userInfo.sysUserFlag == '0'){
  444. if(this.vuex_vinScanNums < this.scanMaxNums){
  445. uni.navigateTo({
  446. url: "/pages/scan-frame/scan-frame"
  447. })
  448. }else{
  449. uni.showModal({
  450. title: '提示',
  451. content: '个人用户扫描VIN仅限10次,您的次数已用完!',
  452. confirmText: '好的',
  453. showCancel: false,
  454. success(res) {}
  455. })
  456. }
  457. }else{
  458. uni.navigateTo({
  459. url: "/pages/scan-frame/scan-frame"
  460. })
  461. }
  462. }else{
  463. uni.navigateTo({
  464. url: '/pages/login/login'
  465. })
  466. }
  467. },
  468. // 查看扫描记录
  469. toAllRecord(){
  470. uni.navigateTo({
  471. url: this.hasLogin ? "/pages/vinRecord/vinRecord" : '/pages/login/login'
  472. })
  473. },
  474. toUser(){
  475. if(this.hasLogin){
  476. // 用户详细信息 或 门店认证
  477. uni.navigateTo({
  478. url: this.userInfo.sysUserFlag == '1' ? '/pages/personData/personData' : '/pages/storeManage/storeAuth'
  479. })
  480. }else{
  481. uni.navigateTo({
  482. url: '/pages/login/login'
  483. })
  484. }
  485. },
  486. toChoosePart(item){
  487. item.text = item.modelInfo
  488. uni.navigateTo({
  489. url: "/pages/digitalShelf/choosePart?vinNumber="+item.vinCode+"&carList="+encodeURIComponent(JSON.stringify(item))
  490. })
  491. }
  492. }
  493. }
  494. </script>
  495. <style lang="less">
  496. page{
  497. background-color: #ffffff;
  498. }
  499. .content {
  500. margin: 0;
  501. padding: 0;
  502. height: 100vh;
  503. display: flex;
  504. flex-direction: column;
  505. background-image: linear-gradient(#86defa 0%,#cdeff9 25%,#ffffff 40%);
  506. .header-box{
  507. z-index: 5;
  508. padding: 0em 1em;
  509. background: #066cff;
  510. .title{
  511. padding: 0;
  512. }
  513. }
  514. .cbody{
  515. flex-grow: 1;
  516. overflow-y: auto;
  517. overflow-x: hidden;
  518. }
  519. .body-box{
  520. padding: 0em 1em 0.8em;
  521. z-index: 4;
  522. .notices{
  523. padding: 0.5em 0 0;
  524. font-size: 0.9em;
  525. margin-top: 0.5rem;
  526. view{
  527. color: #ffaf46;
  528. max-width: 80%;
  529. }
  530. .text{
  531. color: #ffffff;
  532. margin-left: 1em;
  533. }
  534. }
  535. .action-button{
  536. padding:40upx 0 0 0;
  537. justify-content: space-between;
  538. > view{
  539. text-align: center;
  540. display: flex;
  541. align-items: center;
  542. flex-direction: column;
  543. }
  544. .f1{
  545. width: 140rpx;
  546. }
  547. .f2{
  548. width: 150rpx;
  549. }
  550. .icons{
  551. font-size: 60rpx;
  552. background: #066cff;
  553. color: #fff;
  554. border-radius: 30rpx;
  555. width: 110rpx;
  556. height: 110rpx;
  557. text-align:center;
  558. display: flex;
  559. align-items: center;
  560. flex-direction: column;
  561. justify-content: center;
  562. }
  563. .tits{
  564. font-size:30rpx;
  565. font-weight: bold;
  566. padding: 10upx 0;
  567. }
  568. }
  569. .scanButton{
  570. margin: 0.8em 0 0.5em;
  571. padding: 0.5em;
  572. background: #066cff;
  573. color: #fff;
  574. font-size: 1.5em;
  575. border-radius: 5em;
  576. justify-content: center;
  577. &:active{
  578. opacity: 0.8;
  579. }
  580. }
  581. .quickButton{
  582. margin: 0.8em 0 0.5em;
  583. padding: 0.5em;
  584. background: #fff;
  585. color: #333;
  586. font-size: 1.5em;
  587. border-radius: 5em;
  588. justify-content: center;
  589. border:0.1rpx solid #eee;
  590. box-shadow: 1rpx 2rpx 5rpx #f8f8f8;
  591. &:active{
  592. opacity: 0.8;
  593. }
  594. }
  595. .ml10{
  596. margin-left: 0.4em;
  597. }
  598. }
  599. .bg-blue{
  600. position: relative;
  601. > view{
  602. z-index: 100;
  603. position: relative;
  604. }
  605. &::after{
  606. /* 这个伪类的作用就是一个圆弧的背景色 */
  607. width: 130%;
  608. height: 100%;
  609. position: absolute;
  610. /*设置水平居中*/
  611. left: -15%;
  612. /* 之所以left:20%,是因为width:140%,若width:160%,那么left:30%才能水平居中 */
  613. top: -20%;
  614. /*层叠顺序,最底层显示*/
  615. content: '';
  616. border-radius: 0 0 50% 50%;
  617. /*分别对应 左上 右上 右下 左下 可以修改成其它颜色*/
  618. background: linear-gradient(to bottom, #066cff, #1d77ff);
  619. }
  620. .userCard{
  621. position:relative;
  622. left:0;
  623. bottom:-1rem;
  624. padding:0.8em;
  625. background: #fff;
  626. border-radius: 0.5em;
  627. box-shadow: 0.3em 0.3em 1em #c4e5ee;
  628. .userCard-info{
  629. flex-grow:1;
  630. > view{
  631. &:last-child{
  632. margin-left: 0.5em;
  633. line-height: 1.5em;
  634. .user-name{
  635. font-size: 1rem;
  636. }
  637. >view{
  638. padding: 0.2em;
  639. }
  640. }
  641. }
  642. .user-info{
  643. flex-grow:1;
  644. }
  645. }
  646. .user-rz{
  647. font-size: 0.8rem;
  648. color:#58aff5;
  649. }
  650. }
  651. }
  652. .list-box{
  653. padding: 0 1em;
  654. overflow: auto;
  655. .des{
  656. text-align: center;
  657. padding: 1em 0;
  658. color: #999;
  659. font-size: 0.8em;
  660. }
  661. }
  662. }
  663. </style>