my.vue 24 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040
  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 res = await this.$http.get('/APPPartner/getFee');
  264. if (res.code == 200) {
  265. this.getApplication = res.data || [];
  266. }
  267. if (this.userInfo.sysUser.sex == 'F') {
  268. this.avatar = "/static/image/my/nv.png"
  269. }
  270. if (this.userInfo.sysUser.sex == 'M') {
  271. this.avatar = "/static/image/my/nan.png"
  272. }
  273. this.WithdrawalqueryData()
  274. // if (this.userInfo.sysUser.headSculpture) {
  275. // this.avatar = this.$base.baseUrl + this.userInfo.sysUser.headSculpture;
  276. // } else {
  277. // this.avatar = "/static/image/my/avatar1.png"
  278. // }
  279. },
  280. onPageScroll(e) {
  281. this.handleScroll(e);
  282. },
  283. mounted() {
  284. this.getWechatData()
  285. uni.pageScrollTo({
  286. scrollTop: 0,
  287. duration: 0
  288. });
  289. uni.$on('scroll', this.handleScroll);
  290. },
  291. destroyed() {
  292. uni.$off('scroll', this.handleScroll);
  293. },
  294. methods: {
  295. ...mapMutations(['emptyUserInfo']),
  296. // 权益跳转
  297. benefitsNavigate() {
  298. uni.navigateTo({
  299. url: "/pages/my/benefits?grade=" + this.userInfo.sysUser.grade,
  300. })
  301. },
  302. //修改头像
  303. async updateAvatar() {
  304. let [chooseImageErr, chooseImageRes] = await uni.chooseImage({
  305. count: 1,
  306. sizeType: ['compressed']
  307. });
  308. if (chooseImageRes) {
  309. console.log(chooseImageRes);
  310. this.chooseAvatar(chooseImageRes.tempFilePaths[0]);
  311. // uni.uploadFile({
  312. // url: this.$base.baseUrl + '/ins/taskImage/uploadFile',
  313. // filePath: chooseImageRes.tempFilePaths[0],
  314. // name: "multipartFile",
  315. // formData: {
  316. // 'type': 'image',
  317. // },
  318. // header: {
  319. // Authorization: store.state.token,
  320. // },
  321. // success: (imgRes) => {
  322. // let data = JSON.parse(imgRes.data);
  323. // if (data.code == '200') {
  324. // }
  325. // }
  326. // });
  327. } else {}
  328. },
  329. chooseAvatar(src) {
  330. uni.navigateTo({
  331. url: '/pages/my/avatarCropper?src=' + src,
  332. })
  333. },
  334. searchPopup() {
  335. this.$refs.datePicker.open()
  336. },
  337. sendPayCode() {
  338. if (this.pathUrl) {
  339. uni.share({
  340. provider: "weixin",
  341. scene: "WXSceneSession",
  342. type: 2,
  343. imageUrl: this.pathUrl
  344. })
  345. }
  346. },
  347. showLoading() {
  348. uni.showLoading({
  349. title: '正在生成图片'
  350. });
  351. },
  352. hideLoading() {
  353. uni.hideLoading();
  354. this.loading = false;
  355. },
  356. //页面截图转路径
  357. receiveRenderData(val) {
  358. uni.downloadFile({
  359. url: val,
  360. success(res) {
  361. // 这时会产生一个临时路径,在应用本次启动期间可以正常使用。
  362. if (res.statusCode == 200) {
  363. // 需要将图片保存到相册
  364. uni.saveImageToPhotosAlbum({
  365. filePath: res.tempFilePath, // 图片文件路径,可以是临时文件路径也可以是永久文件路径,不支持网络图片路径
  366. success(res) {
  367. uni.showToast({
  368. title: '保存成功',
  369. icon: 'none'
  370. })
  371. // 如果保存成功需要打开查看,请使用以下方法,同时也支持打开文件
  372. uni.openDocument({
  373. filePath: res.savedFilePath,
  374. success(res) {},
  375. fail(err) {
  376. uni.showToast({
  377. title: '手机不支持该文件类型,请安装wps或office应用',
  378. icon: 'none'
  379. })
  380. }
  381. })
  382. },
  383. fail(err) {
  384. uni.showToast({
  385. title: '图片保存失败',
  386. icon: 'none'
  387. })
  388. }
  389. })
  390. } else {
  391. uni.showToast({
  392. title: '下载失败,请稍后再试',
  393. icon: 'none'
  394. })
  395. }
  396. },
  397. fail(err) {
  398. uni.showToast({
  399. title: '下载失败,请稍后再试',
  400. icon: 'none'
  401. })
  402. }
  403. })
  404. },
  405. saveImage() {
  406. setTimeout(() => {
  407. this.$ownerInstance.callMethod('showLoading')
  408. const dom = document.getElementById('pdfContentsDiv') // 需要生成图片内容的 dom 节点
  409. html2canvas(dom, {
  410. width: dom.clientWidth, //dom 原始宽度
  411. height: dom.clientHeight,
  412. scrollY: 0, // html2canvas默认绘制视图内的页面,需要把scrollY,scrollX设置为0
  413. scrollX: 0,
  414. useCORS: true, //支持跨域
  415. // allowTaint: false,
  416. scale: 2, // 设置生成图片的像素比例,默认是1,如果生成的图片模糊的话可以开启该配置项
  417. }).then((canvas) => {
  418. // 生成成功
  419. this.$ownerInstance.callMethod('hideLoading')
  420. this.$ownerInstance.callMethod('receiveRenderData', canvas.toDataURL('image/png'))
  421. console.log()
  422. }).catch(err => {
  423. // 生成失败 弹出提示弹窗
  424. this.$ownerInstance.callMethod('_errAlert', `【生成图片失败,请重试】${err}`)
  425. })
  426. }, 300)
  427. },
  428. // 链接分享
  429. duplicate() {
  430. uni.setClipboardData({
  431. data: this.pathUrl,
  432. success: function() {
  433. console.log('复制成功');
  434. uni.showToast({
  435. title: '链接已复制成功',
  436. icon: 'success',
  437. duration: 2000
  438. });
  439. },
  440. fail: function() {
  441. console.log('复制失败');
  442. // 可以添加错误处理或用户友好的提示
  443. }
  444. });
  445. },
  446. async promotionCode() {
  447. this.ShowModalCode = true
  448. let pageRequest = {
  449. pageNum: 1,
  450. pageSize: 50,
  451. columnFilters: {
  452. apptype: {
  453. name: "apptype",
  454. value: "apk",
  455. },
  456. appid: {
  457. name: "appid",
  458. value: this.type == 2 ? "__UNI__D4FE29A" : '__UNI__3FA05C4',
  459. }
  460. }
  461. }
  462. let res = await this.$http.post('/sysVersion/findPage', pageRequest);
  463. if (res.code == 200) {
  464. this.ShowModalCode = true
  465. this.pathUrl = res.data.content[0].path
  466. this.workImg = QR.createQrCodeImg(res.data.content[0].path, {
  467. size: parseInt(200) //二维码大小
  468. })
  469. }
  470. },
  471. confirmPickDate(dateStr, dateStr1) {
  472. if (dateStr) {
  473. dateStr += ' 00:00:01'
  474. }
  475. if (dateStr1) {
  476. dateStr1 += ' 23:59:59'
  477. }
  478. this.WithdrawalqueryData(dateStr, dateStr1)
  479. },
  480. viewWithdrawal(item) {
  481. uni.navigateTo({
  482. url: "/pages/my/withdrawalDetail?key=" + encodeURIComponent(JSON.stringify(item))
  483. })
  484. },
  485. async toWithdraw() {
  486. let res = await this.$http.post('/userBank/getUserBankList', {
  487. auditStatus: "1",
  488. delFlag: '0'
  489. });
  490. if (res.data.length) {
  491. this.navigate({
  492. url: `/pages/wallet/withdraw?amount=${this.getApplication.cashFee}`,
  493. }, "navigateTo", true)
  494. } else {
  495. uni.showToast({
  496. title: '暂无审核通过的银行卡,不可提现',
  497. duration: 3000,
  498. icon: "none"
  499. });
  500. }
  501. },
  502. async accountTool(path) {
  503. if (path) {
  504. if (path == '/pages/wallet/bankCard') {
  505. let res = await this.$http.post('/userBank/getUserBankList', {
  506. auditStatus: '',
  507. });
  508. if (!res.data.length) {
  509. this.navigate({
  510. url: '/pages/wallet/bindBank',
  511. complete: () => {
  512. setTimeout(() => {
  513. uni.showToast({
  514. title: '请先绑定银行卡',
  515. duration: 3000,
  516. icon: "none"
  517. });
  518. }, 500);
  519. }
  520. }, "navigateTo", true)
  521. } else {
  522. this.navigate({
  523. url: path,
  524. }, "navigateTo", true)
  525. }
  526. } else {
  527. this.navigate({
  528. url: path,
  529. }, "navigateTo", true)
  530. }
  531. } else {
  532. uni.showToast({
  533. title: '功能待开发...',
  534. icon: "none"
  535. });
  536. }
  537. },
  538. async WithdrawalqueryData(beginTime, endTime) {
  539. let params = {
  540. "endTime": endTime || '',
  541. "beginTime": beginTime || '',
  542. }
  543. let res = await this.$http.post('/sysAgencyFeeApproval/queryOperateInfo', params);
  544. if (res.code == '200') {
  545. this.withdrawalData = res.data
  546. }
  547. },
  548. handleScroll(e) {
  549. const scrollTop = e.scrollTop;
  550. if (scrollTop > this.prevScrollTop) {
  551. // 向下滚动
  552. this.showBackground = true; // 显示背景图
  553. } else if (scrollTop < 50) {
  554. // 在顶部附近,隐藏背景图
  555. this.showBackground = false;
  556. } else {
  557. // 向上滚动
  558. this.showBackground = true; // 显示背景图
  559. }
  560. this.headerStyle.backgroundColor = this.showBackground ? '#fff' : 'transparent';
  561. this.headerStyle.backgroundImage = this.showBackground ? 'url("/static/image/my/beijing.png")' : '';
  562. this.headerStyle.backgroundSize = this.showBackground ? 'cover' : '';
  563. // this.headerStyle.backgroundPosition = this.showBackground ? 'center' : '';
  564. this.prevScrollTop = scrollTop;
  565. },
  566. tool() {
  567. uni.navigateTo({
  568. url: "/pages/set/set"
  569. })
  570. },
  571. logout() {
  572. this.emptyUserInfo();
  573. uni.clearStorage({
  574. success: function() {}
  575. });
  576. setTimeout(() => {
  577. uni.reLaunch({
  578. url: "/pages/login/login"
  579. })
  580. return true;
  581. }, 500);
  582. },
  583. incomeClick() {
  584. uni.navigateTo({
  585. url: "/pages/my/commission"
  586. })
  587. },
  588. // 去账单明细
  589. toBillDetails(type) {
  590. this.navigate({
  591. url: `/pages/wallet/billDetails${type}`,
  592. }, "navigateTo", true)
  593. },
  594. // 去账单明细
  595. toWallet(type) {
  596. this.navigate({
  597. url: "/pages/wallet/wallet"
  598. }, "navigateTo", true)
  599. },
  600. //获取企业微信客服地址,是否展示
  601. getWechatData() {
  602. this.$http.get('/sys/qy/wechat/find/picture').then(res => {
  603. this.supportStaffUrl = res.data.supportStaffUrl
  604. })
  605. },
  606. //点击跳转企业微信客服
  607. weChatService() {
  608. uni.share({
  609. provider: "weixin",
  610. openCustomerServiceChat: true,
  611. customerUrl: this.supportStaffUrl, //企业微信地址
  612. corpid: 'wwfe67d19509d43ec5', //企业id
  613. success: (res) => {},
  614. fail: (err) => {}
  615. });
  616. },
  617. }
  618. }
  619. </script>
  620. <style lang="scss" scoped>
  621. .headers {
  622. position: fixed;
  623. top: 0;
  624. left: 0;
  625. height: auto;
  626. width: 100%;
  627. z-index: 999999;
  628. padding: 16px;
  629. padding-top: 40px;
  630. text {
  631. font-size: 18px;
  632. font-weight: 700;
  633. color: #333333;
  634. }
  635. .headers-right {
  636. // width: 100%;
  637. // height: 100%;
  638. // position: relative;
  639. position: absolute;
  640. right: 15px;
  641. // width: 70px;
  642. display: flex;
  643. justify-content: space-between;
  644. view {
  645. line-height: 8px;
  646. }
  647. text {
  648. font-size: 9px;
  649. color: #666666;
  650. }
  651. image {
  652. // position: absolute;
  653. // right: 0;
  654. width: 16px;
  655. height: 16px;
  656. }
  657. }
  658. }
  659. .Personnel {
  660. height: auto;
  661. width: 100%;
  662. background: transparent;
  663. background-size: 100% 100%;
  664. padding: 90px 30rpx 20rpx 30rpx;
  665. position: relative;
  666. }
  667. .Personnel-title {
  668. position: absolute;
  669. right: 0;
  670. top: 135px;
  671. background: linear-gradient(132deg, #2DD9FF 0%, #2D6DFF 100%);
  672. border-radius: 16px 0px 0px 16px;
  673. color: #fff;
  674. padding: 2px 6px 2px 10px;
  675. image {
  676. display: inline-block;
  677. width: 15px;
  678. height: 15px;
  679. vertical-align: -2px;
  680. margin-right: 3px;
  681. }
  682. }
  683. .Personnel-img {
  684. position: relative;
  685. .avatar {
  686. width: 60px;
  687. height: 60px;
  688. border-radius: 50%;
  689. }
  690. image:last-child {
  691. display: inline-block;
  692. width: 40rpx;
  693. height: 40rpx;
  694. position: absolute;
  695. bottom: 0;
  696. right: 0;
  697. }
  698. }
  699. /* 我的钱包Start */
  700. .my-wallet {
  701. .wallet-body {
  702. width: 100%;
  703. height: auto;
  704. padding: 8px 16px;
  705. background: #FFFFFF;
  706. box-shadow: 0px 4px 10px 0px #DAE3F4;
  707. border-radius: 6px;
  708. margin-top: 10px;
  709. .route {
  710. text {
  711. font-size: 12px;
  712. color: #333;
  713. font-weight: 400;
  714. }
  715. image {
  716. width: 45px;
  717. height: 40px;
  718. }
  719. }
  720. .money {
  721. padding: 8px 0;
  722. background-color: #F9F8FD;
  723. border-radius: 4px;
  724. margin-top: 8px;
  725. text {
  726. font-size: 12px;
  727. color: #333;
  728. font-weight: 400;
  729. }
  730. }
  731. }
  732. }
  733. .Personnel-info {
  734. flex-direction: column;
  735. font-size: 14px;
  736. color: #152F63;
  737. }
  738. .full-name {
  739. margin-top: 8px;
  740. // margin-left: 12%;
  741. color: #152F63;
  742. text:first-child {
  743. font-weight: 700;
  744. font-size: 18px;
  745. line-height: 22px;
  746. }
  747. // text:last-child{
  748. // margin-left: 10px;
  749. // font-weight: 400;
  750. // font-size: 10px;
  751. // line-height: 12px;
  752. // }
  753. }
  754. .digit {
  755. margin-top: 8px;
  756. view {
  757. // width: 110px;
  758. }
  759. image {
  760. width: 20px;
  761. height: 20px;
  762. display: inline-block;
  763. }
  764. }
  765. .withdrawal-box {
  766. margin-top: 13px;
  767. background: #FFFFFF;
  768. border-radius: 5px 5px 5px 5px;
  769. padding: 18px 16px;
  770. .withdrawal-title {
  771. width: 100%;
  772. height: 100%;
  773. position: relative;
  774. text:first-child {
  775. font-weight: 400;
  776. font-size: 12px;
  777. color: #999999;
  778. }
  779. text:last-child {
  780. position: absolute;
  781. right: 0;
  782. font-size: 10px;
  783. color: #2D6DFF;
  784. line-height: 12px;
  785. }
  786. }
  787. .withdrawal-sum {
  788. color: #333333;
  789. font-weight: bold;
  790. line-height: 32px;
  791. text:first-child {
  792. font-size: 17px;
  793. line-height: 38px;
  794. }
  795. text:last-child {
  796. font-size: 26px;
  797. }
  798. }
  799. .withdrawal-income {
  800. margin: 10px 0;
  801. background: rgba(240, 248, 255, 0.5);
  802. border-radius: 2px 2px 2px 2px;
  803. padding: 10px;
  804. view {
  805. width: 50%;
  806. text-align: center;
  807. text:first-child {
  808. font-weight: 400;
  809. font-size: 10px;
  810. color: #666666;
  811. display: block;
  812. }
  813. text:last-child {
  814. margin-top: 3px;
  815. font-weight: 700;
  816. font-size: 17px;
  817. color: #333333;
  818. line-height: 20px;
  819. display: block;
  820. }
  821. }
  822. }
  823. .withdrawal-fun {
  824. background: linear-gradient(132deg, #2DD9FF 0%, #2D6DFF 100%);
  825. border-radius: 5px 5px 5px 5px;
  826. color: #fff;
  827. font-size: 16px;
  828. text-align: center;
  829. line-height: 42px;
  830. }
  831. }
  832. .withdrawal-record {
  833. font-weight: 700;
  834. font-size: 16px;
  835. color: #333333;
  836. i {
  837. display: inline-block;
  838. margin-right: 5px;
  839. width: 2px;
  840. height: 20px;
  841. background: linear-gradient(132deg, #2DD9FF 0%, #2D6DFF 100%);
  842. }
  843. }
  844. .withdrawal-flow {
  845. margin: 8px 16px;
  846. overflow: hidden;
  847. background: #FFFFFF;
  848. border-radius: 5px 5px 5px 5px;
  849. font-size: 16px;
  850. color: #333333;
  851. .withdrawal-card {
  852. border-bottom: 1px solid #EEEEEE;
  853. padding: 15px 0;
  854. margin: 0 15px;
  855. image {
  856. display: inline-block;
  857. width: 11px;
  858. height: 11px;
  859. margin-left: 5px;
  860. }
  861. .withdrawal-status {
  862. padding: 2px 5px;
  863. font-size: 10px;
  864. border-radius: 1px 1px 1px 1px;
  865. }
  866. }
  867. }
  868. .search {
  869. text {
  870. font-size: 14px;
  871. color: #666666;
  872. }
  873. i {
  874. margin-left: 2px;
  875. display: inline-block;
  876. width: 0;
  877. height: 0;
  878. border: 4px solid;
  879. border-color: #666666;
  880. border-bottom: 4px solid transparent;
  881. border-right: 4px solid transparent;
  882. border-left: 4px solid transparent;
  883. }
  884. }
  885. .ShowModalCode-style {
  886. // display: block;
  887. font-weight: 600;
  888. font-size: 16px;
  889. color: #333333;
  890. border-bottom: 1px solid #EEEEEE;
  891. padding: 15px;
  892. text-align: center;
  893. position: relative;
  894. text:last-child {
  895. position: absolute;
  896. right: 20px;
  897. color: #999999;
  898. font-size: 24px;
  899. line-height: 26px;
  900. }
  901. }
  902. .ShowModalCode-con {
  903. padding: 20px;
  904. text-align: center;
  905. font-size: 16px;
  906. color: #333333;
  907. image {
  908. margin: 0 auto;
  909. margin-top: 15px;
  910. }
  911. }
  912. .share-style {
  913. image {
  914. width: 45px;
  915. height: 45px
  916. }
  917. text {
  918. font-size: 12px;
  919. }
  920. }
  921. // 权益
  922. .benefits {
  923. height: 122rpx;
  924. background: #FFFFFF;
  925. border-radius: 10rpx 10rpx 10rpx 10rpx;
  926. background-image: url("/static/image/my/benefits.png");
  927. background-size: 100% 100%;
  928. padding: 20rpx 30rpx;
  929. box-sizing: border-box;
  930. image {
  931. width: 72rpx;
  932. height: 82rpx;
  933. }
  934. .title {
  935. text:first-child {
  936. font-weight: bold;
  937. font-size: 30rpx;
  938. color: #333;
  939. }
  940. text:last-child {
  941. font-size: 24rpx;
  942. color: #999;
  943. }
  944. }
  945. .tag {
  946. padding: 3rpx 17rpx;
  947. box-sizing: border-box;
  948. background: linear-gradient(132deg, #2DD9FF 0%, #2D6DFF 100%);
  949. border-radius: 4rpx 4rpx 4rpx 4rpx;
  950. font-size: 24rpx;
  951. color: #FFFFFF;
  952. }
  953. }
  954. </style>