manageIndex.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764
  1. <template>
  2. <view class="content container">
  3. <view class="bg" v-if="!viewload"></view>
  4. <view class="cont-box" v-if="!viewload">
  5. <view class="user-cont" @click="navTo('/pages_managedata/userInfo')">
  6. <view class="user-box" v-if="user!=null">
  7. <view class="left">
  8. <u-avatar :src="user.avatar" size="50"></u-avatar>
  9. <!-- <image class="img" :src="user.avatar" mode="aspectFill"></image> -->
  10. <view class="user">
  11. <view class="username">{{user.nickName}}</view>
  12. <view class="account">{{user.email}}</view>
  13. </view>
  14. </view>
  15. <view class="right">
  16. <image :src="imgPath+'/app/images/right_arrow.png'"></image>
  17. </view>
  18. </view>
  19. <view class="justify-between align-center">
  20. <view class="company" v-if="user!=null">
  21. <!-- <image :src="imgPath+'/app/images/icon_comp.png'"></image> -->
  22. <view class="base-color-6">公司:</view>
  23. <view class="name">{{user.companyName||'暂无数据'}}</view>
  24. </view>
  25. <view class="company" v-if="user!=null">
  26. <view class="base-color-6">部门:</view>
  27. <view class="name">{{user.dept.deptName||'无'}}</view>
  28. </view>
  29. </view>
  30. <view class="justify-between align-center">
  31. <view class="company" v-if="user!=null">
  32. <view class="base-color-6">岗位:</view>
  33. <view class="name">{{user.postname||'无'}}</view>
  34. </view>
  35. <view class="company" v-if="user!=null">
  36. <view class="base-color-6">角色:</view>
  37. <view class="name">{{user.rolesname||'无'}}</view>
  38. </view>
  39. </view>
  40. </view>
  41. <view class="bgf radius15 p30 justify-between align-center mb40" v-if="balance">
  42. <view class="fs24">红包剩余金额</view>
  43. <view class="fs40 bold">{{balance.toFixed(2)}}</view>
  44. </view>
  45. <view class="menu-box" style="margin-top: -20rpx;">
  46. <view class="title-box">
  47. <image class="icon" :src="imgPath+'/app/manergevip/chang.png'"></image>
  48. <view class="title">常用功能</view>
  49. </view>
  50. <view class="line"></view>
  51. <view class="menus" v-if="user!=null">
  52. <view class="menu-item" @click="navTo('/pages_managedata/managedetail')">
  53. <image :src="imgPath+'/app/images/menu_info.png'"></image>
  54. <view class="m-name">销售管理</view>
  55. </view>
  56. <view class="menu-item" @click="navTo('/pages_managedata/users')" v-if="user.userType=='00'">
  57. <image :src="imgPath+'/app/manergevip/qudao.png'"></image>
  58. <view class="m-name">审核销售</view>
  59. </view>
  60. <view class="menu-item" @click="handleShare" v-if="user.userType=='00'">
  61. <image :src="imgPath+'/app/manergevip/share-manage.png'"></image>
  62. <view class="m-name">邀请销售</view>
  63. </view>
  64. <view class="menu-item" @click="navTo('/pages_managedata/lableSetup')">
  65. <image :src="imgPath+'/app/images/changeLable.png'"></image>
  66. <view class="m-name">标签设置</view>
  67. </view>
  68. </view>
  69. </view>
  70. <view class="menu-box">
  71. <view class="title-box">
  72. <image class="icon" :src="imgPath+'/app/manergevip/qita.png'"></image>
  73. <view class="title">其它工具</view>
  74. </view>
  75. <view class="line"></view>
  76. <view class="menus">
  77. <view class="menu-item" @click="navTo('/pages_managedata/about')">
  78. <image :src="imgPath+'/app/manergevip/about.png'"></image>
  79. <view class="m-name">关于我们</view>
  80. </view>
  81. <view class="menu-item" @click="navTo('/pages_managedata/editUser')">
  82. <image :src="imgPath+'/app/manergevip/setup.png'"></image>
  83. <view class="m-name">设置</view>
  84. </view>
  85. <!-- <view class="menu-item" @click="navTo('/pages_course/exportlist/exportlist')">
  86. <u-icon name="attach" color="#2979ff" size="28"></u-icon>
  87. <view class="m-name">导出列表</view>
  88. </view> -->
  89. </view>
  90. </view>
  91. <view class="btn-box">
  92. <view class="sub-btn" @click="showLogout()">退出登录</view>
  93. </view>
  94. </view>
  95. <!-- 分享弹窗 -->
  96. <u-popup :show="showShare" :closeOnClickOverlay="true" :round='20' @close="closeShare" @open="openShare">
  97. <view class="sharePop x-ac">
  98. <!--#ifdef MP-WEIXIN-->
  99. <view class="sharePop-item y-f" @click="shareimg">
  100. <image :src="imgPath+'/app/images/card_icon.png'" mode="aspectFill"
  101. style="width: 80rpx; height: 80rpx;margin-top: 20rpx;"></image>
  102. <view style="font-weight: bold;margin-bottom: 4px;">生成卡片</view>
  103. <view style="font-size: 12px;color: #888;">指导分享轻松转发</view>
  104. <button open-type="share" class="share">分享课程</button>
  105. </view>
  106. <!--#endif-->
  107. <!-- <view class="sharePop-item y-f" @click="buildimg">
  108. <image :src="imgPath+'/app/images/poster_icon.png'" mode="aspectFill"></image>
  109. <view style="font-weight: bold;margin-bottom: 4px;">生成海报</view>
  110. <view style="font-size: 12px;color: #888;">保存海报美观宣传</view>
  111. </view> -->
  112. <!--#ifdef H5-->
  113. <view class="sharePop-item y-f" @click="shareSale">
  114. <image :src="imgPath+'/app/images/link_icon.png'" mode="aspectFill"></image>
  115. <view style="font-weight: bold;margin-bottom: 4px;">复制链接</view>
  116. <view style="font-size: 12px;color: #888;">生成链接一键复制</view>
  117. </view>
  118. <!--#endif-->
  119. </view>
  120. </u-popup>
  121. <!-- 长按保存海报 -->
  122. <u-popup :show="setImg" @close="closeimg" :round="12">
  123. <view class="w100 h500">
  124. <image :src="codeLink.url" class="codeimg w660" mode="widthFix"></image>
  125. </view>
  126. <view class="justify-around mtb40">
  127. <view class="column justify-center align-center" @click="downimg">
  128. <image :src="imgPath+'/app/image/downicon.png'" class="w80 h80"></image>
  129. <view class="mt10">长按图片保存</view>
  130. </view>
  131. </view>
  132. </u-popup>
  133. <!-- 设置链接有效时长弹窗 -->
  134. <!-- <u-modal :show="setTimeShow" content='content' class="model" @confirm="confirmTime">
  135. <view class="setTimebox">
  136. <view class="timetip">不传默认以系统参数为准</view>
  137. <view class="x-f">
  138. <text style="margin-right: 20px;">链接有效时长(分钟)</text>
  139. <u-input fontSize="14px" placeholder="链接有效时长" border="none" v-model="time" maxlength="5"></u-input>
  140. </view>
  141. </view>
  142. </u-modal> -->
  143. <!-- 卡片分享引导 -->
  144. <u-overlay :show="showzhidao" @click="showzhidao = false" style="z-index: 9999;">
  145. <view class="point-box">
  146. <view class="imgshe">
  147. <image :src="imgPath+'/app/image/point.png'" class="w300 h300"></image>
  148. </view>
  149. <view class="column colorf fs32 xu-box fs40 align-center justify-center">
  150. <view class="justify-center">点击右上角
  151. <image :src="imgPath+'/app/image/wxmore.png'" class="w50 h50 mlr10"></image>
  152. </view>
  153. <view class="mt20">选择 “转发给朋友”</view>
  154. <view style="color: #cbcbcb;" class="fs28 mt40">点击任意位置关闭弹窗</view>
  155. </view>
  156. </view>
  157. </u-overlay>
  158. <u-modal :show="show" title="提示" :showCancelButton="true" @cancel="hideLogout()" @confirm="logout()"
  159. content='确认退出吗?'></u-modal>
  160. <u-loading-page :loading="viewload" iconSize="32" loadingColor="#3c9cff" fontSize="20"
  161. :loading-text="loadingtext"></u-loading-page>
  162. </view>
  163. </template>
  164. <script>
  165. import {
  166. getCompanyUser
  167. } from '@/api/manageCompany.js'
  168. // import {
  169. // sharecourselink,
  170. // buildCode,
  171. // getSDK,
  172. // becomeVipuser,
  173. // becomeVipuserImg
  174. // } from '@/api/courseManage'
  175. // import wx from 'weixin-js-sdk'
  176. export default {
  177. data() {
  178. return {
  179. viewload: true,
  180. loadingtext: "数据加载中...",
  181. show: false,
  182. user: null,
  183. showShare: false,
  184. copyLinks: '',
  185. setTimeShow: false,
  186. time: '',
  187. setImg: false,
  188. codeLink: '',
  189. showzhidao: false,
  190. balance: 0
  191. }
  192. },
  193. onShow() {
  194. },
  195. onShareAppMessage() {
  196. return {
  197. title: this.$store.state.logoname + '小程序的' + this.user.nickName + '邀请您成为销售', // 分享卡片标题
  198. path: '/pages_course/course/becomeSale?id=' + this.user.companyId, // 目标页面路径
  199. // 携带参数:将当前页面的数据拼接到路径中
  200. imageUrl: this.user.avatar || this.logoimg, // 分享卡片封面图(可选)
  201. success: (res) => {
  202. console.log("分享成功", res);
  203. },
  204. fail: (err) => {
  205. console.log("分享失败", err);
  206. },
  207. }
  208. },
  209. computed: {
  210. imgPath() {
  211. return this.$store.state.imgpath
  212. },
  213. ...mapGetters(['logoimg']),
  214. },
  215. watch: {
  216. logoimg: {
  217. immediate: true, // 页面一进入就检查一次
  218. handler(val) {
  219. return val
  220. }
  221. },
  222. },
  223. mounted() {
  224. this.getCompanyUsers()
  225. },
  226. methods: {
  227. shareSale() {
  228. const fullUrl = location.href;
  229. const Path = fullUrl.split('/#')[0] || '';
  230. setTimeout(() => {
  231. uni.setClipboardData({
  232. data: Path + '/#/pages_course/course/becomeSale?id=' + this.user.companyId,
  233. success: () => {
  234. uni.showToast({
  235. title: '邀请链接已复制',
  236. icon: 'none',
  237. duration: 2000
  238. });
  239. // this.setTimeShow = !this.setTimeShow
  240. this.showShare = false
  241. // console.log(res)
  242. },
  243. fail: () => {
  244. uni.showToast({
  245. title: '复制失败',
  246. icon: 'none'
  247. });
  248. }
  249. });
  250. }, 100)
  251. },
  252. // 获取jssdk
  253. getjssdklist() {
  254. const param = {
  255. url: window.location.href.split('#')[0] // 注意去除 hash
  256. }
  257. getSDK(param).then(res => {
  258. wx.config({
  259. debug: false,
  260. appId: res.data.appId, // 必填,公众号的唯一标识
  261. timestamp: res.data.timestamp, // 必填,生成签名的时间戳
  262. nonceStr: res.data.nonceStr, // 必填,生成签名的随机串
  263. signature: res.data.signature, // 必填,签名
  264. jsApiList: ["updateAppMessageShareData",
  265. "onMenuShareAppMessage",
  266. ] // 必填,需要使用的JS接口列表
  267. });
  268. })
  269. },
  270. shareimg() {
  271. //分享好友
  272. let self = this
  273. // 配置--配置全局
  274. wx.ready(function() { //需在用户可能点击分享按钮前就先调用
  275. wx.updateAppMessageShareData({
  276. title: self.user.userName + "邀请您成为销售", // 分享标题
  277. desc: self.user.deptName, // 分享描述
  278. link: self.copyLinks,
  279. imgUrl: self.codeLink.url || self.logoimg, // 分享图标
  280. success: function(res) {
  281. self.showzhidao = true
  282. self.setImg = false
  283. self.showShare = false
  284. // 设置成功
  285. uni.showToast({
  286. title: '卡片已生成',
  287. icon: 'none',
  288. duration: 1000
  289. });
  290. },
  291. fail: function(err) {
  292. // console.log(err);
  293. uni.showToast({
  294. title: '卡片生成失败,请重试',
  295. icon: 'none',
  296. duration: 2000
  297. })
  298. }
  299. })
  300. });
  301. },
  302. handleShare() {
  303. this.showShare = true
  304. const pages = '/pages_course/becomeSale?id=' + this.user.companyId
  305. this.$emit('childsales', pages);
  306. // this.getjssdklist()
  307. // this.getlink('preload'); // 提前加载链接
  308. },
  309. //设置链接时长
  310. confirmTime() {
  311. this.setTimeShow = false
  312. this.showShare = false
  313. this.getlink('preload')
  314. this.copyLink()
  315. },
  316. closeimg() {
  317. this.setImg = false
  318. this.showShare = false
  319. },
  320. buildimg() {
  321. //生成海报
  322. this.setImg = !this.setImg
  323. this.getshareimg()
  324. },
  325. getshareimg() {
  326. //生成海报
  327. uni.showLoading({
  328. title: '正在生成中...'
  329. })
  330. const param = {
  331. code: '',
  332. companyId: this.user.companyId,
  333. companyUserId: this.user.userId
  334. }
  335. becomeVipuserImg(param).then(res => {
  336. if (res.code == 200) {
  337. this.codeLink = res.data
  338. this.getlink()
  339. // console.log(res)
  340. } else {
  341. uni.showToast({
  342. title: res.msg,
  343. icon: 'none',
  344. duration: 2000
  345. });
  346. }
  347. })
  348. },
  349. getlink(type) {
  350. //生成链接
  351. const param = {
  352. companyId: this.user.companyId,
  353. companyUserId: this.user.userId,
  354. tagids: '',
  355. limitTime: this.time
  356. }
  357. becomeVipuser(param).then(res => {
  358. if (res.code == 200) {
  359. this.copyLinks = res.data
  360. if (this.copyLinks.startsWith('http://')) {
  361. this.copyLinks = this.copyLinks.replace('http://', 'https://');
  362. }
  363. // console.log(this.copyLinks,'分享链接')
  364. } else {}
  365. })
  366. },
  367. copyLink() {
  368. console.log(this.showShare)
  369. setTimeout(() => {
  370. uni.setClipboardData({
  371. data: this.copyLinks,
  372. success: () => {
  373. uni.showToast({
  374. title: '链接已复制',
  375. icon: 'none',
  376. duration: 2000
  377. });
  378. // this.setTimeShow = !this.setTimeShow
  379. this.showShare = false
  380. },
  381. fail: () => {
  382. uni.showToast({
  383. title: '复制失败',
  384. icon: 'none'
  385. });
  386. }
  387. });
  388. }, 100)
  389. },
  390. closeShare() {
  391. this.showShare = false
  392. },
  393. openShare() {
  394. // this.showShare = false
  395. },
  396. showLogout() {
  397. this.show = true;
  398. },
  399. hideLogout() {
  400. this.show = false;
  401. },
  402. logout() {
  403. uni.removeStorageSync('ManageToken')
  404. // 条件编译判断平台,设置不同登录页路径
  405. let loginPage = '';
  406. // #ifdef H5
  407. loginPage = '/pages/auth/login';
  408. // #endif
  409. // #ifdef MP-WEIXIN
  410. loginPage = '/pages_manage/login';
  411. // #endif
  412. uni.navigateTo({
  413. url: loginPage,
  414. })
  415. },
  416. navTo(url) {
  417. uni.navigateTo({
  418. url
  419. })
  420. },
  421. getCompanyUsers() {
  422. var data = {};
  423. getCompanyUser(data).then(res => {
  424. if (res.code == 200) {
  425. this.viewload = false
  426. console.log(res)
  427. this.user = res.user;
  428. this.balance = res.balance
  429. if (res.user.posts) {
  430. this.user.postname = res.user.posts.map(item => item.postName).join(",")
  431. }
  432. if (res.user.roles) {
  433. this.user.rolesname = res.user.roles.map(item => item.roleName).join(",")
  434. }
  435. if (this.user.avatar) {
  436. this.user.avatar = uni.getStorageSync('requestPath') + res.user.avatar
  437. } else {
  438. this.user.avatar == '';
  439. }
  440. console.log('头像', this.user.avatar)
  441. } else {
  442. }
  443. });
  444. },
  445. }
  446. }
  447. </script>
  448. <style scoped lang="scss">
  449. page {
  450. height: 100%;
  451. background: #f6f6f6;
  452. }
  453. .share {
  454. display: inline-block;
  455. position: absolute;
  456. top: 0;
  457. left: 0;
  458. width: 100%;
  459. height: 100%;
  460. opacity: 0;
  461. }
  462. .container {
  463. font-family: PingFang SC, PingFang SC;
  464. font-weight: 400;
  465. font-size: 14px;
  466. color: #222222;
  467. height: 100%;
  468. overflow: hidden;
  469. }
  470. .imgshe {
  471. display: flex;
  472. flex-direction: row-reverse
  473. }
  474. .point-box {
  475. height: 100%;
  476. width: 100%;
  477. .xu-box {
  478. border: #f5f5f5 4rpx dashed;
  479. padding: 20rpx 20rpx;
  480. }
  481. }
  482. .setTimebox {
  483. font-family: PingFang SC, PingFang SC;
  484. font-weight: 400;
  485. font-size: 14px;
  486. width: fit-content;
  487. height: fit-content;
  488. }
  489. .codeimg {
  490. position: absolute;
  491. z-index: 9999;
  492. left: 40rpx;
  493. top: 40rpx;
  494. }
  495. .timetip {
  496. font-family: PingFang SC, PingFang SC;
  497. font-weight: 400;
  498. font-size: 14px;
  499. color: #2979ff;
  500. text-align: center;
  501. margin-bottom: 5px;
  502. }
  503. .content {
  504. position: relative;
  505. height: 100%;
  506. width: 100%;
  507. .bg {
  508. width: 100%;
  509. height: 550upx;
  510. position: absolute;
  511. top: 0;
  512. left: 0;
  513. z-index: 1;
  514. background: linear-gradient(to bottom, #dae9ff, #e1e1fd);
  515. // background: linear-gradient(to bottom, #8bbfff, #1773ff);
  516. border-radius: 0rpx 0rpx 60rpx 60rpx;
  517. }
  518. .cont-box {
  519. position: relative;
  520. z-index: 2;
  521. padding: 30rpx 30rpx 200rpx;
  522. .user-cont {
  523. // box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.05);
  524. padding: 30rpx;
  525. // background-color: #fff;
  526. border-radius: 15rpx;
  527. .user-box {
  528. width: 100%;
  529. display: flex;
  530. align-items: center;
  531. justify-content: flex-start;
  532. .left {
  533. flex: 1;
  534. display: flex;
  535. align-items: center;
  536. justify-content: flex-start;
  537. image {
  538. border-radius: 50%;
  539. width: 120rpx;
  540. height: 120rpx;
  541. }
  542. .user {
  543. margin-left: 20rpx;
  544. width: calc(100% - 140rpx);
  545. display: flex;
  546. flex-direction: column;
  547. align-items: flex-start;
  548. justify-content: flex-start;
  549. .username {
  550. font-size: 38rpx;
  551. font-family: PingFang SC;
  552. color: #111;
  553. font-weight: bold;
  554. }
  555. .account {
  556. padding: 5rpx 0rpx;
  557. border-radius: 30rpx;
  558. margin-top: 20rpx;
  559. font-size: 24rpx;
  560. font-family: PingFang SC;
  561. color: #515151;
  562. }
  563. }
  564. }
  565. .right {
  566. image {
  567. width: 15rpx;
  568. height: 30rpx;
  569. }
  570. }
  571. }
  572. .company {
  573. margin-top: 20rpx;
  574. display: flex;
  575. align-items: center;
  576. justify-content: flex-start;
  577. image {
  578. width: 40rpx;
  579. height: 40rpx;
  580. }
  581. .name {
  582. margin-left: 15rpx;
  583. font-size: 28rpx;
  584. color: #111;
  585. }
  586. }
  587. }
  588. .menu-box {
  589. box-shadow: 0px 0px 5px 2px rgba(0, 0, 0, 0.05);
  590. width: 100%;
  591. margin-top: 30rpx;
  592. padding: 30rpx;
  593. background-color: #fff;
  594. border-radius: 15rpx;
  595. .title-box {
  596. display: flex;
  597. align-items: center;
  598. justify-content: flex-start;
  599. .icon {
  600. width: 40rpx;
  601. height: 40rpx;
  602. }
  603. .title {
  604. margin-left: 10rpx;
  605. font-size: 28rpx;
  606. font-family: PingFang SC;
  607. color: #111;
  608. }
  609. }
  610. .line {
  611. margin-top: 15rpx;
  612. height: 0.5rpx;
  613. width: 100%;
  614. background-color: #efefef;
  615. }
  616. .menus {
  617. margin-top: 30rpx;
  618. display: flex;
  619. align-items: center;
  620. justify-content: flex-start;
  621. flex-wrap: wrap;
  622. }
  623. .menu-item {
  624. display: flex;
  625. flex-direction: column;
  626. align-items: center;
  627. justify-content: center;
  628. width: 25%;
  629. margin-bottom: 20rpx;
  630. image {
  631. width: 60rpx;
  632. height: 60rpx;
  633. }
  634. .m-name {
  635. margin-top: 10rpx;
  636. font-size: 24rpx;
  637. font-family: PingFang SC;
  638. color: #111;
  639. }
  640. }
  641. }
  642. .menu-box1 {
  643. width: 100%;
  644. margin-top: 30rpx;
  645. padding: 0rpx 30rpx;
  646. background-color: #fff;
  647. border-radius: 15rpx;
  648. .menu-item {
  649. width: 100%;
  650. display: flex;
  651. align-items: center;
  652. justify-content: flex-start;
  653. line-height: 100rpx;
  654. .left {
  655. flex: 1;
  656. display: flex;
  657. align-items: center;
  658. justify-content: flex-start;
  659. image {
  660. width: 30rpx;
  661. height: 30rpx;
  662. }
  663. .label {
  664. margin-left: 10rpx;
  665. }
  666. }
  667. .right {
  668. image {
  669. width: 10rpx;
  670. height: 15rpx;
  671. }
  672. }
  673. }
  674. }
  675. }
  676. }
  677. .btn-box {
  678. margin: 30rpx 0rpx 30rpx;
  679. display: flex;
  680. align-items: center;
  681. justify-content: center;
  682. .sub-btn {
  683. // box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.05);
  684. border: 1rpx solid #f8f8f8;
  685. background: #FFFFFF;
  686. width: 100%;
  687. height: 88upx;
  688. line-height: 88upx;
  689. text-align: center;
  690. font-size: 30upx;
  691. font-family: PingFang SC;
  692. color: #2979ff;
  693. }
  694. }
  695. .sharePop {
  696. background-color: #fff;
  697. padding: 20px 0;
  698. border-radius: 20px 20px 0 0;
  699. &-item {
  700. padding: 0 10px;
  701. box-sizing: border-box;
  702. font-family: PingFang SC, PingFang SC;
  703. font-weight: 400;
  704. font-size: 14px;
  705. display: inline-flex !important;
  706. image {
  707. height: 48px;
  708. width: 48px;
  709. margin-bottom: 10px;
  710. }
  711. }
  712. }
  713. </style>