index.wxss 863B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /**index.wxss**/
  2. @import '../../../app.wxss';
  3. .SubContainer {
  4. min-height: 100%;
  5. overflow-y: scroll;
  6. -webkit-overflow-scrolling: touch;
  7. transform: translateZ(0);
  8. -webkit-transform: translateZ(0);
  9. }
  10. .nav {
  11. width: 100%;
  12. position: relative;
  13. text-align: center;
  14. padding: 32rpx 0;
  15. }
  16. .nav > view {
  17. display: inline-block;
  18. white-space: nowrap;
  19. border: 1rpx solid #bb9c79;
  20. background: #fff;
  21. border-radius: 70rpx;
  22. position: relative;
  23. overflow: hidden;
  24. box-shadow: 0 0 20rpx 6rpx rgba(0, 0, 0, 0.1);
  25. }
  26. .nav text {
  27. display: inline-block;
  28. font-size: 26rpx;
  29. color: #848484;
  30. line-height: 70rpx;
  31. padding: 0 36rpx;
  32. }
  33. .nav text.active {
  34. background: #bb9c79;
  35. color: #fff;
  36. }
  37. .content {
  38. width: 100%;
  39. position: relative;
  40. overflow: visible;
  41. }
  42. .content > view {
  43. padding: 0 25rpx;
  44. position: relative;
  45. overflow: visible;
  46. }