about.vue 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. <template>
  2. <view class="content">
  3. <view class="logo">
  4. <image src="/static/logo.png"></image>
  5. <p>企微聊天工具</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="/static/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"
  32. }
  33. },
  34. onLoad() {
  35. var that=this;
  36. // that.version = widgetinfo.version
  37. },
  38. methods: {
  39. callPhone(){
  40. uni.makePhoneCall({
  41. phoneNumber: "4000717770"
  42. })
  43. },
  44. submit(){
  45. }
  46. }
  47. }
  48. </script>
  49. <style scoped lang="scss">
  50. page{
  51. height: 100%;
  52. background-color: #f5f5f5;
  53. }
  54. .content{
  55. height: 100%;
  56. }
  57. .logo{
  58. padding-top: 15%;
  59. text-align: center;
  60. image{
  61. padding: 15rpx;
  62. width: 120rpx;
  63. height: 120rpx;
  64. border-radius: 10rpx;
  65. box-shadow:0px 0px 20rpx rgba(0,0,0,0.2);
  66. }
  67. p{
  68. margin: 10px 0px;
  69. font-size: 14px;
  70. }
  71. }
  72. .set-box{
  73. margin-top: 30upx;
  74. background: #fff;
  75. padding: 0 40upx;
  76. .item{
  77. position: relative;
  78. display: flex;
  79. align-items: center;
  80. justify-content: space-between;
  81. padding: 25upx 0;
  82. .left{
  83. display: flex;
  84. align-items: center;
  85. .text{
  86. font-size: 28upx;
  87. color: #666;
  88. }
  89. }
  90. .right{
  91. width: 10upx;
  92. height: 20upx;
  93. }
  94. .right-text{
  95. }
  96. }
  97. }
  98. .contact-btn {
  99. position: absolute;
  100. width: 100%;
  101. display: flex;
  102. opacity: 0;
  103. }
  104. </style>