Browse Source

修改首页往期回顾

asd123a20 1 year ago
parent
commit
68ba45da90
2 changed files with 3 additions and 2 deletions
  1. 2 1
      src/views/Home.vue
  2. 1 1
      vue.config.js

+ 2 - 1
src/views/Home.vue

@@ -66,7 +66,7 @@
             <p class="year" :class="{ year2: mous == index }">{{ item.year }}</p>
             <p class="date" :class="{ date2: mous == index }">{{ item.term }}</p>
             <p class="title" :class="{ title2: mous == index }">{{ item.title }}</p>
-            <p class="text" :class="{ text2: mous == index }">{{ item.slug }}</p>
+            <!-- <p class="text" :class="{ text2: mous == index }">{{ item.slug }}</p> -->
             <p class="yes" :class="{ yes2: mous == index }">✔</p>
           </div>
         </div>
@@ -394,6 +394,7 @@ export default {
         .year {
           color: #eb4f38;
           font-size: 1.5em;
+          margin-top: 14%;
         }
         .title {
           margin-top: 5px;

+ 1 - 1
vue.config.js

@@ -8,7 +8,7 @@ module.exports = {
     port: 4000,
     proxy: {
       '/api/': {
-        target: 'http://localhost:7001'
+        target: 'http://localhost:18099'
         // target: 'http://192.168.4.1:7001'
       },
       '/filespath/resource/': {