智慧画屏客户端
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.

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