* { margin: 0; padding: 0; box-sizing: border-box; } ::-webkit-scrollbar { display: none; width: 0; height: 0; color: transparent; } view, text { box-sizing: border-box; word-wrap: break-word; } input { box-sizing: border-box; } button { margin: 0; padding: 0; } button::after { border: none; } .container { width: 100%; min-height: 100vh; font-size: 28rpx; } text { display: block; } button { text-align: center; border-radius: 8rpx; } /* border 1px样式 */ .border_bottom, .border_top, .border_all { position: relative; } .border_top::after { position: absolute; content: ""; width: 100%; left: 0; top: 0; height: 1px; padding: 0 32rpx; box-sizing: border-box; background-color: #e5e5e5; -webkit-transform: scale(1, 0.5); transform: scale(1, 0.5); -webkit-transform-origin: center bottom; transform-origin: center bottom; } .border_bottom::after { position: absolute; content: ""; width: 100%; left: 0; bottom: 0; height: 1px; padding: 0 32rpx; box-sizing: border-box; background-color: #e5e5e5; -webkit-transform: scale(1, 0.5); transform: scale(1, 0.5); -webkit-transform-origin: center bottom; transform-origin: center bottom; } .border_all::before { content: ""; display: block; position: absolute; width: 200%; height: 200%; border: 1px solid #d9d9d9; border-radius: 10rpx; transform-origin: 0 0; transform: scale(0.5, 0.5); -webkit-transform: scale(0.5, 0.5); box-sizing: border-box; } // 无数据 .nodata { text-align: center; display: block; color: #666666; padding: 200rpx 0; margin: 0 auto; .nodata_ico { width: 374rpx; height: 288rpx; margin-bottom: 30rpx; } .nodata_img { width: 374rpx; height: 288rpx; margin-bottom: 50rpx; } } // 单行省略 .text_oneLine { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } /* 2行省略 */ .text_twoLine { text-overflow: -o-ellipsis-lastline; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; } .select-box { width: 100%; .box { height: 95prx; line-height: 95rpx; text-align: center; font-size: 32rpx; border-bottom: 1rpx solid #ebebeb; } .box-bottom { border-bottom: none !important; } } .slot-content { width: 100%; padding: 50rpx; text-align: center; font-size: 32rpx; color: #0f1826; line-height: 48rpx; } // 禁止拷贝 .forbid-copy { -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .cancel-attention { flex-shrink: 0; padding: 5rpx 28rpx; border-radius: 37rpx 37rpx 37rpx 37rpx; font-weight: 400; font-size: 24rpx; background-color: #f0f0f0; color: #999999; } .free-charge { position: fixed; display: flex; align-items: center; bottom: 320rpx; right: 41rpx; height: 156rpx; z-index: 888; } .footer-free-charge { z-index: 99999; } .report-content-title { font-weight: 500; font-size: 36rpx; line-height: 50rpx; color: #333333; } // 统一顶部蓝色的卡片 .global_card_content { padding: 22rpx 20rpx; border-radius: 8rpx; border-top: 10rpx solid #376cbb; } // 统一标题 .global_title { color: #333333; font-size: 32rpx; font-weight: 600; line-height: 40rpx; } // 统一内容 .global_content { margin-top: 20rpx; padding: 0 12rpx; font-size: 22rpx; line-height: 30rpx; font-weight: 400; color: #999999; background-color: #f8f8fa; border-radius: 4rpx; } .global_activity_content { margin-top: 20rpx; padding: 5rpx 12rpx; font-size: 24rpx; line-height: 34rpx; font-weight: 400; color: #333; background-color: #f8f8fa; border-radius: 4rpx; } // 居中 .global_content_center { display: flex; align-items: center; justify-content: center; } // 统一二级筛选栏 .global_two_tabs { height: 96rpx; width: 100%; display: flex; align-items: center; overflow-x: auto; border-top: 0.5rpx solid #dcdfe6; border-bottom: 0.5rpx solid #dcdfe6; padding: 0 30rpx; background-color: #fff; .item { display: flex; align-items: center; height: 64rpx; padding: 24rpx; border-radius: 100rpx; color: #333; font-size: 28rpx; background-color: #f8f8fa; flex-shrink: 0; margin-right: 15rpx; } .tabs-active { background-color: #e5efff; color: #376cbb; } } .global_one_tabs { display: flex; width: 100%; height: 96rpx; overflow-x: auto; background-color: #fff; .item { width: 120rpx; display: flex; align-items: center; justify-content: center; color: #333; font-size: 28rpx; line-height: 44rpx; flex-shrink: 0; } .tabs-active { position: relative; color: #376cbb; font-weight: 600; &::before { content: ""; position: absolute; bottom: 15rpx; left: 50%; transform: translateX(-50%); width: 32rpx; height: 6rpx; background-color: #376cbb; border-radius: 10rpx; } } } .global_pv-ollect { flex: end; display: flex; align-items: center; justify-content: space-between; image { width: 26rpx; height: 26rpx; margin-right: 10rpx; } .pv { width: 30rpx; height: 30rpx; margin-right: 10rpx; } view { display: flex; align-items: center; margin-left: 20rpx; } } .share-line-content { position: relative; width: 100%; height: 100vh; padding: 30rpx; background: url("https://hzstatic.hzinsights.com/yx_xcx/share-line-bg.png") no-repeat; background-size: 100% 100%; .share-content-box { position: absolute; top: 225rpx; left: 50%; padding: 170rpx 46rpx 100rpx; overflow: hidden; transform: translateX(-50%); width: calc(100% - 60rpx); height: 690rpx; background: url("https://hzstatic.hzinsights.com/yx_xcx/share-content.png") no-repeat; background-size: 100% 100%; box-sizing: border-box; color: #b98756; .share-content { max-height: 460rpx; overflow: hidden; } .share-title { font-weight: 800; font-size: 32rpx; margin-bottom: 30rpx; } .share-item { width: 100%; font-size: 28rpx; display: flex; margin-bottom: 20rpx; text:nth-child(1) { font-weight: 800; flex-shrink: 0; width: 132rpx; text-align: right; padding-right: 20rpx; } text:nth-child(2) { color: #b98756; } } .share-image { display: block; margin-top: 30rpx; width: 608rpx; height: 370rpx; } .item-special { width: 176rpx; height: 48rpx; margin-bottom: 5rpx; } } .share-report-go_cygx_xcx { position: absolute; width: 419rpx; height: 75rpx; right: 30rpx; bottom: 20rpx; } }