personalData.vue 1.8 KB
<template>
	<view class="page">
		<view class="box">
			<view class="item">
				<view class="left">用户头像</view>
				<view class="right">
					<image src="../../static/userpic.png" mode="widthFix" class="avator" />
					<image src="../../static/right.png" mode="widthFix" class="jiantou" />
				</view>
			</view>
			<view class="item">
				<view class="left">用户昵称</view>
				<view class="right">昵称昵称昵称
				</view>
			</view>
		</view>
		<view class="btn">确认</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>

<style>
	page {
		background: #F7F7F7;

	}

	.box {
		padding: 0 32rpx;
		box-sizing: border-box;
		background: #fff;
		margin-top: 16rpx;
	}

	.item {
		height: 108rpx;
		display: flex;
		justify-content: space-between;
		align-items: center;
		border-bottom: 1px solid #EDEDED;

	}

	.left {
		width: calc(100% -220rpx);
		display: flex;
		align-items: center;
		font-size: 28rpx;
		font-family: PingFangHK-Regular, PingFangHK;
		font-weight: 400;
		color: rgba(8, 18, 31, 1);
	}

	.right {
		width: 168rpx;
		font-size: 28rpx;
		font-family: PingFangHK-Regular, PingFangHK;
		font-weight: 400;
		color: rgba(61, 69, 76, 1);
		display: flex;
		align-items: center;
		justify-content: flex-end;
	}

	.right .avator {
		width: 84rpx;
	}

	.right .jiantou {
		width: 32rpx;
		margin-left: 16rpx;
	}

	.btn {
		width: 686rpx;
		height: 84rpx;
		background: rgba(194, 148, 69, 1);
		border-radius: 8rpx;
		font-size: 32rpx;
		font-family: PingFangSC-Medium, PingFang SC;
		font-weight: 500;
		color: rgba(255, 255, 255, 1);
		display: flex;
		justify-content: center;
		align-items: center;
		
		position:fixed;
		bottom:20rpx;
		left:32rpx;
	}
	page{
		overflow-y: hidden;
	}
</style>