index.vue 2.3 KB

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