phone-area.wxss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. @charset "UTF-8";
  2. /**
  3. * 这里是uni-app内置的常用样式变量
  4. *
  5. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. /* 颜色变量 */
  15. /* 行为相关颜色 */
  16. /* 文字基本颜色 */
  17. /* 背景颜色 */
  18. /* 边框颜色 */
  19. /* 尺寸变量 */
  20. /* 文字尺寸 */
  21. /* 图片尺寸 */
  22. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. .phone-area {
  28. height: 100%;
  29. box-sizing: border-box;
  30. flex-direction: column;
  31. background: #F2F2F2;
  32. }
  33. .phone-area .content {
  34. flex: 1;
  35. height: 100%;
  36. position: relative;
  37. box-sizing: border-box;
  38. }
  39. .phone-area .content {
  40. background: #FFFFFF;
  41. }
  42. .phone-area .content .list-item .name {
  43. display: flex;
  44. align-items: center;
  45. justify-content: center;
  46. flex-direction: row;
  47. height: 48rpx;
  48. font-size: 32rpx;
  49. padding: 0 30rpx;
  50. position: -webkit-sticky;
  51. position: sticky;
  52. box-sizing: border-box;
  53. background: #F2F2F2;
  54. justify-content: flex-start;
  55. }
  56. .phone-area .content .list-item .item {
  57. display: flex;
  58. align-items: center;
  59. justify-content: center;
  60. flex-direction: row;
  61. height: 88rpx;
  62. box-sizing: border-box;
  63. padding: 0 100rpx 0 30rpx;
  64. justify-content: space-between;
  65. border-bottom: 1rpx solid #F2F2F2;
  66. }
  67. .phone-area .content .list-item .item .code {
  68. color: #42b983;
  69. padding: 10rpx 20rpx;
  70. border-radius: 8rpx;
  71. border: 1rpx solid #1AAD19;
  72. }
  73. .phone-area .content .chooseIndex {
  74. display: flex;
  75. align-items: center;
  76. justify-content: center;
  77. flex-direction: column;
  78. top: 50%;
  79. right: 30rpx;
  80. width: 30rpx;
  81. height: 780rpx;
  82. position: fixed;
  83. background: #FFFFFF;
  84. border-radius: 8rpx;
  85. -webkit-transform: translateY(-50%);
  86. transform: translateY(-50%);
  87. box-shadow: 0rpx 0rpx 1rpx 1rpx #666666;
  88. }
  89. .phone-area .content .chooseIndex .chooseIndex-item {
  90. display: flex;
  91. align-items: center;
  92. justify-content: center;
  93. flex-direction: row;
  94. width: 30rpx;
  95. height: 30rpx;
  96. border-radius: 50%;
  97. }
  98. .phone-area .content .showChar {
  99. display: flex;
  100. align-items: center;
  101. justify-content: center;
  102. flex-direction: row;
  103. top: 50%;
  104. left: 50%;
  105. z-index: 1;
  106. width: 123rpx;
  107. height: 123rpx;
  108. color: #FFFFFF;
  109. position: fixed;
  110. font-size: 88rpx;
  111. border-radius: 50%;
  112. background: rgba(0, 0, 0, 0.3);
  113. -webkit-transform: translate(-50%, -50%);
  114. transform: translate(-50%, -50%);
  115. }