dqgzGonghuizuzhijiagou.vue 1.3 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. <img :src="data.content" alt="" class="img-center-top">
  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. const data = reactive({
  37. content: ''
  38. })
  39. onLoad(() => {
  40. pageInit();
  41. })
  42. function handleGo(code) {
  43. if (code == 'shouye') {
  44. uni.navigateTo({
  45. url: '/pages/index/index'
  46. })
  47. }
  48. }
  49. function pageInit() {
  50. httpApi.getDangjianZuzhiGonghuiInfo().then(res => {
  51. data.content = res.data.picApp;
  52. })
  53. }
  54. </script>
  55. <style>
  56. </style>