center.html 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. {extend name="public/base_human"/}
  2. {block name="css"}
  3. <style>
  4. </style>
  5. {/block}
  6. {block name="body"}
  7. <van-sticky>
  8. <van-nav-bar
  9. class="nav-theme"
  10. :fixed="true"
  11. :placeholder="true"
  12. >
  13. <template #title>
  14. <span class="text-white">服务中心</span>
  15. </template>
  16. </van-nav-bar>
  17. </van-sticky>
  18. <van-cell-group>
  19. <van-cell title="大会介绍" is-link url="{:url('human/describe')}"></van-cell>
  20. <van-cell title="活动指南" is-link url="{:url('human/guide')}"></van-cell>
  21. <van-cell title="晋江介绍" is-link url="{:url('human/jinjiang')}"></van-cell>
  22. </van-cell-group>
  23. <van-tabbar v-model="active">
  24. <van-tabbar-item icon="home-o" @click="toEnterprise">企业列表</van-tabbar-item>
  25. <van-tabbar-item icon="friends-o" @click="toInstitution">机构列表</van-tabbar-item>
  26. <van-tabbar-item icon="manager-o">服务中心</van-tabbar-item>
  27. </van-tabbar>
  28. {/block}
  29. {block name="script"}
  30. <script>
  31. function v_setup() {
  32. let base = {};
  33. base.active = Vue.ref(2);
  34. base.toInstitution = () => {
  35. location.href = "{:url('human/institutionList')}";
  36. };
  37. base.toEnterprise = () => {
  38. location.href = "{:url('human/enterpriseList')}";
  39. };
  40. return base;
  41. }
  42. </script>
  43. {/block}