明梦爽
2021-11-18 07ecebb09d124f877f5b96badecd86682d9e5939
动态获取完成
2个文件已修改
48 ■■■■■ 已修改文件
src/components/page/index.vue 47 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/page/introduce.vue 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/page/index.vue
@@ -3,7 +3,7 @@
    <!-- 首页上半部分 -->
    <el-row type="flex" class="row-bg" justify="space-between">
        <div class="block marr10">
          <el-carousel height="460px"  arrow="always">
          <el-carousel height="460px"  arrow="always" :interval="2000">
            <el-carousel-item v-for="(item,index) in imgList" :key="index">
              <div>
                <img :src="item.path"  alt="" style="width:105%;">
@@ -42,51 +42,6 @@
}
</script>
<style lang="less" scoped>
.el-header {
  background-color: rgb(131, 51, 51);
  height: 400px !important;
  padding: 0;
  .el-main {
    background-color: rgb(25, 202, 193);
    height: 400px;
  }
}
.xiaBian {
  background: rgb(132, 199, 44);
  height: 400px;
  padding: 0;
  .el-main {
    background-color: rgb(70, 27, 187);
    height: 400px;
  }
}
.youXiaJiao {
  padding: 0;
  // height: 400px;
  .el-header {
    height: 200px !important;
  }
  .el-main {
    height: 200px;
    background-color: rgb(206, 44, 171);
  }
}
.el-carousel__item{
  color: #475669;
  font-size: 14px;
  opacity: 0.75;
  line-height: 150px;
  margin: 0;
}
.el-carousel__item:nth-child(2n) {
  background-color: #99a9bf;
}
.el-carousel__item:nth-child(2n + 1) {
  background-color: #d3dce6;
}
.block {
  width: 50%;
}
src/components/page/introduce.vue
@@ -19,6 +19,7 @@
          </li>
        </ul>
      </el-col>
       <!-- 新闻内容 -->
      <el-card class="box-card">
        <el-col :span="18">
          <div>