index.wxss 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. /**index.wxss**/
  2. .container{
  3. display: flex;
  4. flex-direction: column;
  5. height: 100vh;
  6. align-items: center;
  7. justify-content: space-between;
  8. background-color: #f1f3f3;
  9. }
  10. .panel-display{
  11. width: 100%;
  12. flex: 1;
  13. }
  14. .panel-btns{
  15. width: 100%;
  16. flex: 1;
  17. display: flex;
  18. flex-direction: column;
  19. }
  20. .btns-rows{
  21. width: 100%;
  22. flex: 1;
  23. display: flex;
  24. flex-direction: row;
  25. background-color: #f7f8f9;
  26. }
  27. .btn{
  28. text-align: center;
  29. box-sizing: border-box;
  30. flex: 1;
  31. display: flex;
  32. justify-content: center;
  33. align-items: center;
  34. border-top: 1px solid #c3c6c7;
  35. }
  36. .btn.active{
  37. background-color: #e3e4e5;
  38. }
  39. .btn:not(:last-child){
  40. border-right: 1px solid #c3c6c7;
  41. }
  42. #btns2-right{
  43. border-left: 1px solid #c3c6c7;
  44. }
  45. #display-num{
  46. display: inline-block;
  47. font-size: 36px;
  48. position: absolute;
  49. bottom: 5vh;
  50. right: 3vw;
  51. }
  52. #display-op{
  53. display: inline-block;
  54. font-size: 16px;
  55. position: absolute;
  56. bottom: 1vh;
  57. right: 3vw;
  58. }
  59. #btns2{
  60. flex: 2;display: flex;flex-direction: row;
  61. }
  62. #btns2-left{
  63. flex: 3;display: flex;flex-direction: column;
  64. }
  65. .btns2-left-part{
  66. display: flex; flex-direction: row;flex-grow: 1;
  67. }
  68. #btn-c{
  69. color: #f00;
  70. }
  71. #icon-about{
  72. position: absolute;
  73. right: 3vw;
  74. top: 3vw;
  75. }