附上样式及代码
<template>
<view class="page">
<view class="page-content">
<view class="page_top"></view>
<view class="page_top_user"></view>
<view class="page_top_image_outer"></view>
<view class="page_top_image"></view>
</view>
</view>
</template>
<style>
.page_top{
width: 100%;
height: 400upx;
background-color: #007aff;
Z-index:1;
}
.page_top_user:after {
background-color: #ffffff;
content: '';
position: absolute;
width: 160%;
height: 450rpx;
left: -30%;
top:200upx;
z-index: 2;
border-radius: 50% 50% 0 0;
}
.page_top_image_outer{
position: absolute;
background-color: #ffffff;
Z-index:3;
border-radius: 50%;
width:200upx;
height:200upx;
left:50%;
top:200upx;
margin-left:-100upx;
margin-top:-100upx;
}
.page_top_image{
position: absolute;
background-color: #007aff;
Z-index:4;
border-radius: 50%;
width:194upx;
height:194upx;
left:50%;
top:200upx;
margin-left:-97upx;
margin-top:-97upx;
}
</style>