123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843 |
- /* 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: #ED5D18;
- }
- .live-tabs .item.active .zw {
- background-color: #ED5D18;
- }
- .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: #ED5D18;
- 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: #ED5D18;
- 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: #ED5D18;
- }
- .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: #ED5D18;
- }
- .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:rgba(237,93,24,1);
- 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;
- }
|