tn-nav-bar.wxss 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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__action.data-v-1748c37c {
  32. display: flex;
  33. align-items: center;
  34. height: 100%;
  35. justify-content: center;
  36. max-width: 100%;
  37. }
  38. .tn-custom-nav-bar__bar__action--nav-back.data-v-1748c37c {
  39. /* position: absolute; */
  40. /* top: 50%; */
  41. /* left: 20rpx; */
  42. /* margin-top: -15rpx; */
  43. margin-left: 20rpx;
  44. font-size: 38rpx;
  45. line-height: 100%;
  46. }
  47. .tn-custom-nav-bar__bar__action--nav-back-text.data-v-1748c37c {
  48. margin-left: 10rpx;
  49. }
  50. .tn-custom-nav-bar__bar__content.data-v-1748c37c {
  51. position: absolute;
  52. text-align: center;
  53. left: 0;
  54. right: 0;
  55. bottom: 0;
  56. margin: auto;
  57. font-size: 32rpx;
  58. cursor: none;
  59. text-overflow: ellipsis;
  60. white-space: nowrap;
  61. overflow: hidden;
  62. }