zsjyZhaopinxinxi.vue 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <template>
  2. <view class="dljt-page-box">
  3. <MtaNavbar></MtaNavbar>
  4. <view class="dljt-container-box">
  5. <view class="dljt-page-title">机构设置</view>
  6. <view class="dljt-page-content-box">
  7. <!-- 导航 -->
  8. <view class="dljt-breadcrumb-box">
  9. <view class="breadcrumb-text" @click="handleGo('shouye')">首页</view>
  10. <icon class="breadcrumb-jt"></icon>
  11. <view class="breadcrumb-text">招生就业</view>
  12. <icon class="breadcrumb-jt"></icon>
  13. <view class="breadcrumb-active">招聘信息</view>
  14. </view>
  15. <view class="dljt-detail-box">
  16. <view class="dljt-editor-box">
  17. <MtaMpHtml class="dljt-editor-box" :content="data.info.content"></MtaMpHtml>
  18. <!-- pdf -->
  19. <MtaPDFVue v-if="data.info.pdfUrl" :pdfUrl="data.info.pdfUrl"></MtaPDFVue>
  20. </view>
  21. </view>
  22. </view>
  23. </view>
  24. <!-- 底部导航 -->
  25. <MtaFooter></MtaFooter>
  26. </view>
  27. </template>
  28. <script setup>
  29. import {
  30. ref,
  31. reactive
  32. } from "vue";
  33. import {
  34. onLoad
  35. } from "@dcloudio/uni-app"
  36. import * as httpApi from "@/api/common.js"
  37. import MtaFooter from "@/components/MtaFooter.vue"
  38. import MtaMpHtml from "@/components/MTAMpHtml/MtaMpHtml.vue"
  39. import MtaPDFVue from "@/components/MtaPDF.vue";
  40. const data = reactive({
  41. info: {}
  42. })
  43. onLoad(() => {
  44. pageInit();
  45. })
  46. function handleGo(code) {
  47. if (code == 'shouye') {
  48. uni.navigateTo({
  49. url: '/pages/index/index'
  50. })
  51. }
  52. }
  53. function pageInit() {
  54. httpApi.getCommonZsjyZhaopin().then(res => {
  55. data.info = res.data;
  56. })
  57. }
  58. </script>
  59. <style>
  60. </style>