xygkJigoushezhi.vue 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. <img :src="data.content" alt="" class="img-center-top">
  18. </view>
  19. </view>
  20. </view>
  21. </view>
  22. </view>
  23. </template>
  24. <script setup>
  25. import {
  26. ref,
  27. reactive
  28. } from "vue";
  29. import {
  30. onLoad
  31. } from "@dcloudio/uni-app"
  32. import * as httpApi from "@/api/common.js"
  33. const data = reactive({
  34. content: ''
  35. })
  36. onLoad(() => {
  37. pageInit();
  38. })
  39. function handleGo(code) {
  40. if (code == 'shouye') {
  41. uni.navigateTo({
  42. url: '/pages/index/index'
  43. })
  44. }
  45. }
  46. function pageInit() {
  47. httpApi.getCommonGaikuangJigouShezhiInfo().then(res => {
  48. data.content = res.data.pic;
  49. })
  50. }
  51. </script>
  52. <style>
  53. </style>