my.vue 21 KB

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