about.vue 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. <template>
  2. <view class="content">
  3. <view class="logo">
  4. <image src="/static/logo.png"></image>
  5. <p>{{imgname}}</p>
  6. </view>
  7. <view class="set-box">
  8. <!-- <view class="item" @click="callPhone()">
  9. <view class="left">
  10. <text class="text">联系我们</text>
  11. </view>
  12. <image class="right" :src="imgPath+'/app/images/right_arrow.png'" mode="aspectFill"></image>
  13. </view> -->
  14. <view style="height: 1px;background-color: #F7F7F7;"></view>
  15. <view class="item">
  16. <view class="left">
  17. <text class="text">版本号</text>
  18. </view>
  19. <view class="right-text">
  20. <text class="text">v{{version}}</text>
  21. </view>
  22. </view>
  23. </view>
  24. </view>
  25. </template>
  26. <script>
  27. export default {
  28. data() {
  29. return {
  30. tel: undefined,
  31. version: "1.0.0"
  32. }
  33. },
  34. onLoad() {
  35. var that = this;
  36. // that.version = widgetinfo.version
  37. },
  38. computed: {
  39. imgPath() {
  40. return this.$store.getters.imgpath
  41. },
  42. imgname() {
  43. return this.$store.getters.logoname
  44. },
  45. },
  46. methods: {
  47. callPhone() {
  48. uni.makePhoneCall({
  49. phoneNumber: "4000717770"
  50. })
  51. },
  52. submit() {
  53. }
  54. }
  55. }
  56. </script>
  57. <style scoped lang="scss">
  58. page {
  59. height: 100%;
  60. background-color: #f5f5f5;
  61. }
  62. .content {
  63. height: 100%;
  64. }
  65. .logo {
  66. padding-top: 15%;
  67. text-align: center;
  68. image {
  69. padding: 15rpx;
  70. width: 120rpx;
  71. height: 120rpx;
  72. border-radius: 10rpx;
  73. box-shadow: 0px 0px 20rpx rgba(0, 0, 0, 0.2);
  74. }
  75. p {
  76. margin: 10px 0px;
  77. font-size: 14px;
  78. }
  79. }
  80. .set-box {
  81. margin-top: 30upx;
  82. background: #fff;
  83. padding: 0 40upx;
  84. .item {
  85. position: relative;
  86. display: flex;
  87. align-items: center;
  88. justify-content: space-between;
  89. padding: 25upx 0;
  90. .left {
  91. display: flex;
  92. align-items: center;
  93. .text {
  94. font-size: 28upx;
  95. color: #666;
  96. }
  97. }
  98. .right {
  99. width: 10upx;
  100. height: 20upx;
  101. }
  102. .right-text {}
  103. }
  104. }
  105. .contact-btn {
  106. position: absolute;
  107. width: 100%;
  108. display: flex;
  109. opacity: 0;
  110. }
  111. </style>