exhibitor-item.scss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. .exhibitor-item{
  2. border-radius: 8rpx;
  3. background: #FFFFFF;
  4. box-shadow: 0rpx 4rpx 20rpx 0rpx rgba(0,0,0,0.15);
  5. padding: 26rpx 23rpx;
  6. border: 1rpx solid #D9D9D9;
  7. position: relative;
  8. max-width: 100%;
  9. width: 690rpx;
  10. &:before {
  11. content: '';
  12. position: absolute;
  13. left: -4rpx;
  14. top: -2rpx;
  15. width: 100%;
  16. height: 100%;
  17. border-radius: 8rpx;
  18. border: 4rpx solid rgba(232,116,0,0.34);
  19. opacity: 0;
  20. transition: .3s ease-in-out;
  21. //padding: 24rpx 21rpx;
  22. }
  23. &.active{
  24. &:before {
  25. opacity: 1;
  26. }
  27. }
  28. .exhibitor-body{
  29. display: flex;
  30. .exhibitor-name{
  31. flex: 1;
  32. color: #333333;
  33. font-weight: bold;
  34. line-height: 1.4;
  35. font-size: $fontSize4;
  36. margin-left: 12rpx;
  37. margin-right: 28rpx;
  38. min-width: 1px;
  39. word-break: break-word;
  40. &>view{
  41. width: 100%;
  42. @include text-ellipsis-line;
  43. -webkit-line-clamp: 2;
  44. line-height: 1.4;
  45. }
  46. }
  47. .exhibitor-name-cn{
  48. }
  49. .exhibitor-name-en{
  50. font-weight: normal;
  51. font-size: $fontSize3;
  52. }
  53. .exhibitor-number{
  54. flex-shrink: 0;
  55. justify-content: flex-end;
  56. margin-top: 12rpx;
  57. }
  58. .exhibitor-number-label{
  59. font-size: $fontSize0;
  60. color: #555555;
  61. }
  62. .exhibitor-number-text{
  63. font-weight: bold;
  64. font-size: $fontSize5;
  65. color: #E57519;
  66. letter-spacing: 2rpx;
  67. }
  68. .exhibitor-logo{
  69. width: 100rpx;
  70. height: 100rpx;
  71. border-radius: 6rpx;
  72. border: 1rpx solid #E1E1E1;
  73. padding: 6rpx;
  74. }
  75. image{
  76. width: 100%;
  77. height: 100%;
  78. }
  79. }
  80. .exhibitor-footer{
  81. display: flex;
  82. align-items: center;
  83. padding-top: 33rpx;
  84. .exhibitor-action{
  85. display: grid;
  86. flex: 1;
  87. grid-template-columns: repeat(4, 1fr);
  88. font-size: $fontSize2;
  89. color: #555555;
  90. position: relative;
  91. z-index: 1;
  92. &>view, &>button{
  93. display: flex;
  94. align-items: center;
  95. cursor: pointer;
  96. }
  97. button{
  98. font-size: $fontSize2;
  99. white-space: nowrap;
  100. line-height: inherit;
  101. border: none;
  102. background-color: transparent;
  103. padding: unset;
  104. margin: unset;
  105. view{
  106. display: flex;
  107. align-items: center;
  108. font-size: $fontSize2;
  109. }
  110. }
  111. .iconfont{
  112. font-size: 28rpx;
  113. margin-right: 4rpx;
  114. }
  115. }
  116. .exhibitor-views{
  117. font-weight: 400;
  118. font-size: $fontSize2;
  119. color: #555555;
  120. line-height: $fontSize2;
  121. margin-right: 57rpx;
  122. display: flex;
  123. align-items: center;
  124. grid-gap: 9rpx;
  125. }
  126. }
  127. }