kefu.vue 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <template>
  2. <view class="kefu">
  3. <view class="header-bg">
  4. </view>
  5. <view class="main">
  6. <view class="title">
  7. 联系客服
  8. </view>
  9. <view class="qrcode">
  10. <image class="image" src="" mode=""></image>
  11. </view>
  12. <view class="wxgzh" style="margin-top: 60upx;">省心直供官方微信公众号</view>
  13. <view class="save" style="margin-top: 50upx;"><button class="save-btn" type="default">保存二维码到手机</button></view>
  14. <view class="online-time" style="margin-top: 50upx;">客服在线时间:周一至周六8:30-12:00</view>
  15. </view>
  16. </view>
  17. </template>
  18. <script>
  19. export default {
  20. data() {
  21. return {
  22. }
  23. },
  24. methods: {
  25. }
  26. }
  27. </script>
  28. <style lang="scss" scoped>
  29. .kefu{
  30. position: relative;
  31. overflow: hidden;
  32. }
  33. .header-bg{
  34. background: $primary-color;
  35. height: 100upx;
  36. position: absolute;
  37. top: 0;
  38. width: 100%;
  39. }
  40. .main{
  41. text-align: center;
  42. background: white;
  43. position: relative;
  44. z-index: 1;
  45. margin: 20upx;
  46. border-radius: 20upx;
  47. height: 90vh;
  48. }
  49. .title{
  50. font-size: 32upx;
  51. // font-weight: bold;
  52. padding: 20upx;
  53. }
  54. .qrcode{
  55. margin-top: 100upx;
  56. .image{
  57. background: #EEEEEE;
  58. width: 240upx;
  59. height: 240upx;
  60. }
  61. }
  62. .save-btn{
  63. width: 320upx;
  64. font-size: 28upx;
  65. background: $primary-color;
  66. color: white;
  67. }
  68. .wxgzh,.online-time{
  69. font-size: 28upx;
  70. color: #999999;
  71. }
  72. </style>