|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div style="display: flex;flex-direction: column;gap: 20px;height: 100%;">
|
|
|
- <div class="top">
|
|
|
+ <div class="top">
|
|
|
<div class="topTit">
|
|
|
<div>
|
|
|
<div>集团简介</div>
|
|
@@ -11,10 +11,10 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="Topbri">
|
|
|
- 深圳市荔园教育集团是一所现代化、智能化的示范性办学团体,致力于为学生提供优质的教育资源和创新的学习环境。我们采用先进的教学理念和方法,培养学生的综合素质和创新能力。
|
|
|
+ {{ fromL.admin.CampusF.GroupBri }}
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <div class="feature">
|
|
|
+ </div>
|
|
|
+ <div class="feature">
|
|
|
<div class="topTit">
|
|
|
<div>
|
|
|
<div>办学特色</div>
|
|
@@ -26,15 +26,15 @@
|
|
|
</div>
|
|
|
|
|
|
<div style="display: flex;justify-content: space-between;">
|
|
|
- <div class="featureCon" v-for="(i,index) in featureList" :key="index">
|
|
|
+ <div class="featureCon" v-for="(i, index) in featureList" :key="index">
|
|
|
<img style="width: 24px;" src="../../../assets/img/tese.svg" alt="">
|
|
|
- <div class="featureConTit">{{i.name}}</div>
|
|
|
- <div class="Topbri">{{i.bir}}</div>
|
|
|
+ <div class="featureConTit">{{ i.name }}</div>
|
|
|
+ <div class="Topbri">{{ i.bri }}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
|
|
|
- <div class="feature">
|
|
|
+ <div class="feature">
|
|
|
<div class="topTit">
|
|
|
<div>
|
|
|
<div>师资力量</div>
|
|
@@ -45,18 +45,18 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="Topbri">
|
|
|
- 深圳市荔园教育集团是一所现代化、智能化的示范性办学团体,致力于为学生提供优质的教育资源和创新的学习环境。我们采用先进的教学理念和方法,培养学生的综合素质和创新能力。
|
|
|
+ {{ fromL.admin.CampusF.GroupBri }}
|
|
|
</div>
|
|
|
|
|
|
<div style="display: flex;justify-content: space-between;">
|
|
|
- <div class="featureCon2" v-for="(i,index) in teaData" :key="index">
|
|
|
- <div class="featureConTit2">{{i.name}}</div>
|
|
|
- <div class="Topbri">{{i.bir}}</div>
|
|
|
+ <div class="featureCon2" v-for="(i, index) in teaData" :key="index">
|
|
|
+ <div class="featureConTit2">{{ i.bri }}</div>
|
|
|
+ <div class="Topbri">{{ i.name }}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
|
|
|
- <div class="feature">
|
|
|
+ <div class="feature">
|
|
|
<div class="topTit">
|
|
|
<div>
|
|
|
<div>特色应用</div>
|
|
@@ -68,55 +68,87 @@
|
|
|
</div>
|
|
|
|
|
|
<div class="AppStoreList">
|
|
|
- <div class="AppStore" v-for="i in 2" :key="i">
|
|
|
- <img style="width: 24px;cursor: pointer;" src="../../../assets/img/bianji.svg" alt="">
|
|
|
+ <div class="AppStore" v-for="(i,index) in featureApp" :key="index">
|
|
|
+ <img style="width: 24px;" src="../../../assets/img/bianji.svg" alt="">
|
|
|
<div class="AppStoreCon">
|
|
|
<img style="width: 18px;margin-bottom: 10px;" src="../../../assets/img/tese.svg" alt="">
|
|
|
- <div class="AppStoreConTit">PBL课程设计</div>
|
|
|
- <div class="AppStoreConBri">项目式学习课程规划</div>
|
|
|
+ <div class="AppStoreConTit">{{i.name}}</div>
|
|
|
+ <div class="AppStoreConBri">{{i.detail}}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <div class="AppStore">
|
|
|
+ <div class="AppStore">
|
|
|
<div style="height: 24px;"></div>
|
|
|
<div class="AppAdd">
|
|
|
<img src="../../../assets/img/add.svg" alt="">
|
|
|
</div>
|
|
|
<div>
|
|
|
-
|
|
|
+
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
-
|
|
|
- </div>
|
|
|
+
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
- export default {
|
|
|
- data(){
|
|
|
- return{
|
|
|
- featureList:[
|
|
|
- {name:'智能教育',bir:'引入AI技术,打造智能化学习环境,提供个性化教学服务。'},
|
|
|
- {name:'小班教学',bir:'采用小班制教学模式,确保每个学生都能得到充分关注。'},
|
|
|
- {name:'国际视野',bir:'开展国际交流项目,培养学生国际化视野和跨文化交际能力'},
|
|
|
- {name:'艺术教育',bir:'引入AI技术,打造智能化学习环境,提供个性化教学服务。'},
|
|
|
- ],
|
|
|
- teaData:[
|
|
|
- {name:'120+',bir:'专职教师'},
|
|
|
- {name:'90%',bir:'硕士及以上'},
|
|
|
- {name:'30+',bir:'市级奖项'},
|
|
|
- {name:'15+',bir:'特级教师'},
|
|
|
- ]
|
|
|
- }
|
|
|
+import { mapGetters } from 'vuex';
|
|
|
+import { API_CONFIG } from '../../../common/apiConfig.js';
|
|
|
+export default {
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ featureApp:[]
|
|
|
}
|
|
|
+ },
|
|
|
+ computed: {
|
|
|
+ ...mapGetters(['fromL']),
|
|
|
+ featureList() {
|
|
|
+ return this.fromL.admin.CampusF.feature; // 从 Vuex 的 fromL 中获取 featureList
|
|
|
+ },
|
|
|
+ teaData() {
|
|
|
+ return this.fromL.admin.CampusF.teacherN.list; // 从 Vuex 的 fromL 中获取 teaData
|
|
|
+ },
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ // 获取cocoFlow2应用
|
|
|
+ getData() {
|
|
|
+ let cocoFlowCopy = []
|
|
|
+ if (this.fromL.admin.cocoFlow2 && this.fromL.admin.cocoFlow2.length) {
|
|
|
+ cocoFlowCopy = this.fromL.admin.cocoFlow2.map(item => item.id);
|
|
|
+ } else {
|
|
|
+ return
|
|
|
+ }
|
|
|
+
|
|
|
+ let params = [
|
|
|
+ {
|
|
|
+ functionName: API_CONFIG.ajax_AdminApp.functionName,
|
|
|
+ con: cocoFlowCopy.join(','),
|
|
|
+ },
|
|
|
+ ];
|
|
|
+
|
|
|
+ this.$ajax
|
|
|
+ .post(API_CONFIG.baseUrl, params)
|
|
|
+ .then((res) => {
|
|
|
+ this.featureApp = res.data[0]
|
|
|
+ // console.log("后端传的数据", this.featureApp);
|
|
|
+
|
|
|
+ })
|
|
|
+ .catch((err) => {
|
|
|
+ console.log(err);
|
|
|
+ });
|
|
|
+ },
|
|
|
+ },
|
|
|
+ mounted() {
|
|
|
+ this.getData()
|
|
|
}
|
|
|
+}
|
|
|
</script>
|
|
|
|
|
|
<style scoped>
|
|
|
-.top{
|
|
|
+.top {
|
|
|
height: 159px;
|
|
|
- padding: 36px 27px;
|
|
|
+ padding: 36px 27px;
|
|
|
box-sizing: border-box;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
@@ -124,7 +156,8 @@
|
|
|
border-radius: 12px;
|
|
|
justify-content: space-between;
|
|
|
}
|
|
|
-.topTit{
|
|
|
+
|
|
|
+.topTit {
|
|
|
font-family: PingFang SC;
|
|
|
font-weight: 600;
|
|
|
font-size: 20px;
|
|
@@ -144,7 +177,8 @@
|
|
|
line-height: 22px;
|
|
|
color: #000;
|
|
|
}
|
|
|
-.feature{
|
|
|
+
|
|
|
+.feature {
|
|
|
width: 100%;
|
|
|
padding: 36px 27px;
|
|
|
border-radius: 12px;
|
|
@@ -155,7 +189,8 @@
|
|
|
gap: 20px;
|
|
|
justify-content: space-between;
|
|
|
}
|
|
|
-.featureCon{
|
|
|
+
|
|
|
+.featureCon {
|
|
|
background: #FFFFFF;
|
|
|
width: 24%;
|
|
|
height: 206px;
|
|
@@ -168,7 +203,8 @@
|
|
|
box-sizing: border-box;
|
|
|
gap: 18px;
|
|
|
}
|
|
|
-.featureCon2{
|
|
|
+
|
|
|
+.featureCon2 {
|
|
|
background: #FFFFFF;
|
|
|
width: 24%;
|
|
|
height: 94px;
|
|
@@ -181,38 +217,44 @@
|
|
|
box-sizing: border-box;
|
|
|
gap: 10px;
|
|
|
}
|
|
|
-.featureConTit{
|
|
|
+
|
|
|
+.featureConTit {
|
|
|
font-family: PingFang SC;
|
|
|
font-weight: 600;
|
|
|
font-size: 20px;
|
|
|
line-height: 22px;
|
|
|
color: #000;
|
|
|
}
|
|
|
-.featureConTit2{
|
|
|
+
|
|
|
+.featureConTit2 {
|
|
|
font-family: PingFang SC;
|
|
|
font-weight: 600;
|
|
|
font-size: 20px;
|
|
|
line-height: 22px;
|
|
|
color: #0663FE;
|
|
|
}
|
|
|
-.AppStoreList{
|
|
|
+
|
|
|
+.AppStoreList {
|
|
|
display: flex;
|
|
|
gap: 20px;
|
|
|
}
|
|
|
-.AppStore{
|
|
|
+
|
|
|
+.AppStore {
|
|
|
width: 33%;
|
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
|
gap: 10px;
|
|
|
}
|
|
|
-.AppStoreCon{
|
|
|
+
|
|
|
+.AppStoreCon {
|
|
|
height: 122px;
|
|
|
border-radius: 10px;
|
|
|
padding: 17px 17px;
|
|
|
box-sizing: border-box;
|
|
|
background: #fff;
|
|
|
}
|
|
|
-.AppAdd{
|
|
|
+
|
|
|
+.AppAdd {
|
|
|
height: 122px;
|
|
|
border-radius: 10px;
|
|
|
padding: 17px 17px;
|
|
@@ -223,19 +265,27 @@
|
|
|
justify-content: center;
|
|
|
align-items: center;
|
|
|
}
|
|
|
-.AppStoreConTit{
|
|
|
+
|
|
|
+.AppStoreConTit {
|
|
|
font-family: PingFang SC;
|
|
|
font-weight: 500;
|
|
|
font-size: 16px;
|
|
|
margin-bottom: 5px;
|
|
|
}
|
|
|
-.AppStoreConBri{
|
|
|
+
|
|
|
+.AppStoreConBri {
|
|
|
font-family: PingFang SC;
|
|
|
font-weight: 300;
|
|
|
font-size: 12px;
|
|
|
color: #969BA3;
|
|
|
+ display: -webkit-box;
|
|
|
+ -webkit-line-clamp: 2;
|
|
|
+ -webkit-box-orient: vertical;
|
|
|
+ overflow: hidden;
|
|
|
+ text-overflow: ellipsis;
|
|
|
}
|
|
|
-.AppStoreBri{
|
|
|
+
|
|
|
+.AppStoreBri {
|
|
|
font-family: PingFang SC;
|
|
|
font-size: 10px;
|
|
|
color: #969BA3;
|