xygkXueyuanjianjie.vue 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <template>
  2. <view class="dljt-page-box" v-if="data.info">
  3. <MtaNavbar></MtaNavbar>
  4. <view class="dljt-container-box">
  5. <!-- 详情页面 -->
  6. <view class="dljt-page-title">党群工作</view>
  7. <view class="dljt-page-content-box">
  8. <!-- 导航 -->
  9. <view class="dljt-breadcrumb-box">
  10. <view class="breadcrumb-text" @click="handleGo()">首页</view>
  11. <icon class="breadcrumb-jt"></icon>
  12. <view class="breadcrumb-text">学院概况</view>
  13. <icon class="breadcrumb-jt"></icon>
  14. <view class="breadcrumb-active">学院简介</view>
  15. </view>
  16. <view class="dljt-detail-box">
  17. <MtaMpHtml class="dljt-editor-box" :content="data.info.content" ></MtaMpHtml>
  18. </view>
  19. </view>
  20. </view>
  21. <!-- 底部导航 -->
  22. <MtaFooter></MtaFooter>
  23. </view>
  24. </template>
  25. <script setup>
  26. import MtaMpHtml from "@/components/MTAMpHtml/MtaMpHtml.vue"
  27. import MtaPDFVue from "@/components/MtaPDF.vue";
  28. import MtaFooter from "@/components/MtaFooter.vue"
  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. const data = reactive({
  38. info: {}
  39. })
  40. onLoad(() => {
  41. pageInit();
  42. })
  43. function handleGo() {
  44. uni.navigateTo({
  45. url: '/pages/index/index'
  46. })
  47. }
  48. function pageInit() {
  49. httpApi.getCommonGaikuangJianjieInfo().then(res => {
  50. data.info = res.data;
  51. })
  52. }
  53. </script>
  54. <style>
  55. </style>