浏览代码

style update

wangjinjin0520 4 年之前
父节点
当前提交
910a810be5
共有 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;