.common { height: 100vh; width: 100vw; background-image: url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/bgi.png"); /* 使用绝对路径 */ background-size: cover; /* 确保背景图片自适应填充整个容器 */ background-position: center; /* 背景图片居中显示 */ background-repeat: no-repeat; /* 防止背景图重复 */ overflow: auto; } .top-class { height: 5vh; } .head { height: 4vh; line-height: 4vh; } .body { height: calc(100vh - 160rpx); } .title { font-weight: bold; font-size: 40rpx; color: #FFFFFF; text-align: center; height: 7vh; line-height: 7vh; } .footer-btn { position: fixed; /* 固定位置 */ left: 0; /* 距离页面左侧为0 */ bottom: 30rpx; /* 距离页面底部为0 */ width: 100%; /* 宽度为100%,确保按钮横跨整个底部 */ display: flex; /* 启用 Flexbox 布局 */ justify-content: center; /* 水平居中 */ align-items: center; /* 垂直居中 */ z-index: 999; /* 确保按钮在最上层 */ } .return-button { width: 120rpx; border: none; color: #F9D395; font-size: 26rpx; text-align: center; letter-spacing: 4rpx; /* 设置文字间距为2px */ font-weight: 600; height: 50rpx; line-height: 50rpx; border-radius: 8rpx; cursor: pointer; /* 鼠标指针效果 */ background: #DE00FF; border-radius: 20rpx; border: 3px solid #FFBD70; } .return_view { display: flex; justify-content: center; height: 30px; } .content_text{ height: calc(100% - 170rpx); overflow: auto; } .row-class { height: 80rpx; } .logo-rules{ height: 124rpx; width: 80rpx; margin-left: 110rpx; } .logo-img { background-size: cover; /* 确保背景图片自适应填充整个容器 */ background-position: center; /* 背景图片居中显示 */ background-repeat: no-repeat; /* 防止背景图重复 */ height: 100rpx; width: 62%; margin-right: 80rpx; } .commodity-img { background-size: cover; /* 确保背景图片自适应填充整个容器 */ background-position: center; /* 背景图片居中显示 */ background-repeat: no-repeat; /* 防止背景图重复 */ height: 72rpx; width: 100%; } .topImg{ display: flex; justify-content: center; margin-top: 30rpx; } .topImg .img_1{ height: 100rpx; margin-top: 20rpx; } .topImg .img_2{ height: 80rpx; } .cardTop{ margin-bottom: 10rpx; background-image: url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/title_bgi.png"); background-size: cover; background-position: center; background-repeat: no-repeat; height: 80rpx; margin-top: 20rpx; }