Browse Source

Update index.module.less

lex 8 months ago
parent
commit
790481d4f6
1 changed files with 131 additions and 123 deletions
  1. 131 123
      src/business-components/user-detail/index.module.less

+ 131 - 123
src/business-components/user-detail/index.module.less

@@ -1,123 +1,131 @@
-.userDetail {
-  .banner {
-    width: 100%;
-    height: 212px;
-    overflow: hidden;
-    vertical-align: middle;
-  }
-
-  .userInfo {
-    overflow: hidden;
-
-    .avatar {
-      width: 40px;
-      height: 40px;
-      border-radius: 50%;
-      overflow: hidden;
-      flex-shrink: 0;
-    }
-
-    .name {
-      padding-left: 8px;
-      font-size: 16px;
-      font-weight: 500;
-      color: #333333;
-      line-height: 22px;
-      display: flex;
-      align-items: center;
-    }
-    .username {
-      max-width: 100px;
-      white-space: nowrap;
-      text-overflow: ellipsis;
-      overflow: hidden;
-      .userHonor {
-        width: 39px;
-        height: 16px;
-        margin-top: 4px;
-        margin-right: 6px;
-      }
-    }
-
-    .buyNum {
-      color: #ff802c;
-      font-size: 14px;
-      text-align: right;
-      margin-top: 8px;
-    }
-
-    .buyNumInfo {
-      font-size: 14px;
-      line-height: 20px;
-      color: #ff802c;
-      .iconBuy {
-        margin-right: 5px;
-      }
-    }
-
-    .info {
-      font-size: 16px;
-      font-weight: 600;
-      color: var(--van-primary);
-      line-height: 20px;
-      color: #fa6400;
-      .infoPrice {
-        font-size: 16px;
-        font-weight: bold;
-      }
-      .infoNum {
-        font-size: 14px;
-        color: #999;
-        font-weight: 400;
-      }
-    }
-
-    .userTitle {
-      font-size: 18px;
-      color: #1a1a1a;
-      font-weight: 500;
-      display: block !important;
-    }
-    :global {
-      .van-cell {
-        padding: 12px 14px;
-        align-items: center;
-      }
-      .van-cell__title {
-        display: flex;
-        align-items: center;
-      }
-
-      .van-cell__value {
-        display: flex;
-        flex-direction: column;
-        justify-content: space-between;
-      }
-
-      .van-cell__label {
-        margin-top: 0;
-      }
-    }
-  }
-
-  .buyTips {
-    font-size: 12px;
-    color: #ff8900;
-    padding: 3px 10px !important;
-    background: #ffefe0;
-    border-radius: 6px;
-    margin: 0 14px 12px;
-    width: auto;
-    span {
-      line-height: 21px;
-      color: #ff8900;
-    }
-  }
-}
-
-.iconTeacher {
-  margin-top: 3px;
-  margin-right: 6px;
-  width: 39px;
-  height: 16px;
-}
+.userDetail {
+  .banner {
+    width: 100%;
+    height: 212px;
+    overflow: hidden;
+    vertical-align: middle;
+  }
+
+  .userInfo {
+    overflow: hidden;
+
+    .avatar {
+      width: 40px;
+      height: 40px;
+      border-radius: 50%;
+      overflow: hidden;
+      flex-shrink: 0;
+    }
+
+    .name {
+      padding-left: 8px;
+      font-size: 16px;
+      font-weight: 500;
+      color: #333333;
+      line-height: 22px;
+      display: flex;
+      align-items: center;
+    }
+
+    .username {
+      max-width: 100px;
+      white-space: nowrap;
+      text-overflow: ellipsis;
+      overflow: hidden;
+
+      .userHonor {
+        width: 39px;
+        height: 16px;
+        margin-top: 4px;
+        margin-right: 6px;
+      }
+    }
+
+    .buyNum {
+      color: #ff802c;
+      font-size: 14px;
+      text-align: right;
+      margin-top: 8px;
+    }
+
+    .buyNumInfo {
+      font-size: 14px;
+      line-height: 20px;
+      color: #ff802c;
+
+      .iconBuy {
+        margin-right: 5px;
+      }
+    }
+
+    .info {
+      font-size: 16px;
+      font-weight: 600;
+      color: var(--van-primary);
+      line-height: 20px;
+      color: #FF0000;
+
+      .infoPrice {
+        font-size: 16px;
+        font-weight: bold;
+      }
+
+      .infoNum {
+        font-size: 14px;
+        color: #999;
+        font-weight: 400;
+      }
+    }
+
+    .userTitle {
+      font-size: 18px;
+      color: #1a1a1a;
+      font-weight: 500;
+      display: block !important;
+    }
+
+    :global {
+      .van-cell {
+        padding: 12px 14px;
+        align-items: center;
+      }
+
+      .van-cell__title {
+        display: flex;
+        align-items: center;
+      }
+
+      .van-cell__value {
+        display: flex;
+        flex-direction: column;
+        justify-content: space-between;
+      }
+
+      .van-cell__label {
+        margin-top: 0;
+      }
+    }
+  }
+
+  .buyTips {
+    font-size: 12px;
+    color: #ff8900;
+    padding: 3px 10px !important;
+    background: #ffefe0;
+    border-radius: 6px;
+    margin: 0 14px 12px;
+    width: auto;
+
+    span {
+      line-height: 21px;
+      color: #ff8900;
+    }
+  }
+}
+
+.iconTeacher {
+  margin-top: 3px;
+  margin-right: 6px;
+  width: 39px;
+  height: 16px;
+}