tn-nav-bar.wxss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. @charset "UTF-8";
  2. /**
  3. * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量
  4. * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可
  5. * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用
  6. */
  7. .tn-custom-nav-bar.data-v-1748c37c {
  8. display: block;
  9. position: relative;
  10. }
  11. .tn-custom-nav-bar__bar.data-v-1748c37c {
  12. display: flex;
  13. position: relative;
  14. align-items: center;
  15. min-height: 100rpx;
  16. justify-content: space-between;
  17. min-height: 0px;
  18. padding-right: 220rpx;
  19. box-shadow: 0rpx 0rpx 0rpx;
  20. z-index: 9999;
  21. }
  22. .tn-custom-nav-bar__bar--fixed.data-v-1748c37c {
  23. position: fixed;
  24. width: 100%;
  25. top: 0;
  26. }
  27. .tn-custom-nav-bar__bar--alpha.data-v-1748c37c {
  28. background: transparent !important;
  29. box-shadow: none !important;
  30. }
  31. .tn-custom-nav-bar__bar--bottom-shadow.data-v-1748c37c {
  32. box-shadow: 0rpx 0rpx 80rpx 0rpx rgba(0, 0, 0, 0.05);
  33. }
  34. .tn-custom-nav-bar__bar__action.data-v-1748c37c {
  35. display: flex;
  36. align-items: center;
  37. height: 100%;
  38. justify-content: center;
  39. max-width: 100%;
  40. }
  41. .tn-custom-nav-bar__bar__action--nav-back.data-v-1748c37c {
  42. /* position: absolute; */
  43. /* top: 50%; */
  44. /* left: 20rpx; */
  45. /* margin-top: -15rpx; */
  46. margin-left: 20rpx;
  47. font-size: 38rpx;
  48. line-height: 100%;
  49. }
  50. .tn-custom-nav-bar__bar__action--nav-back-text.data-v-1748c37c {
  51. margin-left: 10rpx;
  52. }
  53. .tn-custom-nav-bar__bar__content.data-v-1748c37c {
  54. position: absolute;
  55. text-align: center;
  56. left: 0;
  57. right: 0;
  58. bottom: 0;
  59. margin: auto;
  60. font-size: 32rpx;
  61. cursor: none;
  62. text-overflow: ellipsis;
  63. white-space: nowrap;
  64. overflow: hidden;
  65. }