|
@@ -1,272 +1,439 @@
|
|
|
<template>
|
|
|
-
|
|
|
- <div>
|
|
|
-
|
|
|
- 创建时间:{{entity.ctime}} 所在地区:{{entity.areaname}}
|
|
|
- 学历层次:
|
|
|
- <dict-tag :options="educationlevel" :value="entity.educationlevel"/>
|
|
|
- 办学性质:
|
|
|
- <dict-tag :options="property" :value="entity.property"/>
|
|
|
- 院校类型:
|
|
|
- <dict-tag :options="school_category" :value="entity.school_category"/>
|
|
|
- 院校隶属:{{entity.subjection}}
|
|
|
- 联系电话:{{entity.telephone}}
|
|
|
- 通讯地址:{{entity.address}}
|
|
|
- </div>
|
|
|
-
|
|
|
- <collectionComponent :collection="collection_data"></collectionComponent>
|
|
|
-
|
|
|
- <el-card style="width:80%;">
|
|
|
- <div style="display: flex;flex-direction: row;justify-content: space-between">
|
|
|
- <div @click="changeShowIndex(1)">学校简介</div>
|
|
|
- <div @click="changeShowIndex(2)">院系设置</div>
|
|
|
- <div @click="changeShowIndex(3)">学科专业</div>
|
|
|
- <div @click="changeShowIndex(4)">奖励资助</div>
|
|
|
- <div @click="changeShowIndex(5)">考分查询</div>
|
|
|
- <div @click="changeShowIndex(6)">计划查询</div>
|
|
|
- <div @click="changeShowIndex(7)">招生简章</div>
|
|
|
- <div @click="changeShowIndex(8)">学校视频</div>
|
|
|
+ <div class="university_details_video">
|
|
|
+ <head-component :headinfo=headinfo></head-component>
|
|
|
+ <div class="page-content">
|
|
|
+ <div class="page-img-box">
|
|
|
+ <div class="top-content">
|
|
|
+ <!-- <img :src= "`${baseUrl}`+ item.picPath" />-->
|
|
|
+ <div style="width: 154px;height: 154px;border: 1px solid;margin-left: 48px"></div>
|
|
|
+ <div class="top-content-right">
|
|
|
+ <div class="right-top">
|
|
|
+ <p class="title">title</p>
|
|
|
+ <div class="right-top-icon">
|
|
|
+ <div class="item-img">
|
|
|
+ <img src="@/assets/images/environment/collage.png">
|
|
|
+ <p>收藏</p>
|
|
|
+ </div>
|
|
|
+ <div class="item-img">
|
|
|
+ <img src="@/assets/images/environment/contrast.png">
|
|
|
+ <p>对比</p>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="school-level-box">
|
|
|
+ <p class="school-level">98</p>
|
|
|
+ <p class="school-level"></p>
|
|
|
+ <p class="school-level"></p>
|
|
|
+ <p class="school-level"></p>
|
|
|
+ </div>
|
|
|
+ <div class="text-box">
|
|
|
+ <p>创建时间:{{entity.ctime}}</p>
|
|
|
+ <p>所在地区:{{entity.areaname}}</p>
|
|
|
+ <p>学历层次:{{entity.educationlevel}}</p>
|
|
|
+ <p>办学性质:{{entity.property}}</p>
|
|
|
+ <p>院校类型:{{entity.school_category}}</p>
|
|
|
+ <p>院校隶属:{{entity.subjection}}:</p>
|
|
|
+ <p>通讯地址:{{entity.address}}</p>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </el-card>
|
|
|
+ <div class="bottom-content">
|
|
|
|
|
|
- <div v-show="showIndex == 1">
|
|
|
- <div v-html="entity.summary">
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div v-show="showIndex == 2">
|
|
|
- <div v-html="entity.collegeset">
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div v-show="showIndex == 3">
|
|
|
- <div v-html="entity.specialtyintroduction">
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div v-show="showIndex == 4">
|
|
|
- <div v-html="entity.incentivegrant">
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div v-show="showIndex == 5">
|
|
|
- -------考分查询-------
|
|
|
- <div @click="showAreaChooseHandler">招生地区::{{form.areaname}}</div>
|
|
|
- <div @click="showCategoryHandler">考生类别::{{form.categoryName}}</div>
|
|
|
- <el-button @click="getScore">点击查询</el-button>
|
|
|
- <el-table :data="kf_tableData">
|
|
|
- <el-table-column label="招生年份" align="center" key="years" prop="years"/>
|
|
|
- <el-table-column label="录取批次" align="center" key="batchname" prop="batchname"/>
|
|
|
- <el-table-column label="最低分" align="center" key="lowscore" prop="lowscore"/>
|
|
|
- <el-table-column label="最低分位次" align="center" key="totalorder" prop="totalorder"/>
|
|
|
- </el-table>
|
|
|
- </div>
|
|
|
- <div v-show="showIndex == 6">
|
|
|
- <div @click="showAreaChooseHandler">招生地区::{{form.areaname}}</div>
|
|
|
- <div @click="showGradeHandler">年份::{{form.grade}}</div>
|
|
|
- <div @click="showCategoryHandler">考生类别::{{form.categoryName}}</div>
|
|
|
- <el-button @click="getPlan">点击查询</el-button>
|
|
|
- <el-table :data="jh_tableData">
|
|
|
- <el-table-column label="招生年份" align="center" key="years" prop="years"/>
|
|
|
- <el-table-column label="专业名称" align="center" key="enrollname" prop="enrollname"/>
|
|
|
- <el-table-column label="大学学制" align="center" key="studyyears" prop="studyyears"/>
|
|
|
- <el-table-column label="批次" align="center" key="batch_name" prop="batch_name"/>
|
|
|
- <el-table-column label="计划招生人数" align="center" key="plannum" prop="plannum"/>
|
|
|
- <el-table-column label="学费" align="center" key="fee" prop="fee"/>
|
|
|
- </el-table>
|
|
|
- </div>
|
|
|
- <div v-show="showIndex == 7">
|
|
|
- <div v-html="entity.sturecruitmen">
|
|
|
-
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div v-show="showIndex == 8">
|
|
|
- <div ref="videoContainer" class="video-container">
|
|
|
- <video ref="videoPlayer" id="playerId" class="video-js vjs-default-skin" controls preload="auto" :data-setup="{}">
|
|
|
- <!-- 可以在这里插入source标签以指定你的视频源 -->
|
|
|
- <source :src="entity.path" type="video/mp4">
|
|
|
- </video>
|
|
|
</div>
|
|
|
+ </div>
|
|
|
+ <drag_component></drag_component>
|
|
|
</div>
|
|
|
-
|
|
|
- <div>
|
|
|
- <!--招生地区-->
|
|
|
- <el-dialog v-model="showAreaChoose" width="600px" append-to-body>
|
|
|
- <div v-for="dict in gk_province" :key="dict.value" @click="chooseArea(dict)">{{dict.label}}</div>
|
|
|
- </el-dialog>
|
|
|
- <!--考生类别-->
|
|
|
- <el-dialog v-model="showCategoryChoose" width="600px" append-to-body>
|
|
|
- <div v-for="dict in category" :key="dict.value" @click="chooseCategory(dict)">{{dict.label}}</div>
|
|
|
- </el-dialog>
|
|
|
- <!--年份-->
|
|
|
- <el-dialog v-model="showGradeChoose" width="600px" append-to-body>
|
|
|
- <div v-for="item in grade" :key="item" @click="chooseGrade(item)">{{item}}</div>
|
|
|
- </el-dialog>
|
|
|
- </div>
|
|
|
-
|
|
|
+ </div>
|
|
|
|
|
|
</template>
|
|
|
-
|
|
|
<script setup>
|
|
|
- import {
|
|
|
- universityDetail,
|
|
|
- getPlanYearList,
|
|
|
- getScoreList,
|
|
|
- getPlanList,
|
|
|
- } from '@/api/xjc-integratedmachine/environment/university.js'
|
|
|
- import videojs from 'video.js';
|
|
|
- import 'video.js/dist/video-js.css';
|
|
|
-
|
|
|
- import collectionComponent from '@/views/xjc-integratedmachine/components/collection_component.vue'
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- const showAreaChoose = ref(false)
|
|
|
- const showCategoryChoose = ref(false)
|
|
|
- const showGradeChoose = ref(false)
|
|
|
-
|
|
|
- const router = useRouter()
|
|
|
- const route = useRoute()
|
|
|
-
|
|
|
- const param = route.query
|
|
|
- const showIndex = ref(1)
|
|
|
-
|
|
|
- const collection_data = ref({
|
|
|
- contentType : 1,
|
|
|
- contentId :param.id
|
|
|
- })
|
|
|
-
|
|
|
- const grade = ref([])
|
|
|
-
|
|
|
- const {proxy} = getCurrentInstance()
|
|
|
-
|
|
|
- const {gk_province, category, educationlevel, property, school_category} = proxy.useDict('gk_province', 'category', 'educationlevel', 'property', 'school_category')
|
|
|
-
|
|
|
- const form = ref({
|
|
|
- area: null,
|
|
|
- areaname: null,
|
|
|
- university: param.name,
|
|
|
+import headComponent from '@/views/xjc-integratedmachine/components/head_component.vue'
|
|
|
+import Drag_component from "@/views/xjc-integratedmachine/components/drag_component.vue";
|
|
|
+import {
|
|
|
+ universityDetail,
|
|
|
+ getPlanYearList,
|
|
|
+ getScoreList,
|
|
|
+ getPlanList,
|
|
|
+ getCollection
|
|
|
+} from '@/api/xjc-integratedmachine/environment/university.js'
|
|
|
+import videojs from 'video.js';
|
|
|
+import 'video.js/dist/video-js.css';
|
|
|
+
|
|
|
+import collectionComponent from '@/views/xjc-integratedmachine/components/collection_component.vue'
|
|
|
+import {ref} from "vue";
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+const showAreaChoose = ref(false)
|
|
|
+const showCategoryChoose = ref(false)
|
|
|
+const showGradeChoose = ref(false)
|
|
|
+
|
|
|
+const router = useRouter()
|
|
|
+const route = useRoute()
|
|
|
+
|
|
|
+const param = route.query
|
|
|
+const showIndex = ref(1)
|
|
|
+
|
|
|
+const collection_data = ref({
|
|
|
+ contentType : 1,
|
|
|
+ contentId :param.id
|
|
|
+})
|
|
|
+
|
|
|
+const grade = ref([])
|
|
|
+
|
|
|
+const {proxy} = getCurrentInstance()
|
|
|
+
|
|
|
+const {gk_province, category, educationlevel, property, school_category} = proxy.useDict('gk_province', 'category', 'educationlevel', 'property', 'school_category')
|
|
|
+
|
|
|
+const form = ref({
|
|
|
+ area: null,
|
|
|
+ areaname: null,
|
|
|
+ university: param.name,
|
|
|
+})
|
|
|
+
|
|
|
+const entity = ref({})
|
|
|
+const collectionList = ref([])
|
|
|
+const headinfo = ref({})
|
|
|
+function setHeadinfo(){
|
|
|
+ headinfo.value = {
|
|
|
+ title: '生涯唤醒学习系统',
|
|
|
+ user: {
|
|
|
+ avatar: '头像路径',
|
|
|
+ nickName: '张三'
|
|
|
+ },
|
|
|
+ backUrl : '/xjc-integratedmachine/wakeup/index'
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+function detail() {
|
|
|
+ universityDetail({
|
|
|
+ id: param.id
|
|
|
+ }).then(resp => {
|
|
|
+ entity.value.oldid = resp.entity.oldid
|
|
|
+ //学校信息在这里
|
|
|
+ entity.value = resp.entity
|
|
|
+ //看看收藏
|
|
|
+ queryConnection()
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
+function changeShowIndex(index) {
|
|
|
+ showIndex.value = index
|
|
|
+ if (showIndex.value == 8) {
|
|
|
+ const player = videojs(playerId, {autoplay: true});
|
|
|
+ player.src(entity.value.path);
|
|
|
+ player.on("ended", () => {
|
|
|
})
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+function showAreaChooseHandler() {
|
|
|
+ showAreaChoose.value = true
|
|
|
+}
|
|
|
+
|
|
|
+function chooseArea(item) {
|
|
|
+ form.value.area = item.value
|
|
|
+ form.value.areaname = item.label
|
|
|
+ showAreaChoose.value = false
|
|
|
+ getPlanYear()
|
|
|
+}
|
|
|
+
|
|
|
+function showCategoryHandler() {
|
|
|
+ showCategoryChoose.value = true
|
|
|
+}
|
|
|
+
|
|
|
+function chooseCategory(item) {
|
|
|
+ form.value.category = item.value
|
|
|
+ form.value.categoryName = item.label
|
|
|
+ showCategoryChoose.value = false
|
|
|
+}
|
|
|
+
|
|
|
+function showGradeHandler() {
|
|
|
+ showGradeChoose.value = true
|
|
|
+}
|
|
|
+
|
|
|
+function chooseGrade(item) {
|
|
|
+ form.value.grade = item
|
|
|
+ showGradeChoose.value = false
|
|
|
+}
|
|
|
+
|
|
|
+function getPlanYear() {
|
|
|
+ getPlanYearList({
|
|
|
+ university: param.name,
|
|
|
+ area: form.value.area
|
|
|
+ }).then(resp => {
|
|
|
+ grade.value = resp.list
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
+const kf_tableData = ref([])
|
|
|
+
|
|
|
+function getScore() {
|
|
|
+ let data = {
|
|
|
+ area: form.value.area,
|
|
|
+ university: entity.value.oldid,
|
|
|
+ category: form.value.category
|
|
|
+ }
|
|
|
+ getScoreList(data).then(resp => {
|
|
|
+ kf_tableData.value = resp.list
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
+const jh_tableData = ref([])
|
|
|
+
|
|
|
+function getPlan() {
|
|
|
+ let data = {
|
|
|
+ university: param.name,
|
|
|
+ area: form.value.area,
|
|
|
+ category: form.value.category,
|
|
|
+ year: form.value.grade
|
|
|
+ }
|
|
|
+ getPlanList(data).then(resp => {
|
|
|
+ jh_tableData.value = resp.list
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
+function collection() {
|
|
|
+ let data = {
|
|
|
+ contentType: 1,
|
|
|
+ contentId: param.id,
|
|
|
+ }
|
|
|
+ addCollection(data).then(resp => {
|
|
|
+ queryConnection()
|
|
|
+ })
|
|
|
+}
|
|
|
+function queryConnection() {
|
|
|
+ let data = {
|
|
|
+ contentType: 1,
|
|
|
+ contentId: param.id,
|
|
|
+ }
|
|
|
+ getCollection(data).then(resp => {
|
|
|
+ collectionList.value = resp.collection
|
|
|
+ })
|
|
|
+}
|
|
|
+function cancle_collection() {
|
|
|
+ let data = {
|
|
|
+ id: collectionList.value[0].id,
|
|
|
+ }
|
|
|
+ removeCollection(data).then(resp => {
|
|
|
+ queryConnection()
|
|
|
+ })
|
|
|
+}
|
|
|
+
|
|
|
+
|
|
|
+detail()
|
|
|
|
|
|
- const entity = ref({})
|
|
|
- const collectionList = ref([])
|
|
|
-
|
|
|
- function detail() {
|
|
|
- universityDetail({
|
|
|
- id: param.id
|
|
|
- }).then(resp => {
|
|
|
- entity.value.oldid = resp.entity.oldid
|
|
|
- //学校信息在这里
|
|
|
- entity.value = resp.entity
|
|
|
- //看看收藏
|
|
|
- queryConnection()
|
|
|
- })
|
|
|
- }
|
|
|
-
|
|
|
- function changeShowIndex(index) {
|
|
|
- showIndex.value = index
|
|
|
- if (showIndex.value == 8) {
|
|
|
- const player = videojs(playerId, {autoplay: true});
|
|
|
- player.src(entity.value.path);
|
|
|
- player.on("ended", () => {
|
|
|
- })
|
|
|
+</script>
|
|
|
+<!--<script setup>-->
|
|
|
+<!--import headComponent from '@/views/xjc-integratedmachine/components/head_component.vue'-->
|
|
|
+<!--import Drag_component from "@/views/xjc-integratedmachine/components/drag_component.vue";-->
|
|
|
+
|
|
|
+<!--const router = useRouter()-->
|
|
|
+
|
|
|
+<!--const headinfo = ref({})-->
|
|
|
+
|
|
|
+<!--function setHeadinfo() {-->
|
|
|
+<!-- headinfo.value = {-->
|
|
|
+<!-- title: '生涯唤醒学习系统',-->
|
|
|
+<!-- user: {-->
|
|
|
+<!-- avatar: '头像路径',-->
|
|
|
+<!-- nickName: '张三'-->
|
|
|
+<!-- },-->
|
|
|
+<!-- backUrl: '/xjc-integratedmachine/wakeup/index'-->
|
|
|
+<!-- }-->
|
|
|
+<!--}-->
|
|
|
+
|
|
|
+
|
|
|
+<!--function jumpTo(path) {-->
|
|
|
+<!-- router.push({-->
|
|
|
+<!-- path: path,-->
|
|
|
+<!-- query: {name: 123}-->
|
|
|
+<!-- })-->
|
|
|
+<!--}-->
|
|
|
+
|
|
|
+<!--onMounted(() => {-->
|
|
|
+<!-- setHeadinfo()-->
|
|
|
+<!--})-->
|
|
|
+<!--</script>-->
|
|
|
+
|
|
|
+
|
|
|
+<style scoped lang="scss">
|
|
|
+p, div {
|
|
|
+ margin: 0;
|
|
|
+ padding: 0;
|
|
|
+}
|
|
|
+
|
|
|
+.university_details_video {
|
|
|
+ background: url('@/assets/images/environment/university-detail.png') no-repeat;
|
|
|
+ background-size: 1920px 1080px;
|
|
|
+ z-index: 10;
|
|
|
+ width: 100%;
|
|
|
+ height: 1080px;
|
|
|
+
|
|
|
+ .page-content {
|
|
|
+ width: 100%;
|
|
|
+ position: absolute;
|
|
|
+ top: 100px;
|
|
|
+ bottom: 0;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ }
|
|
|
+
|
|
|
+ .page-img-box {
|
|
|
+ width: 1832px;
|
|
|
+ height: 922px;
|
|
|
+ margin-top: 13px;
|
|
|
+ background: rgba(255, 255, 255, 0.4);
|
|
|
+ border-radius: 35px 35px 35px 35px;
|
|
|
+ display: flex;
|
|
|
+ //justify-content: space-around;
|
|
|
+ //flex-direction: column;
|
|
|
+ //align-items: center;
|
|
|
+
|
|
|
+ .top-content {
|
|
|
+ width: 1832px;
|
|
|
+ height: 282px;
|
|
|
+ border: 1px solid;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+
|
|
|
+ .top-content-right {
|
|
|
+ margin-left: 45px;
|
|
|
+ width: 1630px;
|
|
|
+ height: 281px;
|
|
|
+ border: 1px solid;
|
|
|
+
|
|
|
+ .title {
|
|
|
+ font-weight: bold;
|
|
|
+ font-size: 36px;
|
|
|
+ color: #1E410E;
|
|
|
+ line-height: 24px;
|
|
|
+ //margin-top: 63px;
|
|
|
}
|
|
|
- }
|
|
|
-
|
|
|
- function showAreaChooseHandler() {
|
|
|
- showAreaChoose.value = true
|
|
|
- }
|
|
|
|
|
|
- function chooseArea(item) {
|
|
|
- form.value.area = item.value
|
|
|
- form.value.areaname = item.label
|
|
|
- showAreaChoose.value = false
|
|
|
- getPlanYear()
|
|
|
- }
|
|
|
-
|
|
|
- function showCategoryHandler() {
|
|
|
- showCategoryChoose.value = true
|
|
|
- }
|
|
|
-
|
|
|
- function chooseCategory(item) {
|
|
|
- form.value.category = item.value
|
|
|
- form.value.categoryName = item.label
|
|
|
- showCategoryChoose.value = false
|
|
|
- }
|
|
|
+ .school-level-box {
|
|
|
+ display: flex;
|
|
|
+ justify-content: left;
|
|
|
+ //margin-top: 32px;
|
|
|
+
|
|
|
+ .school-level {
|
|
|
+ margin-right: 20px;
|
|
|
+ width: 174px;
|
|
|
+ height: 54px;
|
|
|
+ background: #B3FC7C;
|
|
|
+ border-radius: 5px 5px 5px 5px;
|
|
|
+ font-weight: bold;
|
|
|
+ font-size: 20px;
|
|
|
+ color: #000000;
|
|
|
+ line-height: 54px;
|
|
|
+ text-align: center;
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
- function showGradeHandler() {
|
|
|
- showGradeChoose.value = true
|
|
|
- }
|
|
|
+ .text-box {
|
|
|
+ width: 100%;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-around;
|
|
|
+ align-items: center;
|
|
|
+ flex-wrap: wrap;
|
|
|
|
|
|
- function chooseGrade(item) {
|
|
|
- form.value.grade = item
|
|
|
- showGradeChoose.value = false
|
|
|
- }
|
|
|
+ p {
|
|
|
+ margin-right: 20px;
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
- function getPlanYear() {
|
|
|
- getPlanYearList({
|
|
|
- university: param.name,
|
|
|
- area: form.value.area
|
|
|
- }).then(resp => {
|
|
|
- grade.value = resp.list
|
|
|
- })
|
|
|
+ .right-top {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
+
|
|
|
+ .right-top-icon {
|
|
|
+ width: 100px;
|
|
|
+ height: 68px;
|
|
|
+ border: 1px solid;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ margin-top: 24px;
|
|
|
+ .item-img {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ align-items: center;
|
|
|
+
|
|
|
+ p {
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 20px;
|
|
|
+ color: #515F6A;
|
|
|
+
|
|
|
+ }
|
|
|
+ img {
|
|
|
+ width: 36px;
|
|
|
+ height: 36px;
|
|
|
+ border: 1px solid;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
- const kf_tableData = ref([])
|
|
|
+ }
|
|
|
|
|
|
- function getScore() {
|
|
|
- let data = {
|
|
|
- area: form.value.area,
|
|
|
- university: entity.value.oldid,
|
|
|
- category: form.value.category
|
|
|
- }
|
|
|
- getScoreList(data).then(resp => {
|
|
|
- kf_tableData.value = resp.list
|
|
|
- })
|
|
|
- }
|
|
|
+ .content-bottom {
|
|
|
+ width: 100%;
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ position: relative;
|
|
|
|
|
|
- const jh_tableData = ref([])
|
|
|
+ .draw {
|
|
|
+ width: 109px;
|
|
|
+ height: 170px;
|
|
|
+ margin-left: 100px;
|
|
|
|
|
|
- function getPlan() {
|
|
|
- let data = {
|
|
|
- university: param.name,
|
|
|
- area: form.value.area,
|
|
|
- category: form.value.category,
|
|
|
- year: form.value.grade
|
|
|
- }
|
|
|
- getPlanList(data).then(resp => {
|
|
|
- jh_tableData.value = resp.list
|
|
|
- })
|
|
|
+ img {
|
|
|
+ width: 109px;
|
|
|
+ height: 170px;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
- function collection() {
|
|
|
- let data = {
|
|
|
- contentType: 1,
|
|
|
- contentId: param.id,
|
|
|
- }
|
|
|
- addCollection(data).then(resp => {
|
|
|
- queryConnection()
|
|
|
- })
|
|
|
- }
|
|
|
- function queryConnection() {
|
|
|
- let data = {
|
|
|
- contentType: 1,
|
|
|
- contentId: param.id,
|
|
|
- }
|
|
|
- getCollection(data).then(resp => {
|
|
|
- collectionList.value = resp.collection
|
|
|
- })
|
|
|
- }
|
|
|
- function cancle_collection() {
|
|
|
- let data = {
|
|
|
- id: collectionList.value[0].id,
|
|
|
- }
|
|
|
- removeCollection(data).then(resp => {
|
|
|
- queryConnection()
|
|
|
- })
|
|
|
+ .ai-rabit {
|
|
|
+ position: absolute;
|
|
|
+ right: 100px;
|
|
|
+ top: -50px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+
|
|
|
+ .ai-rabit-text {
|
|
|
+ width: 345px;
|
|
|
+ height: 89px;
|
|
|
+ background: #E8EEF7;
|
|
|
+ font-weight: 300;
|
|
|
+ margin-bottom: 20px;
|
|
|
+ font-size: 22px;
|
|
|
+ color: #000000;
|
|
|
+ padding: 16px;
|
|
|
+ border-radius: 24px 24px 24px 24px;
|
|
|
+ }
|
|
|
+
|
|
|
+ img {
|
|
|
+ width: 178px;
|
|
|
+ height: 270px;
|
|
|
+ }
|
|
|
}
|
|
|
+ }
|
|
|
|
|
|
+}
|
|
|
|
|
|
- detail()
|
|
|
-
|
|
|
-</script>
|
|
|
-
|
|
|
-<style scoped>
|
|
|
+.temp {
|
|
|
+ width: 20vw;
|
|
|
+ height: 10vh;
|
|
|
+ background: #85eff5;
|
|
|
+ border: solid 1px #a2fffc;
|
|
|
+ border-radius: 10px;
|
|
|
+ cursor: pointer;
|
|
|
+}
|
|
|
|
|
|
</style>
|
|
|
+
|