|
@@ -207,4 +207,45 @@ page {
|
|
|
|
|
|
.uni-forms-item{
|
|
.uni-forms-item{
|
|
margin-bottom: 40rpx!important;
|
|
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;
|
|
|
|
+ }
|
|
}
|
|
}
|