<template>
	<!-- 钱包卡片 -->
	<view class="sh-wallet-box u-flex u-m-b-10 u-p-r-20">
		<view class="u-flex wallet-left">
			<view class="wallet-item u-flex-col u-col-center" >
				<text class="wallet-item__detail item-balance u-ellipsis-1">0</text>
				<text class="wallet-item__title">通兑积分</text>
			</view>
			<view class="wallet-item u-flex-col u-col-center" >
				<text class="wallet-item__detail item-score u-ellipsis-1">0</text>
				<text class="wallet-item__title">积分余额</text>
			</view>
			<view class="wallet-item u-flex-col u-col-center" >
				<text class="wallet-item__detail item-coupon u-ellipsis-1">0</text>
				<text class="wallet-item__title">现金交易</text>
			</view>
		</view>
		<view class="wallet-item u-flex-col wallet-right u-col-center">
			<image class="cut-off--line" src="http://file.shopro.top/imgs/user/cut_off_line.png" mode=""></image>
			<image class="wallet-img" src="https://guosen-bucket-ldt.obs.cn-south-1.myhuaweicloud.com:443/33456520560a489c97001067ebf933fb-1WVTKPv7pPRY56bd16f50ac21bf860f78d0335131292.png" mode="aspectFill"></image>
			<text class="wallet-item__title">我的账单</text>
		</view>
	</view>
</template>

<script>
export default {
	data() {
		return {
			
		};
	},
	methods: {
		
	}
};
</script>

<style lang="scss">
// 钱包卡片
.sh-wallet-box {
	background: #fff;
	height: 180rpx;
	position: relative;
	.wallet-left {
		flex: 4;
	}
	.wallet-right {
		position: relative;
		.cut-off--line {
			position: absolute;
			top: 50%;
			transform: translateY(-50%);
			right: (750rpx/5) - 15rpx;
			width: 30rpx;
			height: 136rpx;
		}
	}
	.wallet-item {
		flex: 1;
		.wallet-img {
			width: 50rpx;
			height: 50rpx;
		}
		.wallet-item__detail {
			font-size: 34rpx;
			width: 180rpx;
			text-align: center;
			font-weight: 500;
			color: $base-color;
		}
		.wallet-item__title {
			font-size: 26rpx;
			font-weight: 400;
			color: rgba(153, 153, 153, 1);
			margin-top: 20rpx;
		}
		.item-balance::after {
			content: '元';
			font-size: 20rpx;
			margin-left: 4rpx;
		}
		.item-score::after {
			content: '元';
			font-size: 20rpx;
			margin-left: 4rpx;
		}
		.item-coupon::after {
			content: '元';
			font-size: 20rpx;
			margin-left: 4rpx;
		}
	}
}
</style>
