manageIndex.vue 20 KB

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