banner.vue 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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. window.location.href = 'http://uas.ubtob.com/#/index'
  26. // if (this.user.logged) {
  27. //
  28. // } else {
  29. // this.$router.push('/auth/login')
  30. // }
  31. }
  32. }
  33. }
  34. </script>
  35. <style type="text/scss" lang="scss" scoped>
  36. .banner{
  37. width: 100%;
  38. height: 481px;
  39. min-width: 1190px;
  40. background: url('/images/btbBusiness/btbBanner.png')no-repeat center center;
  41. .content{
  42. width:1190px;
  43. position: relative;
  44. border: 1px solid transparent;
  45. margin: 0 auto;
  46. margin-top: -1px;
  47. padding: 0;
  48. .notice{
  49. position: absolute;
  50. top: 10px;
  51. left: 0px;
  52. width: 1190px;
  53. height: 30px;
  54. line-height: 30px;
  55. font-size: 12px;
  56. color: #fdfbfb;
  57. border-radius: 4px;
  58. padding-left: 30px;
  59. background-color: rgba(255, 255, 255, 0.18);
  60. img{
  61. float: right;
  62. margin: 5px 10px 0px 0px;
  63. }
  64. &::before{
  65. content: '';
  66. display: inline-block;
  67. position: absolute;
  68. top: 7px;
  69. left: 10px;
  70. margin-right: 10px;
  71. width: 20px;
  72. height: 20px;
  73. background: url('/images/btbBusiness/alert.png') no-repeat;
  74. }
  75. }
  76. h4{
  77. margin: 120px 0px 60px 0px;
  78. font-family: MicrosoftYaHei-Bold;
  79. font-size: 48px;
  80. line-height: 40px;
  81. letter-spacing: 2px;
  82. color: #fff600;
  83. }
  84. .enter{
  85. display: inline-block;
  86. padding-left: 21px;
  87. margin: 134px 0px 60px 230px;
  88. width: 148px;
  89. height: 38px;
  90. line-height: 38px;
  91. background-color: #15d2fc;
  92. border-radius: 19px;
  93. font-size: 18px;
  94. color: #fefefe;
  95. font-family: "Microsoft Yahei", "微软雅黑";
  96. font-weight: bold;
  97. &::after{
  98. content: '';
  99. display: inline-block;
  100. position: relative;
  101. top: 4px;
  102. left: 15px;
  103. width: 20px;
  104. height: 20px;
  105. background: url('/images/btbBusiness/arrow.png') no-repeat;
  106. }
  107. &:hover{
  108. background: #059ec0;
  109. }
  110. }
  111. p.first{
  112. width: 594px;
  113. font-size: 18px;
  114. letter-spacing: 1px;
  115. color: #fcfdfe;
  116. line-height: 33px;
  117. }
  118. p:last-child{
  119. width: 582px;
  120. line-height: 25px;
  121. color: #feffff;
  122. }
  123. }
  124. }
  125. </style>