detail.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772
  1. <template>
  2. <view class="content">
  3. <view class="bgc">
  4. <view class="content1">
  5. <view class="left relative">
  6. <image :src="dataObj.circleHead?dataObj.circleHead:'../../static/imgs/logo.png'" mode="aspectFill" class="img"></image>
  7. <view class="share">
  8. <button class="shareBtn" type="default" data-name="shareBtn" open-type="share">
  9. <image style='width:30rpx;height:30rpx;position: absolute;top: 2px;right: 2px;' src="@/static/imgs/share1.png" mode="aspectFill">
  10. </image>
  11. </button>
  12. </view>
  13. </view>
  14. <view class="right">
  15. <view class="top flex flex-between">
  16. <view class="text">
  17. {{dataObj.circleName}}({{dataObj.cardNum}})
  18. </view>
  19. <span class="join" @click="$u.debounce(addCircle, 500)" v-if="!dataObj.circleCardInfo">
  20. <uni-icons type="plusempty" size="12" color="#fff"
  21. style="margin:0 10rpx;font-weight: bold;"></uni-icons>加入
  22. </span>
  23. <span class="join" @click="exitCircle" v-else>
  24. 退出
  25. </span>
  26. </view>
  27. <view style='flex-wrap: wrap;' class="bottom flex">
  28. <view v-for="item in dataObj.circleLabel" class="text">
  29. {{item}}
  30. </view>
  31. </view>
  32. </view>
  33. </view>
  34. <view class="content2">
  35. <view class="top flex-between">
  36. <view class="span">
  37. <span :class="selectIndex==0?'active':'text'" @click="changeCardStatus(0)">全部</span>
  38. <span @click="changeCardStatus(1)" :class="selectIndex==1?'active':'text'">已交换</span>
  39. <span @click="changeCardStatus(2)" :class="selectIndex==2?'active':'text'">未交换</span>
  40. </view>
  41. <view class="right flex" v-if="dataObj.circleCardInfo" @click="myCardClick">
  42. <image src="../../static/imgs/cirlce/account.png" mode="widthFix"
  43. style="width: 36rpx;margin-right: 15rpx;height: auto;"></image>我的名片
  44. </view>
  45. </view>
  46. </view>
  47. </view>
  48. <view class="relative" style='top:150px;'>
  49. <mescroll-uni height='1200' :up="upOption" :down="downOption" ref="mescrollRef" @init="mescrollInit" @up="upCallback" @down="downCallback" >
  50. <view class="content3" v-for="(item,index) in changeCardList"
  51. :style="item.currentBackground?'background:url('+item.currentBackground+');background-size:100% 100%':''"
  52. :key="index">
  53. <view class="flex item">
  54. <view class="top flex">
  55. <view class="left">
  56. <u--image :src="item.headSculpture?item.headSculpture:'https://cdn.uviewui.com/uview/album/1.jpg'" shape="circle" width="66px"
  57. height="66px"></u--image>
  58. </view>
  59. <view class="right">
  60. <view class="row1">
  61. <text class="name">{{item.name}}</text>
  62. <text class="post">{{item.post}}</text>
  63. </view>
  64. <view class="row2">
  65. {{item.companyName}}
  66. </view>
  67. </view>
  68. </view>
  69. </view>
  70. <view class="line">
  71. <image src="../../static/imgs/cirlce/line.png" mode="widthFix" style="width: 95%;height: auto;"></image>
  72. </view>
  73. <view class="bottom" v-if="item.scopeOfBusiness">
  74. {{item.scopeOfBusiness}}
  75. </view>
  76. <view class="bottom no-text" v-else>
  77. 暂无业务描述
  78. </view>
  79. <view class="flex btn" v-if="item.lookPage==1||item.notDisplay!=1">
  80. <image @click='toHome(item)' src="../../static/imgs/cirlce/home.png" mode="widthFix" style="width: 32rpx;height: auto;"
  81. v-if="item.lookPage==1&&item.personalHomeId"></image>
  82. <image src="../../static/imgs/cirlce/change.png" mode="widthFix" style="width: 32rpx;;height: auto"
  83. @click="changeCard(item)" v-if="item.notDisplay!=1"></image>
  84. </view>
  85. </view>
  86. </mescroll-uni>
  87. </view>
  88. <u-picker :immediateChange ="true" @cancel="isShowCard=false" :show="isShowCard" :columns="cardList" keyName="cardBusiness"
  89. @confirm="cardConfirm"></u-picker>
  90. <u-toast ref="uToast"></u-toast>
  91. <u-modal :show="show" :content='content' @confirm="$u.debounce(joinCircle, 500)" showCancelButton
  92. @cancel="show=false" @close="show=false" closeOnClickOverlay></u-modal>
  93. <u-modal :show="show1" content='确定退出圈子' @confirm="$u.debounce(exitCircleConfirm, 500)" showCancelButton
  94. @cancel="show1=false" @close="show1=false" closeOnClickOverlay></u-modal>
  95. <u-modal :show="isShowChangeCard" content='确定交换名片?' @confirm="$u.debounce(confirmChangeSubmit, 500)"
  96. showCancelButton @cancel="isShowChangeCard=false" @close="isShowChangeCard=false"
  97. closeOnClickOverlay></u-modal>
  98. <!-- #ifdef MP-WEIXIN -->
  99. <u-modal :show="showAuthorizePhone" :showConfirmButton="false">
  100. <view class="slot-content">
  101. <view class="auth-card">
  102. <view class="">
  103. <img class="avatar-img" src="@/static/imgs/logo.png" mode="widthFix">
  104. </view>
  105. <view class="content">手机登录后才能查看名片哦~</view>
  106. </view>
  107. <view class="auth-btncard">
  108. <view class="btn-unok">
  109. <u-button :customStyle="customStyleUnOk" @click="showAuthorizePhone=false" :plain="true">
  110. 拒绝</u-button>
  111. </view>
  112. <view class="btn-ok">
  113. <u-button :customStyle="customStyleOk" open-type="getPhoneNumber"
  114. @getphonenumber="getPhoneNumber"> 立即登录</u-button>
  115. </view>
  116. </view>
  117. </view>
  118. </u-modal>
  119. <u-modal :show="showAuthorizeUser" :showConfirmButton="false">
  120. <view class="slot-content">
  121. <view class="auth-card">
  122. <view class="">
  123. <img class="avatar-img" src="/static/imgs/logo.png" mode="widthFix">
  124. </view>
  125. <view class="content">邀请您补全个人信息<br></br>(昵称、头像)</view>
  126. <view style="margin-left: 100rpx;margin-right: 100rpx">
  127. <u-form :model="userInfo" ref="uForm">
  128. <u-form-item label="头像">
  129. <button class="avatar-wrapper" open-type="chooseAvatar" @chooseavatar="onChooseAvatar"
  130. slot="right">
  131. <image class="avatar"
  132. :src="userInfo.head?userInfo.head:'https://mmbiz.qpic.cn/mmbiz/icTdbqWNOwNRna42FI242Lcia07jQodd2FJGIYQfG0LAJGFxM4FbnQP6yfMxBgJ0F3YRqJCJ1aPAK2dQagdusBZg/0'">
  133. </image>
  134. </button>
  135. </u-form-item>
  136. <u-form-item label="昵称">
  137. <u-input inputAlign='right' v-model="userInfo.nickname" class="weui-input"
  138. @blur="userNameInput" placeholder="请输入昵称" border="false" />
  139. <!-- <input type="nickname" :value="userInfo.nickname" class="weui-input" @blur="userNameInput" placeholder="请输入昵称"/> -->
  140. </u-form-item>
  141. </u-form>
  142. </view>
  143. </view>
  144. <view class="auth-btncard">
  145. <view class="btn-unok"><u-button :customStyle="customStyleUnOk" @click="authUser(0)">
  146. 拒绝</u-button>
  147. </view>
  148. <view class="btn-ok">
  149. <u-button :customStyle="customStyleOk" @click="authUser(1)"> 允许</u-button>
  150. </view>
  151. </view>
  152. </view>
  153. </u-modal>
  154. <!-- #endif -->
  155. </view>
  156. </template>
  157. <script>
  158. var that;
  159. import {
  160. pathToBase64,
  161. base64ToPath
  162. } from 'image-tools'
  163. import MescrollMixin from "@/uni_modules/mescroll-uni/components/mescroll-uni/mescroll-mixins.js";
  164. export default {
  165. mixins: [MescrollMixin], // 使用mixin
  166. data() {
  167. return {
  168. showAuthorizeUser: false,
  169. showAuthorizePhone: false,
  170. customStyleUnOk: {
  171. marginTop: '20rpx',
  172. color: '#18254C',
  173. border: '2px solid #18254C',
  174. "border-radius": "10px",
  175. fontSize: "32rpx"
  176. },
  177. customStyleOk: {
  178. marginTop: '20rpx',
  179. color: '#fff',
  180. border: '2px solid #18254C',
  181. "border-radius": "10px",
  182. fontSize: "32rpx",
  183. background: "#18254C"
  184. },
  185. userInfo: {
  186. head: '',
  187. nickname: '',
  188. phone: '',
  189. },
  190. downOption: {
  191. auto: false,
  192. textColor: '#bbb'
  193. },
  194. upOption: {
  195. page: {
  196. size: 10 // 每页数据的数量,默认10
  197. },
  198. auto: false,
  199. noMoreSize: 1,
  200. textNoMore: '没有更多了~',
  201. textColor: '#bbb'
  202. },
  203. selectIndex: 0,
  204. isShowChangeCard: false,
  205. show1:false,
  206. dataObj: {
  207. circleName: '',
  208. cardNum: '',
  209. circleLabel: []
  210. },
  211. canReset: false,
  212. cardList: [],
  213. isShowCard: false,
  214. show: false,
  215. content: '加入后其他用户查看您的名片和主页,确认加入圈子?',
  216. cardId: '',
  217. id: '',
  218. changeCardList: [],
  219. cardStatus: '',
  220. isMyCard: false,
  221. swapNameCards: false,
  222. selectMycard: {},
  223. selectRowCard: {}
  224. };
  225. },
  226. onShow() {
  227. if (uni.getStorageSync("userInfo").phone) {
  228. this.$nextTick(function() {
  229. that.mescroll.resetUpScroll()
  230. });
  231. }else {
  232. this.showAuthorizePhone = true
  233. }
  234. },
  235. onLoad(options) {
  236. that = this
  237. console.log(options)
  238. this.id = options.val
  239. this.userInfo = uni.getStorageSync("userInfo")
  240. },
  241. onShareAppMessage(res) {
  242. if (res.from === 'button') {
  243. let path = `/pages/circle/detail?val=${that.dataObj.id}`
  244. return {
  245. title:`${that.userInfo.nickname}邀请您加入${that.dataObj.circleName}圈子`,
  246. path: path,
  247. };
  248. }
  249. },
  250. methods: {
  251. //获取昵称输入内容
  252. userNameInput(e) {
  253. this.userInfo.nickname = e.detail.value
  254. },
  255. async onChooseAvatar(e) {
  256. this.$set(this.userInfo, "head", await this.toBase64(e.detail.avatarUrl))
  257. },
  258. toBase64(url) {
  259. return new Promise(resolve => {
  260. pathToBase64(url).then(path => {
  261. resolve(path);
  262. }).catch(error => {
  263. console.log(error)
  264. })
  265. })
  266. },
  267. async authUser(type) {
  268. //同步信息,没有头像和昵称自动生成
  269. this.userInfo = await this.$request.syncInfo(this.userInfo)
  270. if (this.userInfo.openId) {
  271. uni.setStorageSync("userInfo", that.userInfo)
  272. that.showAuthorizeUser = false
  273. that.mescroll.resetUpScroll()
  274. }
  275. },
  276. async getPhoneNumber(e) {
  277. that.userInfo = await this.$request.wxlogin()
  278. that.userInfo.phone = await this.$request.getPhone(e, that.userInfo)
  279. this.showAuthorizePhone = false
  280. this.showAuthorizeUser = true
  281. },
  282. toHome(item){
  283. uni.navigateTo({
  284. url:'/pages/circle/lookHome?id='+item.personalHomeId
  285. })
  286. },
  287. confirmChangeSubmit() {
  288. this.$request.baseRequest('admin.unimall.cardExchangeInfo', 'add', {
  289. cardExchangeInfo: JSON.stringify({
  290. sendId: this.userInfo.id,
  291. receiveId: this.selectRowCard.receiveId,
  292. sendCardId: this.selectMycard.id,
  293. receiveCardId: this.selectRowCard.id,
  294. circleName: this.dataObj.circleName
  295. }),
  296. }, failres => {
  297. console.log('res+++++', failres.errmsg)
  298. uni.showToast({
  299. icon:"none",
  300. title: failres.errmsg,
  301. duration: 3000
  302. });
  303. uni.hideLoading()
  304. }).then(res => {
  305. this.isShowChangeCard = false
  306. uni.showToast({
  307. icon:"success",
  308. title: '操作成功!',
  309. duration: 2000
  310. });
  311. setTimeout(() => {
  312. this.mescroll.resetUpScroll()
  313. }, 500)
  314. })
  315. },
  316. changeMyCard() {
  317. this.$request.baseRequest('admin.unimall.circleCardInfo', 'update', {
  318. circleCardInfo: JSON.stringify({
  319. circleId: this.dataObj.id,
  320. cardId: this.cardId,
  321. commonId: this.userInfo.id
  322. }),
  323. }, failres => {
  324. console.log('res+++++', failres.errmsg)
  325. uni.showToast({
  326. icon:"none",
  327. title: failres.errmsg,
  328. duration: 3000
  329. });
  330. uni.hideLoading()
  331. }).then(res => {
  332. this.isShowCard = false
  333. uni.showToast({
  334. icon:"success",
  335. title: '更改圈子名片成功!',
  336. duration: 2000
  337. });
  338. this.mescroll.resetUpScroll()
  339. })
  340. },
  341. myCardClick() {
  342. this.isShowCard = true
  343. this.isMyCard = true
  344. },
  345. changeCardStatus(val) {
  346. this.selectIndex = val
  347. this.cardStatus = val
  348. this.getCardList({
  349. num: 1,
  350. size: 10
  351. })
  352. },
  353. exitCircle() {
  354. console.log(11111)
  355. this.show1=true
  356. },
  357. exitCircleConfirm(){
  358. this.$request.baseRequest('admin.unimall.circleCardInfo', 'delete', {
  359. id: this.dataObj.circleCardInfo.id,
  360. }, failres => {
  361. console.log('res+++++', failres.errmsg)
  362. uni.showToast({
  363. icon:"none",
  364. title: failres.errmsg,
  365. duration: 3000
  366. });
  367. uni.hideLoading()
  368. }).then(res => {
  369. this.isShowCard = false
  370. this.show1=false
  371. uni.showToast({
  372. icon:"success",
  373. title: '退出成功!',
  374. duration: 2000
  375. });
  376. this.mescroll.resetUpScroll()
  377. })
  378. },
  379. cardConfirm(e) {
  380. console.log("e", e)
  381. this.cardId = e.value[0].id
  382. if (this.isMyCard) {
  383. this.changeMyCard()
  384. } else if (this.swapNameCards) {
  385. this.selectMycard = e.value[0]
  386. this.isShowCard = false
  387. this.isShowChangeCard = true
  388. } else {
  389. this.joinCircle()
  390. }
  391. },
  392. joinCircle() {
  393. this.$request.baseRequest('admin.unimall.circleCardInfo', 'add', {
  394. circleCardInfo: JSON.stringify({
  395. circleId: this.dataObj.id,
  396. cardId: this.cardId,
  397. commonId: this.userInfo.id
  398. }),
  399. }, failres => {
  400. console.log('res+++++', failres.errmsg)
  401. uni.showToast({
  402. icon:"none",
  403. title: failres.errmsg,
  404. duration: 3000
  405. });
  406. uni.hideLoading()
  407. }).then(res => {
  408. this.isShowCard = false
  409. this.show = false
  410. uni.showToast({
  411. icon:"success",
  412. title: '加入成功!',
  413. duration: 2000
  414. });
  415. this.mescroll.resetUpScroll()
  416. })
  417. },
  418. addCircle() {
  419. if (this.cardList[0].length == 1) {
  420. // console.log(this.cardList[0])
  421. this.cardId = this.cardList[0][0].id
  422. this.show = true
  423. } else if (this.cardList[0].length > 1) {
  424. this.isShowCard = true
  425. } else {
  426. uni.showToast({
  427. icon:"none",
  428. title: '您还没有自己的名片,请创建后再加入圈子!',
  429. duration: 2000
  430. });
  431. // this.$refs.uToast.show({
  432. // type: 'error',
  433. // message: "您还没有自己的名片,请创建后再加入圈子",
  434. // })
  435. }
  436. },
  437. getCardList(page) {
  438. uni.showLoading({
  439. title: '数据加载中'
  440. })
  441. this.$request.baseRequest('admin.unimall.circleManagementInfo', 'circleCardlist', {
  442. commonId: this.userInfo.id,
  443. id: this.dataObj.id,
  444. status: this.cardStatus,
  445. page: page.num,
  446. limit: page.size,
  447. }, failres => {
  448. console.log('res+++++', failres.errmsg)
  449. uni.hideLoading()
  450. uni.showToast({
  451. icon:"none",
  452. title: failres.errmsg,
  453. duration: 3000
  454. });
  455. }).then(res => {
  456. uni.hideLoading()
  457. console.log(11)
  458. let curPageData = res.data.items;
  459. let totalPage = res.data.total;
  460. let curPageLen = curPageData.length;
  461. this.mescroll.endByPage(curPageLen, totalPage);
  462. console.log(res.data)
  463. // this.makeData(res.data)
  464. if (page.num == 1) this.changeCardList = []; //如果是第一页需手动置空列表
  465. this.changeCardList = this.changeCardList.concat(curPageData); //追加新数据
  466. for(let i = 0;i<this.changeCardList.length;i++){
  467. if(this.changeCardList[i].scopeOfBusiness&&this.changeCardList[i].scopeOfBusiness.length>90){
  468. this.changeCardList[i].scopeOfBusiness = this.changeCardList[i].scopeOfBusiness.substr(0,90) + '...' ;
  469. }
  470. }
  471. })
  472. },
  473. async upCallback(page) {
  474. //获取名片
  475. await this.$request.baseRequest('admin.unimall.cardManagementInfo', 'list', {
  476. commonId: this.userInfo.id
  477. }, failres => {
  478. console.log('res+++++', failres.errmsg)
  479. uni.showToast({
  480. icon:"none",
  481. title: failres.errmsg,
  482. duration: 3000
  483. });
  484. }).then(res => {
  485. this.cardList = [res.data.items]
  486. })
  487. await this.$request.baseRequest('admin.unimall.circleManagementInfo', 'get', {
  488. commonId: this.userInfo.id,
  489. id: this.id
  490. }, failres => {
  491. console.log('res+++++', failres.errmsg)
  492. uni.hideLoading()
  493. uni.showToast({
  494. icon:"none",
  495. title: failres.errmsg,
  496. duration: 3000
  497. });
  498. }).then(res => {
  499. console.log(res.data)
  500. this.dataObj = res.data
  501. this.dataObj.circleLabel = res.data.circleLabel.split(",")
  502. })
  503. this.getCardList(page)
  504. },
  505. changeCard(val) {
  506. if(!this.dataObj.circleCardInfo){
  507. uni.showToast({
  508. icon:"none",
  509. title: "请先加入圈子!",
  510. duration: 2000
  511. });
  512. }else{
  513. this.selectRowCard = val
  514. this.swapNameCards = true
  515. this.isShowCard = true
  516. }
  517. },
  518. }
  519. }
  520. </script>
  521. <style lang="scss" scoped>
  522. .bgc {
  523. background-color: #112253;
  524. padding-bottom: 100rpx;
  525. position:fixed;
  526. top:0;
  527. width:100%;
  528. }
  529. .content1 {
  530. display: flex;
  531. padding: 40rpx;
  532. box-sizing: border-box;
  533. .right {
  534. width: 100%;
  535. display: flex;
  536. flex-direction: column;
  537. justify-content: space-evenly;
  538. .top {
  539. width: 100%;
  540. .text {
  541. color: #fff;
  542. font-weight: bold;
  543. }
  544. .join {
  545. background: #0A173D;
  546. color: #fff;
  547. position: absolute;
  548. right: 0rpx;
  549. padding: 15rpx 20rpx;
  550. font-size: 26rpx;
  551. border-radius: 50rpx 0rpx 0rpx 50rpx;
  552. }
  553. }
  554. .bottom {
  555. .text {
  556. color: #ffffff50;
  557. background: #f1f5ff20;
  558. padding: 10rpx 20rpx;
  559. margin:0 10rpx 10rpx 0;
  560. border-radius: 10rpx;
  561. font-size: 26rpx;
  562. }
  563. }
  564. }
  565. }
  566. .no-text {
  567. color: #969393;
  568. }
  569. .img {
  570. width: 122rpx;
  571. height: 122rpx;
  572. border-radius: 10px;
  573. margin-right: 30rpx;
  574. }
  575. .content2 {
  576. padding: 0 40rpx 40rpx 40rpx;
  577. box-sizing: border-box;
  578. .text {
  579. font-size: 26rpx;
  580. font-weight: 500;
  581. color: #FFFFFF;
  582. opacity: 0.5;
  583. margin-right: 56rpx;
  584. }
  585. .active {
  586. font-size: 32rpx;
  587. font-weight: bold;
  588. color: #FFFFFF;
  589. position: relative;
  590. margin-right: 56rpx;
  591. }
  592. .active:after {
  593. position: absolute;
  594. bottom: -20rpx;
  595. content: '';
  596. width: 50%;
  597. height: 6rpx;
  598. border-radius: 40rpx;
  599. background: #FFFFFF;
  600. right: 0;
  601. left: 0;
  602. margin: auto;
  603. }
  604. .right {
  605. color: #D7C08B;
  606. font-size: 26rpx;
  607. }
  608. }
  609. .content3 {
  610. position: relative;
  611. border-radius: 30rpx;
  612. background: red;
  613. box-sizing: border-box;
  614. height:400rpx;
  615. .item {
  616. align-items: flex-start;
  617. padding: 34rpx 40rpx 0 40rpx;
  618. }
  619. .top {
  620. .left {
  621. margin-right: 36rpx;
  622. }
  623. .right {
  624. .row1 {
  625. margin-bottom: 10rpx;
  626. .name {
  627. font-size: 38rpx;
  628. font-weight: bold;
  629. color: #000000;
  630. margin-right: 26rpx;
  631. }
  632. .post {
  633. font-size: 26rpx;
  634. font-weight: 500;
  635. color: #666666;
  636. }
  637. }
  638. .row2 {
  639. font-size: 26rpx;
  640. font-weight: bold;
  641. color: #333333;
  642. }
  643. }
  644. }
  645. .bottom {
  646. padding: 20rpx 60rpx 0rpx 60rpx;
  647. font-size: 26rpx;
  648. }
  649. .btn {
  650. background: #11225350;
  651. width: 145rpx;
  652. display: flex;
  653. justify-content: space-evenly;
  654. padding: 15rpx 0;
  655. border-radius: 32rpx;
  656. position: absolute;
  657. top: 35rpx;
  658. right: 40rpx;
  659. }
  660. }
  661. .line {
  662. text-align: center;
  663. }
  664. .shareBtn{
  665. background-color: #9E9E9E !important;
  666. position: absolute;
  667. top: 0;
  668. right: 30rpx;
  669. height: 40rpx;
  670. padding: 0;
  671. margin: 0;
  672. width: 40rpx;
  673. border-radius: 0 10px 0 27rpx;
  674. }
  675. .slot-content {
  676. width: 100%;
  677. }
  678. .auth-btncard {
  679. display: flex !important;
  680. justify-content: space-between !important;
  681. .btn-unok {
  682. width: 40%;
  683. }
  684. .btn-ok {
  685. width: 40%;
  686. }
  687. }
  688. .auth-card {
  689. text-align: center;
  690. .avatar-img {
  691. width: 250rpx;
  692. }
  693. .title {
  694. font-size: 20rpx;
  695. }
  696. .content {
  697. font-size: 32rpx;
  698. font-weight: bold;
  699. color: #1A1A1A;
  700. margin-bottom: 30rpx;
  701. }
  702. }
  703. .avatar-wrapper {
  704. color: #333 !important;
  705. border: none !important;
  706. border-radius: 0 !important;
  707. background-color: transparent !important;
  708. padding: 0;
  709. }
  710. .avatar-wrapper::after {
  711. border: none !important;
  712. }
  713. .avatar {
  714. width: 100rpx;
  715. height: 100rpx;
  716. overflow: hidden;
  717. border-radius: 100%;
  718. }
  719. /deep/.u-popup__content {
  720. border-radius: 20rpx !important;
  721. }
  722. </style>