123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886 |
- /* pages/room/room.wxss */
- Page {
- height: 100%;
- width: 100%;
- background-color: #413668;
- }
- scroll-view {
- height: 100%;
- }
- /* head */
- .head-l-0, .head-l-1, .head-l-2, .head-l-3, .head-l-4, .head-s-0, .head-s-1, .head-s-2, .head-s-3, .head-s-4 {
- align-items: center;
- display: flex;
- height: 48rpx;
- width: 100%;
- }
- .head-l-1, .head-l-2, .head-l-3, .head-l-4 {
- margin-top: 30rpx;
- }
- .take-part {
- position: absolute;
- right: 20rpx;
- font-size: 24rpx;
- color: white;
- line-height: 48rpx;
- text-align: right;
- }
- .take-part-view {
- display: flex;
- margin-left: 20rpx;
- margin-right: auto;
- flex-direction: row;
- width: 100%;
- }
- .take-part-avatar {
- /* margin-top: -48rpx; */
- background: #413668;
- display: flex;
- border-radius: 24rpx;
- width: 48rpx;
- height: 48rpx;
- margin-right: 28rpx;
- }
- .sponsor-icon {
- width: 88rpx;
- height: 80rpx;
- margin-left: auto;
- }
- /* before */
- /* sponsor */
- .sponsor {
- display: flex;
- flex-direction: column;
- margin: -320rpx 20rpx auto;
- height: 316rpx;
- /* background: linear-gradient(#262421, #32302C); */
- border-radius: 32rpx;
- overflow:hidden;
- }
- .sponsor-bg {
- display: flex;
- margin: 82rpx 20rpx 0rpx;
- width: 710rpx;
- height: 320rpx;
- border-radius: 32rpx;
- }
- .sponsor-title {
- margin-top: 60rpx;
- font-size: 48rpx;
- text-align: center;
- color: #bfbdff;
- }
- .sponsor-name {
- margin-top: 4rpx;
- font-size: 40rpx;
- text-align: center;
- color: #bfbdff;
- font-weight: bold;
- }
- /* avatar */
- .avatar-bg {
- position: absolute;
- left: 50%;
- margin-left: -94rpx;
- top: 70rpx;
- width: 188rpx;
- height: 188rpx;
- border-radius: 94rpx;
- background-color: #312950;
- }
- .avatar-middle {
- position: absolute;
- left: 12rpx;
- top: 12rpx;
- width: 164rpx;
- height: 164rpx;
- border-radius: 82rpx;
- background-color: white;
- }
- .avatar {
- position: absolute;
- left: 18rpx;
- top: 18rpx;
- width: 152rpx;
- height: 152rpx;
- border-radius: 76rpx;
- background-color: white;
- }
- /* answer */
- .answer {
- flex-direction: column;
- min-height: 720rpx;
- background-color: white;
- border-radius: 20rpx;
- position: absolute;
- left: 20rpx;
- right: 20rpx;
- top: 466rpx;
- bottom: 0rpx;
- margin-bottom: 20rpx;
- }
- .answer-bonus-bg {
- display: flex;
- width: 100%;
- height: 100rpx;
- }
- .answer-bonus-text-bg {
- flex-direction: row;
- display: flex;
- align-items: center;
- background-color: #8176de;
- border-radius: 12rpx;
- height: 100rpx;
- margin:-50rpx auto 0px;
- }
- .answer-bonus-big {
- display: flex;
- font-size: 52rpx;
- color: white;
- font-weight: bold;
- }
- .answer-bonus-small {
- margin-top: 13rpx;
- display: flex;
- font-size: 28rpx;
- color: white;
- }
- .answer-count-down-bg {
- align-items: center;
- display: flex;
- flex-direction: column;
- position: absolute;
- width: 100%;
- top: 50rpx;
- bottom: 244rpx;
- }
- .answer-count-down-view {
- position: absolute;
- top: 50%;
- margin-top: -85rpx;
- width: 100%;
- height: 170rpx;
- }
- .answer-count-down-title {
- text-align: center;
- font-size: 24rpx;
- color: #8176de;
- }
- .answer-count-down {
- display: flex;
- flex-direction: row;
- width: 100%;
- }
- .answer-count-down-n {
- font-size: 120rpx;
- color: #8176de;
- font-weight: 300;
- margin-left: auto;
- }
- .answer-count-down-u {
- font-size: 24rpx;
- color: #8176de;
- margin-top: 100rpx;
- margin-right: auto;
- }
- .answer-bottom-view {
- display: flex;
- flex-direction: column;
- position: absolute;
- width: 100%;
- height: 244rpx;
- bottom: 0px;
- }
- .answer-bottom-button-bg {
- display: flex;
- flex-direction: column;
- color: white;
- text-align: center;
- line-height: 92rpx;
- margin: 0px 64rpx;
- height: 92rpx;
- border-radius: 46rpx;
- background: linear-gradient(to left, #625AF7, #DD7FFF);
- box-shadow: 0rpx 4rpx 10rpx #D2B3FF;
- }
- .answer-bottom-button {
- width: 100%;
- height: 92rpx;
- margin-top: -92rpx;
- }
- .answer-bottom-tips-f, .answer-bottom-tips-s {
- font-size: 26rpx;
- color: #999999;
- text-align: center;
- }
- .answer-bottom-tips-f {
- margin-top: 26rpx;
- }
- .answer-bottom-tips-s {
- margin-top: 8rpx;
- }
- /* after */
- /* sponsor */
- .sponsor-begin {
- display: flex;
- flex-direction: column;
- margin: 62rpx 20rpx 0rpx;
- height: 152rpx;
- background: linear-gradient(#30284f, #413668);
- border-radius: 32rpx;
- overflow:hidden;
- }
- .sponsor-begin-name {
- margin-top: -8rpx;
- font-size: 32rpx;
- text-align: center;
- color: #bfbdff;
- }
- /* avatar */
- .avatar-begin-bg {
- position: absolute;
- left: 50%;
- margin-left: -54rpx;
- top: 58rpx;
- width: 108rpx;
- height: 108rpx;
- border-radius: 54rpx;
- background-color: #322a52;
- }
- .avatar-begin-middle {
- position: absolute;
- left: 8rpx;
- top: 8rpx;
- width: 92rpx;
- height: 92rpx;
- border-radius: 46rpx;
- background-color: white;
- }
- .avatar-begin {
- position: absolute;
- left: 12rpx;
- top: 12rpx;
- width: 84rpx;
- height: 84rpx;
- border-radius: 42rpx;
- background-color: white;
- }
- /* answer */
- .answer-begin {
- display: flex;
- flex-direction: column;
- min-height: 906rpx;
- background-color: white;
- border-radius: 20rpx;
- position: absolute;
- left: 20rpx;
- right: 20rpx;
- top: 282rpx;
- bottom: 0rpx;
- margin-bottom: 20rpx;
- }
- .answer-begin-bonus-bg {
- display: flex;
- width: 100%;
- height: 68rpx;
- }
- .answer-begin-bonus-text-bg {
- flex-direction: row;
- display: flex;
- align-items: center;
- background-color: #8176de;
- border-radius: 12rpx;
- height: 68rpx;
- margin:-34rpx auto 0px;
- }
- .answer-begin-bonus-big {
- display: flex;
- font-size: 44rpx;
- color: white;
- font-weight: bold;
- }
- .answer-begin-bonus-small {
- margin-top: 10rpx;
- display: flex;
- font-size: 24rpx;
- color: white;
- /* font-weight: lighter */
- }
- .answer-begin-question-type-bg {
- display: flex;
- margin: -4rpx auto 0px;
- width: 388rpx;
- height: 116rpx;
- }
- .answer-begin-question-type {
- color: white;
- font-size: 40rpx;
- text-align: center;
- margin-top: -96rpx;
- }
- .answer-begin-num, .answer-begin-last {
- color: #8176de;
- font-size: 64rpx;
- text-align: center;
- margin-top: 54rpx;
- }
- .answer-begin-num {
- letter-spacing: 10rpx;
- }
- .answer-begin-double-score {
- display: flex;
- margin: 24rpx auto 0px;
- width: 500rpx;
- height: 80rpx;
- }
- .answer-num {
- font-size: 32rpx;
- color: #666666;
- text-align: center;
- margin-top: -10rpx;
- }
- .answer-begin-count-down-bg {
- margin-top: 18rpx;
- display: flex;
- flex-direction: row;
- }
- .answer-begin-count-down {
- background-color: #ECF9FF;
- margin: 0px auto;
- border-radius: 31rpx;
- display: flex;
- flex-direction: row;
- }
- .answer-begin-count-down-text {
- color: #00afff;
- font-size: 36rpx;
- text-align: center;
- line-height: 62rpx;
- height: 62rpx;
- margin: 0px 20rpx;
- }
- .answer-question-bg {
- display: flex;
- flex-direction: column;
- height: 186rpx;
- width: 100%;
- margin-top: -186rpx;
- }
- .answer-question {
- line-height: 46rpx;
- text-align: center;
- font-size: 34rpx;
- margin-top: auto;
- margin-bottom: auto;
- color: #333333;
- }
- .answer-options-bg {
- display: flex;
- flex-direction: column;
- margin-left: 34rpx;
- margin-right: 34rpx;
- margin-top: 186rpx;
- height: 190rpx;
- /* background-color: blueviolet; */
-
- }
- .answer-options-row-top, .answer-options-row-bottom {
- display: flex;
- flex-direction: row;
- height: 80rpx;
- width: 100%;
- }
- .answer-options-row-bottom {
- margin-top: 30rpx;
- }
- .answer-options-left-w, .answer-options-right-w, .answer-options-left-t, .answer-options-right-t, .answer-options-left-f, .answer-options-right-f, .answer-options-left-q, .answer-options-right-q,
- .answer-options-left-s, .answer-options-right-s {
- display: flex;
- flex-direction: column;
- width: 46%;
- height: 100%;
- border-radius: 40rpx;
- }
- .answer-options-left-w, .answer-options-right-w {
- background: linear-gradient( #F7FCFF, #E7F7FF);
- box-shadow: 0rpx 4rpx 4rpx #D3F2FF;
- }
- .answer-options-left-s, .answer-options-right-s {
- background: linear-gradient(to right, #3edcff, #3fbaff);
- box-shadow: 0rpx 4rpx 4rpx #D3F2FF;
- }
- .answer-options-right-w, .answer-options-right-s,.answer-options-right-t, .answer-options-right-f {
- margin-left: auto;
- }
- .answer-options-left-t, .answer-options-right-t {
- background: linear-gradient(to right, #81C43F, #1EC41F);
- box-shadow: 0rpx 4rpx 8rpx #A5E293;
- }
- .answer-options-left-f, .answer-options-right-f {
- background: linear-gradient(to right, #FF856C, #FF4F89);
- box-shadow: 0rpx 4rpx 8rpx #FFAFB8;
- }
- .answer-options-left-q, .answer-options-right-q {
- background-color: #F2F2F2;
- }
- .answer-options-right-q {
- margin-left: auto;
- }
- .answer-options-w, .answer-options-t, .answer-options-f, .answer-options-q, .answer-options-s {
- font-size: 28rpx;
- text-align: center;
- margin-top: auto;
- margin-bottom: auto;
- }
- .answer-options-w {
- color: #262626;
- }
- .answer-options-t, .answer-options-f {
- color: white;
- font-weight: bold;
- }
- answer-options-s, {
- color: white;
- }
- .answer-options-q {
- color: #878787;
- }
- /* result */
- .result-ranking {
- font-size: 36rpx;
- font-weight: bold;
- color: #262626;
- text-align: center;
- margin-top: 30rpx;
- }
- .result-middle-bg {
- width: 100%;
- height: 228rpx;
- display: flex;
- flex-direction: column;
- }
- .result-bonus-bg {
- display: flex;
- flex-direction: row;
- margin-top: 20rpx;
- width: 100%;
- }
- .result-bonus {
- margin-left: auto;
- margin-right: auto;
- display: flex;
- flex-direction: row;
- }
- .result-bonus-big {
- color: #FC454C;
- font-size: 68rpx;
- font-weight: bold;
- }
- .result-bonus-small {
- margin-top: 35rpx;
- color: #FC454C;
- font-size: 32rpx;
- font-weight: bold;
- }
- .result-tips {
- font-size: 26rpx;
- color: #535353;
- margin-top: 20rpx;
- text-align: center;
- /* font-weight: lighter; */
- }
- .result-false-img {
- width: 100%;
- height: 198rpx;
- margin-top: auto;
- margin-bottom: 0px;
- }
- .result-share {
- display: flex;
- flex-direction: column;
- font-size: 34rpx;
- color: white;
- text-align: center;
- line-height: 92rpx;
- margin-left: 96rpx;
- margin-right: 96rpx;
- height: 92rpx;
- border-radius: 46rpx;
- background: linear-gradient(to left, #625AF7, #DD7FFF);
- box-shadow: 0rpx 4rpx 8rpx #D2B3FF;
- }
- .result-share-button {
- width: 100%;
- height: 92rpx;
- margin-top: -92rpx;
- }
- .result-share-tips {
- font-size: 24rpx;
- color: #783CE6;
- text-align: center;
- line-height: 72rpx;
- margin-top: 28rpx;
- background-color: #F0F0FE;
- }
- .result-share-bg {
- position: absolute;
- top: 0rpx;
- left: 50%;
- margin-left: -355rpx;
- width: 710rpx;
- height: 662rpx;
- }
- .result-share-double-bg, .result-share-add-bg {
- position: absolute;
- top: 211rpx;
- left: 65rpx;
- width: 580rpx;
- height: 240rpx;
- }
- .result-share-double {
- position: absolute;
- text-align: center;
- font-weight: bold;
- width: 100%;
- top: 305rpx;
- font-size: 108rpx;
- background: linear-gradient(to right, #FFB259, #FC5F62);
- -webkit-background-clip: text;
- color: transparent;
- }
- .result-add-cell-bg {
- position: absolute;
- display: flex;
- flex-direction: row;
- width: 100%;
- top: 290rpx;
- }
- .result-add-cell {
- margin-left: auto;
- font-size: 108rpx;
- font-weight: bold;
- background: linear-gradient(to right, #FFB259, #FC5F62);
- -webkit-background-clip: text;
- color: transparent;
- }
- .result-add-cell-unit {
- margin-top: 48rpx;
- margin-right: 180rpx;
- font-size: 60rpx;
- color: #FC5F62;
- }
- /* ranking */
- .ranking-bg {
- /* position: absolute; */
- margin-left: 24rpx;
- margin-right: 24rpx;
- margin-bottom: 14rpx;
- margin-top: auto;
- /* left: 24rpx;
- right: 24rpx;
- bottom: 14rpx;
- height: auto; */
- display: flex;
- flex-direction: column;
- }
- .ranking-row {
- display: flex;
- flex-direction: row;
- width: 100%;
- height: 44rpx;
- margin-bottom: 16rpx;
- }
- .ranking {
- width: 311rpx;
- height: 44rpx;
- border-color: #E5E5E5;
- border-style: solid;
- border-width: 1rpx;
- border-radius: 23rpx;
- display: flex;
- flex-direction: row;
- box-sizing: border-box;
- /* background-color: red; */
- }
- .ranking-avatar {
- margin-left: -1px;
- margin-top: -1rpx;
- width: 44rpx;
- height: 44rpx;
- border-radius: 22rpx;
- /* background-color: red; */
- }
- .ranking-num {
- font-size: 28rpx;
- font-weight: 300;
- margin-left: 8rpx;
- line-height: 44rpx;
- color: #6D6D6D;
- }
- .ranking-name {
- font-size: 22rpx;
- overflow: hidden;
- width: 110rpx;
- font-weight: 300;
- margin-left: 10rpx;
- line-height: 44rpx;
- height: 44rpx;
- color: #878787;
- }
- .ranking-count {
- margin-left: auto;
- margin-right: 12rpx;
- font-size: 22rpx;
- font-weight: 300;
- line-height: 44rpx;
- right: 12rpx;
- text-align: right;
- color: #F9723F;
- }
- .ranking-self-view {
- position: absolute;
- width: 662rpx;
- height: 44rpx;
- /* right: 36rpx; */
- bottom: 30rpx;
- display: flex;
- flex-direction: row;
- }
- .ranking-self-bg {
- /* position: absolute; */
- width: 311rpx;
- height: 44rpx;
- /* border-color: white;
- border-style: solid;
- border-width: 1rpx;
- padding-left: 1rpx;
- padding-right: 1rpx; */
- /* margin-left:47%; */
- /* right: 36rpx;
- bottom: 30rpx; */
- /* margin-left: auto; */
- margin-left: auto;
- margin-right: 0px;
- /* margin-right: auto; */
- border-radius: 22rpx;
- display: flex;
- flex-direction: row;
- background: linear-gradient(to right, #3edcff, #3fbaff);
- box-shadow: 0rpx 4rpx 8rpx #c3ecfe;
- }
- .ranking-self {
- margin-bottom: auto;
- margin-top: auto;
- margin-left: 1px;
- width: 40rpx;
- height: 40rpx;
- border-radius: 20rpx;
- background-color: white;
- font-size: 24rpx;
- line-height: 40rpx;
- text-align: center;
- color: #17abf1;
- }
- /* animation */
- .animation-l, .animation-s {
- position: absolute;
- top: 382rpx;
- left: 50%;
- margin-left: -355rpx;
- width: 710rpx;
- height: 662rpx;
- }
- .animation-l {
- top: 530rpx;
- }
- /* 遮罩 */
- .animation-answer-bg {
- position: absolute;
- /* top: 382rpx; */
- left: 50%;
- margin-left: -355rpx;
- width: 710rpx;
- height: 662rpx;
- opacity: 0;
- /* background-color: red; */
- }
- /* 光 */
- .animation-answer-right-bg {
- position: absolute;
- top: 104rpx;
- width: 100%;
- height: 352rpx;
- display: flex;
- flex-direction: row;
- }
- .animation-answer {
- margin: auto auto auto;
- width: 0px;
- height: 0px;
- /* background-color: red; */
- }
- .animation-answer-star-bg {
- position: absolute;
- top: 214rpx;
- width: 100%;
- height: 204rpx;
- display: flex;
- flex-direction: row;
- }
- .animation-answer-hook {
- position: absolute;
- width: 112rpx;
- height: 88rpx;
- top: 240rpx;
- left: 50%;
- margin-left: -56rpx;
- opacity: 0;
- }
- .animation-answer-count {
- position: absolute;
- width: 100%;
- color: white;
- font-size: 36rpx;
- text-align: center;
- top: 328rpx;
- opacity: 0;
- }
- .animation-answer-false-bg-l, .animation-answer-false-bg-s {
- position: absolute;
- left: 50%;
- margin-left: -355rpx;
- top: 382rpx;
- width: 710rpx;
- height: 662rpx;
- }
- .animation-answer-false-bg-l {
- top: 530rpx;
- }
- .animation-answer-false-l, .animation-answer-false-s {
- position: absolute;
- left: 50%;
- margin-left: -175rpx;
- top: 500rpx;
- width: 350rpx;
- height: 350rpx;
- }
- .animation-answer-false-l {
- top: 650rpx;
- }
|