uniapp-ZHSQ/pages/user/index.css
2025-12-04 09:58:14 +08:00

270 lines
4.1 KiB
CSS

page {
background: #F6F7FB;
}
.conatiner {
/* height: 100%; */
/* height: 578rpx; */
/* background: linear-gradient(to bottom, #FFE7E1, #FFFFFF); */
/* background: linear-gradient( 359deg, rgba(255,255,255,0) 0%, #FDD9CA 100%); */
background: url('https://static.hshuishang.com/property-img-file/page_user_Group_1584.png');
background-size: contain;
background-repeat: no-repeat;
background-attachment: fixed;
}
/* 头部 */
.header {
display: flex;
align-items: center;
margin-left: 25rpx;
margin-right: 20rpx;
margin-top: 37rpx;
margin-bottom: 35rpx;
/* pointer-events: none; */
}
/* 头像 */
.avatar-container {
display: flex;
width: 130rpx;
height: 130rpx;
border-radius: 50%;
overflow: hidden;
background-color: #FF7354;
margin-right: 30rpx;
justify-content: center;
align-items: center;
pointer-events: auto;
}
/* 头像图片 */
.avatar {
width: 130rpx;
height: 130rpx;
pointer-events: auto;
border-radius: 50%;
overflow: hidden;
}
.avatar_right {
flex: 1;
}
.avatar_title {
display: flex;
justify-content: space-between;
align-items: center;
}
.avatar_setting {
display: flex;
pointer-events: auto;
}
.avatar_setting_box{
width: 70rpx;
height: 50rpx;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
margin: 0 5rpx;
}
.avatar_setting_box image {
width: 34rpx;
height: 34rpx;
}
.avatar_setting>image:first-child {
margin-right: 40rpx;
}
/* 登录/注册 */
.login-btn {
font-size: 36rpx;
pointer-events: auto;
}
.avater_mobile {
margin-top: 10rpx;
}
.center {
position: relative;
margin: 0 20rpx;
height: 350rpx;
}
.gold_container {
/* width: 710rpx; */
height: 127rpx;
background: linear-gradient(90deg, #FFE9A3 0%, rgba(232, 127, 0, 0.8) 100%);
box-shadow: inset 0rpx 1rpx 2rpx 0rpx #E2C47C;
border-radius: 30rpx 30rpx 30rpx 30rpx;
margin: 37rpx 0 0;
position: relative;
}
.gold_title {
display: flex;
align-items: center;
padding-top: 16rpx;
}
.gold {
margin-left: 37rpx;
font-weight: normal;
font-size: 34rpx;
color: #7F3907;
}
.monenyt {
margin-left: 17rpx;
margin-right: 37rpx;
font-weight: 400;
font-size: 40rpx;
color: #7F3907;
}
.price {
margin-left: 37rpx;
font-weight: normal;
font-size: 26rpx;
color: #7F3907;
margin-right: 20rpx;
}
.gold_pic {
width: 140rpx;
height: 113rpx;
position: absolute;
top: 0;
right: 39rpx;
}
.main {
margin: 0 20rpx;
border-radius: 20rpx 20rpx 20rpx 20rpx;
background: #FFFFFF;
}
.main1 {
width: 100%;
margin: 0;
position: absolute;
top: 80rpx;
}
.main_title {
padding-top: 25rpx;
margin: 0 0 40rpx 30rpx;
font-weight: 600;
font-size: 36rpx;
color: #222222;
}
.margin20 {
margin-top: 20rpx;
}
.section {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin-left: 20rpx;
margin-right: 20rpx;
margin-bottom: 21rpx;
}
.section1 {
justify-content: space-around;
}
.section_label {
display: flex;
flex-direction: column;
align-items: center;
}
.nav_icon {
width: 50rpx;
height: 50rpx;
margin-bottom: 20rpx;
}
.grid-text {
font-size: 28rpx;
font-weight: bold;
}
.item1 {
display: flex;
justify-content: space-around;
align-items: center;
border-radius: 20rpx;
padding-bottom: 25rpx;
}
.item2 {
display: grid;
place-items: center;
/* 同时实现水平和垂直居中 */
}
.padding_bottom0 {
padding-bottom: 0;
}
.item_device {
display: flex;
flex-direction: column;
align-items: center;
}
.icon-img {
display: flex;
width: 60rpx;
height: 60rpx;
flex-direction: column;
margin-bottom: 10rpx;
}
.title-item {
font-size: 28rpx;
font-weight: bold;
}
.customer {
width: 130rpx;
height: 130rpx;
position: fixed;
right: 0;
bottom: 212rpx;
background: rgba(255, 55, 11, 0.6);
border-radius: 50%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
font-weight: normal;
font-size: 28rpx;
color: #FFFFFF;
}
.customer>image {
width: 50rpx;
height: 55rpx;
}
.uicon-volume {
font-size: 28rpx !important;
}
.u-grid-item {
margin-bottom: 36rpx;
}