Browse Source

修改首页布局

master
liaoxinyu 2 years ago
parent
commit
6289498837
  1. 4
      src/components/CommonHeader.vue
  2. 4
      src/views/college/list.vue
  3. 35
      src/views/home/index.vue

4
src/components/CommonHeader.vue

@ -39,9 +39,9 @@
<router-link class="nav-link" :to="purchase.url">{{ purchase.label }}</router-link>
</li> -->
<!-- 学院 -->
<!-- <li class="nav-item">
<li class="nav-item">
<router-link class="nav-link" :to="learn.url">{{ learn.label }}</router-link>
</li> -->
</li>
<!-- <li class="nav-item">
<a href="/newProduct" class="nav-link" target="_blank">{{ $t('common.newzone') }}</a>

4
src/views/college/list.vue

@ -10,9 +10,9 @@
<router-link :to="`/college/detail/${cid}/${item.id}`" class="item col-lg-3 col-md-6 mb-4 col-xs-12" v-for="(item,index) in articleList" :key="index">
<div class="banner">
<!-- <img src="http://iph.href.lu/260x150" alt /> -->
<img :src="item.full_cover" alt />
<img style="height: 135px;width: 254px;margin-bottom: 35px;" :src="item.full_cover" alt />
</div>
<div class="txt">
<div class="txt" style="padding: 0px 45px 0px 0px;font-size: 20px;">
{{item.title}}
</div>
</router-link>

35
src/views/home/index.vue

@ -56,25 +56,6 @@
<div class="title">{{ $t("homeNewText.hh0") }}</div>
<div style="margin-top: 30px;font-size: 20px;">{{ $t("homeNewText.hh34") }}</div>
<!-- <div class="num-info1 d-flex" style="margin: 40px 0px;">
<div class="num-info-count1">
<div class="num1">Top 10</div>
<div style="color: #999;font-size: 13px;width: 100px;">{{ $t("homeNewText.hh37") }}</div>
</div>
<div class="num-info-count1">
<div class="num1">5 million+</div>
<div style="color: #999;font-size: 13px;width: 100px;">{{ $t("homeNewText.hh38") }}</div>
</div>
<div class="num-info-count1">
<div class="num1">{{ '<0.10%' }}</div>
<div style="color: #999;font-size: 13px;">{{ $t("homeNewText.hh39") }}</div>
</div>
<div class="num-info-count1">
<div class="num1">200+</div>
<div style="color: #999;font-size: 13px;">{{ $t("homeNewText.hh40") }}</div>
</div>
</div> -->
<router-link v-if="!isLogin" class="jump_btn" :to="{name:'signUp'}" style="margin-top: 100px;">
{{ $t("homeNewText.hh35") }}
</router-link>
@ -122,7 +103,7 @@
<div style="font-size: 42px;font-weight: bold;">{{ $t("homeNewText.hh3") }}</div>
<div class="quickopening">{{ $t("homeNewText.hh4") }}</div>
<div class="quickopening_box">
<div style="font-size: 36px;" v-if="!isLogin">{{ $t("homeNewText.hh5",{name:'CATYcoin'}) }}</div>
<div style="font-size: 36px;" v-if="!isLogin">{{ $t("homeNewText.hh5",{name:'xxxxx'}) }}</div>
<div style="font-size: 36px;" v-else>{{ $t("homeNewText.aa4") }}</div>
<!-- <div class="quickopening_register">
{{ $t("homeNewText.hh6") }} <img src="@/assets/img/home/right-line.png" alt="" width="24" height="24">
@ -175,7 +156,7 @@
</div>
<div class="product">
<div>
<div class="product_text1">{{ $t("homeNewText.hh17",{nem:'CATYcoin'}) }}</div>
<div class="product_text1">{{ $t("homeNewText.hh17",{nem:'xxxxx'}) }}</div>
<div class="product_text2">{{ $t("homeNewText.hh18") }}</div>
</div>
<img src="@/assets/img/home/img6.png" alt="">
@ -219,12 +200,12 @@
<img src="@/assets/img/home/img12.png" width="134" height="134">
</div>
<div class="text_size">{{ $t("homeNewText.hh28") }}</div>
<div class="text_width">{{ $t("homeNewText.hh29",{name:'CATYcoin'}) }}</div>
<div class="text_width">{{ $t("homeNewText.hh29",{name:'xxxxx'}) }}</div>
</div>
</div>
<div class="Tradinganytime">
<div><img src="@/assets/img/home/img13.png" width="854" height="750"></div>
<div style="width: 854px;"><img src="@/assets/img/home/img13.png" style="width: 854px;height: 750px;"></div>
<div style="margin-left: 105px;">
<div style="font-size: 42px;font-weight: bold;">{{ $t("homeNewText.hh30") }}</div>
<div class="Tradinganytime_app">{{ $t("homeNewText.hh31") }}</div>
@ -248,7 +229,7 @@
</router-link>
</div>
<div style="width: 1920px;margin: auto;margin-top: 100px;background-color: #74D297;">
<div style="width: 100%;margin: auto;margin-top: 100px;background-color: #74D297;">
<div style="width:1200px;margin: auto;height: 279px;display: flex;align-items: center;justify-content: center;">
<div>
<div style="text-align: center;color: #000;font-size: 50px;font-weight: bold;">{{ $t("homeNewText.hh32") }}</div>
@ -2380,11 +2361,13 @@
}
.boximg{
width: 1917px;
width: 100%;
margin: auto;
background: url('../../assets/img/home/img1.png');
height: 690px;
background-size: 1917px;
background-repeat: no-repeat;
background-position: center;
}
.box1{
@ -2470,7 +2453,7 @@
}
.Tradinganytime{
width: 1920px;
width: 100%;
height: 750px;
margin: auto;
display: flex;

Loading…
Cancel
Save