6 次代码提交 d4f446b303 ... db13f20177

作者 SHA1 备注 提交日期
  James db13f20177 Merge branch 'james' 4 年之前
  James 70e42a3ebb 213 4 年之前
  James 8bc10095bf 小调整 4 年之前
  James b2bf9809a2 林伟民与中国早期工人运动史迹陈列馆 党史精读连接 更换 4 年之前
  James b084b97b4e cards页面左右箭头 4 年之前
  James 157aa381ce 小调整 4 年之前
共有 4 个文件被更改,包括 16 次插入13 次删除
  1. 二进制
      src/assets/images/mobile-index-bg.jpg
  2. 0 0
      src/assets/images/mobile-index-bg1.png
  3. 6 5
      src/components/swCard/index.vue
  4. 10 8
      src/pages/index/index.vue

二进制
src/assets/images/mobile-index-bg.jpg


src/assets/images/mobile-index-bg.png → src/assets/images/mobile-index-bg1.png


文件差异内容过多而无法显示
+ 6 - 5
src/components/swCard/index.vue


+ 10 - 8
src/pages/index/index.vue

@@ -1,12 +1,14 @@
 <template>
   <div class="wrapper">
     <div class="bgimg">
-      <div class="title">主办单位:中共珠海市委党史学习教育领导小组办公室中共珠海市委宣传部</div>
+      
       <div class="con">
         <div class="btn" @click="enter">
           <span class="btn-txt">点击进入</span>
         </div>
       </div>
+      <div v-if="!isMobile" class="title">中共珠海市委党史学习教育领导小组办公室</div>
+      <div v-if="!isMobile" class="title">中共珠海市委宣传部</div>
     </div>
   </div>
 </template>
@@ -51,10 +53,10 @@ export default {
     background-size: 100% 100%;
     .title {
         position: relative;
-        top:42%;
+        top:70%;
         width: 30vw;
         margin:0 auto;
-        font-size: 24px;
+        font-size: 1.5vw;
         font-family: Source Han Sans CN;
         font-weight: bold;
         line-height: 41px;
@@ -95,14 +97,14 @@ export default {
 @media screen and (max-width: 1024px) {
   .wrapper {
     .bgimg {
-      background: url("../../assets/images/mobile-index-bg.png") no-repeat center center;
+      background: url("../../assets/images/mobile-index-bg.jpg") no-repeat center center;
       background-size: 100% 100%;
       .title {
-        position: relative;
-        top:40%;
+        position:relative;
+        top:35vw;
         width: 75vw;
         margin:0 auto;
-        font-size: 14px;
+        font-size: 12px;
         font-family: Source Han Sans CN;
         font-weight: bold;
         line-height: 20px;
@@ -114,7 +116,7 @@ export default {
       .con {
         width: 80%;
         left: 50%;
-        top:0;
+        top:10%;
         margin-left: -40%;
         margin-top:100%;
         .btn {