时空网前端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

82 lines
1.7 KiB

  1. <template>
  2. <view class="content">
  3. <view class="lf-row-between item">
  4. <view class="lf-color-gray">在线客服</view>
  5. <button class="btn" open-type="contact">在线联系</button>
  6. </view>
  7. <view class="lf-row-between item">
  8. <view class="lf-color-gray">服务时间</view>
  9. <view>10:0020:00</view>
  10. </view>
  11. <view class="lf-row-between item" @click="makePhoneCall">
  12. <view class="lf-color-gray">客服电话</view>
  13. <view>13278683790</view>
  14. </view>
  15. <view class="lf-row-between item">
  16. <view class="lf-color-gray">联系地址</view>
  17. <view>南宁市青秀区汇东国际F座6楼</view>
  18. </view>
  19. <view class="lf-row-between item">
  20. <view class="lf-color-gray">客服微信</view>
  21. <view>
  22. <text>whhu8798</text>
  23. <text class="lf-m-l-20 lf-color-primary" @click="copy">复制</text>
  24. </view>
  25. </view>
  26. <view class="lf-row-between item">
  27. <view class="lf-color-gray">当前版本</view>
  28. <view>{{ version }}</view>
  29. </view>
  30. </view>
  31. </template>
  32. <script>
  33. export default {
  34. data(){
  35. return {
  36. version: ''
  37. }
  38. },
  39. onLoad(){
  40. this.version = this.API.VERSION;
  41. },
  42. methods: {
  43. // 拨打电话
  44. makePhoneCall(){
  45. uni.makePhoneCall({
  46. phoneNumber: ''
  47. })
  48. },
  49. // 复制
  50. copy(){
  51. uni.setClipboardData({
  52. data: 'a'
  53. })
  54. }
  55. }
  56. }
  57. </script>
  58. <style lang="scss" scoped="scoped">
  59. .content{
  60. width: 750rpx;
  61. height: auto;
  62. padding: 0 32rpx;
  63. box-sizing: border-box;
  64. .item{
  65. width: 100%;
  66. height: 104rpx;
  67. border-bottom: 1rpx solid #EEEEEE;
  68. .btn{
  69. margin: 0;
  70. width: 176rpx;
  71. height: 60rpx;
  72. background: #FE9903;
  73. border-radius: 30rpx;
  74. color: #FFFFFF;
  75. font-size: 28rpx;
  76. line-height: 60rpx;
  77. }
  78. }
  79. }
  80. </style>