C端小程序
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

58 rader
888 B

  1. .navbar {
  2. width: 100vw;
  3. background-color: #F4F5F9;
  4. position: fixed;
  5. left: 0;
  6. top: 0;
  7. z-index: 400000000;
  8. }
  9. .title-container {
  10. height: 44px;
  11. display: flex;
  12. align-items: center;
  13. position: relative;
  14. }
  15. .capsule {
  16. margin-left: 10px;
  17. height: 32px;
  18. border: 1px solid #e1e1e3;
  19. border-radius: 60px;
  20. display: flex;
  21. align-items: center;
  22. padding: 0 20rpx;
  23. background: #fbfbfd;
  24. }
  25. .capsule > view {
  26. width: 35px;
  27. height: 60%;
  28. position: relative;
  29. }
  30. .capsule > view:nth-child(2) {
  31. border-left: 1px solid #777;
  32. }
  33. .capsule image {
  34. width: 70%;
  35. height: 100%;
  36. position: absolute;
  37. left: 50%;
  38. top: 50%;
  39. transform: translate(-50%,-50%);
  40. }
  41. .title {
  42. color: #000;
  43. position: absolute;
  44. left: 104px;
  45. right: 104px;
  46. font-weight: 600;
  47. font-size: 32rpx;
  48. text-align: center;
  49. overflow: hidden;
  50. text-overflow: ellipsis;
  51. white-space: nowrap;
  52. }