about.vue 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. <template>
  2. <view class="container">
  3. <view class="app-info">
  4. <view class="app-logo">
  5. <image class="logo-image" src="/static/icon.png" mode="aspectFit"></image>
  6. </view>
  7. <view class="app-name">青鸾之恋</view>
  8. <view class="app-version">v1.0.0</view>
  9. </view>
  10. <view class="agreements">
  11. <view class="agreement-item" @click="navigateToAgreement('user')">
  12. <text class="agreement-text">用户协议</text>
  13. <text class="arrow-icon">›</text>
  14. </view>
  15. <view class="agreement-item" @click="navigateToAgreement('privacy')">
  16. <text class="agreement-text">隐私政策</text>
  17. <text class="arrow-icon">›</text>
  18. </view>
  19. <view class="agreement-item" @click="navigateToAgreement('privacy-summary')">
  20. <text class="agreement-text">隐私政策摘要</text>
  21. <text class="arrow-icon">›</text>
  22. </view>
  23. <view class="agreement-item" @click="navigateToAgreement('platform')">
  24. <text class="agreement-text">平台信息管理规范</text>
  25. <text class="arrow-icon">›</text>
  26. </view>
  27. </view>
  28. <view class="record-info">
  29. <view class="record-item">
  30. <text class="record-text">ICP 备案号</text>
  31. </view>
  32. <view class="record-item">
  33. <text class="record-text">互联网信息服务算法备案号</text>
  34. </view>
  35. </view>
  36. <!-- <view class="withdraw-agreement" @click="showWithdrawConfirm">-->
  37. <!-- <text class="withdraw-text">撤回同意协议</text>-->
  38. <!-- </view>-->
  39. </view>
  40. </template>
  41. <script>
  42. export default {
  43. methods: {
  44. navigateToAgreement(type) {
  45. },
  46. showWithdrawConfirm() {
  47. uni.showModal({
  48. title: '确认撤回',
  49. content: '您确定要撤回同意协议吗?',
  50. success: (res) => {
  51. if (res.confirm) {
  52. }
  53. }
  54. })
  55. }
  56. }
  57. }
  58. </script>
  59. <style>
  60. .container {
  61. padding: 40rpx;
  62. background-color: #f5f5f5;
  63. min-height: 100vh;
  64. display: flex;
  65. flex-direction: column;
  66. align-items: center;
  67. }
  68. .content {
  69. width: 100%;
  70. background-color: #ffffff;
  71. border-radius: 12rpx;
  72. padding: 40rpx;
  73. box-sizing: border-box;
  74. margin-top: 20rpx;
  75. }
  76. .app-info {
  77. display: flex;
  78. flex-direction: column;
  79. align-items: center;
  80. margin-bottom: 40rpx;
  81. }
  82. .app-logo {
  83. width: 160rpx;
  84. height: 160rpx;
  85. background-color: transparent;
  86. border-radius: 32rpx;
  87. display: flex;
  88. align-items: center;
  89. justify-content: center;
  90. margin-bottom: 30rpx;
  91. }
  92. .logo-image {
  93. width: 160rpx;
  94. height: 160rpx;
  95. border-radius: 32rpx;
  96. }
  97. .app-name {
  98. font-size: 40rpx;
  99. font-weight: bold;
  100. color: #333333;
  101. margin-bottom: 10rpx;
  102. }
  103. .app-version {
  104. font-size: 28rpx;
  105. color: #999999;
  106. }
  107. .agreements {
  108. width: 100%;
  109. }
  110. .agreement-item {
  111. display: flex;
  112. align-items: center;
  113. justify-content: space-between;
  114. padding: 35rpx 30rpx;
  115. border-bottom: 1rpx solid #f0f0f0;
  116. background-color: #ffffff;
  117. }
  118. .agreement-item:last-child {
  119. border-bottom: none;
  120. }
  121. .agreement-text {
  122. font-size: 32rpx;
  123. color: #333333;
  124. }
  125. .arrow-icon {
  126. font-size: 40rpx;
  127. color: #cccccc;
  128. font-weight: 300;
  129. }
  130. .record-info {
  131. display: flex;
  132. flex-direction: column;
  133. align-items: center;
  134. margin: 40rpx 0;
  135. width: 100%;
  136. }
  137. .record-item {
  138. margin-bottom: 15rpx;
  139. width: 100%;
  140. text-align: center;
  141. }
  142. .record-text {
  143. font-size: 24rpx;
  144. color: #999999;
  145. }
  146. .withdraw-agreement {
  147. display: flex;
  148. justify-content: center;
  149. margin: 20rpx 0 40rpx;
  150. padding: 10rpx;
  151. }
  152. .withdraw-text {
  153. font-size: 24rpx;
  154. color: #999999;
  155. text-decoration: underline;
  156. }
  157. </style>