my.vue 23 KB

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