123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251 |
- // @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');
- // }
- /* 在线链接服务仅供平台体验和调试使用,平台不承诺服务的稳定性,企业客户需下载字体包自行发布使用并做好备份。 */
- @font-face {
- font-family: 'iconfont'; /* Project id 4578928 */
- src: url('https://at.alicdn.com/t/c/font_4578928_be33xvc312o.woff2?t=1732012135978') format('woff2'),
- url('https://at.alicdn.com/t/c/font_4578928_be33xvc312o.woff?t=1732012135978') format('woff'),
- url('https://at.alicdn.com/t/c/font_4578928_be33xvc312o.ttf?t=1732012135978') format('truetype'),
- url('https://at.alicdn.com/t/c/font_4578928_be33xvc312o.svg?t=1732012135978#iconfont') format('svg');
- }
- .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: $uni-font-size-lg;
- line-height: $uni-line-height-lg;
- 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: $uni-font-size-xl;
- line-height: $uni-line-height-xl;
- color: #fff;
- border-radius: 48rpx;
- /* padding: 0 32rpx;*/
- margin: 16rpx 0;
- .iconfont{
- font-size: 36rpx;
- margin-right: 16rpx;
- }
- }
- &.small{
- /* 小按钮*/
- min-width: 88rpx;
- height: 56rpx;
- font-size: $uni-font-size-base;
- line-height: $uni-line-height-base;
- 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;
- }
- .uni-mask{
- background: rgba(0, 0, 0, 0.4);
- }
- .uni-picker-toggle{
- border-radius: 16rpx 16rpx 0 0;
- }
- .uni-picker-container{
- .uni-picker-header{
- height: 96rpx;
- border-bottom: 1px solid $uni-border-color;
- .uni-picker-action{
- font-size: $uni-font-size-xl;
- line-height: $uni-line-height-xl;
- @include flex;
- padding: 0 32rpx;
-
- &.uni-picker-action-cancel{
- color: $uni-text-color!important;
- }
- &.uni-picker-action-confirm{
- color: $uni-color-primary;
- }
- }
- }
-
- .uni-picker-view-wrapper{
- padding: 0 32rpx;
- .uni-picker-view-indicator{
- height: 96rpx;
-
- }
- .uni-picker-view-indicator:after, .uni-picker-view-indicator:before{
- color: $uni-border-color;
- }
-
- .uni-picker-item{
- color: $uni-text-color;
- font-size: $uni-font-size-xxl;
- line-height: $uni-line-height-xxl;
- height: 96rpx;
- @include flex-center;
- }
- }
- }
- .uni-forms-item{
- margin-bottom: 40rpx!important;
- }
- // toast提示框
- uni-toast{
- display: flex;
- justify-content: center;
- }
- .uni-toast{
- font-size: $uni-font-size-base;
- line-height: $uni-line-height-base;
- width: auto;
- margin: 0 72rpx;
- border-radius: 16rpx;
- left: auto;
- transform: translate(0, -50%);
- background: $uni-text-color;
- .uni-toast__icon{
- width: 64rpx!important;
- height: 64rpx!important;
- margin-top: 32rpx;
- margin-bottom: 8rpx;
-
- }
- .uni-toast__content{
- margin:0 48rpx 32rpx;
- @include text-ellipsis-2;
- }
- }
- .uni-sample-toast{
- border-radius: 16rpx;
- left: auto;
- transform: translate(0, -50%);
- background: $uni-text-color;
- .uni-simple-toast__text{
- font-size: $uni-font-size-base;
- line-height: $uni-line-height-base;
- margin:32rpx 48rpx ;
- padding: 0;
- @include text-ellipsis-2;
- background-color: transparent;
- }
- }
|