common-style.scss 912 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. // pages/snapshot/common-style.scss
  2. .mainBox {
  3. background-color: #f3f8fb;
  4. min-height: 100vh;
  5. }
  6. .top-wrapper {
  7. background-color: #fff;
  8. display: flex;
  9. width: 750rpx;
  10. padding: 16rpx 32rpx;
  11. align-items: center;
  12. position: sticky;
  13. top: 0;
  14. z-index: 999;
  15. .search-form {
  16. flex: 1;
  17. /deep/ .uni-forms-item {
  18. margin-bottom: 0;
  19. }
  20. }
  21. .search_btn {
  22. width: 120rpx;
  23. height: 70rpx;
  24. line-height: 70rpx;
  25. padding: 0 24rpx;
  26. background: $theme-color; // 全局主题色变量
  27. font-size: 32rpx;
  28. color: #fff;
  29. margin: 0;
  30. margin-left: 26rpx;
  31. border-radius: 12rpx;
  32. }
  33. }
  34. .wrapper {
  35. padding-top: 20rpx;
  36. }
  37. .add {
  38. width: 96rpx;
  39. height: 96rpx;
  40. border-radius: 48rpx;
  41. background: #3c9cff;
  42. position: fixed;
  43. bottom: 100rpx;
  44. right: 24rpx;
  45. display: flex;
  46. align-items: center;
  47. justify-content: center;
  48. box-shadow: 0 4rpx 12rpx rgba(0,0,0,0.2);
  49. }