myCredit.vue 5.8 KB
<template>
	<view class="page">
		<view class="box">
			<view class="item">
				<view class="title">
					2019年
					<image src="../../static/more.png" mode="widthFix" class="more" />
				</view>
				<view class="xitem">
					<view class="month">8月</view>
					<view class="minfo">
						<view class="left">
							<view class="money">3125.55元</view>
							<view class="time">期限:2019-10-10</view>
						</view>
						<view class="btn">还款</view>
					</view>
				</view>
				<view class="xitem">
					<view class="month">7月</view>
					<view class="minfo">
						<view class="left">
							<view class="money">3125.55元</view>
							<view class="time">期限:2019-10-10</view>
						</view>
						<view class="btn">还款</view>
					</view>
				</view>
				<view class="xitem">
					<view class="month">6月</view>
					<view class="minfo">
						<view class="left">
							<view class="money">3125.55元</view>
							<view class="time">期限:2019-10-10</view>
						</view>
						<view class="btn activea">已逾期</view>
					</view>
				</view>
				<view class="xitem">
					<view class="month">5月</view>
					<view class="minfo">
						<view class="left">
							<view class="money">3125.55元</view>
							<view class="time">期限:2019-10-10</view>
						</view>
						<view class="btn activeb">已还款</view>
					</view>
				</view>
			</view>
		</view>
		<view class="cover">
			<view class="coverBox">
				<view class="top">
					<view class="close"><image src="../../static/colose.png" mode="widthFix" /></view>
					支付
				</view>
				<view class="monetall">
					<view class="moneyNum">¥2560.00</view>
					<view class="moneyTitle">订单总额</view>
				</view>
				<view class="payBox">
					<view class="payItem">
						<view class="left">
							<image src="../../static/paya.png" mode="widthFix" />
							支付宝
						</view>
						<view class="right"><image src="../../static/nocheck.png" mode="widthFix" class="check" /></view>
					</view>
					<view class="payItem">
						<view class="left">
							<image src="../../static/payb.png" mode="widthFix" />
							微信
						</view>
						<view class="right"><image src="../../static/check.png" mode="widthFix" class="check" /></view>
					</view>
					<view class="payItem">
						<view class="left">
							<image src="../../static/balance.png" mode="widthFix" />
							余额支付 <text>(余额 3840.00)</text>
						</view>
						<view class="right"><image src="../../static/nocheck.png" mode="widthFix" class="check" /></view>
					</view>
				</view>
				<view class="submit">确认支付(¥2560.00)</view>
			</view>
		</view>
	</view>
</template>

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

<style>
page {
	background: #f7f7f7;
}

.box {
	margin-top: 16rpx;
}

.title {
	height: 92rpx;
	display: flex;
	align-items: center;
	border-bottom: 1px solid #eeeeee;
	background: #fff;
	padding: 0 36rpx;
	box-sizing: border-box;
}

.more {
	width: 32rpx;
	margin-left: 12rpx;
}
.xitem{
	
}
.month{
	height: 84rpx;
	display: flex;
	align-items: center;
	font-size:32rpx;
	font-family:PingFangSC-Medium,PingFang SC;
	font-weight:500;
	color:rgba(35,35,35,1);
	padding: 0 36rpx;
	box-sizing: border-box;
}
.minfo{
	height: 128rpx;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 36rpx;
	box-sizing: border-box;
}
.left{
	width: 50%;
}
.money{
	font-size:32rpx;
	font-family:PingFangSC-Medium,PingFang SC;
	font-weight:500;
	color:rgba(35,35,35,1);
}
.time{
	font-size:24rpx;
	font-family:PingFangSC-Medium,PingFang SC;
	font-weight:500;
	color:rgba(91,94,100,1);
	line-height:34rpx;
}
.btn{
	width:160rpx;
	height:64rpx;
	border-radius:8rpx;
	border:1px solid rgba(255,148,23,1);
	font-size:24rpx;
	font-family:PingFangSC-Regular,PingFang SC;
	font-weight:400;
	color:rgba(255,148,23,1);
	display: flex;
	align-items: center;
	justify-content: center;
}

.activea{
	color: #D12324;
	border-color: #D12324;
}
.activeb{
	color: #3D454C;
	border-color: #3D454C;
}
.cover {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.2);
}
.coverBox {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 874rpx;
	background: rgba(255, 255, 255, 1);
	border-radius: 24rpx 24rpx 0px 0px;
}
.top {
	height: 96rpx;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	font-size: 32rpx;
	font-family: PingFangSC-Regular, PingFang SC;
	font-weight: 400;
	color: rgba(6, 18, 31, 1);
	border-bottom: 1px solid #eeeeee;
}
.close {
	width: 48rpx;
	position: absolute;
	left: 32rpx;
	top: 24rpx;
}
.close image {
	width: 100%;
}
.monetall {
	margin-top: 70rpx;
}
.moneyNum {
	font-size: 68rpx;
	font-family: PingFangSC-Regular, PingFang SC;
	font-weight: 400;
	color: rgba(194, 148, 69, 1);
	text-align: center;
}
.moneyTitle {
	font-size: 28rpx;
	font-family: PingFangSC-Regular, PingFang SC;
	font-weight: 400;
	color: rgba(61, 68, 76, 1);
	text-align: center;
}
.payBox {
	margin-bottom: 80rpx;
	padding: 0 32rpx;
	box-sizing: border-box;
}
.payItem {
	margin-top: 64rpx;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.left {
	width: 500rpx;
	display: flex;
	align-items: center;
	font-size: 32rpx;
	font-family: PingFangSC-Regular, PingFang SC;
	font-weight: 400;
	color: rgba(6, 18, 31, 1);
}

.left image {
	width: 48rpx;
	margin-right: 32rpx;
}
.left text{
	font-size:32rpx;
	font-family:PingFangSC-Regular,PingFang SC;
	font-weight:400;
	color:rgba(91,94,100,1);
}
.right {
	width: 48rpx;
}
.check {
	width: 100%;
}
.submit {
	width: 686rpx;
	height: 88rpx;
	background: #c29445;
	border-radius: 10rpx;
	font-size: 32rpx;
	font-family: PingFangSC-Medium, PingFang SC;
	font-weight: 500;
	color: rgba(254, 254, 254, 1);
	line-height: 88rpx;
	text-align: center;
	margin: 0 auto;
}
</style>