about.vue 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. <template>
  2. <view class="content">
  3. <view class="logo">
  4. <image src="https://bjyjb-1362704775.cos.ap-chongqing.myqcloud.com/app/newImages/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="https://bjyjb-1362704775.cos.ap-chongqing.myqcloud.com/shop/image/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="https://bjyjb-1362704775.cos.ap-chongqing.myqcloud.com/shop/image/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 style="height: 1px;background-color: #F5F6FA;"></view>
  34. <view class="item" @click="navTo">
  35. <view class="left">
  36. <text class="text">资质文件</text>
  37. </view>
  38. <image class="right" src="https://bjyjb-1362704775.cos.ap-chongqing.myqcloud.com/shop/image/arrow_gray.png" mode="aspectFill"></image>
  39. </view>
  40. <view style="height: 1px;background-color: #F5F6FA;"></view>
  41. <view class="item" @click="openContent('userRegister')">
  42. <view class="left">
  43. <text class="text">用户协议</text>
  44. </view>
  45. <image class="right" src="https://bjyjb-1362704775.cos.ap-chongqing.myqcloud.com/shop/image/arrow_gray.png" mode="aspectFill"></image>
  46. </view>
  47. <view style="height: 1px;background-color: #F5F6FA;"></view>
  48. <view class="item" @click="openContent('userPrivacy')">
  49. <view class="left">
  50. <text class="text">隐私协议</text>
  51. </view>
  52. <image class="right" src="https://bjyjb-1362704775.cos.ap-chongqing.myqcloud.com/shop/image/arrow_gray.png" mode="aspectFill"></image>
  53. </view>
  54. <view style="height: 1px;background-color: #F5F6FA;"></view>
  55. <view class="item">
  56. <view class="left">
  57. <text class="text">商家规则</text>
  58. </view>
  59. <image class="right" src="https://bjyjb-1362704775.cos.ap-chongqing.myqcloud.com/shop/image/arrow_gray.png" mode="aspectFill"></image>
  60. </view>
  61. <view style="height: 1px;background-color: #F5F6FA;"></view>
  62. <view class="item">
  63. <view class="left">
  64. <text class="text">入驻协议</text>
  65. </view>
  66. <image class="right" src="https://bjyjb-1362704775.cos.ap-chongqing.myqcloud.com/shop/image/arrow_gray.png" mode="aspectFill"></image>
  67. </view>
  68. </view>
  69. </view>
  70. </template>
  71. <script>
  72. export default {
  73. data() {
  74. return {
  75. tel:undefined,
  76. version:"1.0"
  77. }
  78. },
  79. onLoad() {
  80. const accountInfo = wx.getAccountInfoSync();
  81. this.version = accountInfo.miniProgram.version
  82. },
  83. methods: {
  84. callPhone(){
  85. uni.makePhoneCall({
  86. phoneNumber: ""
  87. })
  88. },
  89. openContent(type) {
  90. uni.navigateTo({
  91. url: '/pages_user/agreement?type=' + type
  92. });
  93. },
  94. navTo() {
  95. uni.navigateTo({
  96. url:'/pages_user/cert'
  97. })
  98. }
  99. }
  100. }
  101. </script>
  102. <style scoped lang="scss">
  103. page{
  104. height: 100%;
  105. background-color: #f5f5f5;
  106. }
  107. .content{
  108. height: 100%;
  109. }
  110. .logo{
  111. padding-top: 15%;
  112. text-align: center;
  113. image{
  114. width: 80px;
  115. height: 80px;
  116. }
  117. p{
  118. margin: 10px 0px;
  119. font-size: 14px;
  120. }
  121. }
  122. .set-box{
  123. margin-top: 30upx;
  124. background: #fff;
  125. padding: 0 40upx;
  126. .item{
  127. position: relative;
  128. display: flex;
  129. align-items: center;
  130. justify-content: space-between;
  131. padding: 25upx 0;
  132. .left{
  133. display: flex;
  134. align-items: center;
  135. .text{
  136. font-size: 30upx;
  137. color: #666;
  138. }
  139. }
  140. .right{
  141. width: 10upx;
  142. height: 20upx;
  143. }
  144. .right-text{
  145. }
  146. }
  147. }
  148. .contact-btn {
  149. position: absolute;
  150. width: 100%;
  151. display: flex;
  152. opacity: 0;
  153. }
  154. </style>