zsjyXiaoqihezuo.vue 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. <view>
  18. <view>序号</view>
  19. <view>类别</view>
  20. <view>企业名称</view>
  21. <view>企业介绍</view>
  22. </view>
  23. <view v-for="(item,index) in data.list">
  24. <view>{{index+1}}</view>
  25. <view>{{item.leibie}}</view>
  26. <view>{{item.title}}</view>
  27. <view @click="handleClick(item)">查看详情</view>
  28. </view>
  29. </view>
  30. </view>
  31. </view>
  32. </view>
  33. <!-- 底部导航 -->
  34. <MtaFooter></MtaFooter>
  35. </view>
  36. </template>
  37. <script setup>
  38. import {
  39. ref,
  40. reactive
  41. } from "vue";
  42. import {
  43. onLoad
  44. } from "@dcloudio/uni-app"
  45. import * as httpApi from "@/api/common.js"
  46. import MtaFooter from "@/components/MtaFooter.vue"
  47. import MtaMpHtml from "@/components/MTAMpHtml/MtaMpHtml.vue"
  48. const data = reactive({
  49. list: []
  50. })
  51. onLoad(() => {
  52. pageInit();
  53. })
  54. function handleClick(item) {
  55. uni.navigateTo({
  56. url: `/pages/zsjyXiaoqihezuoInfo/zsjyXiaoqihezuoInfo?id=${item.id}`
  57. })
  58. }
  59. function pageInit() {
  60. httpApi.getCommonZsjyXiaoqiList({
  61. size: 10000
  62. }).then(res => {
  63. data.list = res.data.data;
  64. })
  65. }
  66. </script>
  67. <style>
  68. </style>