123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168 |
- <template>
- <div class="university_details_video">
- <head-component :headinfo=headinfo></head-component>
- <div class="page-content">
- <div class="page-img-box">
- <!-- 生涯故事1-->
- <div>
- <div class="item-box" v-for="(item,index) in list" @click="toDetail(item)">
- <div class="top">
- <p class="title" v-html="item.title"></p>
- <p class="details">详情 ></p>
- </div>
- </div>
- </div>
- <!-- <div class="fenye">-->
- <!-- <pagination v-show="total > 0" :total="total" v-model:page="queryParams.pageNum"
- v-model:limit="queryParams.pageSize" @pagination="query"/>-->
- <xjc-pagination v-if="!loading" :total="total" :pageNum="queryParams.pageNum" :pageSize="queryParams.pageSize"
- @changePage="changePage"></xjc-pagination>
- <!-- </div>-->
- </div>
- <drag_component></drag_component>
- </div>
- </div>
- </template>
- <script setup>
- import headComponent from '@/views/xjc-integratedmachine/components/head_component.vue'
- /*import Drag_component from "@/views/xjc-integratedmachine/components/drag_component.vue";*/
- import xjcPagination from "@/views/xjc-integratedmachine/components/xjc_pagination.vue"
- import {careerinformation} from '@/api/xjc-integratedmachine/environment/tscareer.js'
- import {ref} from "vue";
- const router = useRouter()
- const route = useRoute()
- const list = ref([])
- const total = ref(0)
- const entity = ref({})
- const headinfo = ref({})
- function setHeadinfo(){
- headinfo.value = {
- title: '学职资讯',
- user: {
- avatar: '头像路径',
- nickName: '张三'
- },
- backUrl : '/xjc-integratedmachine/environment/query_universitydb_conditions',
- homeUrl:'/xjc-integratedmachine/environment/index',
- }
- }
- onMounted(() => {
- setHeadinfo()
- query()
- })
- function toDetail(item) {
- router.push({
- path : '/xjc-integratedmachine/environment/info_detail',
- query :{
- id : item.id
- }
- })
- }
- //分页部分
- const queryParams = ref({
- pageNum: 1,
- pageSize: 5,
- type : '1'
- })
- function changePage(params) {
- queryParams.value.pageSize = params.value.pageSize
- queryParams.value.pageNum = params.value.pageNum
- query()
- }
- const loading = ref(false)
- function query() {
- loading.value = true
- careerinformation(queryParams.value).then(resp => {
- list.value = resp.data_list.rows
- total.value = resp.data_list.total
- loading.value = false
- })
- }
- </script>
- <style scoped>
- p, div {
- margin: 0;
- padding: 0;
- }
- .university_details_video {
- background: url('@/assets/images/environment/university-detail.png') no-repeat;
- background-size: 1920px 1080px;
- 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;
- flex-direction: column;
- /* overflow: auto;*/
- .item-box{
- width: 1750px;
- height: 120px;
- border-left: 10px solid #1EC590;
- background: #FFFFFF;
- box-shadow: 0px 2px 4px 2px rgba(0,0,0,0.09);
- border-radius: 5px 5px 5px 5px;
- margin-left: 40px;
- margin-top: 46px;
- padding-left: 40px;
- padding-right: 40px;
- .top{
- display: flex;
- justify-content: space-between;
- padding-top: 40px;
- .title{
- font-weight: bold;
- font-size: 32px;
- color: #000000;
- line-height: 36px;
- }
- .details{
- font-weight: 400;
- font-size: 20px;
- color: #515F6A;
- text-align: left;
- font-style: normal;
- text-transform: none;
- transform: translateY(5px);
- }
- }
- .content{
- border-top: #E6E6E6 1px solid;
- height: 100px;
- overflow: auto;
- padding-top: 30px;
- font-weight: 400;
- font-size: 30px;
- color: #333333;
- }
- }
- }
- }
- </style>
|