1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- <template>
- <view class="dljt-page-box">
- <template v-if="data.show">
- <MtaNavbar></MtaNavbar>
- </template>
- <view class="dljt-container-box">
- <view class="dljt-page-title">招生就业</view>
- <view class="dljt-page-content-box">
- <!-- 导航 -->
- <view class="dljt-breadcrumb-box">
- <view class="breadcrumb-text" @click="handleGo('shouye')">首页</view>
- <icon class="breadcrumb-jt"></icon>
- <view class="breadcrumb-text">招生就业</view>
- <icon class="breadcrumb-jt"></icon>
- <view class="breadcrumb-active">招聘信息</view>
- </view>
- <view class="dljt-detail-box">
- <view class="dljt-editor-box">
- <MtaMpHtml class="dljt-editor-box" :content="data.info.content"></MtaMpHtml>
- <!-- pdf -->
- <MtaPDFVue v-if="data.info.pdfUrl" :pdfUrl="data.info.pdfUrl" @showNav="onShowNav"></MtaPDFVue>
- </view>
- </view>
- </view>
- </view>
- <!-- 底部导航 -->
- <MtaFooter></MtaFooter>
- </view>
- </template>
- <script setup>
- import {
- ref,
- reactive
- } from "vue";
- import {
- onLoad
- } from "@dcloudio/uni-app"
- import * as httpApi from "@/api/common.js"
- import MtaFooter from "@/components/MtaFooter.vue"
- import MtaMpHtml from "@/components/MTAMpHtml/MtaMpHtml.vue"
- import MtaPDFVue from "@/components/MtaPDF.vue";
- const data = reactive({
- info: {},
- show: true
- })
- function onShowNav(val) {
- data.show = val;
- }
- onLoad(() => {
- pageInit();
- })
- function handleGo(code) {
- if (code == 'shouye') {
- uni.navigateTo({
- url: '/pages/index/index'
- })
- }
- }
-
- function pageInit() {
- httpApi.getCommonZsjyZhaopin().then(res => {
- data.info = res.data;
- })
- }
- </script>
- <style>
- </style>
|