123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402 |
- @import './style/iconfont.less';
- @import './style/hn.less';
- /**app.wxss**/
- // .container {
- // height: 100%;
- // display: flex;
- // flex-direction: column;
- // align-items: center;
- // justify-content: space-between;
- // padding: 200rpx 0;
- // box-sizing: border-box;
- // }
- // BEGIN GLOBAL
- page {
- box-sizing: border-box;
- padding-bottom: calc(constant(safe-area-inset-bottom) + 96rpx);
- padding-bottom: calc(env(safe-area-inset-bottom) + 96rpx);
- --td-error-color: #da3276;
- .t-button--danger {
- background-color: var(--td-error-color);
- border: 1px solid var(--td-error-color);
- }
- }
- .page-wrap {
- display: flex;
- height: 100vh;
- flex-direction: column;
- .page-content {
- flex: 1;
- overflow: auto;
- }
- .page-footer {
- flex-shrink: 0;
- }
- }
- .page-loading {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- width: 100vw;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- // END GLOBAL
- // BEGIN TDESIGN
- .t-button--primary {
- background: #333 !important;
- color: #fff;
- }
- .btn-gray-plain {
- &.t-button--text {
- color: #999;
- }
- }
- // END TDESIGN
- // BEGIN BOOTSTRAP
- .text-black {
- color: #333 !important;
- }
- .w-100 {
- width: 100%;
- }
- .h-100 {
- height: 100%;
- }
- .round {
- border-radius: 50%;
- }
- .text-center {
- text-align: center;
- }
- .text-right {
- text-align: right;
- }
- .text-light {
- font-weight: lighter;
- }
- .text-bold {
- font-weight: bold;
- }
- .text-single {
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- }
- .gray-1 {
- color: #333 !important;
- }
- .gray-2 {
- color: #555 !important;
- }
- .gray-3 {
- color: #777 !important;
- }
- .gray-4 {
- color: #999 !important;
- }
- @fontsizes: 24rpx, 28rpx, 32rpx, 36rpx, 40rpx, 44rpx;
- @fontsizeNames: xs, sm, md, lg, xl, xxl;
- .FontSize(1,6);
- .FontSize(@index, @maxIndex) when (@maxIndex >= @index) {
- @fontname: extract(@fontsizeNames, @index);
- .text-@{fontname} {
- font-size: extract(@fontsizes, @index) !important;
- }
- .FontSize(@index + 1, @maxIndex);
- }
- .overflow-auto {
- overflow: auto;
- }
- .overflow-hidden {
- overflow: hidden;
- }
- button.clear {
- padding: 0;
- line-height: 1;
- background: transparent;
- &::after {
- border: 0;
- }
- }
- image.clear {
- image-rendering: -moz-crisp-edges; /* Firefox */
- image-rendering: -o-crisp-edges; /* Opera */
- image-rendering: -webkit-optimize-contrast; /* Safari */
- image-rendering: optimize-contrast; /* CSS3 Proposed */
- image-rendering: crisp-edges; /* CSS4 Proposed */
- // image-rendering: pixelated; /* CSS4 Proposed */
- -ms-interpolation-mode: nearest-neighbor; /* IE8+ */
- }
- .imagewrap {
- clear: both;
- image {
- float: left;
- }
- }
- .image {
- width: 100%;
- }
- .d-flex {
- display: flex;
- }
- .flex-1 {
- flex: 1;
- }
- .shrink-0 {
- flex-shrink: 0;
- }
- .flex-column {
- flex-direction: column;
- }
- .flex-row {
- flex-direction: row;
- }
- .flex-wrap {
- flex-wrap: wrap;
- }
- .align-items-center {
- align-items: center;
- }
- .align-items-stretch {
- align-items: stretch;
- }
- .align-items-start {
- align-items: flex-start;
- }
- .align-items-end {
- align-items: flex-end;
- }
- .align-self-stretch {
- align-self: stretch;
- }
- .justify-content-center {
- justify-content: center;
- }
- .justify-content-space-between {
- justify-content: space-between;
- }
- .justify-content-space-around {
- justify-content: space-around;
- }
- .justify-content-space-around {
- justify-content: space-around;
- }
- .justify-content-space-around {
- justify-content: space-around;
- }
- .justify-content-end {
- justify-content: flex-end;
- }
- @sizes: 0px, 5px, 8px, 12px, 16px, 25px, 30px, 50px;
- .MarginPadding(0, 8);
- .MarginPadding(@index, @maxIndex) when (@maxIndex > @index) {
- .m-@{index} {
- margin: extract(@sizes, @index + 1) !important;
- }
- .mx-@{index} {
- margin-left: extract(@sizes, @index + 1) !important;
- margin-right: extract(@sizes, @index + 1) !important;
- }
- .my-@{index} {
- margin-top: extract(@sizes, @index + 1) !important;
- margin-bottom: extract(@sizes, @index + 1) !important;
- }
- .ml-@{index} {
- margin-left: extract(@sizes, @index + 1) !important;
- }
- .mr-@{index} {
- margin-right: extract(@sizes, @index + 1) !important;
- }
- .mt-@{index} {
- margin-top: extract(@sizes, @index + 1) !important;
- }
- .mb-@{index} {
- margin-bottom: extract(@sizes, @index + 1) !important;
- }
- .p-@{index} {
- padding: extract(@sizes, @index + 1) !important;
- }
- .px-@{index} {
- padding-left: extract(@sizes, @index + 1) !important;
- padding-right: extract(@sizes, @index + 1) !important;
- }
- .py-@{index} {
- padding-top: extract(@sizes, @index + 1) !important;
- padding-bottom: extract(@sizes, @index + 1) !important;
- }
- .pl-@{index} {
- padding-left: extract(@sizes, @index + 1) !important;
- }
- .pr-@{index} {
- padding-right: extract(@sizes, @index + 1) !important;
- }
- .pt-@{index} {
- padding-top: extract(@sizes, @index + 1) !important;
- }
- .pb-@{index} {
- padding-bottom: extract(@sizes, @index + 1) !important;
- }
- .MarginPadding(@index + 1, @maxIndex);
- }
- .van-row {
- &::after {
- display: table;
- clear: both;
- content: '';
- }
- }
- .van-col {
- float: left;
- box-sizing: border-box;
- }
- .generate(24);
- .generate(@n, @i: 1) when (@i =< @n) {
- .van-col--@{i} {
- width: @i * (100% / 24);
- }
- .van-col--offset-@{i} {
- margin-left: @i * (100% / 24);
- }
- .generate(@n, (@i + 1));
- }
- .gendelay(24);
- .gendelay(@n, @i: 1) when (@i =< @n) {
- .delay-@{i} {
- animation-delay: @i * 0.1s !important;
- }
- .gendelay(@n, (@i + 1));
- }
- .defimage {
- width: 100%;
- height: 100%;
- }
- // END BOOTSTRAP
- .emptyblock {
- background-size: 128rpx 128rpx;
- background-position: center center;
- position: relative;
- display: block;
- &.wait {
- background-color: #efefef;
- background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/PjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+PHN2ZyB0PSIxNjgwNTc0NTI3MDY2IiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjIxMDY3IiB3aWR0aD0iMTI4IiBoZWlnaHQ9IjEyOCIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPjxwYXRoIGQ9Ik04MTkuMiA0MTQuNzJjMC0xMC4yNC05LjIxNi0xOS40NTYtMTkuNDU2LTE5LjQ1Nkg1MzEuNDU2Yy0xMC4yNCAwLTE5LjQ1NiA5LjIxNi0xOS40NTYgMTkuNDU2djM3Ljg4OGMwIDEwLjI0IDkuMjE2IDE5LjQ1NiAxOS40NTYgMTkuNDU2aDE4Mi4yNzJMNTE2LjA5NiA3MTQuNzUyczAgMS4wMjQtMS4wMjQgMS4wMjRjLTIuMDQ4IDMuMDcyLTQuMDk2IDcuMTY4LTQuMDk2IDExLjI2NHYzNy44ODhjMCAxMC4yNCA5LjIxNiAxOS40NTYgMTkuNDU2IDE5LjQ1NmgyNjkuMzEyYzEwLjI0IDAgMTku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gMCAxIDYuMTEyIDE5LjU4NGwtMS4zNDQgMi41NnoiIGZpbGw9IiNDNDlGNzQiIHAtaWQ9IjM3Mzg5Ij48L3BhdGg+PC9zdmc+);
- background-size: 88rpx 88rpx;
- }
- @keyframes fadeInOut {
- 0% {
- opacity: 0.5;
- }
- 60% {
- opacity: 1;
- }
- 100% {
- opacity: 0.5;
- }
- }
- }
- .reloadblock {
- width: 100vw;
- height: 80vh;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .randombtn {
- width: 174rpx;
- height: 46rpx;
- display: inline-block;
- transition: all 0.2s cubic-bezier(0.075, 0.82, 0.165, 1);
- image {
- width: 100%;
- height: 100%;
- float: left;
- }
- &-hover {
- opacity: 0.5;
- transform: scale3d(1, -1, 1);
- }
- }
|