|
@@ -1,5 +1,6 @@
|
|
|
<template>
|
|
|
<div id="home_new">
|
|
|
+ <top></top>
|
|
|
<ul class="content_main ul_first">
|
|
|
<li class="main_li" v-for="(item, index) in workMsg" :key="index">
|
|
|
<img src="@/assets/basket.png" alt="" />
|
|
@@ -20,7 +21,11 @@
|
|
|
<!-- <p>考试日历</p> -->
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="second" style="background-color: rgb(114,177,255);">
|
|
|
+ <div
|
|
|
+ class="second"
|
|
|
+ style="background-color: rgb(114,177,255);"
|
|
|
+ @click="go('/course-list')"
|
|
|
+ >
|
|
|
<div class="lf">
|
|
|
<h1>课程</h1>
|
|
|
<p>精准课程过关VIP<br />任你挑选</p>
|
|
@@ -28,7 +33,11 @@
|
|
|
</div>
|
|
|
<img src="@/assets/basket.png" alt="" />
|
|
|
</div>
|
|
|
- <div class="second" style="background-color: rgb(63,218,233);">
|
|
|
+ <div
|
|
|
+ class="second"
|
|
|
+ style="background-color: rgb(63,218,233);"
|
|
|
+ @click="go('/bank-list')"
|
|
|
+ >
|
|
|
<div class="lf">
|
|
|
<h1>题库</h1>
|
|
|
<p>一道好题胜百道<br />在线刷题</p>
|
|
@@ -36,7 +45,11 @@
|
|
|
</div>
|
|
|
<img src="@/assets/basket.png" alt="" />
|
|
|
</div>
|
|
|
- <div class="second" style="background-color: rgb(89,184,251);">
|
|
|
+ <div
|
|
|
+ class="second"
|
|
|
+ style="background-color: rgb(89,184,251);"
|
|
|
+ @click="go('/handout-list')"
|
|
|
+ >
|
|
|
<div class="lf">
|
|
|
<h1>资料</h1>
|
|
|
<p>讲义资料助你一力<br />快速获取</p>
|
|
@@ -51,28 +64,107 @@
|
|
|
<img src="@/assets/basket.png" alt="" />
|
|
|
<h2>推荐课程</h2>
|
|
|
</div>
|
|
|
- <i>更多 ></i>
|
|
|
+ <i @click="go('/course-list')">更多 ></i>
|
|
|
</div>
|
|
|
<ul class="goods_main">
|
|
|
- <li class="goods_li">
|
|
|
+ <el-empty
|
|
|
+ style="margin: 0 auto;"
|
|
|
+ description="暂无推荐课程"
|
|
|
+ v-if="!goodsList1.length"
|
|
|
+ ></el-empty>
|
|
|
+ <GoodsItemNew
|
|
|
+ v-for="(item, index) in goodsList1"
|
|
|
+ v-show="index < 4"
|
|
|
+ :key="index"
|
|
|
+ :goodsItem="item"
|
|
|
+ ></GoodsItemNew>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ <div class="content_main tj_main">
|
|
|
+ <div class="header_main">
|
|
|
+ <div class="hbox">
|
|
|
<img src="@/assets/basket.png" alt="" />
|
|
|
- <p class="title">
|
|
|
- 2023年一级建造师公路工程管理与实务(签约冲刺协议班)
|
|
|
- </p>
|
|
|
- <div>
|
|
|
- <div>考前培训</div>
|
|
|
- <div>一级建造师</div>
|
|
|
- </div>
|
|
|
- <div>¥3,000.00</div>
|
|
|
- <div>原价:¥12345</div>
|
|
|
- </li>
|
|
|
+ <h2>推荐题库</h2>
|
|
|
+ </div>
|
|
|
+ <i @click="go('/bank-list')">更多 ></i>
|
|
|
+ </div>
|
|
|
+ <ul class="goods_main">
|
|
|
+ <el-empty
|
|
|
+ style="margin: 0 auto;"
|
|
|
+ description="暂无推荐题库"
|
|
|
+ v-if="!goodsList2.length"
|
|
|
+ ></el-empty>
|
|
|
+ <GoodsItemNew
|
|
|
+ v-for="(item, index) in goodsList2"
|
|
|
+ v-show="index < 4"
|
|
|
+ :key="index"
|
|
|
+ :goodsItem="item"
|
|
|
+ ></GoodsItemNew>
|
|
|
</ul>
|
|
|
</div>
|
|
|
+ <div class="content_main tj_main">
|
|
|
+ <div class="header_main">
|
|
|
+ <div class="hbox">
|
|
|
+ <img src="@/assets/basket.png" alt="" />
|
|
|
+ <h2>师资团队</h2>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <el-carousel indicator-position="none" :autoplay="false" height="363px">
|
|
|
+ <el-carousel-item v-for="(item, index) in teacher" :key="index">
|
|
|
+ <div class="carousel_box">
|
|
|
+ <div v-for="(it, ix) in item" class="carousel_li" :key="ix">
|
|
|
+ <div class="header_teacher">
|
|
|
+ <img src="@/assets/basket.png" alt="" />
|
|
|
+ <div class="r">
|
|
|
+ <h3>{{ it.name }}</h3>
|
|
|
+ <p>{{ it.occupation }}</p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <ul class="content_teacher">
|
|
|
+ <li v-for="(its, ixs) in it.remark" :key="ixs">{{ its }}</li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </el-carousel-item>
|
|
|
+ </el-carousel>
|
|
|
+ </div>
|
|
|
+ <div class="content_main tj_main">
|
|
|
+ <div class="header_main">
|
|
|
+ <div class="hbox">
|
|
|
+ <img src="@/assets/basket.png" alt="" />
|
|
|
+ <h2>资质证书</h2>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <el-carousel indicator-position="none" :autoplay="false" height="207px">
|
|
|
+ <el-carousel-item v-for="(item, index) in certificate" :key="index">
|
|
|
+ <div class="carousel_box">
|
|
|
+ <div
|
|
|
+ v-for="(it, ix) in item"
|
|
|
+ class="carousel_img"
|
|
|
+ :key="ix"
|
|
|
+ :style="{ width: it.width }"
|
|
|
+ >
|
|
|
+ <el-image
|
|
|
+ style="width: 100%; height: 100%"
|
|
|
+ src="@/assets/basket.png"
|
|
|
+ :preview-src-list="['@/assets/basket.png']"
|
|
|
+ >
|
|
|
+ </el-image>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </el-carousel-item>
|
|
|
+ </el-carousel>
|
|
|
+ </div>
|
|
|
+ <Footer></Footer>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+import top from "./top.vue";
|
|
|
+import GoodsItemNew from "@/components/goodsItem-new/index";
|
|
|
+import Footer from "@/components/footer/index";
|
|
|
export default {
|
|
|
+ components: { top, Footer, GoodsItemNew },
|
|
|
data() {
|
|
|
return {
|
|
|
workMsg: [
|
|
@@ -81,10 +173,151 @@ export default {
|
|
|
{ label: "师资团队", value: "教授 博士 工程师" },
|
|
|
{ label: "产业合作", value: "团企培训解决方案" },
|
|
|
{ label: "品牌实力", value: "办学许可 十年专注" }
|
|
|
- ]
|
|
|
+ ],
|
|
|
+ teacher: [
|
|
|
+ [
|
|
|
+ {
|
|
|
+ imgUrl: "",
|
|
|
+ name: "陈红",
|
|
|
+ occupation: "教授、高级工程师",
|
|
|
+ remark: [
|
|
|
+ "国务院安委会、咨询、建筑施工专业委员会专家",
|
|
|
+ "中国模板手脚架协会副秘书长",
|
|
|
+ "原中国建筑一局 (集团)有限公司工程技术部经理参编国家标准:",
|
|
|
+ "《建筑施工脚手架安全技术统一标准》",
|
|
|
+ "《建筑施工扣件式钢管脚手架安全技术规范》",
|
|
|
+ "《建筑施工临时支撑技术规范》"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ imgUrl: "",
|
|
|
+ name: "徐福康",
|
|
|
+ occupation: "教授、高级工程师",
|
|
|
+ remark: [
|
|
|
+ "上海市施工现场安全生产保证体系第一审核认证中心副主任、总工程师",
|
|
|
+ "上海市建设工程安全质量监督总站高级工程师",
|
|
|
+ "国家标准《建筑施工企业安全生产管理规范》主要起草人"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ imgUrl: "",
|
|
|
+ name: "马英明",
|
|
|
+ occupation: "教授、高级工程师",
|
|
|
+ remark: [
|
|
|
+ "中国矿业大学博士生导师",
|
|
|
+ "国家住建部全国地铁与轻轨建设专家组专家",
|
|
|
+ "广东省人民政府科技专家顾问委员会委员",
|
|
|
+ "原中国地下工程学会副主任"
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ [
|
|
|
+ {
|
|
|
+ imgUrl: "",
|
|
|
+ name: "胡欣欣",
|
|
|
+ occupation: "教授、硕士生导师",
|
|
|
+ remark: [
|
|
|
+ "二建考前名师",
|
|
|
+ "广东工业大学土木与交通工程学员硕士生导师",
|
|
|
+ "广东省工程造价协会专家库成员",
|
|
|
+ "广东省工程咨询协会专家库成员"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ imgUrl: "",
|
|
|
+ name: "邝穗春",
|
|
|
+ occupation: "工程师、高级讲师",
|
|
|
+ remark: [
|
|
|
+ "广州市建筑置业有限公司",
|
|
|
+ "生产技术部/工程部/资料管理部副部长",
|
|
|
+ "广州市市政集团培训中心高级进师",
|
|
|
+ "广州大学市政技术学院特聘进师",
|
|
|
+ "专业从事建筑工程竣工验收/技术资料管理",
|
|
|
+ "建筑工程施工安全资料管理"
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ imgUrl: "",
|
|
|
+ name: "朱培浩",
|
|
|
+ occupation: "博士、教材主编",
|
|
|
+ remark: ["机电实务全国名师", "建造师相关教材主编、参编"]
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ ],
|
|
|
+ certificate: [
|
|
|
+ [
|
|
|
+ { imgUrl: "", width: "290px" },
|
|
|
+ { imgUrl: "", width: "290px" },
|
|
|
+ { imgUrl: "", width: "147px" },
|
|
|
+ { imgUrl: "", width: "147px" },
|
|
|
+ { imgUrl: "", width: "147px" }
|
|
|
+ ],
|
|
|
+ [
|
|
|
+ { imgUrl: "", width: "290px" },
|
|
|
+ { imgUrl: "", width: "147px" },
|
|
|
+ { imgUrl: "", width: "147px" },
|
|
|
+ { imgUrl: "", width: "290px" },
|
|
|
+ { imgUrl: "", width: "147px" }
|
|
|
+ ]
|
|
|
+ ],
|
|
|
+ goodsList1: [], //推荐课程
|
|
|
+ goodsList2: [], //推荐题库
|
|
|
};
|
|
|
},
|
|
|
- methods: {}
|
|
|
+ mounted() {
|
|
|
+ this.courseLists();
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ go(path, query) {
|
|
|
+ this.$router.push({
|
|
|
+ path,
|
|
|
+ query
|
|
|
+ });
|
|
|
+ },
|
|
|
+ //课程
|
|
|
+ courseLists() {
|
|
|
+ this.$request
|
|
|
+ .appCommonActivityRecommendList({ platform: 2, status: 1 })
|
|
|
+ .then(async res => {
|
|
|
+ if (res.code == 200 && res.rows.length) {
|
|
|
+ let list = res.rows || [];
|
|
|
+ //课程
|
|
|
+ var a = list.find(i => i.type == 1);
|
|
|
+ this.goodsList1 = a.goodsList
|
|
|
+ .sort((a, b) => a.sort - b.sort)
|
|
|
+ .map(i => {
|
|
|
+ return Object.assign(
|
|
|
+ {
|
|
|
+ businessId: a.businessId,
|
|
|
+ businessName: a.businessName,
|
|
|
+ educationName: a.educationName,
|
|
|
+ educationTypeId: a.educationTypeId,
|
|
|
+ projectName: a.projectName,
|
|
|
+ projectId: a.projectId
|
|
|
+ },
|
|
|
+ i
|
|
|
+ );
|
|
|
+ });
|
|
|
+ var b = list.find(i => i.type == 2);
|
|
|
+ this.goodsList2 = b.goodsList
|
|
|
+ .sort((a, b) => a.sort - b.sort)
|
|
|
+ .map(i => {
|
|
|
+ return Object.assign(
|
|
|
+ {
|
|
|
+ businessId: b.businessId,
|
|
|
+ businessName: b.businessName,
|
|
|
+ educationName: b.educationName,
|
|
|
+ educationTypeId: b.educationTypeId,
|
|
|
+ projectName: b.projectName,
|
|
|
+ projectId: b.projectId
|
|
|
+ },
|
|
|
+ i
|
|
|
+ );
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
+ }
|
|
|
};
|
|
|
</script>
|
|
|
|
|
@@ -223,7 +456,8 @@ export default {
|
|
|
align-items: center;
|
|
|
justify-content: space-between;
|
|
|
padding-bottom: 24px;
|
|
|
- border-bottom: 1px dotted rgb(215, 215, 215);
|
|
|
+ border-bottom: 1px dashed rgb(215, 215, 215);
|
|
|
+ margin-bottom: 20px;
|
|
|
& > .hbox {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
@@ -244,20 +478,68 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
.goods_main {
|
|
|
- width: 282px;
|
|
|
- height: 363px;
|
|
|
- border: 1px solid #eee;
|
|
|
- border-radius: 4px;
|
|
|
- padding: 10px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+.carousel_box {
|
|
|
+ width: 1050px;
|
|
|
+ margin: 0px auto;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: space-between;
|
|
|
+ & > .carousel_li {
|
|
|
+ width: 330px;
|
|
|
+ height: 363px;
|
|
|
+ border-radius: 4px;
|
|
|
+ border: 1px solid #eee;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ cursor: pointer;
|
|
|
+ transition: all 0.2s;
|
|
|
+ overflow: hidden;
|
|
|
+ &:hover {
|
|
|
+ border-color: #409eff;
|
|
|
+ }
|
|
|
+ & > .header_teacher {
|
|
|
+ height: 124px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ background-color: #fff;
|
|
|
+ padding: 20px;
|
|
|
& > img {
|
|
|
- width: 264px;
|
|
|
- height: 155px;
|
|
|
- margin-bottom: 20px;
|
|
|
+ width: 80px;
|
|
|
+ height: 80px;
|
|
|
+ border-radius: 50%;
|
|
|
+ overflow: hidden;
|
|
|
+ margin-right: 20px;
|
|
|
+ }
|
|
|
+ & > .r {
|
|
|
+ flex: 1;
|
|
|
+ h3 {
|
|
|
+ font-size: 18px;
|
|
|
+ margin-bottom: 10px;
|
|
|
+ }
|
|
|
+ p {
|
|
|
+ font-size: 14px;
|
|
|
+ }
|
|
|
}
|
|
|
- & > .title {
|
|
|
- margin-bottom: 20px;
|
|
|
+ }
|
|
|
+ & > .content_teacher {
|
|
|
+ padding: 14px;
|
|
|
+ height: 1px;
|
|
|
+ flex: 1;
|
|
|
+ color: #fff;
|
|
|
+ background-color: rgb(51, 149, 255);
|
|
|
+ li {
|
|
|
+ padding-bottom: 8px;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ & > .carousel_img {
|
|
|
+ border: 1px solid #eee;
|
|
|
+ height: 207px;
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|