uni-nvue.scss 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. /* 头条小程序组件内不能引入字体 */
  2. /* #ifdef MP-TOUTIAO */
  3. @font-face {
  4. font-family: uniicons;
  5. font-weight: normal;
  6. font-style: normal;
  7. src: url('~@/static/uni.ttf') format('truetype');
  8. }
  9. /* #endif */
  10. /* #ifndef APP-NVUE */
  11. page {
  12. display: flex;
  13. flex-direction: column;
  14. box-sizing: border-box;
  15. background-color: #efeff4;
  16. min-height: 100%;
  17. height: auto;
  18. }
  19. view {
  20. font-size: 14px;
  21. line-height: inherit;
  22. }
  23. .example {
  24. padding: 0 15px 15px;
  25. }
  26. .example-info {
  27. padding: 15px;
  28. color: #3b4144;
  29. background: #ffffff;
  30. }
  31. .example-body {
  32. /* #ifndef APP-NVUE */
  33. display: flex;
  34. /* #endif */
  35. flex-direction: row;
  36. flex-wrap: wrap;
  37. justify-content: center;
  38. padding: 0;
  39. font-size: 14px;
  40. background-color: #ffffff;
  41. }
  42. /* #endif */
  43. .example {
  44. padding: 0 15px;
  45. }
  46. .example-info {
  47. /* #ifndef APP-NVUE */
  48. display: block;
  49. /* #endif */
  50. padding: 15px;
  51. color: #3b4144;
  52. background-color: #ffffff;
  53. font-size: 14px;
  54. line-height: 20px;
  55. }
  56. .example-info-text {
  57. font-size: 14px;
  58. line-height: 20px;
  59. color: #3b4144;
  60. }
  61. .example-body {
  62. flex-direction: column;
  63. padding: 15px;
  64. background-color: #ffffff;
  65. }
  66. .word-btn-white{
  67. font-size: 18px;
  68. color:#FFFFFF;
  69. }
  70. .word-btn {
  71. /* #ifndef APP-NVUE */
  72. display: flex;
  73. /* #endif */
  74. flex-direction: row;
  75. align-items: center;
  76. justify-content: center;
  77. border-radius: 6px;
  78. height: 48px;
  79. margin: 15px;
  80. background-color: #007AFF;
  81. }
  82. .word-btn--hover {
  83. background-color: #4ca2ff;
  84. }