/* packageE/solitaire/solitaire.wxss */ view { box-sizing: border-box; } .container { position: relative; padding: 0 0.875rem 80px; min-height: 100vh; } .container .floating-window { position: fixed; top: 40px; left: 0.8rem; } .container .floating-window .swiperContainer { height: 3rem; width: 18.375rem; } .container .floating-window .swiperContainer .swiperItem { height: 3rem; width: 18.375rem; } .container .floating-window .swiperContainer .swiperItem .wrapper { width: 18.375rem; height: 2rem; margin: 0.5rem 0; display: flex; padding: 0 0.375rem; align-items: center; overflow: hidden; background: #ffcc32; border-radius: 1.5rem; } .container .floating-window .swiperContainer .swiperItem .wrapper .image { width: 1.5rem; height: 1.5rem; display: flex; margin-right: 0.5rem; align-items: center; } .container .floating-window .swiperContainer .swiperItem .wrapper .image image { width: 1.5rem; height: 1.5rem; border-radius: 50%; overflow: hidden; } .container .floating-window .swiperContainer .swiperItem .wrapper .text { font-size: 0.75rem; text-align: left; flex: 1; color: #fff; overflow: hidden; /* 超出部分隐藏 */ text-overflow: ellipsis; /* 超出部分显示省略号 */ white-space: nowrap; /* 规定段落中的文本不进行换行 */ } .container .countdown { display: flex; color: #fff; height: 3rem; line-height: 3rem; } .container .countdown .bottom_time { color: #fff; display: flex; height: 3rem; margin-left: 0.5rem; align-items: center; } .container .countdown .bottom_time .radius-box { width: 1.375rem; height: 1.375rem; font-size: 0.75rem; color: #f14e4e; display: flex; align-items: center; justify-content: center; border-radius: 50%; background-color: #fff; } .container .countdown .bottom_time .text { padding: 0 0.281rem; display: flex; align-items: center; font-size: 0.75rem; } .container .notice { background: #fff; border-radius: 0.625rem; padding: 0.75rem; margin-bottom: 0.625rem; text-align: left; } .container .notice .notice-title { font-size: 1.125rem; font-weight: bold; color: #000; margin-bottom: 0.5rem; } .container .notice .notice-award { background-color: #fff7f7; border-radius: 0.125rem; padding: 0.5rem; color: #f14e4e; font-size: 0.75rem; line-height: 1.375rem; margin-bottom: 0.5rem; } .container .notice .notice-content { font-size: 0.875rem; color: #666; } .container .goods-list .good-child { display: flex; overflow: hidden; padding: 0.875rem; background: #fff; border-radius: 0.625rem; margin-bottom: 0.625rem; } .container .goods-list .good-child .good-img { width: 7rem; height: 7rem; flex-shrink: 0; overflow: hidden; border-radius: 0.375rem; } .container .goods-list .good-child .good-img image { width: 100%; height: 100%; } .container .goods-list .good-child .good-info { flex: 1; display: flex; justify-content: space-between; flex-direction: column; text-align: left; overflow: hidden; padding: 0 0.75rem; } .container .goods-list .good-child .good-info .good-title { font-size: 1rem; line-height: 1.5rem; height: 3.125rem; font-weight: bold; color: #333; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; } .container .goods-list .good-child .good-info .goods-purchased { display: flex; height: 1.5rem; line-height: 1.5rem; color: #666; } .container .goods-list .good-child .good-info .goods-purchased .buyer-imgs { margin: 0 0.5rem; } .container .goods-list .good-child .good-info .goods-purchased .buyer-imgs image { width: 1.5rem; height: 1.5rem; border-radius: 50%; overflow: hidden; margin-left: -0.5rem; } .container .goods-list .good-child .good-info .good-buy { display: flex; } .container .goods-list .good-child .good-info .good-buy .good-price { font-size: 0.75rem; font-weight: bold; display: flex; align-items: center; flex: 1; color: #f14e4e; } .container .goods-list .good-child .good-info .good-buy .good-price .price { font-size: 1.125rem; } .container .goods-list .good-child .good-info .good-buy .select .option-text-btn { background: #f14e4e; font-size: 0.75rem; color: #fff; padding: 0 0.25rem; height: 1.375rem; line-height: 1.375rem; border-radius: 0.25rem; position: relative; } .container .goods-list .good-child .good-info .good-buy .select .option-text-btn .num { position: absolute; top: -12px; right: -8px; border-radius: 1rem; background: #f14e4e; height: 1rem; line-height: 1rem; padding: 0 0.25rem; font-size: 12px; box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.5); } .container .goods-list .good-child .good-info .good-buy .select { display: flex; flex-shrink: 0; } .container .goods-list .good-child .good-info .good-buy .select .iconfont { background: #f14e4e; color: #fff; width: 1.25rem; height: 1.25rem; text-align: center; line-height: 1.25rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; } .container .buy-log { background: #fff; border-radius: 0.625rem; color: #333; } .container .buy-log .buy-log-title { display: flex; align-items: center; justify-content: center; padding: 1rem 0; } .container .buy-log .buy-log-title .decoration { display: flex; align-items: center; } .container .buy-log .buy-log-title .decoration .line { width: 2.5rem; border-bottom: 1px solid #f14e4e; } .container .buy-log .buy-log-title .decoration .circle-o { border-radius: 50%; border: 1px solid #f14e4e; height: 0.625rem; width: 0.625rem; } .container .buy-log .buy-log-title .decoration .circle { border-radius: 50%; border: 1px solid #f14e4e; height: 0.625rem; width: 0.625rem; background: #f14e4e; } .container .buy-log .buy-log-title .left-decoration .circle { margin-left: -5px; } .container .buy-log .buy-log-title .right-decoration .circle { margin-right: -5px; } .container .buy-log .buy-log-title .title { margin: 0 0.875rem; color: #202020; font-size: 1rem; } .container .buy-log .log-list { padding: 0 0.875rem; } .container .buy-log .log-list .list { display: flex; align-items: center; text-align: left; padding-bottom: 0.75rem; font-size: 0.75rem; } .container .buy-log .log-list .list .index { width: 2rem; } .container .buy-log .log-list .list .avatar { width: 1.5rem; height: 1.5rem; border-radius: 50%; margin: 0; margin-right: 0.5rem; } .container .buy-log .log-list .list .order-info { display: flex; flex-direction: column; flex: 1; overflow: hidden; } .container .buy-log .log-list .list .order-info view { width: 100%; line-height: 1.125rem; overflow: hidden; /* 超出部分隐藏 */ text-overflow: ellipsis; /* 超出部分显示省略号 */ white-space: nowrap; /* 规定段落中的文本不进行换行 */ } .container .buy-log .log-list .list .order-time { display: flex; line-height: 1.125rem; flex-direction: column; } .container .float-nav { position: fixed; left: 0.875rem; bottom: 4.875rem; } .container .float-nav .nav-child { width: 2.5rem; height: 2.5rem; border-radius: 50%; background-color: #fff; box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.12); display: flex; flex-direction: column; align-items: center; justify-content: center; margin-bottom: 0.625rem; font-size: 0.625rem; color: #333; } .container .float-nav .nav-child icon { font-size: 1rem; height: 1.4rem; display: flex; color: #f14e4e; } .container::after { content: ""; width: 100%; z-index: -1; height: 7.5rem; position: absolute; left: 0%; top: 0; border-radius: 0 0 100% 100%; background: #f14e4e; } .bottom-car { position: fixed; left: 0; bottom: -1px; width: 100%; height: 4.5rem; display: flex; align-items: center; background-image: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 19%); } .bottom-car .car-box { border: 1px solid #f14e4e; border-radius: 1.5rem; display: flex; align-items: center; height: 3rem; line-height: 3rem; width: 90%; margin: 0 auto; overflow: hidden; } .bottom-car .car-box.endstyle { background: #d8d8d8; border-color: #d8d8d8; color: #fff; text-align: center; font-size: 1.25rem; display: block; } .bottom-car .car-box .car-num { width: 50%; text-align: left; color: #f14e4e; display: flex; font-size: 1.125rem; } .bottom-car .car-box .car-num-box { position: relative; width: 3rem; text-align: center; display: flex; justify-content: center; } .bottom-car .car-box .car-num-box .carnum-style { position: absolute; height: 1rem; right: 0; top: 5px; line-height: 1rem; background: #f14e4e; border-radius: 1rem; color: #fff; padding: 0 0.25rem; font-size: 0.75rem; } .bottom-car .car-box .car-num icon { display: flex; width: 1.5rem; font-size: 1.5rem; } .bottom-car .car-box .car-num .small-price { font-size: 0.75rem; } .bottom-car .car-box .car-add { flex: 1; text-align: center; background-color: #f14e4e; color: #fff; } .wrapper { border-radius: 30rpx; display: flex; align-items: center; justify-content: center; } .block { position: relative; width: 600rpx; height: 736rpx; border-radius: 15px; background-color: #fff; padding: 20rpx; text-align: left; } .choose-title { color: #878787; padding: 20rpx; border-bottom: solid 1px #f5f5f5; } .choose-content { height: 550rpx; overflow-y: scroll; } .radio-title { font-size: 16px; font-weight: bold; } .radio-list { padding: 20rpx; } .radio-item { padding: 20rpx 0; border-bottom: solid 1px #f5f5f5; } .buttons { display: flex; position: absolute; bottom: 20rpx; width: 95%; } .button-item { flex: 1; display: flex; align-items: center; } .button-content { margin: 0 auto; width: 200rpx; height: 60rpx; line-height: 60rpx; text-align: center; border-radius: 20rpx; border: solid 1px #b5b5b5; background: #fff; } .button-content.red { color: #fff; background-color: #f15353; border: none; }