exhibitor-item.scss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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. max-width: 180rpx;
  58. word-break: break-word;
  59. }
  60. .exhibitor-number-label{
  61. font-size: $fontSize0;
  62. color: #555555;
  63. }
  64. .exhibitor-number-text{
  65. font-weight: bold;
  66. font-size: $fontSize5;
  67. color: #E57519;
  68. letter-spacing: 2rpx;
  69. }
  70. .exhibitor-logo{
  71. width: 100rpx;
  72. height: 100rpx;
  73. border-radius: 6rpx;
  74. border: 1rpx solid #E1E1E1;
  75. padding: 6rpx;
  76. }
  77. image{
  78. width: 100%;
  79. height: 100%;
  80. }
  81. }
  82. .exhibitor-footer{
  83. display: flex;
  84. align-items: center;
  85. padding-top: 33rpx;
  86. .exhibitor-action{
  87. //display: grid;
  88. display: flex;
  89. flex: 1;
  90. //grid-template-columns: repeat(4, 1fr);
  91. font-size: $fontSize2;
  92. color: #555555;
  93. position: relative;
  94. justify-content: flex-end;
  95. z-index: 1;
  96. &>view, &>button{
  97. //flex: 1;
  98. //min-width: 1rpx;
  99. width: 25%;
  100. display: flex;
  101. align-items: center;
  102. cursor: pointer;
  103. justify-content: flex-end;
  104. }
  105. button{
  106. font-size: $fontSize2;
  107. white-space: nowrap;
  108. line-height: inherit;
  109. border: none;
  110. background-color: transparent;
  111. padding: unset;
  112. margin: unset;
  113. view{
  114. display: flex;
  115. align-items: center;
  116. font-size: $fontSize2;
  117. }
  118. }
  119. .iconfont{
  120. font-size: 28rpx;
  121. margin-right: 4rpx;
  122. }
  123. }
  124. .exhibitor-views{
  125. font-weight: 400;
  126. font-size: $fontSize2;
  127. color: #555555;
  128. line-height: $fontSize2;
  129. margin-right: 57rpx;
  130. display: flex;
  131. align-items: center;
  132. grid-gap: 9rpx;
  133. }
  134. }
  135. }