operateSuccess.vue 1.3 KB
<template>
	<view class="edit_success">
		<view class="header_logo">
			<view class="logo_box">
				<image class="success_logo" src="@/static/myImage/edit_success.png" mode="widthFix"></image>
				<text>充值成功</text>
			</view>
		</view>
		<u-cell-group :border="false">
			<u-cell v-for="(item, index) in editInfo" :key="index" :title="item.title" :border="false" :value="item.content"></u-cell>
		</u-cell-group>
		
		<view class="footer">
			<MyButton title="完成" />
		</view>
	</view>
</template>

<script>
	import MyButton from '@/components/myButton.vue'
	export default {
		components: { MyButton },
		data() {
			return {
				editInfo: [
					{ title: '充值金额', content: '¥1800' },
					{ title: '充值方式', content: '微信' }
				]
			};
		}
	}
</script>

<style lang="scss" scoped>
.edit_success{
	background-color: #fff;
	min-height: 100vh;
	.header_logo{
		display: flex;
		align-items: center;
		flex-direction: column;
		justify-content: center;
		padding: 0 30rpx;
		margin-bottom: 30rpx;
		.logo_box{
			display: flex;
			align-items: center;
			flex-direction: column;
			justify-content: center;
			border-bottom: 2rpx solid #E1E1E1;
			padding: 132rpx 0 36rpx 0;
			width: 100%;
			.success_logo{
				width: 136rpx;
				height: 136rpx;
				margin-bottom: 36rpx;
			}
		}	
	}
	.footer{
		padding: 0 30rpx;
		margin-top: 80rpx;
	}
}
</style>