body * { font-family: myFont; } .bg { position: relative; width: 100%; .turntable { position: absolute; top: 2.2rem; width: 100%; height: 3rem; display: flex; justify-content: center; align-items: center; > img { position: absolute; z-index: 10; } .yf1 { bottom: -0.25rem; right: 0.05rem; width: 0.2rem; } .yf2 { bottom: 0; right: 0.8rem; width: 0.1rem; } .yf3 { bottom: -0.41rem; right: 0.45rem; width: 0.25rem; } .yf4 { bottom: -0.3rem; right: 1.3rem; width: 0.25rem; } .yf5 { bottom: 0.15rem; left: 0.65rem; width: 0.25rem; transform: rotate(25deg); } .yf6 { top: 0.3rem; left: 0.4rem; width: 0.25rem; transform: rotate(-60deg); } .hx { top: 0.1rem; right: 0.7rem; width: 0.3rem; } .hux { top: 0.45rem; right: 0.3rem; width: 0.4rem; } .sl { top: 0.15rem; right: 0; width: 1rem; height: 0.5rem; z-index: 1; } .sl2 { bottom: -0.4rem; left: 0; width: 0.95rem; height: 0.5rem; z-index: 1; } .jx { bottom: 0.3rem; right: 0.02rem; width: 0.5rem; height: 0.06rem; z-index: 1; transform: rotate(180deg); } .down { top: -0.3rem; left: 50%; transform: translateX(-50%); width: 0.3rem; z-index: 1; } .titleText{ position: absolute; top: -0.6rem; left: 50%; transform: translateX(-50%); z-index: 1; font-size: .16rem; color: #12532d; } .turntable-body { width: 3rem; height: 3rem; position: relative; z-index: 9; div { position: absolute; width: 1.5rem; height: 1.5rem; line-height: 0.18rem; right: 0; bottom: 0; img{ width: 93%; position: absolute; top: -0.04rem; left: 0; } span{ overflow : hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin: 0 auto; position: absolute; top: 0rem; left: 0rem; width: 100%; text-align: right; padding: 0 .3rem 0 .5rem; box-sizing: border-box; } } } .round { animation: round 10s ease; animation-fill-mode: forwards; } .pointer { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -60%); width: 0.8rem; } } .dialog { width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); position: fixed; top: 0; left: 0; z-index: 999; display: flex; justify-content: center; align-items: center; .box { width: 3.1rem; height: 2.35rem; position: relative; display: flex; flex-flow: column nowrap; justify-content: center; align-items: center; .dialog-bg { position: absolute; top: -0.3rem; width: 100%; left: -0.05rem; z-index: -10; } .dialog-title { font-size: 0.18rem; span { font-family: Arial, Helvetica, sans-serif; } } .dialog-name { font-size: 0.18rem; margin: 0.05rem 0; } .qrCode { width: 0.8rem; display: block; } .lq { width: 1rem; } .desc { font-size: 0.12rem; font-family: Arial, Helvetica, sans-serif; color: rgba(160, 160, 160, 1); width: 85%; margin-top: .1rem; } } } .paper { width: 100%; position: absolute; top: 5.6rem; left: 0; .winningList { width: 2.8rem; height: 2.8rem; position: absolute; top: 0.8rem; left: 50%; transform: translateX(-50%); .title { display: flex; align-items: center; justify-content: center; img:nth-of-type(1) { width: 0.25rem; } img:nth-of-type(2) { width: 0.14rem; } span { font-size: 0.14rem; padding: 0 0.1rem; } } .list { overflow-x: hidden; overflow-y: scroll; height: 2.6rem; div { display: flex; align-items: center; justify-content: space-between; img { width: 0.18rem; height: 0.18rem; border-radius: 50%; } span:nth-of-type(1) { flex: 1; text-align: left; margin: 0.1rem 0.1rem; display: flex; flex-flow: column nowrap; div{ text-align: left; } div:nth-last-of-type(1){ font-family: initial; } } span:nth-of-type(2) { text-align: right; } // span:nth-of-type(1) { // text-align: left; // margin: .1rem; // width: 28%; // overflow: hidden; // text-overflow: ellipsis; // white-space: nowrap; // font-size: 12px; // } // span:nth-of-type(2) { // flex: 1; // margin: .1rem; // font-size: 12px; // } // span:nth-of-type(3) { // text-align: right; // width: 13%; // overflow: hidden; // text-overflow: ellipsis; // white-space: nowrap; // margin: .1rem; // font-size: 12px; // } } } } .rule { width: 2.8rem; height: 2.4rem; position: absolute; top: 3.8rem; left: 50%; transform: translateX(-50%); .title { display: flex; align-items: center; justify-content: center; margin-bottom: 0.2rem; img:nth-of-type(1) { width: 0.25rem; } img:nth-of-type(2) { width: 0.14rem; } span { font-size: 0.14rem; padding: 0 0.1rem; } } .content { div{ // white-space:pre-line; // text-align: left; // line-height: .18rem; } } } .bird { position: absolute; bottom: 0.55rem; left: 50%; transform: translateX(-50%); width: 1.2rem; } .quan1 { position: absolute; top: 1.1rem; left: 0; width: 0.28rem; } .quan2 { position: absolute; bottom: 4rem; right: -0.1rem; width: 0.28rem; } .bl1 { position: absolute; bottom: 2rem; right: 0rem; width: 0.5rem; height: 0.16rem; } .bl2 { position: absolute; bottom: 3.6rem; left: -0.1rem; width: 0.5rem; height: 0.16rem; } .jx2 { position: absolute; bottom: 0.3rem; left: 0; width: 0.8rem; z-index: 1; } } } .fade-enter-active, .fade-leave-active { transition: opacity .5s; } .fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ { opacity: 0; }