my.vue 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041
  1. <template>
  2. <view>
  3. <!-- 公共组件-每个页面必须引入 -->
  4. <public-module></public-module>
  5. <!-- 头部信息Start -->
  6. <view class="headers " :style="headerStyle">
  7. <view class="dis a-c j-c">
  8. <text>我的</text>
  9. <view class="headers-right">
  10. <view style="margin-left:15px">
  11. <image @tap="tool" src="/static/image/my/Frame.png" mode=""></image>
  12. <text>设置</text>
  13. </view>
  14. <!-- <view style="margin-left:15px">
  15. <image @tap="logout" src="/static/image/my/tichu.png" mode="">
  16. </image>
  17. <text>退出</text>
  18. </view> -->
  19. </view>
  20. </view>
  21. </view>
  22. <image :src="backImage" mode="" style="width: 100%;height: 738rpx;position: absolute;"></image>
  23. <view class="Personnel">
  24. <view class="Personnel-title" @click="promotionCode">
  25. <image src="/static/icon/code.png" mode="">
  26. </image>
  27. 推广码
  28. </view>
  29. <view class="dis a-c Personnel-info">
  30. <view class="Personnel-img" @click="updateAvatar">
  31. <image :src="avatar" class="avatar" mode=""></image>
  32. <image src="/static/image/my/updateAvatar.png" mode=""></image>
  33. </view>
  34. <view class="full-name">
  35. <text>{{ userInfo.sysUser.userName }}</text>
  36. <!-- <text >司龄 1年</text> -->
  37. </view>
  38. <text style="line-height: 17px;">{{ userInfo.sysUser.deptName }}</text>
  39. <view class=" dis j-s digit">
  40. <view v-if="userInfo.sysUser.weChat" class=" dis" style="padding-left: 20%;">
  41. <image src="/static/icon/weixin.png" mode=""></image>
  42. <text>{{ userInfo.sysUser.weChat }}</text>
  43. </view>
  44. <view class=" dis a-c">
  45. <image src="/static/icon/dianhua.png" mode=""></image>
  46. <text>{{ userInfo.sysUser.mobile }}</text>
  47. </view>
  48. </view>
  49. </view>
  50. <!-- 权益 -->
  51. <view class="benefits mt-3 dis a-c j-s">
  52. <view class="dis a-c ">
  53. <image :src="backLogo" mode=""></image>
  54. <view class="dis f-c title ml-2">
  55. <text>{{gradeText}}权益</text>
  56. <text>多项权益已解锁</text>
  57. </view>
  58. </view>
  59. <view class="tag" @click="benefitsNavigate">查看权益</view>
  60. </view>
  61. <view class="withdrawal-box">
  62. <view class="dis a-c j-c withdrawal-title">
  63. <text>可提现总金额</text>
  64. <text @tap="accountTool('/pages/wallet/bankCard')">银行卡</text>
  65. </view>
  66. <view class="dis a-s j-c withdrawal-sum">
  67. <text>¥</text>
  68. <text>{{ getApplication.cashFee || 0 }} </text>
  69. </view>
  70. <view class="withdrawal-income dis">
  71. <view style="border-right: 1px solid #C5E7FF;">
  72. <text @click="incomeClick">佣金总收入金额
  73. <image style="display: inline-block; width: 9px;height:9px;vertical-align: -1px;"
  74. src="/static/icon/right.png" mode=""></image>
  75. </text>
  76. <text>¥{{ getApplication.extractFee || 0 }} </text>
  77. </view>
  78. <view>
  79. <text>已经提现金额</text>
  80. <text>¥{{ getApplication.historyFee || 0 }}</text>
  81. </view>
  82. </view>
  83. <view class="withdrawal-fun" @click="toWithdraw">提现</view>
  84. </view>
  85. </view>
  86. <view class=" dis a-c j-s" style="margin: 0px 16px;">
  87. <view class="withdrawal-record">
  88. <i></i>
  89. <text>提现记录</text>
  90. </view>
  91. <view class="search" @click="searchPopup">
  92. <text>自定义时间<i></i></text>
  93. </view>
  94. </view>
  95. <view class="withdrawal-flow">
  96. <!-- <view style="border-bottom: 1px solid #EEEEEE;padding: 15px 0;
  97. margin: 0 15px;" v-for="val in withdrawalData" :key="val"> -->
  98. <view class="withdrawal-card" v-for="(val,index) in withdrawalData" :key="index"
  99. @click="viewWithdrawal(val)">
  100. <view class="dis j-s">
  101. <view>
  102. <view style="line-height: 18px;">提现</view>
  103. <text style="font-size: 10px;color: #999999;">{{ val.createTime }}</text>
  104. </view>
  105. <view class="dis a-c">
  106. <view style="text-align: right;">
  107. <view style="line-height: 18px;">-{{ val.cashFee }}</view>
  108. <text class="withdrawal-status" v-if="val.status == '0'"
  109. style="background: #EAF0FF;color: #2D6DFF;">提现中</text>
  110. <text class="withdrawal-status" v-if="val.status == '1'"
  111. style="background: #E3FBE7;color: #18B63B;">已提现</text>
  112. <text class="withdrawal-status" v-if="val.status == '2'"
  113. style="background: #FFECEC ;color: #F74141;">提现失败</text>
  114. </view>
  115. <image src="/static/icon/you.png" mode=""></image>
  116. </view>
  117. </view>
  118. </view>
  119. </view>
  120. <my-date-picker ref="datePicker" @confirmPickDate="confirmPickDate" />
  121. <!-- <view style="width: 323px;" id="gxxImg">
  122. <canvas canvas-id="myCanvas" style="width: 300px; height: 200px;"></canvas>
  123. <view class="ShowModalCode-style">
  124. <text>推广码</text>
  125. <text @tap="ShowModalCode=false" >×</text>
  126. </view>
  127. <view class="ShowModalCode-con">
  128. <text>请扫码下载掌柜科技APP</text>
  129. <image :src="workImg" mode="widthFix" lazy-load style="width: 150px;"></image>
  130. </view>
  131. </view> -->
  132. <u-popup v-model="ShowModalCode" mode="center" border-radius="15">
  133. <view style="width: 323px;" id="pdfContentsDiv">
  134. <view class="ShowModalCode-style">
  135. <text>推广码</text>
  136. <text @tap="ShowModalCode = false">×</text>
  137. </view>
  138. <view class="ShowModalCode-con">
  139. <text v-if="type==2">请扫码下载掌柜科技APP</text>
  140. <text v-if="type==1">请扫码下载掌柜合伙人APP</text>
  141. <image :src="workImg" mode="widthFix" lazy-load style="width: 150px;"></image>
  142. </view>
  143. <view class="dis" style="justify-content: space-around;padding:0 60px 20px 60px;">
  144. <view class="share-style" @click="sendPayCode">
  145. <image src="/static/image/my/weixin.png" mode="">
  146. <text>微信好友</text>
  147. </view>
  148. <view class="share-style" @tap="saveImage()">
  149. <image src="/static/image/my/baocun.png" mode="">
  150. <text>保存图片</text>
  151. </view>
  152. <view class="share-style" @click="duplicate">
  153. <image src="/static/image/my/fenxiang.png" mode="">
  154. <text>链接分享</text>
  155. </view>
  156. </view>
  157. </view>
  158. </u-popup>
  159. <u-action-sheet :list="Avatarlist" v-model="updateAvatarShow" border-radius="20"></u-action-sheet>
  160. </view>
  161. </template>
  162. <script>
  163. import myDatePicker from '../components/date-picker.vue';
  164. import QR from "@/common/wxqrcode.js"
  165. import html2canvas from 'html2canvas'
  166. import store from '@/store';
  167. import {
  168. mapState,
  169. mapMutations
  170. } from "vuex"
  171. export default {
  172. components: {
  173. myDatePicker
  174. },
  175. data() {
  176. return {
  177. updateAvatarShow: false, //头像工具
  178. Avatarlist: [{
  179. text: '点赞',
  180. color: 'blue',
  181. fontSize: 28,
  182. subText: '感谢您的点赞'
  183. }, {
  184. text: '分享'
  185. }, ],
  186. supportStaffUrl: '',
  187. ShowModalCode: false,
  188. info: ["", ""],
  189. current: 0,
  190. mode: 'default',
  191. headerStyle: {
  192. backgroundColor: '',
  193. backgroundImage: '',
  194. backgroundSize: '',
  195. backgroundPosition: '',
  196. boxShadow: ''
  197. // 其他样式属性...
  198. },
  199. showBackground: false,
  200. prevScrollTop: 0,
  201. avatar: "/static/image/my/wuxingb.png",
  202. getApplication: {},
  203. withdrawalData: [],
  204. backImage: '',
  205. backLogo: '',
  206. workImg: '',
  207. pathUrl: '',
  208. type: uni.getStorageSync('type'),
  209. //页面角色背景图匹配列表
  210. backImageList: [{
  211. grade: 1,
  212. url: "/static/image/my/grade1.png"
  213. },
  214. {
  215. grade: 2,
  216. url: "/static/image/my/grade2.png"
  217. },
  218. {
  219. grade: 3,
  220. url: "/static/image/my/grade3.png"
  221. },
  222. {
  223. grade: 4,
  224. url: "/static/image/my/grade4.png"
  225. }
  226. ],
  227. //角色权益等级匹配列表
  228. backLogoList: [{
  229. grade: 1,
  230. url: "/static/image/my/benefits/active1.png"
  231. },
  232. {
  233. grade: 2,
  234. url: "/static/image/my/benefits/active2.png"
  235. },
  236. {
  237. grade: 3,
  238. url: "/static/image/my/benefits/active3.png"
  239. },
  240. {
  241. grade: 4,
  242. url: "/static/image/my/benefits/active4.png"
  243. }
  244. ],
  245. }
  246. },
  247. computed: {
  248. ...mapState(['userInfo', "userCheckInfo", ]),
  249. gradeText() {
  250. const gradeMap = {
  251. 1: '创始人',
  252. 2: '管理人',
  253. 3: '合伙人',
  254. 4: '工作室'
  255. }
  256. return gradeMap[this.userInfo.sysUser.grade] || ''
  257. }
  258. },
  259. async onShow() {
  260. // level:0 工作室
  261. this.backImage = this.backImageList.find(val => val.grade == this.userInfo.sysUser.grade).url;
  262. this.backLogo = this.backLogoList.find(val => val.grade == this.userInfo.sysUser.grade).url;
  263. let userInfoRes = await this.$http.get('/newAppPartner/getUserInfo', {
  264. type: uni.getStorageSync('type')
  265. });
  266. if (userInfoRes) {
  267. store.commit('setUserModules', {
  268. title: 'userInfo',
  269. data: {
  270. sysUser: {
  271. ...userInfoRes.data
  272. }
  273. }
  274. })
  275. }
  276. let res = await this.$http.get('/newAppPartner/newGetFee'); //获取账户金额
  277. if (res.code == 200) {
  278. this.getApplication = res.data || [];
  279. }
  280. if (this.userInfo.sysUser.sex == 'F') {
  281. this.avatar = "/static/image/my/nv.png"
  282. }
  283. if (this.userInfo.sysUser.sex == 'M') {
  284. this.avatar = "/static/image/my/nan.png"
  285. }
  286. if (this.userInfo.sysUser.insUploadFiles && this.userInfo.sysUser.insUploadFiles.url) {
  287. this.avatar = this.$base.baseUrl + this.userInfo.sysUser.insUploadFiles.url;
  288. }
  289. this.WithdrawalqueryData()
  290. },
  291. onPageScroll(e) {
  292. this.handleScroll(e);
  293. },
  294. mounted() {
  295. this.getWechatData()
  296. uni.pageScrollTo({
  297. scrollTop: 0,
  298. duration: 0
  299. });
  300. uni.$on('scroll', this.handleScroll);
  301. },
  302. destroyed() {
  303. uni.$off('scroll', this.handleScroll);
  304. },
  305. methods: {
  306. ...mapMutations(['emptyUserInfo']),
  307. // 权益跳转
  308. benefitsNavigate() {
  309. uni.navigateTo({
  310. url: "/pages/my/benefits?grade=" + this.userInfo.sysUser.grade,
  311. })
  312. },
  313. //修改头像
  314. async updateAvatar() {
  315. let [chooseImageErr, chooseImageRes] = await uni.chooseImage({
  316. count: 1,
  317. sizeType: ['compressed']
  318. });
  319. if (chooseImageRes) {
  320. console.log(chooseImageRes);
  321. this.chooseAvatar(chooseImageRes.tempFilePaths[0]);
  322. } else {}
  323. },
  324. chooseAvatar(src) {
  325. uni.navigateTo({
  326. url: '/pages/my/avatarCropper?src=' + src,
  327. })
  328. },
  329. searchPopup() {
  330. this.$refs.datePicker.open()
  331. },
  332. sendPayCode() {
  333. if (this.pathUrl) {
  334. uni.share({
  335. provider: "weixin",
  336. scene: "WXSceneSession",
  337. type: 2,
  338. imageUrl: this.pathUrl
  339. })
  340. }
  341. },
  342. showLoading() {
  343. uni.showLoading({
  344. title: '正在生成图片'
  345. });
  346. },
  347. hideLoading() {
  348. uni.hideLoading();
  349. this.loading = false;
  350. },
  351. //页面截图转路径
  352. receiveRenderData(val) {
  353. uni.downloadFile({
  354. url: val,
  355. success(res) {
  356. // 这时会产生一个临时路径,在应用本次启动期间可以正常使用。
  357. if (res.statusCode == 200) {
  358. // 需要将图片保存到相册
  359. uni.saveImageToPhotosAlbum({
  360. filePath: res
  361. .tempFilePath, // 图片文件路径,可以是临时文件路径也可以是永久文件路径,不支持网络图片路径
  362. success(res) {
  363. uni.showToast({
  364. title: '保存成功',
  365. icon: 'none'
  366. })
  367. // 如果保存成功需要打开查看,请使用以下方法,同时也支持打开文件
  368. uni.openDocument({
  369. filePath: res.savedFilePath,
  370. success(res) {},
  371. fail(err) {
  372. uni.showToast({
  373. title: '手机不支持该文件类型,请安装wps或office应用',
  374. icon: 'none'
  375. })
  376. }
  377. })
  378. },
  379. fail(err) {
  380. uni.showToast({
  381. title: '图片保存失败',
  382. icon: 'none'
  383. })
  384. }
  385. })
  386. } else {
  387. uni.showToast({
  388. title: '下载失败,请稍后再试',
  389. icon: 'none'
  390. })
  391. }
  392. },
  393. fail(err) {
  394. uni.showToast({
  395. title: '下载失败,请稍后再试',
  396. icon: 'none'
  397. })
  398. }
  399. })
  400. },
  401. saveImage() {
  402. setTimeout(() => {
  403. this.$ownerInstance.callMethod('showLoading')
  404. const dom = document.getElementById('pdfContentsDiv') // 需要生成图片内容的 dom 节点
  405. html2canvas(dom, {
  406. width: dom.clientWidth, //dom 原始宽度
  407. height: dom.clientHeight,
  408. scrollY: 0, // html2canvas默认绘制视图内的页面,需要把scrollY,scrollX设置为0
  409. scrollX: 0,
  410. useCORS: true, //支持跨域
  411. // allowTaint: false,
  412. scale: 2, // 设置生成图片的像素比例,默认是1,如果生成的图片模糊的话可以开启该配置项
  413. }).then((canvas) => {
  414. // 生成成功
  415. this.$ownerInstance.callMethod('hideLoading')
  416. this.$ownerInstance.callMethod('receiveRenderData', canvas.toDataURL(
  417. 'image/png'))
  418. console.log()
  419. }).catch(err => {
  420. // 生成失败 弹出提示弹窗
  421. this.$ownerInstance.callMethod('_errAlert', `【生成图片失败,请重试】${err}`)
  422. })
  423. }, 300)
  424. },
  425. // 链接分享
  426. duplicate() {
  427. uni.setClipboardData({
  428. data: this.pathUrl,
  429. success: function() {
  430. console.log('复制成功');
  431. uni.showToast({
  432. title: '链接已复制成功',
  433. icon: 'success',
  434. duration: 2000
  435. });
  436. },
  437. fail: function() {
  438. console.log('复制失败');
  439. // 可以添加错误处理或用户友好的提示
  440. }
  441. });
  442. },
  443. async promotionCode() {
  444. this.ShowModalCode = true
  445. let pageRequest = {
  446. pageNum: 1,
  447. pageSize: 50,
  448. columnFilters: {
  449. apptype: {
  450. name: "apptype",
  451. value: "apk",
  452. },
  453. appid: {
  454. name: "appid",
  455. value: this.type == 2 ? "__UNI__D4FE29A" : '__UNI__3FA05C4',
  456. }
  457. }
  458. }
  459. let res = await this.$http.post('/sysVersion/findPage', pageRequest);
  460. if (res.code == 200) {
  461. this.ShowModalCode = true
  462. this.pathUrl = res.data.content[0].path
  463. this.workImg = QR.createQrCodeImg(res.data.content[0].path, {
  464. size: parseInt(200) //二维码大小
  465. })
  466. }
  467. },
  468. confirmPickDate(dateStr, dateStr1) {
  469. console.log(dateStr, dateStr1);
  470. if (dateStr) {
  471. dateStr += ' 00:00:01'
  472. }
  473. if (dateStr1) {
  474. dateStr1 += ' 23:59:59'
  475. }
  476. this.WithdrawalqueryData(dateStr, dateStr1)
  477. },
  478. viewWithdrawal(item) {
  479. uni.navigateTo({
  480. url: "/pages/my/withdrawalDetail?key=" + encodeURIComponent(JSON.stringify(item))
  481. })
  482. },
  483. async toWithdraw() {
  484. let res = await this.$http.post('/userBank/getUserBankList', {
  485. auditStatus: "1",
  486. delFlag: '0'
  487. });
  488. if (res.data.length) {
  489. this.navigate({
  490. url: `/pages/wallet/withdraw?amount=${this.getApplication.cashFee}`,
  491. }, "navigateTo", true)
  492. } else {
  493. uni.showToast({
  494. title: '暂无审核通过的银行卡,不可提现',
  495. duration: 3000,
  496. icon: "none"
  497. });
  498. }
  499. },
  500. async accountTool(path) {
  501. if (path) {
  502. if (path == '/pages/wallet/bankCard') {
  503. let res = await this.$http.post('/userBank/getUserBankList', {
  504. auditStatus: '',
  505. });
  506. if (!res.data.length) {
  507. this.navigate({
  508. url: '/pages/wallet/bindBank',
  509. complete: () => {
  510. setTimeout(() => {
  511. uni.showToast({
  512. title: '请先绑定银行卡',
  513. duration: 3000,
  514. icon: "none"
  515. });
  516. }, 500);
  517. }
  518. }, "navigateTo", true)
  519. } else {
  520. this.navigate({
  521. url: path,
  522. }, "navigateTo", true)
  523. }
  524. } else {
  525. this.navigate({
  526. url: path,
  527. }, "navigateTo", true)
  528. }
  529. } else {
  530. uni.showToast({
  531. title: '功能待开发...',
  532. icon: "none"
  533. });
  534. }
  535. },
  536. async WithdrawalqueryData(beginTime, endTime) {
  537. let params = {
  538. "endTime": endTime || '',
  539. "beginTime": beginTime || '',
  540. }
  541. let res = await this.$http.post('/sysAgencyFeeApproval/queryOperateInfo', params);
  542. if (res.code == '200') {
  543. this.withdrawalData = res.data
  544. }
  545. },
  546. handleScroll(e) {
  547. const scrollTop = e.scrollTop;
  548. if (scrollTop > this.prevScrollTop) {
  549. // 向下滚动
  550. this.showBackground = true; // 显示背景图
  551. } else if (scrollTop < 50) {
  552. // 在顶部附近,隐藏背景图
  553. this.showBackground = false;
  554. } else {
  555. // 向上滚动
  556. this.showBackground = true; // 显示背景图
  557. }
  558. this.headerStyle.backgroundColor = this.showBackground ? '#fff' : 'transparent';
  559. this.headerStyle.backgroundImage = this.showBackground ?
  560. 'url("/static/image/my/beijing.png")' : '';
  561. this.headerStyle.backgroundSize = this.showBackground ? 'cover' : '';
  562. // this.headerStyle.backgroundPosition = this.showBackground ? 'center' : '';
  563. this.prevScrollTop = scrollTop;
  564. },
  565. tool() {
  566. uni.navigateTo({
  567. url: "/pages/set/set"
  568. })
  569. },
  570. logout() {
  571. this.emptyUserInfo();
  572. uni.clearStorage({
  573. success: function() {}
  574. });
  575. setTimeout(() => {
  576. uni.reLaunch({
  577. url: "/pages/login/login"
  578. })
  579. return true;
  580. }, 500);
  581. },
  582. incomeClick() {
  583. uni.navigateTo({
  584. url: "/pages/my/commission"
  585. })
  586. },
  587. // 去账单明细
  588. toBillDetails(type) {
  589. this.navigate({
  590. url: `/pages/wallet/billDetails${type}`,
  591. }, "navigateTo", true)
  592. },
  593. // 去账单明细
  594. toWallet(type) {
  595. this.navigate({
  596. url: "/pages/wallet/wallet"
  597. }, "navigateTo", true)
  598. },
  599. //获取企业微信客服地址,是否展示
  600. getWechatData() {
  601. this.$http.get('/sys/qy/wechat/find/picture').then(res => {
  602. this.supportStaffUrl = res.data.supportStaffUrl
  603. })
  604. },
  605. //点击跳转企业微信客服
  606. weChatService() {
  607. uni.share({
  608. provider: "weixin",
  609. openCustomerServiceChat: true,
  610. customerUrl: this.supportStaffUrl, //企业微信地址
  611. corpid: 'wwfe67d19509d43ec5', //企业id
  612. success: (res) => {},
  613. fail: (err) => {}
  614. });
  615. },
  616. }
  617. }
  618. </script>
  619. <style lang="scss" scoped>
  620. * {
  621. // outline: 1px solid red !important;
  622. }
  623. .headers {
  624. position: fixed;
  625. top: 0;
  626. left: 0;
  627. height: auto;
  628. width: 100%;
  629. z-index: 999999;
  630. padding: 16px;
  631. padding-top: 40px;
  632. text {
  633. font-size: 18px;
  634. font-weight: 700;
  635. color: #333333;
  636. }
  637. .headers-right {
  638. // width: 100%;
  639. // height: 100%;
  640. // position: relative;
  641. position: absolute;
  642. right: 15px;
  643. // width: 70px;
  644. display: flex;
  645. justify-content: space-between;
  646. view {
  647. line-height: 8px;
  648. }
  649. text {
  650. font-size: 9px;
  651. color: #666666;
  652. }
  653. image {
  654. // position: absolute;
  655. // right: 0;
  656. width: 16px;
  657. height: 16px;
  658. }
  659. }
  660. }
  661. .Personnel {
  662. height: auto;
  663. width: 100%;
  664. background: transparent;
  665. background-size: 100% 100%;
  666. padding: 90px 30rpx 20rpx 30rpx;
  667. position: relative;
  668. }
  669. .Personnel-title {
  670. position: absolute;
  671. right: 0;
  672. top: 135px;
  673. background: linear-gradient(132deg, #2DD9FF 0%, #2D6DFF 100%);
  674. border-radius: 16px 0px 0px 16px;
  675. color: #fff;
  676. padding: 2px 6px 2px 10px;
  677. image {
  678. display: inline-block;
  679. width: 15px;
  680. height: 15px;
  681. vertical-align: -2px;
  682. margin-right: 3px;
  683. }
  684. }
  685. .Personnel-img {
  686. position: relative;
  687. .avatar {
  688. width: 60px;
  689. height: 60px;
  690. border-radius: 50%;
  691. }
  692. image:last-child {
  693. display: inline-block;
  694. width: 40rpx;
  695. height: 40rpx;
  696. position: absolute;
  697. bottom: 0;
  698. right: 0;
  699. }
  700. }
  701. /* 我的钱包Start */
  702. .my-wallet {
  703. .wallet-body {
  704. width: 100%;
  705. height: auto;
  706. padding: 8px 16px;
  707. background: #FFFFFF;
  708. box-shadow: 0px 4px 10px 0px #DAE3F4;
  709. border-radius: 6px;
  710. margin-top: 10px;
  711. .route {
  712. text {
  713. font-size: 12px;
  714. color: #333;
  715. font-weight: 400;
  716. }
  717. image {
  718. width: 45px;
  719. height: 40px;
  720. }
  721. }
  722. .money {
  723. padding: 8px 0;
  724. background-color: #F9F8FD;
  725. border-radius: 4px;
  726. margin-top: 8px;
  727. text {
  728. font-size: 12px;
  729. color: #333;
  730. font-weight: 400;
  731. }
  732. }
  733. }
  734. }
  735. .Personnel-info {
  736. flex-direction: column;
  737. font-size: 14px;
  738. color: #152F63;
  739. }
  740. .full-name {
  741. margin-top: 8px;
  742. // margin-left: 12%;
  743. color: #152F63;
  744. text:first-child {
  745. font-weight: 700;
  746. font-size: 18px;
  747. line-height: 22px;
  748. }
  749. // text:last-child{
  750. // margin-left: 10px;
  751. // font-weight: 400;
  752. // font-size: 10px;
  753. // line-height: 12px;
  754. // }
  755. }
  756. .digit {
  757. margin-top: 8px;
  758. view {
  759. // width: 110px;
  760. }
  761. image {
  762. width: 20px;
  763. height: 20px;
  764. display: inline-block;
  765. }
  766. }
  767. .withdrawal-box {
  768. margin-top: 13px;
  769. background: #FFFFFF;
  770. border-radius: 5px 5px 5px 5px;
  771. padding: 18px 16px;
  772. .withdrawal-title {
  773. width: 100%;
  774. height: 100%;
  775. position: relative;
  776. text:first-child {
  777. font-weight: 400;
  778. font-size: 12px;
  779. color: #999999;
  780. }
  781. text:last-child {
  782. position: absolute;
  783. right: 0;
  784. font-size: 10px;
  785. color: #2D6DFF;
  786. line-height: 12px;
  787. }
  788. }
  789. .withdrawal-sum {
  790. color: #333333;
  791. font-weight: bold;
  792. line-height: 32px;
  793. text:first-child {
  794. font-size: 17px;
  795. line-height: 38px;
  796. }
  797. text:last-child {
  798. font-size: 26px;
  799. }
  800. }
  801. .withdrawal-income {
  802. margin: 10px 0;
  803. background: rgba(240, 248, 255, 0.5);
  804. border-radius: 2px 2px 2px 2px;
  805. padding: 10px;
  806. view {
  807. width: 50%;
  808. text-align: center;
  809. text:first-child {
  810. font-weight: 400;
  811. font-size: 10px;
  812. color: #666666;
  813. display: block;
  814. }
  815. text:last-child {
  816. margin-top: 3px;
  817. font-weight: 700;
  818. font-size: 17px;
  819. color: #333333;
  820. line-height: 20px;
  821. display: block;
  822. }
  823. }
  824. }
  825. .withdrawal-fun {
  826. background: linear-gradient(132deg, #2DD9FF 0%, #2D6DFF 100%);
  827. border-radius: 5px 5px 5px 5px;
  828. color: #fff;
  829. font-size: 16px;
  830. text-align: center;
  831. line-height: 42px;
  832. }
  833. }
  834. .withdrawal-record {
  835. font-weight: 700;
  836. font-size: 16px;
  837. color: #333333;
  838. i {
  839. display: inline-block;
  840. margin-right: 5px;
  841. width: 2px;
  842. height: 20px;
  843. background: linear-gradient(132deg, #2DD9FF 0%, #2D6DFF 100%);
  844. }
  845. }
  846. .withdrawal-flow {
  847. margin: 8px 16px;
  848. overflow: hidden;
  849. background: #FFFFFF;
  850. border-radius: 5px 5px 5px 5px;
  851. font-size: 16px;
  852. color: #333333;
  853. .withdrawal-card {
  854. border-bottom: 1px solid #EEEEEE;
  855. padding: 15px 0;
  856. margin: 0 15px;
  857. image {
  858. display: inline-block;
  859. width: 11px;
  860. height: 11px;
  861. margin-left: 5px;
  862. }
  863. .withdrawal-status {
  864. padding: 2px 5px;
  865. font-size: 10px;
  866. border-radius: 1px 1px 1px 1px;
  867. }
  868. }
  869. }
  870. .search {
  871. text {
  872. font-size: 14px;
  873. color: #666666;
  874. }
  875. i {
  876. margin-left: 2px;
  877. display: inline-block;
  878. width: 0;
  879. height: 0;
  880. border: 4px solid;
  881. border-color: #666666;
  882. border-bottom: 4px solid transparent;
  883. border-right: 4px solid transparent;
  884. border-left: 4px solid transparent;
  885. }
  886. }
  887. .ShowModalCode-style {
  888. // display: block;
  889. font-weight: 600;
  890. font-size: 16px;
  891. color: #333333;
  892. border-bottom: 1px solid #EEEEEE;
  893. padding: 15px;
  894. text-align: center;
  895. position: relative;
  896. text:last-child {
  897. position: absolute;
  898. right: 20px;
  899. color: #999999;
  900. font-size: 24px;
  901. line-height: 26px;
  902. }
  903. }
  904. .ShowModalCode-con {
  905. padding: 20px;
  906. text-align: center;
  907. font-size: 16px;
  908. color: #333333;
  909. image {
  910. margin: 0 auto;
  911. margin-top: 15px;
  912. }
  913. }
  914. .share-style {
  915. image {
  916. width: 45px;
  917. height: 45px
  918. }
  919. text {
  920. font-size: 12px;
  921. }
  922. }
  923. // 权益
  924. .benefits {
  925. height: 122rpx;
  926. background: #FFFFFF;
  927. border-radius: 10rpx 10rpx 10rpx 10rpx;
  928. background-image: url("/static/image/my/benefits.png");
  929. background-size: 100% 100%;
  930. padding: 20rpx 30rpx;
  931. box-sizing: border-box;
  932. image {
  933. width: 72rpx;
  934. height: 82rpx;
  935. }
  936. .title {
  937. text:first-child {
  938. font-weight: bold;
  939. font-size: 30rpx;
  940. color: #333;
  941. }
  942. text:last-child {
  943. font-size: 24rpx;
  944. color: #999;
  945. }
  946. }
  947. .tag {
  948. padding: 3rpx 17rpx;
  949. box-sizing: border-box;
  950. background: linear-gradient(132deg, #2DD9FF 0%, #2D6DFF 100%);
  951. border-radius: 4rpx 4rpx 4rpx 4rpx;
  952. font-size: 24rpx;
  953. color: #FFFFFF;
  954. }
  955. }
  956. </style>