about.vue 2.0 KB

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