index.vue 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. <template>
  2. <div id="index">
  3. <el-row>
  4. <el-col :span="24" class="main animate__animated animate__backInRight" v-loading="loading">
  5. <cHead style="background-color: #2e3546; color: #f0f2f5"></cHead>
  6. <div class="w_1200">
  7. <el-row class="help">
  8. <el-col :span="6" class="left">
  9. <a-menu v-model:selectedKeys="selectedKeys" style="width: 256px" mode="inline" :items="menuList" @select="onOpenChange"></a-menu>
  10. </el-col>
  11. <el-col v-if="select === '1'" :span="18" class="right">
  12. <h2>关于我们</h2>
  13. <el-col :span="24" class="other">
  14. 吉林省重点领域技术转移平台是全国最早开设的大型常设网上技术交易市场,为我国探索网上技术交易提供了大量的“浙江经验”。
  15. 吉林省重点领域技术转移平台3.0版按照全要素聚集、全链条服务、全球化生态的规划思路升级建设,将打造统一的科技成果交易体系、服务体系、统计监测分析体系,构建线上线下、有形无形、国际国内一体化的技术市场体系,形成“招拍挂、股改投”联动的技术交易模式和辐射全国、链接全球的技术交易生态。
  16. </el-col>
  17. </el-col>
  18. <el-col v-else-if="select === '2'" :span="18" class="right">意见反馈</el-col>
  19. <el-col v-else-if="select === '3'" :span="18" class="right">
  20. <el-row :gutter="20">
  21. <el-col :span="12" class="left">
  22. <el-image class="image" src="/src/assets/map.jpg" fit="fill" />
  23. </el-col>
  24. <el-col :span="12" class="right">
  25. <el-col :span="24" class="other">
  26. <el-icon color="#2374ff">
  27. <Message />
  28. </el-icon>
  29. <span>联系我们</span> 吉林省科技开发交流中心
  30. </el-col>
  31. <el-col :span="24" class="other">
  32. <el-icon color="#2374ff">
  33. <Location />
  34. </el-icon>
  35. <span>联系地址</span>长春朝阳区前进大街1244号(吉林省科技厅科研园)
  36. </el-col>
  37. <el-col :span="24" class="other">
  38. <el-icon color="#2374ff">
  39. <Iphone />
  40. </el-icon>
  41. <span>联系电话</span> 0431-81165166
  42. </el-col>
  43. </el-col>
  44. </el-row>
  45. </el-col>
  46. <el-col v-else-if="select === '4'" :span="18" class="right">法律条款</el-col>
  47. </el-row>
  48. </div>
  49. <cFoot style="background-color: #2e3546; color: #f0f2f5"></cFoot>
  50. </el-col>
  51. </el-row>
  52. </div>
  53. </template>
  54. <script setup lang="ts">
  55. // 基础
  56. import type { Ref } from 'vue';
  57. import { onMounted, ref, reactive } from 'vue';
  58. import { useRoute } from 'vue-router';
  59. import { ItemType } from 'ant-design-vue';
  60. // 接口
  61. // import { ToolsStore } from '@/stores/tool';
  62. // import type { IQueryResult } from '@/util/types.util';
  63. // const toolsAxios = ToolsStore();
  64. const route = useRoute();
  65. // 加载中
  66. const loading: Ref<any> = ref(false);
  67. const info: Ref<any> = ref({});
  68. const selectedKeys: Ref<any> = ref(['1']);
  69. const select: Ref<any> = ref('1');
  70. const menuList: ItemType[] = reactive([
  71. {
  72. key: '1',
  73. label: '关于我们',
  74. title: '关于我们'
  75. },
  76. {
  77. key: '2',
  78. label: '意见反馈',
  79. title: '意见反馈'
  80. },
  81. {
  82. key: '3',
  83. label: '联系我们',
  84. title: '联系我们'
  85. },
  86. {
  87. key: '4',
  88. label: '法律条款',
  89. title: '法律条款'
  90. }
  91. ]);
  92. // 请求
  93. onMounted(async () => {
  94. loading.value = true;
  95. search();
  96. loading.value = false;
  97. });
  98. const search = async () => {
  99. if (route.query.type) {
  100. select.value = route.query.type;
  101. selectedKeys.value = [route.query.type];
  102. }
  103. // let res: IQueryResult = await toolsAxios.dataCount();
  104. // if (res.errcode == '0') {
  105. // info.value = res.data;
  106. // }
  107. };
  108. const onOpenChange = (item) => {
  109. select.value = item.key;
  110. };
  111. </script>
  112. <style scoped lang="scss">
  113. .main {
  114. .help {
  115. padding: 10px 0;
  116. min-height: 507px;
  117. .left {
  118. display: flex;
  119. align-items: normal;
  120. }
  121. .right {
  122. background: rgba(40, 77, 191, 0.03);
  123. padding: 20px;
  124. h2 {
  125. font-size: 32px;
  126. color: #284dbf;
  127. }
  128. .other {
  129. margin-bottom: 10px;
  130. font-family: PingFangSC-Regular;
  131. font-size: 14px;
  132. color: #7e8288;
  133. line-height: 25px;
  134. span {
  135. font-family: PingFangSC-Regular;
  136. font-size: 14px;
  137. color: #383b40;
  138. line-height: 25px;
  139. margin: 0 5px;
  140. }
  141. }
  142. }
  143. }
  144. }
  145. </style>