morePage.vue 19 KB

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