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.

89 lines
1.7 KiB

4 weeks ago
4 weeks ago
  1. <template>
  2. <view class="main">
  3. <view :style="{height:iSMT+'px'}"></view>
  4. <view style="height:1.5vh" />
  5. <view class="top">
  6. <image class="img" src="/static/my/aboutDC.png"></image>
  7. </view>
  8. <view class="bottom">
  9. <view class="bottom-list" @click="goToIntroduce">
  10. <text class="label">产品介绍</text>
  11. <uni-icons type="arrowright" size="16" />
  12. </view>
  13. <!-- <view class="bottom-list">
  14. <text class="label">免责声明</text>
  15. <uni-icons type="arrowright" size="16" />
  16. </view>
  17. <view class="bottom-list">
  18. <text class="label">隐私政策</text>
  19. <uni-icons type="arrowright" size="16" />
  20. </view>
  21. <view class="bottom-list">
  22. <text class="label">服务协议</text>
  23. <uni-icons type="arrowright" size="16" />
  24. </view>
  25. <view class="bottom-list">
  26. <text class="label">鼓励一下</text>
  27. <uni-icons type="arrowright" size="16" />
  28. </view> -->
  29. </view>
  30. </view>
  31. </template>
  32. <script setup>
  33. import {
  34. ref,
  35. onMounted
  36. } from 'vue'
  37. const iSMT = ref(0)
  38. const goToIntroduce = () =>{
  39. uni.navigateTo({
  40. url: '../setting/introduce'
  41. })
  42. }
  43. onMounted(() => {
  44. // 状态栏高度
  45. iSMT.value = uni.getSystemInfoSync().statusBarHeight;
  46. console.log('看看高度', iSMT.value)
  47. })
  48. </script>
  49. <style>
  50. .top {
  51. height: 23vh;
  52. display: flex;
  53. justify-content: center;
  54. align-items: center;
  55. background-color: white;
  56. }
  57. .bottom {
  58. height: 7vh;
  59. background-color: white;
  60. }
  61. .bottom-list {
  62. width: 630rpx;
  63. height: 7vh;
  64. display: flex;
  65. align-items: center;
  66. justify-content: center;
  67. margin: 0 40rpx;
  68. padding: 0 10rpx;
  69. border-bottom: 1rpx solid #eee;
  70. }
  71. .bottom-list:last-child {
  72. border-bottom: none;
  73. }
  74. .label{
  75. flex:1;
  76. }
  77. .img{
  78. width:360rpx;
  79. height:300rpx;
  80. }
  81. </style>