Bladeren bron

update styles/common.scss

vbea 1 jaar geleden
bovenliggende
commit
cfb2a17b57
1 gewijzigde bestanden met toevoegingen van 38 en 0 verwijderingen
  1. 38 0
      WebApp-Lite/styles/common.scss

+ 38 - 0
WebApp-Lite/styles/common.scss

@@ -1,5 +1,43 @@
 html {
   background-color: #f7f7f7;
+  .uni-modal {
+    width: 75%;
+    max-width: 350px;
+    padding-bottom: 16rpx;
+    border-radius: 32rpx;
+    .uni-modal__title {
+      font-size: 32rpx;
+      font-weight: bold;
+      padding-top: 32rpx;
+    }
+    .uni-modal__bd {
+      color: #666;
+      word-break: break-word;
+    }
+  }
+  .uni-modal__ft {
+    padding: 32rpx;
+    align-items: center;
+    &::after {
+      display: none;
+    }
+    .uni-modal__btn {
+      font-size: 28rpx;
+      font-weight: bold;
+      border-radius: 30px;
+      &.uni-modal__btn_default {
+        margin-right: 24rpx;
+        background-color: #EDEDED;
+      }
+      &.uni-modal__btn_primary {
+        color: #000 !important;
+        background-color: var(--primary-color);
+        &::after {
+          display: none;
+        }
+      }
+    }
+  }
 }
 view, text {
   vertical-align: middle;