my.vue 19 KB

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