wjj il y a 4 ans
Parent
commit
485926c5f7
2 fichiers modifiés avec 9 ajouts et 10 suppressions
  1. 7 8
      src/pages/Homepage/Homepage.vue
  2. 2 2
      src/style/basic.scss

+ 7 - 8
src/pages/Homepage/Homepage.vue

@@ -44,14 +44,6 @@
 
     <div class="home-page container">
       <el-row :gutter="15">
-        <el-col :span="5" class="homepage-right-modules">
-          <LoginCard v-if="HOME_DISPLAY.login_card"/>
-          <HotCrowd :applicationTypeRank="homeDataNoCache.applicationTypeRank" v-if="HOME_DISPLAY.hot_crowd"/>
-          <HotAgency :agencyRank="homeDataNoCache.agencyRank" v-if="HOME_DISPLAY.hot_agency"/>
-          <HotUser :userRank="homeDataNoCache.userRank" v-if="HOME_DISPLAY.hot_user"/>
-          <HotContest :competitionList="homeData.competitionList" v-if="HOME_DISPLAY.hot_contest"/>
-        </el-col>
-
         <el-col :span="19" class="test-type-wrapper">
           <TestMenu :testTypeList="homeData.testTypeList" v-if="HOME_DISPLAY.test_menu && homeData.testTypeList"></TestMenu>
           <TestCard :applicationTypeList="homeData.applicationTypeList" v-if="HOME_DISPLAY.test_card && homeData.applicationTypeList"></TestCard>
@@ -59,6 +51,13 @@
             <ResourceAndTool :resourceList="homeDataNoCache.toolList && homeDataNoCache.toolList"></ResourceAndTool>
           </el-row>
         </el-col>
+        <el-col :span="5" class="homepage-right-modules">
+          <LoginCard v-if="HOME_DISPLAY.login_card"/>
+          <HotCrowd :applicationTypeRank="homeDataNoCache.applicationTypeRank" v-if="HOME_DISPLAY.hot_crowd"/>
+          <HotAgency :agencyRank="homeDataNoCache.agencyRank" v-if="HOME_DISPLAY.hot_agency"/>
+          <HotUser :userRank="homeDataNoCache.userRank" v-if="HOME_DISPLAY.hot_user"/>
+          <HotContest :competitionList="homeData.competitionList" v-if="HOME_DISPLAY.hot_contest"/>
+        </el-col>
       </el-row>
       <InstitutionCard v-if="HOME_DISPLAY.institution_card"></InstitutionCard>
     </div>

+ 2 - 2
src/style/basic.scss

@@ -1,7 +1,7 @@
 //配置主题色
-$color-primary: #B80000;
+$color-primary: #4a90e2;
 //配置浅色主题背景色
-$color-primary-background:#FDD2D2;
+$color-primary-background:#e9f0fa;
 //配置发布按钮背景色
 $color-publish-background:#FFE400;
 //配置参与按钮背景色