guzhenfu 2 лет назад
Родитель
Сommit
eac9ec7c83
6 измененных файлов: 14 добавлений и 16 удалений
  1. +2
    -2
      src/index.less
  2. +1
    -1
      src/view/about.vue
  3. +1
    -1
      src/view/exchange.vue
  4. +1
    -1
      src/view/km.vue
  5. +1
    -1
      src/view/main/main.vue
  6. +8
    -10
      src/view/overview.vue

+ 2
- 2
src/index.less Просмотреть файл

@@ -186,8 +186,8 @@ body {
font-weight: 900;
position: absolute;
margin-right: 100px;
left: -40px;
top: 6px;
left: -100px;
top: 0px;
text-align: center;
line-height: 50px;
width: 100px;


+ 1
- 1
src/view/about.vue Просмотреть файл

@@ -22,7 +22,7 @@
<el-row>
<el-col :span="12" v-for="(item, index) in dataList" :key="index" >
<el-card class="box-card" shadow="never" style="margin: 0 10px" :body-style="{ padding: '0px'}">
<img :src="item.aboutImg" style="border-radius: 10px;margin: 10px 0 10px 0;height: 100%;width: 100%"/>
<img :src="item.aboutImgUrl" style="border-radius: 10px;margin: 10px 0 10px 0;height: 100%;width: 100%"/>
<p style="color: #333">{{item.title}}</p>
</el-card>
</el-col>


+ 1
- 1
src/view/exchange.vue Просмотреть файл

@@ -28,7 +28,7 @@
<li style="padding: 10px;border-bottom: 1px solid #eee;margin: 5px 0;height: 120px"
v-for="(item,index) in dataList" :key="index">
<img style="float: left;width: 100px;height: 100px;border-radius: 8px"
:src="item.aboutImg"/>
:src="item.aboutImgUrl"/>
<div style="margin-left: 120px;">
<h3 style="color:#333333;">{{item.title}}</h3>
<p style="color: #999" v-html="item.content"></p>


+ 1
- 1
src/view/km.vue Просмотреть файл

@@ -24,7 +24,7 @@
<el-row>
<el-col :span="6" v-for="(item,index) in dataList" :key="index" >
<el-card class="box-card" shadow="never" style="margin: 0 10px" :body-style="{ padding: '0px' }">
<img :src="item.aboutImg" style="border-radius: 10px;margin: 10px 0" width="100%"/>
<img :src="item.aboutImgUrl" style="border-radius: 10px;margin: 10px 0" width="100%"/>
<p style="color: #333">{{item.title}}</p>
</el-card>
</el-col>


+ 1
- 1
src/view/main/main.vue Просмотреть файл

@@ -3,7 +3,7 @@
<el-header class="header linear">
<el-menu :default-active="activeIndex" mode="horizontal" style="position: relative;padding-left: 100px;width: 960px;text-align: center;margin: 0 auto;border: none;background: transparent;overflow: visible">
<div class="logo">
<img src="../../assets/images/logo.jpg" style="width: 180px; height: 40px;">
<img src="../../assets/images/logo.jpg" style="width: 260px; height: 60px;">
</div>
<el-menu-item index="1"><router-link to="/overview">首页</router-link></el-menu-item>
<el-menu-item index="2"><router-link to="/about">关于我们</router-link></el-menu-item>


+ 8
- 10
src/view/overview.vue Просмотреть файл

@@ -2,7 +2,7 @@
<div>
<el-carousel trigger="click" height="400px">
<el-carousel-item v-for="(item,index) in lunBoList" :key="index">
<img :src="item.aboutImg"/>
<img :src="item.aboutImgUrl"/>
</el-carousel-item>
</el-carousel>
<el-main style="width: 960px;margin: 0 auto">
@@ -20,7 +20,7 @@
</el-col>
<el-col :span="12"><div class="grid-content bg-purple-light"></div>
<el-card class="box-card" shadow="never" style="margin: 0 10px; position: relative;" :body-style="{ padding: '0px',height:'418px' }">
<img :src="imgObj.aboutImg"/>
<img :src="imgObj.aboutImgUrl"/>
<div class="img_info">
<span class="img_text">{{imgObj.title}}</span>
</div>
@@ -48,7 +48,7 @@
</div>
<h2>{{hangDamic.title}}</h2>
<p v-html="hangDamic.content"></p>
<img :src="hangDamic.aboutImg" style="border-radius: 10px;margin: 10px 0" width="100%"/>
<img :src="hangDamic.aboutImgUrl" style="border-radius: 10px;margin: 10px 0" width="100%"/>
</el-card>
</el-col>
<el-col :span="12">
@@ -81,7 +81,7 @@
:body-style="{ padding: '0px 20px' }">
<h2>{{item.title}}</h2>
<p v-html="item.content"></p>
<img :src="item.aboutImg" style="border-radius: 10px;margin: 10px 0" width="100%"/>
<img :src="item.aboutImgUrl" style="border-radius: 10px;margin: 10px 0" width="100%"/>
</el-card>
</el-col>
<el-col :span="8">
@@ -98,7 +98,7 @@
:body-style="{ padding: '0px 20px' }">
<h2>{{item.title}}</h2>
<p v-html="item.content"></p>
<img :src="item.aboutImg" style="border-radius: 10px;margin: 10px 0" width="100%"/>
<img :src="item.aboutImgUrl" style="border-radius: 10px;margin: 10px 0" width="100%"/>
</el-card>
</el-col>
<el-col :span="8">
@@ -115,7 +115,7 @@
:body-style="{ padding: '0px 20px' }">
<h2>{{item.title}}</h2>
<p v-html="item.content"></p>
<img :src="item.aboutImg" style="border-radius: 10px;margin: 10px 0" width="100%"/>
<img :src="item.aboutImgUrl" style="border-radius: 10px;margin: 10px 0" width="100%"/>
</el-card>
</el-col>
</el-row>
@@ -170,7 +170,7 @@
<span class="time">{{item.title}}</span>
</h2>
<p v-html="item.content"></p>
<img :src="item.aboutImg" style="border-radius: 10px;margin: 10px 0" width="100%"/>
<img :src="item.aboutImgUrl" style="border-radius: 10px;margin: 10px 0" width="100%"/>
</div>
</el-card>
</el-col>
@@ -186,7 +186,7 @@
<span class="time">{{item.title}}</span>
</h2>
<p v-html="item.content"></p>
<img :src="item.aboutImg" style="border-radius: 10px;margin: 10px 0" width="100%"/>
<img :src="item.aboutImgUrl" style="border-radius: 10px;margin: 10px 0" width="100%"/>
</div>
</el-card>
</el-col>
@@ -321,8 +321,6 @@ export default {
}else if(weizhi == "N"){
// 轮播
this.lunBoList = res.data.records
console.log(JSON.stringify(this.hezuoList))
console.log(id)
}
}
}


Загрузка…
Отмена
Сохранить