moneyEdit.vue 2.1 KB
<template>
	<view class="money_edit">
		<view class="banner">
			<image class="bg-img" src="@/static/myImage/wallet-bg.png" mode="widthFix"></image>
			<view class="my_money">
				<text>可提现金额(元)</text>
				<text>¥<text class="number">2000.00</text> </text>
			</view>
		</view>
	
		<view class="edit_box">
			<view class="edit_title">提现金额</view>
			<view class="money_line">¥<text class="number">1800</text></view>
			<view class="option">
				<u-cell-group :border="false">
					<u-cell title="充值方式" :border="false">
						<view slot="right-icon" class="opton-item">
							<u-icon name="weixin-circle-fill" color="#04B62F"></u-icon>
							<text style="margin-left: 12rpx;">微信</text>
						</view>
					</u-cell>
				</u-cell-group>
			</view>
			
			<!-- 提交按钮 -->
			<view class="footer">
				<MyButton title="申请提现" ></MyButton>
			</view>
		</view>
	</view>
</template>

<script>
	import MyButton from '@/components/myButton.vue'
	export default {
		components: { MyButton },
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss" scoped>
.money_edit{
	min-height: 100vh;
	background-color: #f6f6f6;
}
.banner{
	position: relative;
	height: 288rpx;
	.bg-img{
		width: 100%;
		height: 100%;
		position: absolute;
		top: 0;
		left: 0;
	}
	.my_money{
		position: absolute;
		top: 38rpx;
		left: 28rpx;
		display: flex;
		flex-direction: column;
		gap: 8rpx;
		font-size: 28rpx;
		line-height: 40rpx;
		color: #fff;
		.number{
			font-size: 52rpx;
			font-weight: 700;
			line-height: 64rpx;
			margin-left: 4rpx;
		}
	}
}

.edit_box{
	position: relative;
	height: 496rpx;
	margin: 0 30rpx;
	padding: 0 30rpx;
	margin-top: -86rpx;
	background: #FFFFFF;
	border-radius: 12rpx;
	.edit_title{
		height: 86rpx;
		color: #333;
		line-height: 86rpx;
		font-size: 28rpx;
	}
	.money_line{
		font-size: 40rpx;
		line-height: 52rpx;
		color: #333;
		padding-bottom: 6rpx;
		border-bottom: 2rpx solid #D8D8D8;
		.number{
			font-size: 56rpx;
			font-weight: 500;
			margin-left: 12rpx;
		}
	}
	.footer{
		margin: 100rpx 72rpx 0;
	}
	.option{
		margin-top: 30rpx;
	}
	
	.opton-item{
		display: flex;
	}
}
</style>