page, body { -webkit-touch-callout: none; -webkit-text-size-adjust: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); -webkit-user-select: none; background-color: #F6F6F6; outline: 0; margin: 0; border: 0; padding: 0; font-size: 28upx; } * { box-sizing: border-box; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; -webkit-font-smoothing: antialiased; outline: none; } .icon-waypoint { font-size: $font-md; height: $padding-lg; width: $padding-lg; min-width: $padding-lg; max-width: $padding-lg; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; } .icon-start { color: $color-white; background-color: $color-primary; box-shadow: 0 4px 8px -4px $color-primary; } .icon-pass { color: $color-text-minor; background-color: $color-minor; box-shadow: 0 4px 8px -4px $color-text-caption; } .icon-end { color: $color-white; background-color: $color-secondary; box-shadow: 0 4px 8px -4px $color-secondary; } .border-light { &::after { content: ""; pointer-events: none; /* 防止点击触发 */ box-sizing: border-box; position: absolute; width: 200%; height: 200%; left: 0; top: 0; border: 1upx solid #f0f0f0; transform: scale(0.5); transform-origin: 0 0; } &er::after { width: 400%; height: 400%; transform: scale(0.25); } &-b::after { position: absolute; content: ''; width: 100%; left: 0; bottom: 0; height: 1upx; background-color: #f0f0f0; transform: scaleY(0.5); transform-origin: center bottom; } } .truncate { overflow : hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; } .nowrap { white-space: nowrap; word-break: break-all; } .clear-button { margin: 0; padding: 0; line-height: 1.5; text-align: left; font-size: inherit; color: inherit; &::after { border: none; } } .view-item { display: flex; font-size: 30upx; &__label { color: $color-text-minor; padding-right: 30upx; white-space: nowrap; word-break: break-all; box-sizing: border-box; } &__value { display: flex; flex: auto; color: $color-text; white-space: normal; word-break: break-word; } } .button-submit { flex: auto; padding: $padding-md; color: $color-white; font-size: $font-md; height: 80upx; border-radius: 40upx; box-sizing: border-box; display: flex; align-items: center; justify-content: center; background: $color-primary; box-shadow: $shadow-normal &::after { border: none; } &.active { background: $linear-primary-active; } &.disabled { background: #ccc; } &.success { background: $color-green; } } /* 空白省略号 */ .ellipsis { width: 100%; overflow: hidden; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .checkbox { width: $padding-md * 1.2; height: $padding-md * 1.2; &__wrapper { border-radius: 100%; width: $padding-md * 1.2; height: $padding-md * 1.2; box-sizing: border-box; border: 1upx solid $color-text-placeholder; display: inline-flex; align-items: center; justify-content: center; &--selected { background-color: $u-primary; border: 1upx solid $u-primary; } } } .link { color: $color-primary; } .color-primary { color: $color-primary; } .color-red { color: $color-red; } .color-orange { color: $color-zy-orange; } .color-placeholder { color: $color-text-placeholder; }