/* nova-tourism/components/my/index.wxss */ .all { width: 100vw; height: 100vh; /* 如果你希望高度为视口高度,可以设置为 100vh */ background-image: url(https://file-cloud.fmode.cn/EbxZUK5lBI/20241122/28334h050437823.png); background-position: center; /* 背景图片居中 */ background-size: cover; /* 背景图片覆盖整个元素 */ background-repeat: no-repeat; /* 不重复背景图片 */ padding-left: 20rpx; padding-right: 20rpx; .infobox{ width: 100%; display: flex; height: auto; padding-top: 20rpx; image{ width: 150rpx; height: 150rpx; border-radius: 15rpx; } .info{ width: auto; height: 100rpx; margin-left: 40rpx; .name{ font-size: 34rpx; font-weight: 600; margin-bottom: 10rpx; } .uid{ font-size: 30rpx; } .labelbox{ height: 40rpx; display: flex; margin-top: 10rpx; .label{ width: 90rpx; height: 40rpx; font-size: 24rpx; display: flex; justify-content: center; align-items: center; background-color: #39362D; color: white; margin-left: 10rpx; border-radius: 15rpx; } .label:nth-child(1){ margin-left: 0rpx; } } } } .tatlebox{ width: 100%; height: 260rpx; margin-top: 40rpx; background-color: #B2CEB9; border-radius: 15rpx; display: flex; justify-content: space-around; padding-left: 45rpx; padding-right: 45rpx; .tatle{ width: 100rpx; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; image{ width: 100rpx; height: 100rpx; } .text{ font-size: 28rpx; margin-top: 30rpx; } } } .myorderbox{ width: 100%; background-color: white; margin-top: 34rpx; padding-left: 30rpx; padding-right: 30rpx; padding-top: 10rpx; border-radius: 15rpx; .my-name{ font-size: 30rpx; } .or-box{ width: 100%; height: 200rpx; background-color: white; display: flex; justify-content: space-around; .myorder{ height: 200rpx; display: flex; flex-direction: column; align-items: center; justify-content: center; image{ width: 80rpx; height: 80rpx; } .or-tex{ font-size: 28rpx; margin-top: 30rpx; } } } } .tuiguangbox{ width: 100%; height: 160rpx; background-color: white; border-radius: 15rpx; display: flex; align-items: center; padding-left: 30rpx; padding-right: 30rpx; margin-top: 30rpx; .tuibox{ height: 120rpx; width: 400rpx; display: flex; flex-direction: column; justify-content: center; .tui-title{ font-size: 32rpx; margin-bottom: 10rpx; } .tuiguang-tex{ font-size: 28rpx; color: #737373; } } image{ width: 120rpx; height: 120rpx; margin-left: auto; margin-right: 40rpx; } } .leavebox{ width: 100%; height: 100rpx; display: flex; justify-content: center; align-items: center; background-color: white; border-radius: 15rpx; margin-top: 30rpx; image{ width: 50rpx; height: 50rpx; } .leave-tex{ font-size: 34rpx; margin-left: 10rpx; } } }