my.vue 19 KB

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