morePage.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696
  1. <template>
  2. <view>
  3. <view class="morePages">
  4. <!-- 头部栏 -->
  5. <view class="header-box">
  6. <UniStatusBar></UniStatusBar>
  7. <view class="title flex align_center" :style="{height:(navHeight+'px')}">
  8. <u-image src="/static/logo-h.png" width="349" height='40'></u-image>
  9. </view>
  10. </view>
  11. <!-- body -->
  12. <view class="morePages-body">
  13. <view class="body-box bg-blue">
  14. <!-- 名片 -->
  15. <view class="userCard flex align_center justify_between">
  16. <view class="userCard-info flex align_center">
  17. <view>
  18. <u-image shape='circle' v-if="!hasLogin" src="/static/def_personal_avatar.png" width="90" height="90"></u-image>
  19. <u-image shape='circle' v-else :src="avatarUrl||'/static/def_personal_avatar.png'" width="90" height="90"></u-image>
  20. </view>
  21. <view class="user-info" @click="toUser">
  22. <view v-if="!hasLogin" style="font-size: 40rpx;">
  23. 请点击登录
  24. </view>
  25. <view v-else>
  26. <view class="user-name">{{userInfo.userNameCN || userInfo.mobile}}</view>
  27. <view v-if="hasLogin&&userInfo&&userInfo.sysUserFlag == '0'">
  28. <u-tag text="个人用户" mode="dark" type="warning" shape="circle" size="mini" />
  29. </view>
  30. <view v-else>{{userInfo.orgName}}</view>
  31. </view>
  32. </view>
  33. </view>
  34. <view @click="toUser">
  35. <text v-if="hasLogin&&userInfo&&userInfo.sysUserFlag == '0'" class="user-rz">
  36. {{storeApply&&storeApply.auditStatus=='WAIT'?'认证门店审核中':'认证成为门店'}}
  37. </text>
  38. <uni-icons type="arrowright" size="20" color="#999"></uni-icons>
  39. </view>
  40. </view>
  41. </view>
  42. <view class="list-box" v-if="hasRedPacket&&hasShelf">
  43. <view class="list-title flex align_center justify_between" @click="toPage('/pagesB/redPacket')">
  44. <view><u-icon size="34" color="#f10000" name="red-packet-fill"></u-icon> <text style="color: #ff0000;margin-left: 10rpx;">红包奖励</text></view>
  45. <view>
  46. <u-badge :absolute="false" :count="redPackCount"></u-badge>
  47. <uni-icons type="arrowright" size="20" color="#999"></uni-icons>
  48. </view>
  49. </view>
  50. </view>
  51. <view class="list-box" v-if="hasLogin&&$hasPermissions('M_couponList_mini')">
  52. <view class="list-title flex align_center justify_between" @click="toPage('/pagesB/coupon')">
  53. <view><u-icon size="34" color="#ff7d0b" name="gift-fill"></u-icon> <text style="color: #ff7d0b;margin-left: 10rpx;">我的优惠券</text></view>
  54. <view>
  55. <u-badge :absolute="false" :count="hasShelf?couponCount:0"></u-badge>
  56. <uni-icons type="arrowright" size="20" color="#999"></uni-icons>
  57. </view>
  58. </view>
  59. </view>
  60. <!-- 网格图标 -->
  61. <view class="list-box" v-for="item in itemList" :key="item.id">
  62. <view class="list-title" v-if="item.text">
  63. <text>{{item.text}}</text>
  64. </view>
  65. <view class="list-body" :style="{paddingTop:item.text?0:'10px'}">
  66. <uni-grid :column="item.column" :highlight="true" :show-border="false" :square="false" @change="e=>openPage(e,item.child)">
  67. <uni-grid-item v-for="(sub, idx) in item.child" :index="idx" :key="idx">
  68. <view class="grid-item-box">
  69. <u-icon class="icons" :color="sub.color" :size="item.size" :name="sub.icon" custom-prefix="custom-icon"></u-icon>
  70. <text class="text">{{sub.text}}</text>
  71. </view>
  72. </uni-grid-item>
  73. </uni-grid>
  74. </view>
  75. </view>
  76. <view class="list-box" v-if="hasLogin">
  77. <view class="list-title flex justify_center phone" @click="quitOut">
  78. <text>退出登录</text>
  79. </view>
  80. </view>
  81. </view>
  82. <!-- 去认证弹框 -->
  83. <u-popup v-model="showPopup" mode="center" :border-radius="20" closeable>
  84. <view style="background-color: #fff;padding: 1rem;">
  85. <u-image width="533" height="415" src="/static/authimg.jpg"></u-image>
  86. <view style="padding-top:1rem;" class="flex justify_center">
  87. <u-button @click="toAuthStore()" shape="circle" :custom-style="{background:'#066cff',color:'#fff',width:'350rpx'}">开始认证</u-button>
  88. </view>
  89. </view>
  90. </u-popup>
  91. </view>
  92. <!-- tab -->
  93. <u-tabbar :list="vuex_tabBarList" :mid-button-size="80" :before-switch="beforeSwitch" :midButton="vuex_tabBarList.length==5"></u-tabbar>
  94. </view>
  95. </template>
  96. <script>
  97. import {
  98. mapState,
  99. mapMutations
  100. } from 'vuex'
  101. import UniStatusBar from '@/components/uni-status-bar/uni-status-bar.vue'
  102. import { queryQplsConfig,getProductfindByScanCode } from '@/api/shelf.js'
  103. import { findUserReward } from '@/api/rewardRule.js'
  104. import { ticketQueryCount } from '@/api/user.js'
  105. import { clickTab, toLogin } from "@/utils/index.js"
  106. export default {
  107. components: {
  108. UniStatusBar // 状态栏组件
  109. },
  110. data() {
  111. return {
  112. dealerPhone: null, // 经销商电话
  113. showPopup: false,
  114. showPriceSet: false,
  115. shelfSn: null,
  116. avatarUrl:'', // 用户图像
  117. navHeight: 44,
  118. couponCount: 0,
  119. redPackCount: 0
  120. }
  121. },
  122. computed: {
  123. ...mapState(['hasLogin','vuex_vinScanNums','vuex_scanMaxNums','vuex_tabBarList']),
  124. hasShelf(){
  125. return !!this.$store.state.vuex_storeShelf
  126. },
  127. userInfo(){
  128. return this.$store.state.vuex_userInfo
  129. },
  130. storeApply(){
  131. return this.$store.state.vuex_storeAuthInfo
  132. },
  133. hasRedPacket(){
  134. const rule = this.$store.state.vuex_rewardRule
  135. return rule&&rule.ruleStatus == 'release'
  136. },
  137. hasShopSeting(){
  138. return this.$store.state.vuex_hasShopiing
  139. },
  140. itemList(){
  141. const list = [
  142. {
  143. text: '订单管理',
  144. icon: 'order',
  145. auth: true,
  146. column: 4,
  147. size: 60,
  148. child:[
  149. {
  150. text: '货架订单',
  151. icon: 'huojiaguanli',
  152. auth: this.$hasPermissions('M_shelfOrder_mini'),
  153. path: '/pagesA/digitalShelf/orderList',
  154. color: '#056cd9',
  155. isShelf: true
  156. },
  157. {
  158. text: '急送订单',
  159. icon: 'yijianshansong',
  160. auth: this.$hasPermissions('M_tempShelfOrder_mini'),
  161. path: '/pagesA/digitalShelf/tempOrderList/tempOrderList',
  162. color: '#dd6859',
  163. isShelf: true
  164. },
  165. {
  166. text: '采购订单',
  167. icon: 'purchaseorder',
  168. auth: this.$hasPermissions('M_procureOrder_mini'),
  169. path: '/pagesB/procureOrderList',
  170. color: '#ffaa00'
  171. }
  172. ],
  173. },
  174. {
  175. text: '货架管理',
  176. icon: 'list-dot',
  177. auth: true,
  178. column: 4,
  179. size: 60,
  180. child:[
  181. {
  182. text: '库存查询',
  183. icon: 'stockquery',
  184. auth: this.$hasPermissions('M_stockQueryList_mini'),
  185. path: '/pagesB/stockQuery/stockQuery',
  186. color: '#ff87a3',
  187. isShelf: true
  188. },
  189. {
  190. text: '补货记录',
  191. icon: 'replenishment',
  192. auth: this.$hasPermissions('M_stockPut_mini'),
  193. path: '/pagesA/digitalShelf/stockPut',
  194. color: '#55aaff',
  195. isShelf: true
  196. },
  197. {
  198. text: '结算记录',
  199. icon: 'settlement',
  200. auth: this.$hasPermissions('M_settlementRecord_mini'),
  201. path: '/pagesA/digitalShelf/settlementRecord/settlementRecord',
  202. color: '#55aa7f',
  203. isShelf: true
  204. },
  205. {
  206. text: '付款结算',
  207. icon: 'payrecord',
  208. auth: this.$hasPermissions('M_settlementManage_mini'),
  209. path: '/pagesA/digitalShelf/settlementManage/settlementManage',
  210. color: '#ff9777',
  211. isShelf: true
  212. },
  213. {
  214. text: '编码取货',
  215. icon: 'ziyuanxhdpi',
  216. auth: this.userInfo && this.userInfo.sysUserFlag == '1',
  217. path: '#quhuo1',
  218. color: '#2196f3',
  219. isShelf: true
  220. },
  221. {
  222. text: '扫码取货',
  223. icon: 'saoma1',
  224. auth: this.userInfo && this.userInfo.sysUserFlag == '1',
  225. path: '#quhuo0',
  226. color: '#ffaa00',
  227. isShelf: true
  228. },
  229. {
  230. text: 'VIN查询历史',
  231. icon: 'lishijilu',
  232. auth: this.hasLogin,
  233. path: '/pagesA/vinRecord/vinRecord',
  234. color: '#abc4ff',
  235. isShelf: true
  236. },
  237. {
  238. text: '联系汽配商',
  239. icon: 'lianxidianhua',
  240. auth: this.hasLogin&&this.dealerPhone,
  241. path: '#call',
  242. color: '#00aaff',
  243. isShelf: true
  244. },
  245. ],
  246. },
  247. {
  248. text: '轮胎质保单',
  249. icon: 'file-text',
  250. auth: true,
  251. column: 4,
  252. size: 60,
  253. child:[
  254. {
  255. text: '创建质保单',
  256. icon: 'zhibaodan',
  257. auth: this.$hasPermissions('M_creatWarranty_mini'),
  258. path: '/pagesA/qualityPolicy/creatOrder',
  259. color: '#056cd9'
  260. },
  261. {
  262. text: '质保单查询',
  263. icon: 'ordersearch',
  264. auth: this.$hasPermissions('M_searchWarranty_mini'),
  265. path: '/pagesA/qualityPolicy/searchOrder',
  266. color: '#ffaa7f'
  267. },
  268. ],
  269. },
  270. {
  271. text: '基础设置',
  272. icon: 'setting',
  273. auth: true,
  274. column: 4,
  275. size: 60,
  276. child:[
  277. {
  278. text: '员工管理',
  279. icon: 'employee',
  280. auth: this.$hasPermissions('M_employee_mini'),
  281. path: '/pages/storeManage/personnel',
  282. color: '#ff9d7c'
  283. },
  284. {
  285. text: '岗位权限',
  286. icon: 'job',
  287. auth: this.$hasPermissions('M_roleSetting_mini'),
  288. path: '/pages/storeManage/roleSetting/roleSetting',
  289. color: '#aaaaff'
  290. },
  291. {
  292. text: '价格显示设置',
  293. icon: 'permission',
  294. auth: this.$hasPermissions('M_priceShow_mini')&&this.showPriceSet,
  295. path: '/pages/storeManage/priceSetting/priceSetting',
  296. color: '#55aaff',
  297. isShelf: true
  298. },
  299. {
  300. text: '商城显示设置',
  301. icon: 'shangcheng',
  302. auth: this.$hasPermissions('M_priceShow_mini')&&this.hasShopSeting,
  303. path: '/pagesB/shopShow/shopShow',
  304. color: '#00aa00',
  305. isShelf: true
  306. },
  307. ],
  308. }
  309. ]
  310. // 计算父节点,权限
  311. list.forEach(item => {
  312. item.id = this.$u.guid()
  313. item.child = item.child.filter(c => c.auth)
  314. item.auth = item.child.length > 0
  315. })
  316. return list.filter(item => item.auth)
  317. }
  318. },
  319. onShow() {
  320. // 用户头像
  321. this.avatarUrl = uni.getStorageSync('userPhoto');
  322. // 获取货架信息
  323. const shelfInfo = this.$store.state.vuex_storeShelf
  324. this.shelfSn = shelfInfo ? shelfInfo.shelfSn : ''
  325. this.dealerPhone = shelfInfo&&shelfInfo.contactMobile ? shelfInfo.contactMobile : ''
  326. if(this.shelfSn){
  327. this.getPriceCofig()
  328. }
  329. // 获取优惠券总数
  330. if(this.hasLogin&&this.$hasPermissions('M_couponList_mini')){
  331. this.getCouponCount()
  332. }
  333. // 红包总金额
  334. if(this.hasRedPacket&&this.hasShelf){
  335. this.getUserReward()
  336. }
  337. // 隐藏促销模块
  338. if(!this.hasLogin){
  339. this.hidePromoTab()
  340. }
  341. },
  342. // 页面卸载
  343. onUnload() {
  344. uni.$off('refashProm')
  345. },
  346. methods: {
  347. // 获取优惠券数量
  348. getCouponCount(){
  349. if(this.userInfo.sysUserFlag == '1'){
  350. ticketQueryCount().then(res => {
  351. this.couponCount = res.data ? res.data.ticketValue : 0
  352. })
  353. }
  354. },
  355. // 红包总金额
  356. getUserReward(){
  357. findUserReward().then(res => {
  358. this.redPackCount = res.data ? res.data.rewardAmount : 0
  359. })
  360. },
  361. // 查看用户信息
  362. toUser(){
  363. if(this.hasLogin){
  364. // 用户详细信息 或 门店认证
  365. uni.navigateTo({
  366. url: this.userInfo.sysUserFlag == '1' ? '/pages/personData/personData' : '/pages/storeManage/storeAuth'
  367. })
  368. }else{
  369. toLogin()
  370. }
  371. },
  372. // 隐藏促销模块
  373. hidePromoTab(){
  374. // 删除促销模块
  375. const promoIndex = this.$store.state.vuex_tabBarList.findIndex(item => item.text == '促销')
  376. if(promoIndex > -1){
  377. this.$store.state.vuex_tabBarList.splice(promoIndex,1)
  378. }
  379. // 扫描按钮不局中
  380. const scanTab = this.$store.state.vuex_tabBarList.find(item => item.text == '扫描VIN')
  381. if(scanTab){
  382. scanTab.iconPath = "/static/tab/tab_scan_normal.png"
  383. scanTab.midButton = false
  384. }
  385. },
  386. // tab单击
  387. beforeSwitch(index){
  388. const row = this.$store.state.vuex_tabBarList[index] // 当前tab
  389. const isNoAuth = this.userInfo ? this.userInfo.sysUserFlag == '0' : false // 是否认证门店
  390. return clickTab(row,this.hasLogin,isNoAuth,this.vuex_vinScanNums < this.vuex_scanMaxNums)
  391. },
  392. // 网格打开页面
  393. openPage(e,child){
  394. const item = child[e.detail.index]
  395. this.toPage(item.path,item.isShelf)
  396. },
  397. // 获取价格配置
  398. getPriceCofig(){
  399. queryQplsConfig({shelfSn: this.shelfSn}).then(res => {
  400. this.$store.state.vuex_configPrice = res.data || null
  401. const ret = [false,false]
  402. ret[0]= res.data.shelf_cost_show == '1' || res.data.non_shelf_cost_show == '1'
  403. ret[1]= res.data.shelf_price_show == '1' || res.data.non_shelf_price_show == '1'
  404. this.showPriceSet = ret.filter(item => !!item).length > 0
  405. })
  406. },
  407. // 取货
  408. openTakeGood(index){
  409. // 已有数字货架
  410. if(this.hasShelf){
  411. this.clickAction(index)
  412. }else{
  413. uni.showToast({
  414. icon:'none',
  415. title: '门店没有关联数字货架,无法使用此功能!'
  416. })
  417. }
  418. },
  419. // 选择取货方式
  420. clickAction(index){
  421. const shelfSn = this.hasShelf.shelfSn
  422. const _this = this
  423. // 扫描
  424. if(index == 0){
  425. uni.scanCode({
  426. success: function (ret) {
  427. console.log(ret);
  428. const params = {
  429. codeType: ret.scanType == 'QR_CODE' ? 0 : 1
  430. }
  431. // 二维码
  432. if(ret.scanType == 'QR_CODE'){
  433. const result = ret.result.split("&")
  434. params.productSn = result[2] // 产品编码sn
  435. }else{
  436. params.qrCode = ret.result
  437. }
  438. uni.showLoading({
  439. title: "正在查询产品..."
  440. })
  441. // 确认取货
  442. getProductfindByScanCode(params).then(res => {
  443. if(res.status == 200 && res.data){
  444. if(res.data.currentInven){
  445. const billSource = ret.scanType == 'QR_CODE' ? 'qr_code': 'bar_code'
  446. const retData = Object.assign({shelfSn: shelfSn, billSource: billSource},res.data)
  447. _this.$store.state.vuex_tempData = retData
  448. uni.navigateTo({
  449. url: '/pagesA/queryByCode/confirmQh'
  450. })
  451. }else{
  452. uni.showModal({
  453. title: '提示',
  454. content: '产品库存为0,无法取货!',
  455. confirmText: '好的',
  456. showCancel: false
  457. })
  458. }
  459. }else{
  460. uni.showModal({
  461. title: '提示',
  462. content: '产品不属于此货架,请重新扫描!',
  463. confirmText: '好的',
  464. showCancel: false
  465. })
  466. }
  467. uni.hideLoading()
  468. })
  469. }
  470. });
  471. }else{
  472. // 按编码搜索
  473. uni.navigateTo({
  474. url: '/pagesA/queryByCode/queryByCode'
  475. })
  476. }
  477. },
  478. // 跳转打开页面
  479. toPage(path,isShelf){
  480. const _this = this
  481. if(this.hasLogin){
  482. // 游客未认证
  483. if(this.userInfo.sysUserFlag == '0'){
  484. if(this.storeApply&&this.storeApply.auditStatus=='WAIT'){
  485. uni.showModal({
  486. title: '提示',
  487. content: '门店认证资料审核中,请耐心等待!',
  488. confirmText: '知道了',
  489. showCancel: false
  490. })
  491. }
  492. // 如果审核已通过
  493. else if(this.storeApply&&this.storeApply.auditStatus=='PASS'){
  494. uni.showModal({
  495. title: '提示',
  496. content: '门店认证审核已通过,请重新登录!',
  497. confirmText: '去登录',
  498. showCancel: false,
  499. success() {
  500. _this.$store.dispatch('userLogout');
  501. toLogin()
  502. }
  503. })
  504. }else{
  505. this.showPopup = true
  506. }
  507. }else{
  508. // 已有数字货架
  509. if(this.hasShelf || !isShelf){
  510. if(path.indexOf("/pages")>=0){
  511. uni.navigateTo({
  512. url: path
  513. })
  514. }else{
  515. if(path == '#quhuo1'){
  516. this.openTakeGood(1)
  517. }
  518. if(path == '#quhuo0'){
  519. this.openTakeGood(0)
  520. }
  521. if(path == '#call'){
  522. this.call()
  523. }
  524. }
  525. }else{
  526. uni.showToast({
  527. icon:'none',
  528. title: '门店没有关联数字货架,无法使用此功能!'
  529. })
  530. }
  531. }
  532. }else{
  533. toLogin()
  534. }
  535. },
  536. // 去认证
  537. toAuthStore(){
  538. this.showPopup = false
  539. uni.navigateTo({
  540. url: '/pages/storeManage/storeAuth'
  541. })
  542. },
  543. // 打电话
  544. call(){
  545. this.callPhone(this.dealerPhone)
  546. },
  547. // 退出登录
  548. quitOut(){
  549. let _this = this
  550. uni.showModal({
  551. title: '提示',
  552. content: '确定退出登录吗?',
  553. success: (ret) => {
  554. if(ret.confirm){
  555. _this.$store.dispatch('userLogout');
  556. toLogin()
  557. }
  558. }
  559. })
  560. }
  561. }
  562. }
  563. </script>
  564. <style lang="less">
  565. .morePages{
  566. width: 100%;
  567. background-image: linear-gradient(#86defa 0%,#cdeff9 20%,#f8f8f8 30%);
  568. .header-box{
  569. z-index: 5;
  570. padding: 0em 1em;
  571. background: #03A9F4;
  572. .title{
  573. padding: 0;
  574. }
  575. .version{
  576. color: #FFEB3B;
  577. font-size: 0.8em;
  578. margin-left: 1em;
  579. }
  580. }
  581. .morePages-body{
  582. padding: 0 30rpx;
  583. overflow: hidden;
  584. .body-box{
  585. margin-bottom: 10px;
  586. z-index: 4;
  587. }
  588. .bg-blue{
  589. position: relative;
  590. > view{
  591. z-index: 100;
  592. position: relative;
  593. }
  594. &::after{
  595. /* 这个伪类的作用就是一个圆弧的背景色 */
  596. width: 130%;
  597. height: 100%;
  598. position: absolute;
  599. /*设置水平居中*/
  600. left: -15%;
  601. /* 之所以left:20%,是因为width:140%,若width:160%,那么left:30%才能水平居中 */
  602. top: -25%;
  603. /*层叠顺序,最底层显示*/
  604. content: '';
  605. border-radius: 0 0 50% 50%;
  606. /*分别对应 左上 右上 右下 左下 可以修改成其它颜色*/
  607. background: linear-gradient(to bottom, #03A9F4, #02a6ec);
  608. }
  609. .userCard{
  610. position:relative;
  611. left:0;
  612. bottom:0;
  613. padding: 0.5rem;
  614. background: #fff;
  615. border-radius: 25rpx;
  616. box-shadow: 2rpx 2rpx 5rpx #bcdede;
  617. .userCard-info{
  618. flex-grow:1;
  619. > view{
  620. &:last-child{
  621. margin-left: 0.5em;
  622. line-height: 1.5em;
  623. .user-name{
  624. font-size: 1rem;
  625. }
  626. >view{
  627. padding: 0.2em;
  628. }
  629. }
  630. }
  631. .user-info{
  632. flex-grow:1;
  633. }
  634. }
  635. .user-rz{
  636. font-size: 0.8rem;
  637. color:#58aff5;
  638. }
  639. }
  640. }
  641. .list-box{
  642. background: #ffffff;
  643. margin-bottom: 20rpx;
  644. border-radius: 25rpx;
  645. overflow: hidden;
  646. box-shadow: 2rpx 2rpx 5rpx #eee;
  647. .list-title{
  648. padding: 25rpx 20rpx;
  649. color: #666;
  650. > text{
  651. font-size: 28rpx;
  652. }
  653. }
  654. &:first-child{
  655. box-shadow: 2rpx 2rpx 5rpx #cdeff9;
  656. }
  657. .list-body{
  658. padding: 0 20rpx;
  659. }
  660. .grid-item-box{
  661. display: flex;
  662. flex-direction: column;
  663. align-items:center;
  664. justify-content: center;
  665. margin-bottom: 15px;
  666. .text{
  667. text-align:center;
  668. color: #666;
  669. margin-top: 3px;
  670. font-size: 12px;
  671. }
  672. .icons{
  673. text-align:center;
  674. display: flex;
  675. align-items: center;
  676. flex-direction: column;
  677. justify-content: center;
  678. }
  679. }
  680. }
  681. .phone{
  682. color: #00aaff;
  683. &:active{
  684. opacity: 0.8;
  685. transform:scale(0.9);
  686. }
  687. }
  688. }
  689. }
  690. </style>