knowXetong.vue 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. <template>
  2. <view class="about-container">
  3. <!-- 顶部导航栏 -->
  4. <view class="nav-bar">
  5. <image class="back-arrow" src="/static/my/back.png" @click="goBack"></image>
  6. <text class="nav-title">了解小鹅通</text>
  7. </view>
  8. <!-- logo和版本信息 -->
  9. <view class="about-header">
  10. <image class="about-logo" src="/static/logo.png"></image>
  11. <view class="about-title">小鹅通</view>
  12. <view class="about-version">Version 5.10.2</view>
  13. <view class="about-id">b_u_cvj80rjq943h407qktbg</view>
  14. </view>
  15. <!-- 列表内容 -->
  16. <view class="about-list">
  17. <view class="about-item" @click="openUrl('https://xiaoek-tech.com')">
  18. <text>小鹅通官网</text>
  19. <text class="about-right">xiaoek-tech.com</text>
  20. </view>
  21. <view class="about-item" @click="checkUpdate">
  22. <text>版本更新</text>
  23. <view class="about-dot"></view>
  24. </view>
  25. <view class="about-item" @click="fuwuxieyi">
  26. <text>服务协议</text>
  27. </view>
  28. <view class="about-item" @click="yinsizhengce">
  29. <text>隐私政策</text>
  30. </view>
  31. <view class="about-item">
  32. <text>热线电话</text>
  33. <text class="about-right">周一至周日9:00-19:00</text>
  34. </view>
  35. <view class="about-item">
  36. <text>互联网违法和不良信息举报电话</text>
  37. <text class="about-right">400-102-6665</text>
  38. </view>
  39. <view class="about-item">
  40. <text>互联网不良信息举报邮箱</text>
  41. <text class="about-right">xiaoeks@xiaoek-tech.com</text>
  42. </view>
  43. </view>
  44. </view>
  45. </template>
  46. <script>
  47. export default {
  48. data() {
  49. return {
  50. }
  51. },
  52. methods: {
  53. goBack() {
  54. uni.navigateBack();
  55. },
  56. openUrl(url) {
  57. uni.setClipboardData({
  58. data: url,
  59. success: () => {
  60. uni.showToast({ title: '链接已复制', icon: 'none' });
  61. }
  62. });
  63. },
  64. checkUpdate() {
  65. uni.showToast({ title: '已是最新版本', icon: 'none' });
  66. },
  67. fuwuxieyi() {
  68. uni.navigateTo({ url: '/pages/protocol/service' });
  69. },
  70. yinsizhengce() {
  71. uni.navigateTo({ url: '/pages/protocol/privacy' });
  72. },
  73. }
  74. }
  75. </script>
  76. <style>
  77. .about-container {
  78. background: #fff;
  79. min-height: 100vh;
  80. }
  81. .nav-bar {
  82. position: relative;
  83. height: 100rpx;
  84. display: flex;
  85. align-items: center;
  86. justify-content: center;
  87. border-bottom: 1rpx solid #f0f0f0;
  88. }
  89. .back-arrow {
  90. position: absolute;
  91. left: 30rpx;
  92. width: 40rpx;
  93. height: 40rpx;
  94. top: 50%;
  95. transform: translateY(-50%);
  96. }
  97. .nav-title {
  98. font-size: 34rpx;
  99. font-weight: bold;
  100. }
  101. .about-header {
  102. display: flex;
  103. flex-direction: column;
  104. align-items: center;
  105. margin: 40rpx 0 30rpx 0;
  106. }
  107. .about-logo {
  108. width: 120rpx;
  109. height: 120rpx;
  110. margin-bottom: 20rpx;
  111. }
  112. .about-title {
  113. font-size: 36rpx;
  114. font-weight: bold;
  115. margin-bottom: 10rpx;
  116. }
  117. .about-version {
  118. color: #888;
  119. font-size: 28rpx;
  120. margin-bottom: 5rpx;
  121. }
  122. .about-id {
  123. color: #bbb;
  124. font-size: 22rpx;
  125. margin-bottom: 20rpx;
  126. }
  127. .about-list {
  128. background: #fff;
  129. border-radius: 20rpx;
  130. overflow: hidden;
  131. margin: 0 20rpx;
  132. }
  133. .about-item {
  134. display: flex;
  135. justify-content: space-between;
  136. align-items: center;
  137. padding: 32rpx 0;
  138. border-bottom: 1rpx solid #f0f0f0;
  139. font-size: 30rpx;
  140. }
  141. .about-item:last-child {
  142. border-bottom: none;
  143. }
  144. .about-right {
  145. color: #bbb;
  146. font-size: 26rpx;
  147. }
  148. .about-dot {
  149. width: 16rpx;
  150. height: 16rpx;
  151. background: #ff3b30;
  152. border-radius: 50%;
  153. margin-left: 10rpx;
  154. }
  155. </style>