C端小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 line
908 B

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