Parcourir la source

update code

master
guzhenfu il y a 2 ans
Parent
révision
12da1e8edd
3 fichiers modifiés avec 12 ajouts et 5 suppressions
  1. BIN
      src/assets/images/connect_me.png
  2. +1
    -1
      src/view/connect.vue
  3. +11
    -4
      src/view/overview.vue

BIN
src/assets/images/connect_me.png Voir le fichier

Avant Après
Largeur: 1130  |  Hauteur: 300  |  Taille: 508 KiB

+ 1
- 1
src/view/connect.vue Voir le fichier

@@ -6,7 +6,7 @@
<el-breadcrumb-item>联系我们</el-breadcrumb-item>
</el-breadcrumb>
<el-card shadow="never">
<div style="position: relative;height: 300px;background-image: url('//lanhu.oss-cn-beijing.aliyuncs.com/psypeyni6i2bq87kufm4f23sv1r4w1me3fr24f4808a-e948-44b6-b20b-2c110e913849');background-repeat: no-repeat;background-size: 100% 100%">
<div style="position: relative;height: 300px;background-image: url(../assets/images/connect_me.png);background-repeat: no-repeat;background-size: 100% 100%">
<div style="font-weight: 1000;font-size: 48px;color: #fff;margin: 0 auto;text-align: center;">
<div style="padding-top: 100px;">联系我们</div>
<div style="height: 4px;background: #fff;width: 70px;margin: 10px auto"></div>


+ 11
- 4
src/view/overview.vue Voir le fichier

@@ -225,13 +225,14 @@
<el-card class="box-card" shadow="never" :body-style="{ padding: '0px' }" style="margin-top: 10px">
<el-row class="card_style2">
<el-col :span="24">
<el-card class="box-card" shadow="never" :body-style="{ padding: '0px 20px' }">
<el-card class="box-card" shadow="never" :body-style="{ padding: '0px 80px', 'text-align': 'center' }">
<div slot="header">
<span><el-divider direction="vertical"></el-divider>会员企业</span>
</div>
<div v-for="(item, index) in huiyuanQiList" :key="index"
style="display: inline-table;width: 135px;height: 62px;border: 1px solid #eee;margin: 10px 20px;text-align: center">
<img :src="item.aboutImgUrlUrl"/>
style="display: inline-table;width: 135px;height: 62px;
border: 1px solid #eee;margin: 10px 20px;text-align: center">
<img :src="item.aboutImgUrl"/>
</div>
</el-card>
<el-card class="box-card" shadow="never" :body-style="{ padding: '0px 20px' }">
@@ -240,7 +241,8 @@
</div>
<div >
<el-button type="text" style="color: #255089">
<a href="" v-for="(item, index) in youqingList" :key="index" >
<a :href="item.content" target="_blank"
v-for="(item, index) in youqingList" :key="index" >
{{item.title}}
</a>
<!-- 国家发改委 | 国家工信部 | 国家财政部 | 国家税务机关 | 中国海关 -->
@@ -346,9 +348,14 @@ export default {
}else if(weizhi == "L"){
// 会员企业
this.huiyuanQiList = res.data.records
console.log('this.huiyuanQiList'+JSON.stringify(this.huiyuanQiList))
}else if(weizhi == "M"){
// 友情链接
this.youqingList = res.data.records
this.youqingList.map((item) => {
item.content = item.content.replace(/<[^>]+>/g,"")
})
}else if(weizhi == "N"){
// 轮播
this.lunBoList = res.data.records


Chargement…
Annuler
Enregistrer