| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327 |
- .g-tabs {
- --van-tabs-nav-background: transparent;
- --van-border-width: 0;
- --van-tabs-default-color: var(--color-info);
- .van-tab {
- &--active {
- --van-tab-font-size: 16px;
- --van-tabs-default-color: transparent;
- color: var(--color-primary);
- }
- &--shrink {
- padding: 0;
- padding-right: 24px;
- }
- }
- }
- .g-layout {
- &.flex {
- display: flex;
- }
- &-block {
- padding-top: 12px;
- padding-bottom: 12px;
- &+& {
- padding-top: 0;
- }
- &--inset {
- padding-left: var(--van-padding-md);
- padding-right: var(--van-padding-md);
- }
- }
- }
- .g-price {
- &-normal {
- color: var(--color-default);
- }
- &-up {
- color: var(--color-up);
- }
- &-down {
- color: var(--color-down);
- }
- }
- .g-form {
- &__container {
- display: flex;
- flex-direction: column;
- /* 相邻兄弟元素 */
- .van-cell-group--inset+.van-cell-group--inset {
- margin-top: 12px;
- }
- .van-field {
- &__right-icon {
- align-self: normal;
- }
- &__control {
- &--custom {
- gap: 8px;
- }
- }
- .van-stepper {
- display: flex;
- align-items: center;
- width: 100%;
- &__input {
- flex: 1;
- }
- }
- }
- }
- &__footer {
- display: flex;
- align-items: center;
- gap: 10px;
- padding: var(--van-padding-md);
- }
- }
- .g-flex {
- display: flex;
- align-items: center;
- gap: 10px;
- }
- .g-detail-table {
- table {
- width: 100%;
- background-color: var(--block-background);
- border-radius: 6px;
- padding: 12px;
- &:not(:first-child) {
- margin-top: 12px;
- }
- td,
- th {
- line-height: 1.5;
- text-align: left;
- padding: 4px;
- &:last-child:not(:first-child) {
- text-align: right;
- }
- >span {
- display: block;
- }
- }
- tfoot {
- td {
- text-align: right;
- button {
- min-width: 60px;
- &+button {
- margin-left: 10px;
- }
- }
- }
- }
- .text-small {
- font-size: 12px;
- font-weight: normal;
- color: var(--color-info);
- }
- .van-checkbox {
- display: inline-flex;
- }
- }
- &--inset {
- padding: var(--van-padding-md);
- table {
- background-color: #1c1c1e;
- border-bottom-width: 0;
- border-radius: 8px;
- }
- }
- }
- .g-detail-list {
- table {
- width: 100%;
- line-height: 1.7;
- background-color: var(--block-background);
- border-radius: 6px;
- padding: 12px;
- &:not(:first-child) {
- margin-top: 12px;
- }
- tbody {
- font-size: 13px;
- td {
- &:last-child {
- text-align: right;
- }
- }
- }
- tfoot {
- text-align: right;
- td {
- padding-top: 10px;
- button {
- min-width: 60px;
- &+button {
- margin-left: 10px;
- }
- }
- }
- }
- }
- .text-small {
- font-size: 12px;
- color: var(--color-info);
- }
- }
- .g-dialog-message {
- line-height: 1.6;
- &__header {
- text-align: left;
- padding: 0 15px;
- margin-bottom: 10px;
- h4 {
- font-weight: bold;
- }
- span {
- display: block;
- font-size: 12px;
- font-weight: normal;
- color: #999;
- }
- }
- &__content {
- max-height: 50vh;
- word-break: break-all;
- overflow-y: auto;
- padding: 0 15px;
- }
- &__footer {
- display: flex;
- justify-content: center;
- padding: 10px;
- span {
- &:not(:first-child) {
- margin-left: 10px;
- }
- &.disabled {
- color: #999;
- }
- }
- }
- }
- .g-account-total {
- display: flex;
- flex-direction: column;
- &__inner {
- color: #0d121b;
- background: linear-gradient(to top, #F7941D 0%, #F7941D 24%, #F8BB49 76%, #F8BB49 100%);
- border-radius: 10px;
- padding: 12px;
- }
- &__header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- }
- &__title {
- display: flex;
- align-items: center;
- img {
- margin-left: 8px;
- }
- }
- &__info {
- span {
- margin-left: 10px;
- }
- }
- &__balance {
- flex: 1;
- font-size: 36px;
- font-weight: bold;
- text-align: center;
- padding: 32px 0;
- }
- &__footer {
- ul {
- display: flex;
- li {
- flex: 1;
- text-align: center;
- &:first-child {
- border-right: 1px solid #DF8D1E;
- }
- &:first-child:nth-last-child(n+3),
- &:first-child:nth-last-child(n+3)~li:first-child {
- text-align: left;
- }
- &:last-child:nth-child(n+3),
- &:last-child:nth-last-child(n+3)~li:last-child {
- text-align: right;
- border-left: 1px solid #DF8D1E;
- }
- span {
- display: block;
- &:first-child {
- color: rgba(13, 18, 27, 0.7);
- margin-bottom: 6px;
- }
- }
- }
- }
- }
- }
|