bottomLayer.vue 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <template>
  2. <div class='bottom-layer'>
  3. <span class='icon-style'>
  4. <a-icon type='poweroff' />
  5. </span>
  6. <span class='icon-style'>
  7. <a-icon type='aliyun' />
  8. </span>
  9. <span class='icon-style'>
  10. <a-icon type='minus-square' />
  11. </span>
  12. <span class='slider'>
  13. <a-slider class='slider-style' id='test' :default-value='30' />
  14. </span>
  15. <span class='icon-style'>
  16. <a-icon type='plus-square' />
  17. </span>
  18. </div>
  19. </template>
  20. <script>
  21. export default {}
  22. </script>
  23. <style lang="less" scoprd>
  24. .bottom-layer {
  25. position: fixed;
  26. width: 360px;
  27. height: 40px;
  28. line-height: 40px;
  29. bottom: 40px;
  30. z-index: 2;
  31. background: #ffffff;
  32. left: 30%;
  33. display: flex;
  34. .icon-style {
  35. width: 40px;
  36. display: inline-block;
  37. text-align: center;
  38. border-right: 1px solid #e4e5e7;
  39. }
  40. .slider {
  41. width: 200px;
  42. display: inline-block;
  43. text-align: center;
  44. border-right: 1px solid #e4e5e7;
  45. .slider-style {
  46. display: inline-block;
  47. width: 180px;
  48. }
  49. }
  50. }
  51. </style>