From 44db498cedee7573d090797b1fe5c331c413b00a Mon Sep 17 00:00:00 2001
From: zzzz <690498789@qq.com>
Date: Mon, 22 Apr 2024 19:03:57 +0800
Subject: [PATCH] first
---
src/page/cashWithdrawalRecord/index.vue | 66 +++++++++++++++++++++++++--------
1 files changed, 50 insertions(+), 16 deletions(-)
diff --git a/src/page/cashWithdrawalRecord/index.vue b/src/page/cashWithdrawalRecord/index.vue
index b4d285b..8e61a6e 100644
--- a/src/page/cashWithdrawalRecord/index.vue
+++ b/src/page/cashWithdrawalRecord/index.vue
@@ -1,19 +1,19 @@
<template>
<div class="wrapper">
- <!-- <div class="header">
- <mt-header title="提现记录">
- <router-link to="/user" slot="left">
- <mt-button icon="back">我的</mt-button>
+ <div class="header">
+ <mt-header :title="$t('hj162')">
+ <router-link to="/wallet" slot="left">
+ <mt-button icon="back"></mt-button>
</router-link>
</mt-header>
- </div> -->
- <div class="text-center">
+ </div>
+ <!-- <div class="text-center">
<div class="btn-group">
<a href="#/cash" class="with-draw-btn">提现</a>
<a href="javascript:;" class="with-draw-detai-btn on">记录</a>
</div>
- </div>
- <div>
+ </div> -->
+ <div class="main">
<div class="box page-part transaction">
<div class="box-contain clearfix">
<cashList></cashList>
@@ -41,13 +41,13 @@
computed: {},
created () {},
mounted () {
- if (this.$state.theme =='red') {
- document.body.classList.remove('black-bg')
- document.body.classList.add('red-bg')
+ if (this.$state.theme === 'red') {
+ document.body.classList.remove('black-bg')
+ document.body.classList.add('red-bg')
}
},
beforeDestroy () {
- if (this.$state.theme =='red') {
+ if (this.$state.theme === 'red') {
document.body.classList.remove('red-bg')
document.body.classList.add('black-bg')
}
@@ -60,15 +60,26 @@
}
</script>
<style lang="less" scoped>
+.header {
+ height: 60px;
+ background: #26a2ff;
+}
.text-center {
width: 100%;
height: 1.7rem;
display: flex;
align-items: center;
}
- .mint-header {
- // background: #f4f4f4;
- margin-bottom: 0.2rem;
+ /deep/ .mint-header {
+ height: 60px;
+ background: #26a2ff;
+ // margin-bottom: 0.2rem;
+ .mint-header-title, .mintui-back {
+ color: #FFFFFF !important;
+ }
+ .mint-button {
+ color: #FFFFFF !important;
+ }
}
.btn-group {
@@ -121,6 +132,29 @@
.wrapper {
width: 100%;
height: 100%;
- background: #fff;
+ background: #FFFFFF;
+ overflow: hidden;
+ .main {
+ height: calc(100% - 6px);
+ overflow-y: auto;
+ }
+ /* 隐藏滚动条但能滚动 */
+ .main {
+ overflow: auto;
+ /* 隐藏滚动条 */
+ scrollbar-width: thin;
+ scrollbar-color: transparent transparent;
+ }
+ /* 隐藏滚动条的样式 */
+ .main::-webkit-scrollbar {
+ width: 0px;
+ background-color: transparent;
+ }
+ .main::-webkit-scrollbar-thumb {
+ background-color: transparent;
+ }
+ .main::-webkit-scrollbar-track {
+ background-color: transparent;
+ }
}
</style>
--
Gitblit v1.9.3