admit.js 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. // nova-biotechnology/pages/admit/admit.js
  2. Component({
  3. /**
  4. * 组件的属性列表
  5. */
  6. properties: {
  7. },
  8. /**
  9. * 组件的初始数据
  10. */
  11. data: {
  12. admitList: [
  13. {
  14. image: 'https://file-cloud.fmode.cn/AxlFLpzGx6/20220307/3tk1de040957.png',
  15. title: '2026年单招考场、座位号信息查询',
  16. url: '/common-page/pages/web-view/index?path=https://app.fmode.cn/dev/h5/forecast/query-exam/h0p2knt'
  17. },
  18. // {
  19. // image: 'https://file-cloud.fmode.cn/AxlFLpzGx6/20220307/3tk1de040957.png',
  20. // title: '2024年单招考场、座位号信息查询',
  21. // url: '/common-page/pages/web-view/index?path=https://pwa.fmode.cn/#/forecast/query-exam/2024'
  22. // },
  23. // {
  24. // image: 'https://file-cloud.fmode.cn/AxlFLpzGx6/20220307/3tk1de040957.png',
  25. // title: '2023年单招录取查询',
  26. // url: '/nova-biotechnology/pages/home/enroll/index?type=2023'
  27. // },
  28. ]
  29. },
  30. /**
  31. * 组件的方法列表
  32. */
  33. methods: {
  34. goUrl(e) {
  35. let {
  36. url
  37. } = e.currentTarget.dataset
  38. if (url) {
  39. wx.navigateTo({
  40. url: url,
  41. });
  42. return
  43. }
  44. wx.showToast({
  45. title: '暂未开放',
  46. icon: 'none',
  47. image: '',
  48. duration: 1500,
  49. mask: false,
  50. });
  51. }
  52. }
  53. })