index.uvue 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. <template>
  2. <view class="about-container my-page">
  3. <view class=" header-section text-center">
  4. <image style="width: 150rpx;" src="/static/logo200.png" mode="widthFix" />
  5. <view class="uni-title__box" >
  6. <text class="uni-title__base uni-h2" style="color:#333333 ;">若依移动端</text>
  7. </view>
  8. </view>
  9. <view class="content-section">
  10. <view class=" menu-list">
  11. <view class=" list-cell list-cell-arrow">
  12. <view class=" menu-item-box uni-row">
  13. <view class=" font-14">版本信息</view>
  14. <view class=" text-right font-14">v{{version}}</view>
  15. </view>
  16. </view>
  17. <view class=" list-cell list-cell-arrow">
  18. <view class=" menu-item-box uni-row">
  19. <view class=" font-14">官方邮箱</view>
  20. <view class=" text-right font-14">ruoyi@xx.com</view>
  21. </view>
  22. </view>
  23. <view class=" list-cell list-cell-arrow">
  24. <view class=" menu-item-box uni-row">
  25. <view class=" font-14">服务热线</view>
  26. <view class=" text-right font-14">400-999-9999</view>
  27. </view>
  28. </view>
  29. <view class=" list-cell list-cell-arrow">
  30. <view class=" menu-item-box uni-row">
  31. <view class=" font-14">公司网站</view>
  32. <view class=" text-right font-14">
  33. <navigator :url="'/pages/common/webview/index?title=公司网站&url='+url" >{{url}}</navigator>
  34. </view>
  35. </view>
  36. </view>
  37. </view>
  38. </view>
  39. <view class=" copyright">
  40. <view class="font-14 text-center">Copyright &copy; 2022 ruoyi.vip All Rights Reserved.</view>
  41. </view>
  42. </view>
  43. </template>
  44. <script lang="uts">
  45. export default {
  46. data() {
  47. const globalData = getApp().globalData
  48. const config = globalData.config != null ? globalData.config as UTSJSONObject : null
  49. const appInfo:UTSJSONObject|null = config?.get('appInfo') as UTSJSONObject;
  50. return {
  51. url: appInfo?.get('site_url') as string | '',
  52. version: appInfo?.get('version') as string | ''
  53. }
  54. }
  55. }
  56. </script>
  57. <style lang="scss">
  58. .my-page {
  59. background-color: #f8f8f8;
  60. width: 100%;
  61. height: 100%;
  62. }
  63. .copyright {
  64. margin-top: 50rpx;
  65. text-align: center;
  66. line-height: 60rpx;
  67. color: #999;
  68. }
  69. .header-section {
  70. display: flex;
  71. padding: 30rpx 0 0;
  72. flex-direction: column;
  73. align-items: center;
  74. }
  75. .uni-title__box {
  76. /* #ifndef APP-NVUE */
  77. display: flex;
  78. /* #endif */
  79. flex-direction: column;
  80. align-items: flex-start;
  81. justify-content: center;
  82. padding: 8px 0;
  83. flex: 1;
  84. }
  85. .uni-title__base {
  86. font-size: 15px;
  87. color: #333;
  88. /* #ifndef APP-ANDROID */
  89. font-weight: 500;
  90. /* #endif */
  91. /* #ifdef APP-ANDROID */
  92. font-weight: 400;
  93. /* #endif */
  94. }
  95. .uni-h1 {
  96. font-size: 20px;
  97. color: #333;
  98. font-weight: bold;
  99. }
  100. .uni-h2 {
  101. font-size: 18px;
  102. color: #333;
  103. font-weight: bold;
  104. }
  105. .uni-h3 {
  106. font-size: 16px;
  107. color: #333;
  108. font-weight: bold;
  109. /* font-weight: 400; */
  110. }
  111. .uni-h4 {
  112. font-size: 14px;
  113. color: #333;
  114. font-weight: bold;
  115. /* font-weight: 300; */
  116. }
  117. .uni-h5 {
  118. font-size: 12px;
  119. color: #333;
  120. font-weight: bold;
  121. /* font-weight: 200; */
  122. }
  123. </style>