智慧画屏客户端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
849 B

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  1. <template>
  2. <view class="content">
  3. <image class="logo" src="/static/logo.png"></image>
  4. <view class="text-area" @tap="to()">
  5. <text class="title">{{title}}</text>
  6. </view>
  7. </view>
  8. </template>
  9. <script>
  10. export default {
  11. data() {
  12. return {
  13. title: 'Hello'
  14. }
  15. },
  16. onLoad() {
  17. },
  18. methods: {
  19. to(){
  20. uni.navigateTo({
  21. url: '../show/show'
  22. });
  23. },
  24. to2(){
  25. uni.navigateTo({
  26. url: '../show/show2'
  27. });
  28. }
  29. }
  30. }
  31. </script>
  32. <style scoped>
  33. .content {
  34. display: flex;
  35. flex-direction: column;
  36. align-items: center;
  37. justify-content: center;
  38. }
  39. .logo {
  40. height: 74rpx;
  41. width: 400rpx;
  42. margin-top: 200rpx;
  43. margin-left: auto;
  44. margin-right: auto;
  45. margin-bottom: 50rpx;
  46. }
  47. .text-area {
  48. display: flex;
  49. justify-content: center;
  50. }
  51. .title {
  52. font-size: 36rpx;
  53. color: #8f8f94;
  54. }
  55. </style>