App.vue 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <script>
  2. export default {
  3. onLaunch: function() {
  4. uni.setStorageSync('locale','zh')
  5. },
  6. onShow: function() {
  7. console.log('App Show')
  8. },
  9. onHide: function() {
  10. console.log('App Hide')
  11. }
  12. }
  13. </script>
  14. <style lang="scss">
  15. /*每个页面公共css */
  16. @import "/static/font/iconfont.css";
  17. view{
  18. box-sizing: border-box;
  19. }
  20. page{
  21. background: #F4F4F4;
  22. }
  23. .warpbox{
  24. background: linear-gradient(180deg, #DFF0FF 0%, #F4F4F4 20%);
  25. }
  26. /* //暂无数据 */
  27. .noData{
  28. font-size:24rpx;
  29. color:#999;
  30. text-align: center;
  31. margin:120rpx 0;
  32. }
  33. /* //tab栏 */
  34. .tablist_new{
  35. width:100%;
  36. padding:24rpx;
  37. display: flex;
  38. justify-content: space-around;
  39. align-items: center;
  40. border-bottom:1rpx solid #f5f5f5;
  41. .tabtn{
  42. width:150rpx;
  43. text-align: center;
  44. font-size:26rpx;
  45. color:#999;
  46. padding-bottom:20rpx;
  47. position: relative;
  48. &::after{
  49. content:'';
  50. position: absolute;
  51. left:0;
  52. bottom:0;
  53. width:60rpx;
  54. height:10rpx;
  55. background:none;
  56. border-radius: 10rpx;
  57. }
  58. }
  59. .tabtn_active{
  60. width:150rpx;
  61. text-align: center;
  62. font-size:26rpx;
  63. color:#65ABF6;
  64. padding-bottom:20rpx;
  65. position: relative;
  66. &::after{
  67. content:'';
  68. position: absolute;
  69. left:50%;
  70. transform: translateX(-50%);
  71. bottom:0;
  72. width:60rpx;
  73. height:10rpx;
  74. background:#65ABF6;
  75. border-radius: 10rpx;
  76. }
  77. }
  78. }
  79. .key{
  80. color:#666666 !important;
  81. span{
  82. color:red;
  83. margin-left:8rpx;
  84. }
  85. }
  86. .valueActive{
  87. color:#333 !important;
  88. }
  89. .button{
  90. width:500rpx;
  91. height:88rpx;
  92. border-radius: 45rpx;
  93. background:#7FC2FF;
  94. font-size:30rpx;
  95. color:#fff;
  96. text-align: center;
  97. line-height: 88rpx;
  98. margin:50rpx auto;
  99. }
  100. </style>