index.vue 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <template>
  2. <view class="about-container">
  3. <uni-nav-bar dark :fixed="true" shadow background-color="#007AFF" status-bar title=""
  4. left-icon="left" @clickLeft="handleBack"/>
  5. <view class="header-section text-center">
  6. <image style="width: 150rpx;height: 150rpx;" src="/static/logo200.png" mode="widthFix">
  7. </image>
  8. <uni-title type="h2" title="MOM移动端"></uni-title>
  9. </view>
  10. <view class="content-section">
  11. <view class="menu-list">
  12. <view class="list-cell list-cell-arrow">
  13. <view class="menu-item-box">
  14. <view>版本信息</view>
  15. <view class="text-right">v{{version}}</view>
  16. </view>
  17. </view>
  18. <view class="list-cell list-cell-arrow">
  19. <view class="menu-item-box">
  20. <view>官方邮箱</view>
  21. <view class="text-right">ccczq@qq.com</view>
  22. </view>
  23. </view>
  24. <view class="list-cell list-cell-arrow">
  25. <view class="menu-item-box">
  26. <view>服务热线</view>
  27. <view class="text-right">13009116578</view>
  28. </view>
  29. </view>
  30. <view class="list-cell list-cell-arrow">
  31. <view class="menu-item-box">
  32. <view>公司网站</view>
  33. <view class="text-right">
  34. <uni-link :href="url" :text="url" showUnderLine="false">{{ url }}</uni-link>
  35. </view>
  36. </view>
  37. </view>
  38. </view>
  39. </view>
  40. <view class="copyright">
  41. <view>长春市开思科技有限公司</view>
  42. <view>Copyright © 2013-2024 ckaisi.com All Rights Reserved.</view>
  43. </view>
  44. </view>
  45. </template>
  46. <script>
  47. export default {
  48. data() {
  49. return {
  50. url: getApp().globalData.config.appInfo.site_url,
  51. version: getApp().globalData.config.appInfo.version
  52. }
  53. },
  54. created() {
  55. try{
  56. plus.runtime.getProperty(plus.runtime.appid,(inf) => {
  57. this.version = inf.version
  58. })
  59. }catch(e){
  60. }
  61. },
  62. methods: {
  63. handleBack(){
  64. uni.showModal({
  65. title: '提示',
  66. content: '确认返回?',
  67. success: function (res) {
  68. if (res.confirm) {
  69. //用户点击确定;
  70. uni.navigateBack();
  71. } else if (res.cancel) {
  72. //用户点击取消;
  73. }
  74. }
  75. });
  76. },
  77. }
  78. }
  79. </script>
  80. <style lang="scss">
  81. page {
  82. background-color: #f8f8f8;
  83. }
  84. .copyright {
  85. margin-top: 50rpx;
  86. text-align: center;
  87. line-height: 60rpx;
  88. color: #999;
  89. }
  90. .header-section {
  91. display: flex;
  92. padding: 30rpx 0 0;
  93. flex-direction: column;
  94. align-items: center;
  95. }
  96. </style>