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.

68 lines
1.1 KiB

  1. <template>
  2. <view class="blank-page">
  3. <!-- 返回按钮 -->
  4. <view class="back-button" @click="goBack">
  5. <text class="back-icon"></text>
  6. <text class="back-text">返回</text>
  7. </view>
  8. <text class="tip">当前特斯拉该如何布局</text>
  9. </view>
  10. </template>
  11. <script setup>
  12. // 返回到 deepMate 页面
  13. const goBack = () => {
  14. uni.navigateTo({
  15. url: '/pages/deepMate/deepMate'
  16. });
  17. };
  18. </script>
  19. <style scoped>
  20. .blank-page {
  21. display: flex;
  22. flex-direction: column;
  23. align-items: center;
  24. justify-content: center;
  25. height: 100vh;
  26. background-color: #ffffff;
  27. position: relative;
  28. }
  29. .back-button {
  30. position: absolute;
  31. top: 60rpx;
  32. left: 30rpx;
  33. display: flex;
  34. align-items: center;
  35. padding: 20rpx 30rpx;
  36. background-color: #f5f5f5;
  37. border-radius: 50rpx;
  38. cursor: pointer;
  39. transition: all 0.3s ease;
  40. }
  41. .back-button:hover {
  42. background-color: #e0e0e0;
  43. }
  44. .back-button:active {
  45. transform: scale(0.95);
  46. }
  47. .back-icon {
  48. font-size: 32rpx;
  49. color: #333333;
  50. margin-right: 10rpx;
  51. }
  52. .back-text {
  53. font-size: 28rpx;
  54. color: #333333;
  55. }
  56. .tip {
  57. color: #999999;
  58. font-size: 28rpx;
  59. }
  60. </style>