ソースを参照

Merge branch 'feature-private' into 'PrivateRelease'

style update

See merge request crowd-2019/crowd-test-service-front!172
wangjin 4 年 前
コミット
25c36737f4
1 ファイル変更10 行追加13 行削除
  1. 10 13
      src/components/commons/HomeSlice.vue

+ 10 - 13
src/components/commons/HomeSlice.vue

@@ -1,6 +1,6 @@
 <template>
   <div class="home-slice" :style="{backgroundImage: 'url('+ home_background_url +')'}">
-    <el-row style="padding-top: 40px">
+    <el-row style="padding: 40px">
       <div class="slice-wrapper">
         <div class="slice-title">{{ title }}</div>
         <div class="slice-info">
@@ -8,10 +8,10 @@
           <span class="txt">{{ subtitle }}</span>
           <span class="line"></span>
         </div>
-        <div>
-          <el-button class="crowd-btn publish-btn" @click="goToCreateProject">发布项目</el-button>
-          <el-button class="crowd-btn participate-btn" @click="goToCreateTask">参与众测</el-button>
-        </div>
+<!--        <div>-->
+<!--          <el-button class="crowd-btn publish-btn" @click="goToCreateProject">发布项目</el-button>-->
+<!--          <el-button class="crowd-btn participate-btn" @click="goToCreateTask">参与众测</el-button>-->
+<!--        </div>-->
       </div>
     </el-row>
   </div>
@@ -110,13 +110,6 @@ export default {
   color: $--color-title-color;
 }
 
-.slice-info {
-  font-size: 16px;
-  font-family: Source Han Sans CN;
-  color: $--color-publish-background;
-  letter-spacing: 8px;
-}
-
 .slice-btn {
   display: flex;
   margin-top: 5px;
@@ -125,10 +118,14 @@ export default {
   font-weight: 400;
 }
 .slice-info {
+  font-size: 16px;
+  font-family: Source Han Sans CN;
+  color: $--color-publish-background;
+  letter-spacing: 8px;
   height: 30px;
   line-height: 30px;
-  font-size: 24px;
   text-align: center;
+  margin-top: 10px;
 }
 .slice-info .line {
   display: inline-block;