admin-user.vue 1.9 KB
<template>
	<view class="content">
		<view class="imgBox">
			<image src="../../static/ic_my_bg@2x.png" mode="" class="topImg"></image>
		</view>
		<view class="userInfo">
			<image src="../../static/ic_28@2x.png" mode=""></image>
			<view class="userName">
				桃花岛岛主
			</view>
		</view>
		<view class="outLogin">
			退出登录
		</view>
		<view class="bottomTab">
			<view class="bottomIcon" @click="goOrder">
				<image src="../../static/ic_12@2x.png" mode=""></image>
				<view class="">
					订单管理
				</view>
		
			</view>
			<view class="bottomIcon">
				<image src="../../static/ic_13@2x.png" mode=""></image>
				<view class="">
					我的
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				
			}
		},methods:{
			goOrder(){
				uni.redirectTo({
					url:'/pages/admin-order/all-order'
				})
			}
		}
	}
</script>

<style>
	.content {
		min-height: 100vh;
		background-color: #F7F8FA;
	}

	.imgBox {
		width: 100%;
		height: 462rpx;
		position: relative;
	}

	.topImg {
		width: 100%;
		height: 100%;
	}

	.userInfo {
		width: 92%;
		margin-left: 4%;
		background-color: #fff;
		border-radius: 16rpx;
		height: 186rpx;
		margin-top: -50rpx;
		z-index: 2;
		position: relative;
		text-align: center;
	}

	.userInfo image {
		width: 116rpx;
		height: 116rpx;
		border-radius: 50%;
		margin-top: -56rpx;

	}

	.userName {
		color: #323233;
		font-size: 36rpx;
		margin-top: 20rpx;
		font-weight: 600;
	}
	.outLogin{
		width: 92%;
		margin-left: 4%;
		height: 80rpx;
		line-height: 80rpx;
		font-size: 32rpx;
		color: #fff;
		text-align: center;
		margin-top: 200rpx ;
		background: #ff2f2f;
	}
	.bottomTab {
		position: fixed;
		bottom: 0;
		width: 100%;
		display: flex;
		justify-content: space-around;
		align-items: center;
		height: 120rpx;
		font-size: 20rpx;
		background-color: #fff;
	}
	
	.bottomIcon image {
		width: 48rpx;
		height: 48rpx;
	}
</style>