index.vue 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <template>
  2. <view class="about-container">
  3. <view class="header-section text-center">
  4. <image style="width: 150rpx;height: 150rpx;" src="/static/logo200.png" mode="widthFix">
  5. </image>
  6. <uni-title type="h2" title="移动端demo"></uni-title>
  7. </view>
  8. <view class="content-section">
  9. <view class="menu-list">
  10. <view class="list-cell list-cell-arrow">
  11. <view class="menu-item-box">
  12. <view>版本信息</view>
  13. <view class="text-right">v{{version}}</view>
  14. </view>
  15. </view>
  16. <view class="list-cell list-cell-arrow">
  17. <view class="menu-item-box">
  18. <view>官方邮箱</view>
  19. <view class="text-right">xxxx@xx.com</view>
  20. </view>
  21. </view>
  22. <view class="list-cell list-cell-arrow">
  23. <view class="menu-item-box">
  24. <view>服务热线</view>
  25. <view class="text-right">400-999-9999</view>
  26. </view>
  27. </view>
  28. </view>
  29. </view>
  30. <view class="copyright">
  31. <view>Copyright &copy; 2022 xxxxx.com All Rights Reserved.</view>
  32. </view>
  33. </view>
  34. </template>
  35. <script>
  36. export default {
  37. data() {
  38. return {
  39. url: getApp().globalData.config.appInfo.site_url,
  40. version: getApp().globalData.config.appInfo.version
  41. }
  42. }
  43. }
  44. </script>
  45. <style lang="scss">
  46. page {
  47. background-color: #f8f8f8;
  48. }
  49. .copyright {
  50. margin-top: 50rpx;
  51. text-align: center;
  52. line-height: 60rpx;
  53. color: #999;
  54. }
  55. .header-section {
  56. display: flex;
  57. padding: 30rpx 0 0;
  58. flex-direction: column;
  59. align-items: center;
  60. }
  61. </style>