banner.vue 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <template>
  2. <div class="banner">
  3. <div class="content">
  4. <p class="notice" v-if="showNotice"><marquee scrollAmount=1 width=501 direction="left" behavior="alternate">B2B商务】和【优软商城】牵手成功!大家可以更全面、便捷地了解和享受平台的各项服务咯!</marquee><a @click="showNotice = false"><img src="/images/btbBusiness/close.png"></a></p>
  5. <div class="clearfix">
  6. <!-- <h4 class="pull-left">B2B商务</h4>-->
  7. <a class="enter" @click="experience">立即体验</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. showNotice: true
  21. }
  22. },
  23. methods: {
  24. experience () {
  25. if (this.user.logged) {
  26. window.location.href = 'http://uas.ubtob.com/#/index'
  27. } else {
  28. this.$router.push('/auth/login')
  29. }
  30. }
  31. }
  32. }
  33. </script>
  34. <style type="text/scss" lang="scss" scoped>
  35. .banner{
  36. width: 100%;
  37. height: 481px;
  38. min-width: 1190px;
  39. background: url('/images/btbBusiness/btbBanner.png')no-repeat center center;
  40. .content{
  41. width:1190px;
  42. position: relative;
  43. border: 1px solid transparent;
  44. margin: 0 auto;
  45. margin-top: -1px;
  46. padding: 0;
  47. .notice{
  48. position: absolute;
  49. top: 10px;
  50. left: 0px;
  51. width: 1190px;
  52. height: 30px;
  53. line-height: 30px;
  54. font-size: 12px;
  55. color: #fdfbfb;
  56. border-radius: 4px;
  57. padding-left: 30px;
  58. background-color: rgba(255, 255, 255, 0.18);
  59. img{
  60. float: right;
  61. margin: 5px 10px 0px 0px;
  62. }
  63. &::before{
  64. content: '';
  65. display: inline-block;
  66. position: absolute;
  67. top: 7px;
  68. left: 10px;
  69. margin-right: 10px;
  70. width: 20px;
  71. height: 20px;
  72. background: url('/images/btbBusiness/alert.png') no-repeat;
  73. }
  74. }
  75. h4{
  76. margin: 120px 0px 60px 0px;
  77. font-family: MicrosoftYaHei-Bold;
  78. font-size: 48px;
  79. line-height: 40px;
  80. letter-spacing: 2px;
  81. color: #fff600;
  82. }
  83. .enter{
  84. display: inline-block;
  85. padding-left: 21px;
  86. margin: 134px 0px 60px 230px;
  87. width: 148px;
  88. height: 38px;
  89. line-height: 38px;
  90. background-color: #15d2fc;
  91. border-radius: 19px;
  92. font-size: 18px;
  93. color: #fefefe;
  94. font-family: MicrosoftYaHei-Bold;
  95. &::after{
  96. content: '';
  97. display: inline-block;
  98. position: relative;
  99. top: 4px;
  100. left: 15px;
  101. width: 20px;
  102. height: 20px;
  103. background: url('/images/btbBusiness/arrow.png') no-repeat;
  104. }
  105. &:hover{
  106. background: #059ec0;
  107. }
  108. }
  109. p.first{
  110. width: 594px;
  111. font-size: 18px;
  112. letter-spacing: 1px;
  113. color: #fcfdfe;
  114. line-height: 33px;
  115. }
  116. p:last-child{
  117. width: 582px;
  118. line-height: 25px;
  119. color: #feffff;
  120. }
  121. }
  122. }
  123. </style>