banner.vue 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. <template>
  2. <div class="banner">
  3. <div class="content">
  4. <p class="title" v-if="showAd"><marquee scrollAmount=1 width=501 direction="left" behavior="alternate">B2B商务】和【优软商城】牵手成功!大家可以更全面、便捷地了解和享受平台的各项服务咯!</marquee><a @click="showAd = false"><img src="/images/btbBusiness/close.png"></a></p>
  5. <div class="clearfix">
  6. <h4 class="pull-left">B2B商务</h4>
  7. <a class="pull-left enter">立即体验</a>
  8. </div>
  9. <p class="first">十年深耕,携您飞跃<br>
  10. 优软B2B商务,为您提供更强大的功能服务</p>
  11. <p>优软平台构造了面向制造业和流通业的垂直B2B,不仅仅提供平台服务,还包括企业内部管理、存货服务、人力资源等。优软平台建立了 生产商与供应商之间形成的供需关系,通过一系列工具辅助供需双方形成交易。这是一个企业集合的云端服务,企业</p>
  12. </div>
  13. </div>
  14. </template>
  15. <script>
  16. export default {
  17. name: 'BannerView',
  18. data () {
  19. return {
  20. showAd: true
  21. }
  22. }
  23. }
  24. </script>
  25. <style type="text/scss" lang="scss" scoped>
  26. .banner{
  27. width: 100%;
  28. height: 620px;
  29. min-width: 1190px;
  30. background: url('/images/btbBusiness/btbBanner.png')no-repeat center center;
  31. .content{
  32. width:1190px;
  33. position: relative;
  34. border: 1px solid transparent;
  35. margin: 0 auto;
  36. margin-top: -1px;
  37. padding: 0;
  38. .title{
  39. position: absolute;
  40. top: 10px;
  41. left: 0px;
  42. width: 1190px;
  43. height: 30px;
  44. line-height: 30px;
  45. font-size: 12px;
  46. color: #fdfbfb;
  47. border-radius: 4px;
  48. background-color: rgba(255, 255, 255, 0.18);
  49. &::before{
  50. content: '';
  51. display: inline-block;
  52. position: relative;
  53. top: 7px;
  54. left: 10px;
  55. margin-right: 10px;
  56. width: 20px;
  57. height: 20px;
  58. background: url('/images/btbBusiness/alert.png') no-repeat;
  59. }
  60. }
  61. h4{
  62. margin: 125px 0px 70px 0px;
  63. font-family: MicrosoftYaHei-Bold;
  64. font-size: 54px;
  65. line-height: 40px;
  66. letter-spacing: 2px;
  67. color: #fff600;
  68. }
  69. .enter{
  70. display: inline-block;
  71. padding-left: 21px;
  72. margin: 128px 0px 70px 20px;
  73. width: 148px;
  74. height: 38px;
  75. line-height: 38px;
  76. background-color: #15d2fc;
  77. border-radius: 19px;
  78. font-size: 18px;
  79. color: #fefefe;
  80. font-family: MicrosoftYaHei-Bold;
  81. &::after{
  82. content: '';
  83. display: inline-block;
  84. position: relative;
  85. top: 4px;
  86. left: 15px;
  87. width: 20px;
  88. height: 20px;
  89. background: url('/images/btbBusiness/arrow.png') no-repeat;
  90. }
  91. &:hover{
  92. background: #059ec0;
  93. }
  94. }
  95. p.first{
  96. width: 594px;
  97. font-size: 30px;
  98. letter-spacing: 1px;
  99. color: #fcfdfe;
  100. line-height: 43px;
  101. }
  102. p:last-child{
  103. width: 582px;
  104. font-size: 18px;
  105. line-height: 30px;
  106. color: #feffff;
  107. }
  108. }
  109. }
  110. </style>