center.html 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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 title="联系我们" is-link @click="showImage"></van-cell>
  23. </van-cell-group>
  24. <van-tabbar v-model="active">
  25. <van-tabbar-item icon="home-o" @click="toEnterprise">企业列表</van-tabbar-item>
  26. <van-tabbar-item icon="friends-o" @click="toInstitution">机构列表</van-tabbar-item>
  27. <van-tabbar-item icon="manager-o">服务中心</van-tabbar-item>
  28. </van-tabbar>
  29. {/block}
  30. {block name="script"}
  31. <script>
  32. function v_setup() {
  33. let base = {};
  34. base.active = Vue.ref(2);
  35. base.showImage = () => {
  36. vant.showImagePreview([
  37. '/static/mobile/images/wechat_qrcode.jpg'
  38. ]);
  39. };
  40. base.toInstitution = () => {
  41. location.href = "{:url('human/institutionList')}";
  42. };
  43. base.toEnterprise = () => {
  44. location.href = "{:url('human/enterpriseList')}";
  45. };
  46. return base;
  47. }
  48. </script>
  49. {/block}