xuqiang vor 4 Jahren
Ursprung
Commit
a032f4e437

+ 17 - 13
src/main/pc-space/src/styles/list.less

@@ -114,19 +114,23 @@
                 color: #939599;
                 line-height: 24px;
             }
-            .follow {
-                width: 70px;
-                height: 26px;
-                color: @prim;
-                font-size: 14px;
-                border-radius: 16px;
-                border: 1px solid;
-                text-align: center;
-                line-height: 26px;
-                // &::before {
-                //     color: red;
-                // }
-            }
+              .el-button {
+                  background-color: transparent;
+                  min-width: 76px;
+                  height: 28px;
+
+                  &.prim {
+                      .line(@radius: 28px);
+                      border: 0;
+                      text-align: center;
+
+                      /deep/span {
+                          color: @prim;
+                          position: relative;
+                          z-index: 1;
+                      }
+                  }
+              }
         }
     }
 }

+ 12 - 2
src/main/pc-space/src/views/Casting.vue

@@ -49,9 +49,19 @@
                         <div class="text3">{{ item.followers }}</div>
                         <div class="text4">粉丝</div>
                     </div>
-                    <div class="follow" :class="{ followed: item.follow }" @click.prevent="like(item)">
+                    <el-button
+                        style="color: #939599"
+                        plain
+                        round
+                        :class="{ prim: !item.follow }"
+                        size="mini"
+                        @click="like(item)"
+                    >
                         {{ item.follow ? '已关注' : '关注' }}
-                    </div>
+                    </el-button>
+                    <!-- <div class="follow" :class="{ followed: item.follow }" @click.prevent="like(item)">
+                        {{ item.follow ? '已关注' : '关注' }}
+                    </div> -->
                 </div>
             </router-link>
 

+ 1 - 0
src/main/pc-space/src/views/user/AccountData.vue

@@ -52,6 +52,7 @@
                                         </div>
                                     </div>
                                     <el-button
+                                        style="color: #939599"
                                         plain
                                         round
                                         :class="{ prim: !item.follow }"

+ 1 - 0
src/main/pc-space/src/views/user/Authentication.vue

@@ -50,6 +50,7 @@ export default {
     .title {
         height: 42px;
         font-size: 32px;
+        font-family: ZhenyanGB-Regular, ZhenyanGB;
         font-weight: 400;
         color: #ffffff;
         line-height: 42px;

+ 1 - 0
src/main/pc-space/src/views/user/EnterpriseAuthentication.vue

@@ -307,6 +307,7 @@ export default {
         height: 42px;
         font-size: 32px;
         font-weight: 400;
+        font-family: ZhenyanGB-Regular, ZhenyanGB;
         color: #ffffff;
         line-height: 42px;
         padding: 60px 0;

+ 1 - 0
src/main/pc-space/src/views/user/Modifypad.vue

@@ -201,6 +201,7 @@ export default {
         height: 42px;
         font-size: 32px;
         font-weight: 400;
+        font-family: ZhenyanGB-Regular, ZhenyanGB;
         color: #ffffff;
         line-height: 42px;
         padding: 60px 0;

+ 1 - 0
src/main/pc-space/src/views/user/Security.vue

@@ -191,6 +191,7 @@ export default {
         font-size: 32px;
         font-weight: 400;
         color: #ffffff;
+        font-family: ZhenyanGB-Regular, ZhenyanGB;
         line-height: 42px;
         padding: 60px 0;
     }

+ 1 - 0
src/main/pc-space/src/views/user/Transaction.vue

@@ -194,6 +194,7 @@ export default {
         font-weight: 400;
         color: #ffffff;
         line-height: 42px;
+        font-family: ZhenyanGB-Regular, ZhenyanGB;
         padding: 60px 0;
     }
     .box {

+ 1 - 0
src/main/pc-space/src/views/user/UserAuthentication.vue

@@ -227,6 +227,7 @@ export default {
         height: 42px;
         font-size: 32px;
         font-weight: 400;
+        font-family: ZhenyanGB-Regular, ZhenyanGB;
         color: #ffffff;
         line-height: 42px;
         padding: 60px 0;