index.vue 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. <template>
  2. <view class="page">
  3. <view class="banner">
  4. <img src="../../static/imgs/concat.png" />
  5. </view>
  6. <view class="box">
  7. <view class="tit">合作与咨询</view>
  8. <view class="txt">
  9. 请于工作日的08:30至17:30期间来电咨询我们的产品和服务。
  10. </view>
  11. <view class="btn" @click="callPhone('0551-68992527')">
  12. <img src="../../static/imgs/call.png" />0551-68992527
  13. </view>
  14. </view>
  15. <view class="box">
  16. <view class="tit">演示与在线试用</view>
  17. <view class="txt">
  18. 我们将适时与您取得联系,并为您量身打造适合企业需求的专项演示方案。
  19. </view>
  20. <view class="btn" @click="toApply">
  21. 立即申请
  22. </view>
  23. </view>
  24. <tabbar :tabbarIndex="2"></tabbar>
  25. </view>
  26. </template>
  27. <script>
  28. export default {
  29. data() {
  30. return {
  31. }
  32. },
  33. methods: {
  34. callPhone(phoneNumber){
  35. uni.makePhoneCall({
  36. phoneNumber
  37. })
  38. },
  39. toApply(){
  40. uni.reLaunch({
  41. url:'/pages/consult/apply'
  42. })
  43. },
  44. }
  45. }
  46. </script>
  47. <style scoped lang="less">
  48. .page {
  49. background-color: #E8ECF2;
  50. height: 100vh;
  51. box-sizing: border-box;
  52. }
  53. .banner {
  54. img {
  55. width: 100%;
  56. }
  57. }
  58. .box {
  59. width: calc(100% - 48rpx);
  60. margin: 0 auto;
  61. background-color: #fff;
  62. padding: 36rpx 0;
  63. border-radius: 12rpx;
  64. margin-bottom: 40rpx;
  65. .tit {
  66. font-size: 32rpx;
  67. color: #111;
  68. padding-left: 30rpx;
  69. font-weight: bold;
  70. position: relative;
  71. line-height: 45rpx;
  72. &:before {
  73. content: "";
  74. display: block;
  75. width: 12rpx;
  76. height: 24rpx;
  77. background-color: #1460CA;
  78. position: absolute;
  79. top: 11rpx;
  80. left: 0;
  81. }
  82. }
  83. .txt {
  84. margin: 7rpx 0 20rpx;
  85. line-height: 44rpx;
  86. color: #666;
  87. font-size: 28rpx;
  88. padding: 0 30rpx;
  89. }
  90. .btn {
  91. width: 318rpx;
  92. height: 68rpx;
  93. line-height: 68rpx;
  94. color: #fff;
  95. background-color: #1460CA;
  96. text-align: center;
  97. border-radius: 8rpx;
  98. margin-left: 30rpx;
  99. img{
  100. width: 28rpx;
  101. height: 28rpx;
  102. margin-right: 20rpx;
  103. }
  104. }
  105. }
  106. </style>