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.

97 lines
1.9 KiB

4 weeks ago
4 weeks ago
4 weeks ago
4 weeks ago
  1. <template>
  2. <view class="blank-page">
  3. <view class="header" :style="{ paddingTop: safeAreaInsets?.top + 'px' }">
  4. <!-- 返回按钮 -->
  5. <view class="head-left">
  6. <image class="back-button" @click="goBack" src="/static/icons/Left.png">
  7. <!-- <text class="tip">当前特斯拉该如何布局</text> -->
  8. </image>
  9. </view>
  10. <view class="header-center">
  11. <text class="title" :style="{ paddingTop: safeAreaInsets?.top + 'px' }"
  12. >机构动向解析</text
  13. >
  14. </view>
  15. </view>
  16. <image class="picture" src="/static/images/blank.png" />
  17. <text class="tip">暂无内容~</text>
  18. </view>
  19. </template>
  20. <script setup>
  21. // 返回到 deepMate 页面
  22. const goBack = () => {
  23. uni.navigateBack({ delta: 1 })
  24. };
  25. </script>
  26. <style scoped>
  27. .blank-page {
  28. display: flex;
  29. flex-direction: column;
  30. position: fixed;
  31. /* 充满视口,彻底禁用页面滚动 */
  32. top: 0;
  33. left: 0;
  34. right: 0;
  35. bottom: 0;
  36. height: 100vh;
  37. overflow: hidden;
  38. /* 锁定页面滚动 */
  39. background-color: #ffffff;
  40. padding: 20rpx 0rpx;
  41. }
  42. .header {
  43. display: flex;
  44. justify-content: space-between;
  45. align-items: center;
  46. padding: 20rpx 30rpx;
  47. background-color: #ffffff;
  48. box-shadow: 0 2rpx rgba(0, 0, 0, 0.1);
  49. }
  50. .head-left {
  51. display: flex;
  52. align-items: center;
  53. }
  54. .back-button {
  55. width: 40rpx;
  56. height: 40rpx;
  57. }
  58. .header-center .title {
  59. position: fixed;
  60. top: 25rpx;
  61. left: 50%;
  62. transform: translateX(-50%);
  63. font-size: 36rpx;
  64. font-weight: bold;
  65. color: #333333;
  66. }
  67. .back-button:hover {
  68. background-color: #e0e0e0;
  69. }
  70. .back-button:active {
  71. transform: scale(0.95);
  72. }
  73. .back-icon {
  74. font-size: 32rpx;
  75. color: #333333;
  76. margin-right: 10rpx;
  77. }
  78. .picture {
  79. display: block;
  80. margin: 200rpx auto 0; /* 图片水平居中 */
  81. width: 60%;
  82. height: 600rpx;
  83. }
  84. .tip {
  85. color: #999999;
  86. font-size: 28rpx;
  87. text-align: center;
  88. margin-top: 20rpx;
  89. }
  90. </style>