xuqiang 4 лет назад
Родитель
Сommit
2b737906e5

+ 1 - 3
src/main/pc-space/src/components/PageHeader.vue

@@ -57,9 +57,7 @@ export default {
     computed: {
         ...mapState(['userInfo']),
         avatarBox() {
-            return this.userInfo.avatar
-                ? this.userInfo.avatar
-                : 'https://zhirongip.oss-cn-hangzhou.aliyuncs.com/image/2021-06-30-17-02-42uzAOUPcw.jpeg';
+            return this.userInfo.avatar;
         },
         type() {
             return this.userInfo.authorities.find(item => {

+ 5 - 33
src/main/pc-space/src/views/user/Modifypad.vue

@@ -10,7 +10,7 @@
             <div class="content">
                 <el-form
                     :label-position="labelPosition"
-                    label-width="343px"
+                    label-width="287px"
                     :model="ruleForm"
                     ref="form"
                     :rules="rules"
@@ -107,42 +107,11 @@ export default {
 </script>
 
 <style lang="less" scoped>
-/deep/ .el-steps {
-    margin-left: 385px;
-}
-/deep/.el-step:nth-child(1) {
-    .el-step__icon {
-        background: linear-gradient(143deg, #00ffcb 0%, #006eff 100%, #006eff 100%);
-        color: #ffffff;
-        border: 0;
-    }
-}
-/deep/.el-step:nth-child(2) {
-    .el-step__icon {
-        background: #c8c9cc;
-        color: #ffffff;
-        border: 0;
-    }
-}
-/deep/.el-step:nth-child(3) {
-    .el-step__icon {
-        background: #c8c9cc;
-        color: #ffffff;
-        border: 0;
-    }
-}
-/deep/ .el-step__title.is-process {
-    font-weight: 400;
-    color: #939599;
-}
-/deep/ .el-step__title.is-wait {
-    color: #939599;
-}
 .container {
     .btn {
         display: flex;
         justify-content: center;
-        margin: 80px 0 0 110px;
+        margin-top: 80px;
         .btn2 {
             width: 130px;
             height: 36px;
@@ -162,6 +131,9 @@ export default {
         background: linear-gradient(133deg, #00ffcb 0%, #006eff 100%);
         border-radius: 4px;
     }
+    /deep/ .el-form-item__error {
+        margin-left: 174px;
+    }
     /deep/ .el-step__title {
         font-size: 13px;
     }