index.vue 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. <template>
  2. <view class="about-page">
  3. <view class="header">
  4. <image class="logo" src="/static/images/logo/c1f9fb42be9c750950c8d7e89a68eba.jpg" mode="aspectFit"></image>
  5. <text class="app-name">七指堂商城</text>
  6. <text class="version">版本 1.0.0</text>
  7. </view>
  8. <view class="content">
  9. <view class="section">
  10. <text class="title">关于我们</text>
  11. <text class="text">七指堂商城是一家专注于提供优质商品和服务的电商平台。我们致力于为用户提供优质的购物体验,让每一位用户都能买到称心如意的商品。</text>
  12. </view>
  13. <view class="section">
  14. <text class="title">联系我们</text>
  15. <view class="contact-item">
  16. <text class="label">客服电话:</text>
  17. <text class="value" @tap="makeCall">400-123-4567</text>
  18. </view>
  19. <view class="contact-item">
  20. <text class="label">商务合作:</text>
  21. <text class="value">business@qizhitang.com</text>
  22. </view>
  23. <view class="contact-item">
  24. <text class="label">公司地址:</text>
  25. <text class="value">广东省广州市天河区科韵路XX号</text>
  26. </view>
  27. </view>
  28. <view class="links">
  29. <view class="link-item" @tap="goToPrivacy">
  30. <text>隐私政策</text>
  31. <text class="iconfont arrow">&#xe685;</text>
  32. </view>
  33. <view class="link-item" @tap="goToService">
  34. <text>服务协议</text>
  35. <text class="iconfont arrow">&#xe685;</text>
  36. </view>
  37. </view>
  38. </view>
  39. </view>
  40. </template>
  41. <script>
  42. export default {
  43. methods: {
  44. makeCall() {
  45. uni.makePhoneCall({
  46. phoneNumber: '4001234567'
  47. });
  48. },
  49. goToPrivacy() {
  50. uni.navigateTo({
  51. url: '/packageUser/pages/article/detail?type=privacy'
  52. });
  53. },
  54. goToService() {
  55. uni.navigateTo({
  56. url: '/packageUser/pages/article/detail?type=service'
  57. });
  58. }
  59. }
  60. }
  61. </script>
  62. <style lang="scss" scoped>
  63. .about-page {
  64. min-height: 100vh;
  65. background: #f5f5f5;
  66. }
  67. .header {
  68. display: flex;
  69. flex-direction: column;
  70. align-items: center;
  71. padding: 60rpx 0;
  72. background: #fff;
  73. .logo {
  74. width: 160rpx;
  75. height: 160rpx;
  76. border-radius: 40rpx;
  77. }
  78. .app-name {
  79. font-size: 36rpx;
  80. font-weight: bold;
  81. color: #333;
  82. margin-top: 20rpx;
  83. }
  84. .version {
  85. font-size: 24rpx;
  86. color: #999;
  87. margin-top: 10rpx;
  88. }
  89. }
  90. .content {
  91. margin-top: 20rpx;
  92. .section {
  93. background: #fff;
  94. padding: 30rpx;
  95. margin-bottom: 20rpx;
  96. .title {
  97. font-size: 32rpx;
  98. font-weight: bold;
  99. color: #333;
  100. margin-bottom: 20rpx;
  101. }
  102. .text {
  103. font-size: 28rpx;
  104. color: #666;
  105. line-height: 1.6;
  106. }
  107. .contact-item {
  108. display: flex;
  109. margin-top: 16rpx;
  110. .label {
  111. font-size: 28rpx;
  112. color: #333;
  113. }
  114. .value {
  115. font-size: 28rpx;
  116. color: #666;
  117. }
  118. }
  119. }
  120. .links {
  121. background: #fff;
  122. .link-item {
  123. display: flex;
  124. align-items: center;
  125. justify-content: space-between;
  126. padding: 30rpx;
  127. border-bottom: 1px solid #eee;
  128. text {
  129. font-size: 28rpx;
  130. color: #333;
  131. }
  132. .arrow {
  133. color: #999;
  134. transform: rotate(180deg);
  135. }
  136. &:last-child {
  137. border-bottom: none;
  138. }
  139. }
  140. }
  141. }
  142. </style>