zsjyBaokaozhinan.vue 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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.content" ></MtaMpHtml>
  18. </view>
  19. </view>
  20. </view>
  21. </view>
  22. <!-- 底部导航 -->
  23. <MtaFooter></MtaFooter>
  24. </view>
  25. </template>
  26. <script setup>
  27. import {
  28. ref,
  29. reactive
  30. } from "vue";
  31. import {
  32. onLoad
  33. } from "@dcloudio/uni-app"
  34. import * as httpApi from "@/api/common.js"
  35. import MtaFooter from "@/components/MtaFooter.vue"
  36. import MtaMpHtml from "@/components/MTAMpHtml/MtaMpHtml.vue"
  37. const data = reactive({
  38. content: ''
  39. })
  40. onLoad(() => {
  41. pageInit();
  42. })
  43. function handleGo(code) {
  44. if (code == 'shouye') {
  45. uni.navigateTo({
  46. url: '/pages/index/index'
  47. })
  48. }
  49. }
  50. function pageInit() {
  51. httpApi.getCommonZSJYBaokaozhinanInfo().then(res => {
  52. data.content = res.data.content;
  53. })
  54. }
  55. </script>
  56. <style>
  57. </style>