123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150 |
- @font-face {
- font-family: 'iconfont'; /* Project id 1702958 */
- src: url('https://at.alicdn.com/t/c/font_1702958_8sqv1klrrkm.woff2?t=1701676243273') format('woff2'),
- url('https://at.alicdn.com/t/c/font_1702958_8sqv1klrrkm.woff?t=1701676243273') format('woff'),
- url('https://at.alicdn.com/t/c/font_1702958_8sqv1klrrkm.ttf?t=1701676243273') format('truetype');
- }
- .iconfont{
- font-family: iconfont;
- font-size: 28rpx;
- }
- page {
- background-color: $uni-bg-color-grey;
- height: 100%;
- font-size: $uni-font-size-base;
- line-height: $uni-line-height-base;
- font-family: PingFangSC-Medium, PingFang SC,SF UI Text,Roboto;
- color: $uni-text-color;
- }
- //分割线
- .b-b{
- position: relative;
- &::after {
- content: '';
- position: absolute;
- bottom: 0;
- left: 0;
- background: $uni-border-color;
- width: 100%;
- height: 1px;
- -webkit-transform: scaleY(0.5);
- transform: scaleY(0.5);
- -webkit-transform-origin: 0 0;
- transform-origin: 0 0;
- }
- }
- .b-t{
- position: relative;
- &::before {
- content: '';
- position: absolute;
- top: 0;
- left: 0;
- background: $uni-border-color;
- width: 100%;
- height: 1px;
- -webkit-transform: scaleY(0.5);
- transform: scaleY(0.5);
- -webkit-transform-origin: 0 0;
- transform-origin: 0 0;
- }
- }
-
- //按钮
- .pub-button {
- min-width: 120rpx;
- height: 72rpx;
- font-size: 32rpx;
- border-radius: 36rpx;
- padding: 0 32rpx;
- @include flex-center;
- color: $uni-color-primary;
- border: 1px solid $uni-color-primary;
- .iconfont{
- font-size: 24rpx;
- margin-right: 8rpx;
- }
- &:hover{
- border: 1px solid $uni-color-primary-deep;
- color: $uni-color-primary-deep;
- }
- &.disabled{
- color: #fff;
- background-color: $uni-text-color-disable;
- border-color: $uni-text-color-disable;
- }
- //带背景
- &.is-bg{
- background-color: $uni-color-primary;
- color: #FFFFFF;
- border: none;
- &:hover{
- background-color: $uni-color-primary-deep;
- }
- &.disabled{
- background-color: $uni-color-primary-light;
- }
- }
- &.is-grey{
- color: $uni-text-color-grey;
- border: 1px solid $uni-text-color-grey;
- &:hover{
- border: 1px solid $uni-text-color;
- color: $uni-text-color;
- }
- &.disabled{
- color: #fff;
- background-color: $uni-text-color-disable;
- border-color: $uni-text-color-disable;
- }
- }
- &.is-square{
- border-radius: 0;
- }
- &.large{
- /*大按钮*/
- min-width: 160rpx;
- height: 96rpx;
- font-size: 36rpx;
- color: #fff;
- border-radius: 48rpx;
- /* padding: 0 32rpx;*/
- margin: 16rpx 32rpx;
- .iconfont{
- font-size: 36rpx;
- margin-right: 16rpx;
- }
- }
- &.small{
- /* 小按钮*/
- min-width: 88rpx;
- height: 56rpx;
- font-size: 28rpx;
- color: #fff;
- border-radius: 28rpx;
- padding: 0 16rpx;
- }
- &+.pub-button{
- margin-left: 16rpx;
- }
- }
- /*tab页*/
- .pub-tabs{
- height: 88rpx;
- padding: 0 24rpx;
- @include flex;
- .pub-tab{
- flex : 1;
- }
- }
- .flex-1{
- flex:1;
- }
|