提交 ad833e90 authored 作者: matian's avatar matian

修改页面模块背景色

上级 4ba1be65
...@@ -2,9 +2,7 @@ ...@@ -2,9 +2,7 @@
<template> <template>
<div> <div>
<div class="banner"> <div class="banner">
<img <img src="https://webapp-pub.ezijing.com/www/pc/services/school/banner.jpg" />
src="https://webapp-pub.ezijing.com/www/pc/services/school/banner.jpg"
/>
</div> </div>
<section class="section"> <section class="section">
<div class="section-inner"> <div class="section-inner">
...@@ -64,26 +62,22 @@ export default { ...@@ -64,26 +62,22 @@ export default {
return { return {
list: [ list: [
{ {
image_url: image_url: 'https://webapp-pub.ezijing.com/www/pc/services/school/yrjz_1.png',
'https://webapp-pub.ezijing.com/www/pc/services/school/yrjz_1.png',
title: this.$t('school.mechanism.item1_tit'), title: this.$t('school.mechanism.item1_tit'),
items: this.$t('school.mechanism.item1_desc') items: this.$t('school.mechanism.item1_desc')
}, },
{ {
image_url: image_url: 'https://webapp-pub.ezijing.com/www/pc/services/school/yrjz_2.png',
'https://webapp-pub.ezijing.com/www/pc/services/school/yrjz_2.png',
title: this.$t('school.mechanism.item2_tit'), title: this.$t('school.mechanism.item2_tit'),
items: this.$t('school.mechanism.item2_desc') items: this.$t('school.mechanism.item2_desc')
}, },
{ {
image_url: image_url: 'https://webapp-pub.ezijing.com/www/pc/services/school/yrjz_3.png',
'https://webapp-pub.ezijing.com/www/pc/services/school/yrjz_3.png',
title: this.$t('school.mechanism.item3_tit'), title: this.$t('school.mechanism.item3_tit'),
items: this.$t('school.mechanism.item3_desc') items: this.$t('school.mechanism.item3_desc')
}, },
{ {
image_url: image_url: 'https://webapp-pub.ezijing.com/www/pc/services/school/yrjz_4.png',
'https://webapp-pub.ezijing.com/www/pc/services/school/yrjz_4.png',
title: '品牌管理与数字化营销', title: '品牌管理与数字化营销',
title: this.$t('school.mechanism.item4_tit'), title: this.$t('school.mechanism.item4_tit'),
items: this.$t('school.mechanism.item4_desc') items: this.$t('school.mechanism.item4_desc')
...@@ -101,10 +95,10 @@ export default { ...@@ -101,10 +95,10 @@ export default {
width: 100%; width: 100%;
} }
} }
.section:nth-child(odd) { .section:nth-child(even) {
background-color: #fff; background-color: #fff;
} }
.section:nth-child(even) { .section:nth-child(odd) {
background-color: #f9f8f8; background-color: #f9f8f8;
} }
.section-inner { .section-inner {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论