Browse Source

更新代码

master
lucky 5 years ago
parent
commit
1f375047d1
  1. 2
      src/App.vue
  2. BIN
      src/assets/banner.png
  3. BIN
      src/assets/banner01.png
  4. BIN
      src/assets/banner02.png
  5. 4
      src/common/portrait.styl
  6. 3
      src/components/Banner/Banner.vue
  7. 10
      src/components/Index/IndexNewList.vue
  8. 4
      src/components/Introduce/DeriveEnterprise.vue
  9. 4
      src/components/Introduce/PartnerShip.vue
  10. 6
      src/components/Rotation/Rotation.vue
  11. 4
      src/views/NewPlatform/Children/components/DeEnt.vue

2
src/App.vue

@ -85,7 +85,7 @@ body::-webkit-scrollbar {
} }
#components-back-top-demo-custom .ant-back-top { #components-back-top-demo-custom .ant-back-top {
bottom: 100px; bottom: 100px;
right: 180px; right: 70px;
} }
#components-back-top-demo-custom .ant-back-top-inner { #components-back-top-demo-custom .ant-back-top-inner {
height: 40px; height: 40px;

BIN
src/assets/banner.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 540 KiB

BIN
src/assets/banner01.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

BIN
src/assets/banner02.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

4
src/common/portrait.styl

@ -1,4 +1,8 @@
// padding // padding
.pa-0 {
padding: 0px;
}
.pa-3 { .pa-3 {
padding: 12px; padding: 12px;
} }

3
src/components/Banner/Banner.vue

@ -9,6 +9,7 @@
<a-carousel :autoplay="false"> <a-carousel :autoplay="false">
<div :key="item.id" v-for="item in bannerLists"> <div :key="item.id" v-for="item in bannerLists">
<img :src="item.url" alt /> <img :src="item.url" alt />
<!-- <img alt class="fill-height" src="~assets/banner.png" /> -->
</div> </div>
</a-carousel> </a-carousel>
</div> </div>
@ -45,7 +46,7 @@ export default {
<style lang="stylus" scoped> <style lang="stylus" scoped>
.head { .head {
background: white; background: white;
max-height: 400px; max-height: 360px;
overflow: hidden; overflow: hidden;
position: relative; position: relative;
} }

10
src/components/Index/IndexNewList.vue

@ -12,7 +12,7 @@
<div class="flex-1"></div> <div class="flex-1"></div>
<a-button <a-button
@click="$router.push('/ItInformation')" @click="$router.push('/ItInformation')"
class="d-flex align-center font-16 baseColor" class="d-flex align-end font-16 baseColor pa-0"
style="display: inline-block;" style="display: inline-block;"
type="link" type="link"
> >
@ -26,7 +26,7 @@
<div class="flex-1"></div> <div class="flex-1"></div>
<a-button <a-button
@click="$router.push('/Activity')" @click="$router.push('/Activity')"
class="d-flex align-center font-16 baseColor" class="d-flex align-end font-16 baseColor pa-0"
style="display: inline-block;" style="display: inline-block;"
type="link" type="link"
> >
@ -37,7 +37,7 @@
<div class="policy-box" v-if="lists && lists[i].news && lists[i].news.length>0"> <div class="policy-box" v-if="lists && lists[i].news && lists[i].news.length>0">
<div :key="index" class="div-box" v-for="(item, index) in lists[i].news"> <div :key="index" class="div-box" v-for="(item, index) in lists[i].news">
<div @click="jumpDetails(item)" class="d-flex flex-nowrap" style="cursor: pointer"> <div @click="jumpDetails(item)" class="d-flex flex-nowrap" style="cursor: pointer">
<div class="time d-flex flex-column align-center mr-3" v-if="item.releaseTime"> <div class="time d-flex flex-column align-center mr-5" v-if="item.releaseTime">
<span class="font-20">{{ monthEnglish[item.releaseTime.split('-')[1] - 1] }}.</span> <span class="font-20">{{ monthEnglish[item.releaseTime.split('-')[1] - 1] }}.</span>
<span class="font-bold-32 day">{{ item.releaseTime.split(' ')[0].split('-')[2] }}</span> <span class="font-bold-32 day">{{ item.releaseTime.split(' ')[0].split('-')[2] }}</span>
</div> </div>
@ -86,7 +86,7 @@ export default {
<style scoped lang="stylus"> <style scoped lang="stylus">
.index-wrap { .index-wrap {
width: 90%; width: 90%;
height: 342px; height: 400px;
margin: 15px auto 15px auto; margin: 15px auto 15px auto;
overflow: hidden; overflow: hidden;
opacity: 1; opacity: 1;
@ -102,6 +102,7 @@ export default {
position: relative; position: relative;
background: #fff; background: #fff;
padding-top: 24px; padding-top: 24px;
height: 114px;
.time { .time {
color: rgba(0, 0, 0, 0.25); color: rgba(0, 0, 0, 0.25);
@ -120,7 +121,6 @@ export default {
font-size: 16px; font-size: 16px;
color: rgba(0, 0, 0, 0.65); color: rgba(0, 0, 0, 0.65);
font-family: Microsoft YaHei; font-family: Microsoft YaHei;
font-weight: bold;
-webkit-line-clamp: 1; -webkit-line-clamp: 1;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
} }

4
src/components/Introduce/DeriveEnterprise.vue

@ -11,10 +11,10 @@
:class="(index+1)%3===0? 'enterprise-box1' : ''" :class="(index+1)%3===0? 'enterprise-box1' : ''"
:key="index" :key="index"
@click="openProfile(item.name,item.description)" @click="openProfile(item.name,item.description)"
class="enterprise-box d-flex flex-column align-center white mb-8" class="enterprise-box d-flex flex-column align-center justify-center white mb-8"
v-for="(item,index) in newPartners" v-for="(item,index) in newPartners"
> >
<img :src="item.logoUrl" class="enterprise-pic my-2" /> <img :src="item.logoUrl" class="enterprise-pic my-2" v-if="list.logoUrl" />
<div class="font-bold-24 title-color my-2">{{ item.name }}</div> <div class="font-bold-24 title-color my-2">{{ item.name }}</div>
<div <div
class="font-16 textColor d-flex flex-wrap align-left fill-width enterprise-txt" class="font-16 textColor d-flex flex-wrap align-left fill-width enterprise-txt"

4
src/components/Introduce/PartnerShip.vue

@ -18,10 +18,10 @@
:class="(i+1)%4===0? 'logo-box1' : ''" :class="(i+1)%4===0? 'logo-box1' : ''"
:key="i" :key="i"
@click="openProfile(list.name,list.description)" @click="openProfile(list.name,list.description)"
class="logo-box d-flex flex-column align-center white mb-8" class="logo-box d-flex flex-column align-center justify-center white mb-8"
v-for="(list,i) in item.backendSearchList" v-for="(list,i) in item.backendSearchList"
> >
<img :src="list.logoUrl" class="logo-pic my-2" /> <img :src="list.logoUrl" class="logo-pic my-2" v-if="list.logoUrl" />
<div class="font-16 title-color">{{ list.name }}</div> <div class="font-16 title-color">{{ list.name }}</div>
</div> </div>
</div> </div>

6
src/components/Rotation/Rotation.vue

@ -43,20 +43,20 @@ export default {
<style lang="stylus"> <style lang="stylus">
.head { .head {
background: white; background: white;
max-height: 340px; max-height: 380px;
overflow: hidden; overflow: hidden;
position: relative; position: relative;
} }
.settle-in { .settle-in {
position: absolute; position: absolute;
top: 3%; top: 10%;
right: 9%; right: 9%;
z-index: 9; z-index: 9;
} }
.img-box { .img-box {
height: 340px; height: 380px;
width: 100%; width: 100%;
img { img {

4
src/views/NewPlatform/Children/components/DeEnt.vue

@ -49,9 +49,9 @@
<div <div
:class="(index+1)%4===0? 'logo-box1' : ''" :class="(index+1)%4===0? 'logo-box1' : ''"
@click="openProfile(item.name,item.description)" @click="openProfile(item.name,item.description)"
class="logo-box d-flex flex-column align-center white mb-8" class="logo-box d-flex flex-column align-center justify-center white mb-8"
> >
<img :src="item.logoUrl" class="logo-pic my-2" /> <img :src="item.logoUrl" class="logo-pic my-2" v-if="list.logoUrl" />
<div class="font-16 title-color">{{ item.name }}</div> <div class="font-16 title-color">{{ item.name }}</div>
</div> </div>
</div> </div>

Loading…
Cancel
Save