.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; } .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%; } .text { height: 10vh; text-align: center; line-height: 13vh; margin-bottom: 10rpx; } .textImage { height: 80rpx; width: 400rpx; } .content { height: 68vh; border-radius: 10rpx; margin: 0rpx 40rpx; padding: 10rpx 24rpx; overflow: auto; align-items: center; justify-content: center; background-image: url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/cjx/cardBgi.png"); background-size: cover; background-position: center; background-repeat: no-repeat; } .text-1 { text-align: center; font-size: 24rpx; font-weight: 600; color: white; background-color: #9A1712; width: 160rpx; border-radius: 4rpx; height: 40rpx; line-height: 40rpx; } .text-2 { text-align: center; font-size: 24rpx; font-weight: 600; color: #F9D395; background-color: #9A1712; width: 120rpx; border-radius: 4rpx; height: 40rpx; line-height: 40rpx; margin-left: 80rpx; } .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30rpx; width: 100%; } .card { width: 100%; height: 250rpx; position: relative; background: none; border-radius: 16rpx; margin: 0; -webkit-perspective: 1000px; perspective: 1000px; } .card-inner { position: relative; width: 100%; height: 100%; transition: -webkit-transform 0.8s cubic-bezier(0.5, 1.5, 0.5, 1); transition: transform 0.8s cubic-bezier(0.5, 1.5, 0.5, 1); transition: transform 0.8s cubic-bezier(0.5, 1.5, 0.5, 1), -webkit-transform 0.8s cubic-bezier(0.5, 1.5, 0.5, 1); -webkit-transform-style: preserve-3d; transform-style: preserve-3d; } .card.flipping .card-inner { -webkit-transform: rotateY(180deg); transform: rotateY(180deg); } .card.flipped .card-inner { -webkit-transform: rotateY(180deg); transform: rotateY(180deg); } .card-front, .card-back { position: absolute; width: 100%; height: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; } .card-back { -webkit-transform: rotateY(180deg); transform: rotateY(180deg); } .card-back-text { position: absolute; top: 50%; left: 0; width: 100%; text-align: center; color: #9A1712; font-weight: bold; font-size: 28rpx; -webkit-transform: translateY(-50%); transform: translateY(-50%); z-index: 2; pointer-events: none; } .card-img { width: 100%; height: 100%; display: block; } .u-popup__content { height: 720rpx; width: 600rpx; background-color: rgba(0, 0, 0, 0) !important; background-image: url("https://hyscancode.oss-cn-hangzhou.aliyuncs.com/xiaochengxu/guzhenganzi/bgiPopup.png"); background-size: cover; background-position: center; background-repeat: no-repeat; } .u-popup__content__close--top-right { top: 720rpx !important; right: 288rpx !important; } .winImgClss { height: 60rpx; width: 320rpx; } .popup-view { text-align: center; margin-top: 100rpx; } .popup-content { margin: 15px 54px; overflow: auto; } .popup-text { font-weight: 400; font-size: 20rpx; color: #9B0000; } .prize { height: 130rpx; width: 130rpx; } .u-form-item__body { padding: 8rpx; } uni-view.u-form-item__body__left { background: #AD7F55; border-radius: 5px 0px 0px 5px; border: 2px solid #63462B; border-right: none; } .u-form-item__body__right { background-color: #fff; border-radius: 0px 5px 5px 0px; border: 2px solid #63462B; } uni-text.u-form-item__body__left__content__label { color: #fff !important; padding-left: 4px; letter-spacing: 2px; } .popup-flex { display: flex; flex-direction: column; height: 100%; /* 或具体高度如340px,确保撑满弹窗 */ min-width: 600rpx; } .popup-content-scroll { flex: 1; } .popup-footer { flex-shrink: 0; padding: 0rpx 0 60rpx 0px; text-align: center; background: transparent; /* 可选,确保无背景遮挡 */ } .save-button { width: 90rpx; margin: 0 auto; background: #b22222; color: #F9D395; border-radius: 12rpx; padding: 18rpx 0; font-size: 24rpx; font-weight: bold; height: 16rpx; line-height: 16rpx; letter-spacing: 4rpx; } .unWin { width: 130rpx !important; } .productImg { width: 400rpx; } .u-swiper { background-color: rgba(0, 0, 0, 0) !important; padding: 0px 20rpx !important; width: 90%; } .u-col-4 { display: flex !important; justify-content: center !important; /* 水平居中 */ align-items: center !important; /* 垂直居中 */ } .right-col .u-col-4 { display: flex !important; justify-content: flex-end !important; /* 水平居中 */ align-items: center !important; /* 垂直居中 */ } .card-img-f { height: 100rpx; width: 100rpx; } .card-text { font-size: 26rpx; } .select-tag { position: absolute; right: 0px; font-weight: 400; font-size: 20rpx; color: #FFFFFF; width: 40px; text-align: center; background-color: #11BC64; height: 15px; border-radius: 3px; line-height: 15px; z-index: 5; }