about.vue 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <template>
  2. <view class="content">
  3. <view class="logo">
  4. <image src="https://cos.his.cdwjyyh.com/fs/20240423/1287b2bf7c944538905f5092e8ff7db9.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/arrow_gray.png" mode="aspectFill"></image>
  13. </view>
  14. <view style="height: 1px;background-color: #F5F6FA;"></view>
  15. <view class="item" >
  16. <view class="left">
  17. <text class="text">在线客服</text>
  18. </view>
  19. <image class="right" src="/static/images/arrow_gray.png" mode="aspectFill"></image>
  20. <button class='contact-btn' open-type="contact">
  21. 1111
  22. </button>
  23. </view>
  24. <view style="height: 1px;background-color: #F5F6FA;"></view>
  25. <view class="item">
  26. <view class="left">
  27. <text class="text">版本号</text>
  28. </view>
  29. <view class="right-text">
  30. <text class="text">v{{version}}</text>
  31. </view>
  32. </view>
  33. </view>
  34. </view>
  35. </template>
  36. <script>
  37. export default {
  38. data() {
  39. return {
  40. tel:undefined,
  41. version:"1.0"
  42. }
  43. },
  44. onLoad() {
  45. const accountInfo = wx.getAccountInfoSync();
  46. this.version = accountInfo.miniProgram.version
  47. },
  48. methods: {
  49. callPhone(){
  50. uni.makePhoneCall({
  51. phoneNumber: "4000717770"
  52. })
  53. },
  54. submit(){
  55. }
  56. }
  57. }
  58. </script>
  59. <style scoped lang="scss">
  60. page{
  61. height: 100%;
  62. background-color: #f5f5f5;
  63. }
  64. .content{
  65. height: 100%;
  66. }
  67. .logo{
  68. padding-top: 15%;
  69. text-align: center;
  70. image{
  71. width: 80px;
  72. height: 80px;
  73. }
  74. p{
  75. margin: 10px 0px;
  76. font-size: 14px;
  77. }
  78. }
  79. .set-box{
  80. margin-top: 30upx;
  81. background: #fff;
  82. padding: 0 40upx;
  83. .item{
  84. position: relative;
  85. display: flex;
  86. align-items: center;
  87. justify-content: space-between;
  88. padding: 25upx 0;
  89. .left{
  90. display: flex;
  91. align-items: center;
  92. .text{
  93. font-size: 30upx;
  94. color: #666;
  95. }
  96. }
  97. .right{
  98. width: 10upx;
  99. height: 20upx;
  100. }
  101. .right-text{
  102. }
  103. }
  104. }
  105. .contact-btn {
  106. position: absolute;
  107. width: 100%;
  108. display: flex;
  109. opacity: 0;
  110. }
  111. </style>