/* pages/discover/discover.wxss */ page { /* background: #000; */ } .tabs { position: fixed; top: 0; padding: 20rpx 0; left: 50%; transform: translateX(-50%); z-index: 2; } .tabs .item { height: 62rpx; display: inline-block; font-weight: bold; line-height: 48rpx; color: #FFFFFF; text-shadow: 1px 0px 2px rgba(0, 0, 0, 0.16); opacity: 0.5; font-size: 34rpx; position: relative; } .tabs .item:first-child { margin-right: 60rpx; } .tabs .item.active { opacity: 1; } .tabs .zw { z-index: 999; position: absolute; width: 80%; left: 50%; transform: translateX(-50%); bottom: 0; height: 2px; border-radius: 2px; background: #fff; display: none; } .tabs .item.active .zw { display: block; } .live-tabs { background-color: #fff; left: 0; width: 100%; transform: none; text-align: center; } .live-tabs .item { color: #131D34; opacity: 1; } .live-tabs .item.active { color: #0075DC; } .live-tabs .item.active .zw { background-color: #0075DC; } .live { position: fixed; z-index: 1; left: 0; top: 0; width: 100vw; height: 100vh; box-sizing: border-box; background: rgb(247,247,247); overflow-y: scroll; } .live .item:first-child { margin-top: 128rpx; } .live .item { height: 160px; border-radius: 12px; background-color: #fff; display: flex; margin: 0 30rpx 30rpx; } .live .cover { flex: 0 0 auto; height: 100%; width: 160px; position: relative; } .live .cover .img { width: 100%; height: 100%; } .live .cover .count { position: absolute; left: 20rpx; top: 20rpx; height: 28rpx; border-radius: 14rpx; background: rgba(0, 0, 0, 0.3); display: flex; align-items: center; } .live .cover .count .icon { width: 28rpx; height: 28rpx; } .live .cover .count .text { color: #fff; padding: 0 16rpx 0 4rpx; font-size: 18rpx; } .live .info { padding: 22rpx 30rpx; display: flex; flex-direction: column; justify-content: space-between; } .info .title { font-size: 30rpx; font-weight: bold; font-family: PingFang SC; line-height: 42rpx; color: #131D34; white-space: normal } .goods { display: flex; justify-content: space-between; } .good { width: 140rpx; height: 140rpx; border-radius: 4px; position: relative; } .good-cover { width: 100%; height: 100%; } .money { position: absolute; height: 32rpx; background: rgba(0, 0, 0, 0.3); text-align: center; line-height: 32rpx; font-size: 22rpx; color: #fff; bottom: 0; left: 0; width: 100%; } .bgd { position: fixed; left: 0; right: 0; top: 0; bottom: 0; z-index: 0; } .mo { position: fixed; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.6); z-index: 5; } .dialog { position: fixed; left: 10%; right: 10%; background-color: rgba(0,0,0,1); opacity: .9; color: #fff; z-index: 9999; border-radius: 5px; padding: 70rpx; } .concat-view { top: 20%; } .concat-view .icon { position: absolute; right: 6rpx; top: 6rpx; width: 27rpx; height: 27rpx; padding: 30rpx; } .concat-view .title { font-size: 36rpx; font-weight: bold; margin-bottom: 40rpx; } .concat-view .item:nth-last-child(1) { margin-top: 34rpx; } .concat-view .item .desc { line-height: 40rpx; text-align: center; font-size: 24rpx; } .invitation-view { top: 50%; transform: translateY(-50%); color:rgba(255,255,255,0.88); } .invitation-view .title { font-size: 36rpx; font-weight: bold; margin-bottom: 40rpx; } .invitation-view .content { font-size: 30rpx; line-height: 36rpx; margin-bottom: 40rpx; white-space:pre-wrap; } .invitation-view .btns { text-align: center; } .btn { width: 100%; background-color: #fff; border-radius: 4px; height: 90rpx; line-height: 90rpx; font-size: 36rpx; color: #131D34; text-align: center; padding: 0; } .bottom-dialog { position: fixed; top: 23%; bottom: -20px; padding-bottom: 20px; left: 0; right: 0; z-index: 99; background-color: #fff; border-radius: 14px 14px 0 0 !important; display: flex; flex-direction: column; } .bottom-dialog .title { flex: 0 0 auto; padding: 36rpx 32rpx; border-bottom: 1px solid rgb(236,236,236); position: relative; } .bottom-dialog .title .text { font-size: 32rpx; color: #131D34; font-weight: bold; } .bottom-dialog .icon { position: absolute; top: 50%; transform: translateY(-50%); width: 27rpx; height: 27rpx; padding: 32rpx; right: 0; } .commodity-view { /* position: fixed; top: 23%; bottom: 0; left: 0; right: 0; z-index: 99; background-color: #fff; border-radius: 14px 14px 0 0; */ display: flex; flex-direction: column; } .commodity-view .content { margin-top: 10rpx; flex: 1; padding: 0 32rpx; position: relative; /* display: flex; flex-direction: column; */ } .commodity-view .scene-icon { position: absolute; left: 2rpx; bottom: 2rpx; width: 40rpx; height: 40rpx; z-index: 3; } .commodity-view .c-tabs { flex: 0 0 auto; height: 76rpx; width: 100%; overflow-x: scroll; padding-bottom: 4px; position: relative; } .commodity-view .c-tabs .text { float: left; height: 76rpx; line-height: 76rpx; color: #131D34; font-size: 16px; margin-right: 10px; text-align: center; } .commodity-view .c-tabs .text.active { color: #0075DC; font-size: 16px; position: relative; } .commodity-view .c-tabs .text.active cover-view { position: absolute; bottom: 0; left: 0; right: 0; height: 4rpx; background-color: #0075DC; margin: 0 20rpx; } .commodity-view .current-tab { flex: 0 0 auto; height: 60rpx; margin-left: -32rpx; width: calc(100% + 64rpx); background-color: #F8F8F8; padding: 0 32rpx; line-height: 60rpx; font-size: 26rpx; color: #999999; } .commoditys { position: absolute; left: 32rpx; right: 32rpx; top: 76rpx; bottom: 0; height: calc(100% - 100rpx); overflow-y: scroll; } .commodity-item { margin-top: 34rpx; display: flex; align-items: center; position: relative; } .commodity-view .cover { flex: 0 0 auto; width: 180rpx; height: 180rpx; } .commodity-view .item-content { flex: 1; margin-left: 28rpx; } .commodity-view .item-content .desc { font-size: 14px; color: #131D34; line-height: 40rpx; white-space:pre-wrap; } .commodity-view .item-info { margin-top: 32rpx; display: flex; align-items: center; justify-content: space-between; height: 54rpx; } .commodity-view .item-info > .c-money { flex: 0 0 auto; } .commodity-view .item-info > .oper { flex: 1; text-align: right; position: relative; } .oper .lack { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 200rpx; height: 200rpx; } .commodity-view .c-money .text { display: inline; color: #0075DC; } .commodity-view .c-money .text:nth-child(1), .c-money .text:nth-child(3) { font-size: 24rpx; margin-right: 10rpx; vertical-align: baseline; } .commodity-view .c-money .text:nth-child(2) { font-size: 36rpx; vertical-align: baseline; } .oper-btn { display: inline-block; border-radius: 4px; height: 52rpx; line-height: 52rpx; padding: 0 16rpx !important; color: #fff; font-size: 24rpx; } .commodity-view .oper { height: 54rpx; display: flex; } .commodity-view .oper-btn:nth-child(1) { background-color: #FFCD3C; margin-right: 10rpx; } .commodity-view .oper-btn:nth-child(2) { background-color: #0075DC; } .coupon-view .layer { flex: 1; overflow-y: scroll; } .coupon-view .content { padding: 0 34rpx; } .coupon-item { height: 185rpx; padding-right:30rpx; background:#EF9B3A; border-radius:4px; margin-top: 34rpx; display: flex; position: relative; align-items: center; } .coupon-item .item-before, .coupon-item .item-after { position: absolute; border-radius: 50%; background-color: rgba(255,255,255,0.16); z-index: 1; } .coupon-item .item-before { width: 88rpx; height: 106rpx; left: 0; top: 0; transform: translate(-50%, -50%); } .coupon-item .item-after { width: 140rpx; height: 186rpx; right: 0; bottom: 0; transform: translate(40%, 50%); } .coupon-item .info-before, .coupon-item .info-after { position: absolute; background-color: #fff; z-index: 99; width: 40rpx; height: 40rpx; border-radius: 50%; right: 196rpx; transform: translateX(50%); } .coupon-item .info-before { top: 0; margin-top: -20rpx; } .coupon-item .info-after { bottom: 0; margin-bottom: -20rpx; } .coupon-item .o-money { flex: 0 0 auto; width: 230rpx; font-size: 138rpx; color: #fff; font-weight: bold; position: relative; /* height: 130rpx; line-height: 138rpx; */ text-align: center; box-sizing: border-box; display: flex; align-items: center; justify-content: center; overflow: auto; height: 138rpx; } .poa { width: 100%; text-align: center; font-size: 26rpx; } .coupon-item .used { position: absolute; z-index: 99; background-color: rgba(255,255,255,0.6); left: 0; right: 0; top: 0; bottom: 0; } .coupon-item .money-before { display: inline; font-size: 26rpx; /* width: 40rpx; height: 40rpx; text-align: center; line-height: 40rpx; border: 1px solid #EF9B3A; color:#EF9B3A; border-radius: 50%; position: absolute; bottom: 0; right: 0rpx; font-size: 26rpx; background-color: #fff; */ } .coupon-item .info { flex: 1; display: flex; flex-direction: column; padding: 25rpx 10rpx 10rpx; height: 92rpx; } .coupon-item .info .full { font-size: 30rpx; color: #fff; width: 100%; height: 52rpx; margin: 0; line-height: 32rpx; white-space: nowrap; text-overflow: ellipsis; } .coupon-item .info button { width: 168rpx; color: #EF533A; text-align: center; height: 38rpx; line-height: 32rpx; border-radius: 19rpx; font-size: 22rpx; margin: 10rpx 0; } .coupon-item .info .date { height: 28rpx; font-size: 16rpx; color: #fff; margin: 0; line-height: 22rpx; width: 100%; } .coupon-item .oper { flex: 0 0 auto; font-size: 34rpx; color: #fff; width: 166rpx; text-align: right; display: flex; align-items: center; justify-content: center; height: 100%; position: relative; } .coupon-item .oper .dotted { position: absolute; width: 1px; left: 0; top: 20%; height: 60%; z-index: 9999999; } .coupon-item .oper cover-view { z-index: 2; } .commodity-ctrl { position: fixed; bottom: 218rpx; right: 40rpx; width: 140rpx; height: 140rpx; border-radius: 50%; /* background:#0075DC; box-shadow:0px 1px 6px rgba(0,0,0,0.16); */ display: flex; flex-direction: column; align-items: center; justify-content: center; } .commodity-ctrl .bg { width: 130rpx; height: 130rpx; position: absolute; left: 50%; top: 50%; z-index: -1; transform: translate(-50%, -50%); } .commodity-ctrl .ig { width: 18px; height: 18px; } .commodity-ctrl cover-view { font-size: 20rpx; color: rgba(255,255,255,0.88); line-height: 26rpx; width: 100%; text-align: center; } .cancel { line-height: 86rpx; margin-top: 20rpx; background-color: rgba(0,0,0,0); color: #fff; border: 1px solid #fff; width: 100%; box-sizing: border-box; } .un-content { width: 100%; height: 100%; text-align: center; } .lay { margin-top: 180rpx; } .un-content cover-image { display: inline-block; width: 250rpx; height: 274rpx; } .un-content .text { color: #666C7D; font-size: 30rpx; margin-top: 40rpx; } .state { position: absolute; left: 0; top: 0; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; } .state cover-image { width: 88rpx; height: 88rpx; } .commodity-view .zz { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); z-index: 999; } .commodity-view .dialog-layer { position: absolute; left: 0; top: 0; width: 100%; padding: 0 32rpx 10rpx; box-sizing: border-box; background-color: #fff; z-index: 9999; } .commodity-view .dialog-layer .tabctrl { right: 32rpx; } .commodity-view .dialog-layer .dialog-tabs { padding-right: 86rpx; overflow: hidden; } .commodity-view .dialog-layer .dialog-tabs .text { float: left; width: calc(33% - 10rpx); text-align: center; padding: 14rpx 0; font-size: 24rpx; color: #131D34; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 4px; margin: 10rpx 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .commodity-view .dialog-layer .dialog-tabs .text.active { background-color: rgba(237, 93, 24, 1); border-color: rgba(237, 93, 24, 1); color: #fff; } .commodity-view .dialog-layer .dialog-tabs .text:nth-child(3n-1) { margin: 10rpx; } .commodity-view .tabctrl { position: absolute; right: 0; top: 0; height: 76rpx; width: 76rpx; color: #000; }