index.vue 796 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <template>
  2. <view class="page">
  3. <image :src="imgUrl" mode="widthFix" />
  4. <view v-if="!imagePage">即将开放,敬请期待</view>
  5. </view>
  6. </template>
  7. <script>
  8. export default {
  9. data() {
  10. return {
  11. imagePage: false,
  12. imgUrl: '',
  13. };
  14. },
  15. onLoad(param) {
  16. this.imgUrl = `https://kailin-mp.oss-cn-shenzhen.aliyuncs.com/static/index/banner_${param.id}.png`;
  17. this.imagePage = ['3', '11'].includes(param.id);
  18. },
  19. };
  20. </script>
  21. <style lang="less" scoped>
  22. .page {
  23. width: 100vw;
  24. height: 100vh;
  25. display: flex;
  26. flex-direction: column;
  27. overflow: hidden;
  28. > image {
  29. height: 300rpx;
  30. width: 100%;
  31. }
  32. > view {
  33. flex: 1;
  34. font-size: 30rpx;
  35. color: #999;
  36. display: flex;
  37. justify-content: center;
  38. align-items: center;
  39. }
  40. }
  41. </style>