浏览代码

pc首页调整

James 4 年之前
父节点
当前提交
451e9d3c07
共有 1 个文件被更改,包括 17 次插入2 次删除
  1. 17 2
      src/pages/index/index.vue

+ 17 - 2
src/pages/index/index.vue

@@ -1,6 +1,7 @@
 <template>
   <div class="wrapper">
     <div class="bgimg">
+      <div class="title">主办单位:中共珠海市委党史学习教育领导小组办公室中共珠海市委宣传部</div>
       <div class="con">
         <div class="btn" @click="enter">
           <span class="btn-txt">点击进入</span>
@@ -48,16 +49,30 @@ export default {
     height: 100%;
     background: url("../../assets/images/index-bg.png") no-repeat center center;
     background-size: 100% 100%;
+    .title {
+        position: relative;
+        top:42%;
+        width: 30vw;
+        margin:0 auto;
+        font-size: 24px;
+        font-family: Source Han Sans CN;
+        font-weight: bold;
+        line-height: 41px;
+        color: #FCD67B;
+        opacity: 1;
+        text-align: center;
+
+     }
     .con {
       left: 50%;
-      top: 25%;
+      top: 45%;
       width: 20%;
       height: 10%;
       margin-left: -10%;
       position: relative;
       .btn {
         margin: 0 auto;
-        margin-top: 15vw;
+        margin-top: 0vw;
         width: 100%;
         height: 74px;
         line-height: 74px;