App.vue 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. <style lang="scss">
  2. /* 注意要写在第一行,同时给style标签加入lang="scss"属性 */
  3. @import "@/uni_modules/uview-ui/index.scss";
  4. </style>
  5. <script>
  6. import './config/.env.js'
  7. //import './assets/js/font.js'
  8. export default {
  9. onLaunch: function() {
  10. console.log('App Launch')
  11. },
  12. onShow: function() {
  13. console.log('App Show')
  14. },
  15. onHide: function() {
  16. console.log('App Hide')
  17. }
  18. }
  19. </script>
  20. <style lang="scss">
  21. .scanpopo{
  22. // 出库单列表
  23. .scanlist {
  24. // 清单信息
  25. .scan-list-infos {
  26. border-radius: 8px;
  27. background-color: #F5F6F9;
  28. margin-top: 24rpx;
  29. padding: 24rpx;
  30. .scan-infos-head {
  31. display: flex;
  32. justify-content: space-between;
  33. align-items: center;
  34. margin-bottom: 14rpx;
  35. .name {
  36. color: rgba(51, 51, 51, 1);
  37. font-size: 32rpx;
  38. }
  39. .state {
  40. color: rgba(0, 81, 255, 1);
  41. }
  42. }
  43. .scan-infos {
  44. margin-top: 16rpx;
  45. display: flex;
  46. color: #777777;
  47. font-size: 24rpx;
  48. .infos-1 {
  49. margin-right: 68rpx;
  50. }
  51. .infos-item {
  52. display: flex;
  53. margin-bottom: 8rpx;
  54. .item-value{
  55. max-width: 200rpx;
  56. }
  57. }
  58. }
  59. }
  60. }
  61. .scantitle{
  62. text-align: center;
  63. font-size: 44rpx;
  64. padding-top: 20px;
  65. }
  66. }
  67. /*每个页面公共css */
  68. html, body {
  69. background-color:#F4F4F6;
  70. margin: 0;
  71. padding: 0;
  72. font-family: 'PingFang Regular';
  73. /* font-weight: bold; */
  74. }
  75. ::v-deep .u-divider{
  76. color: rgba(182, 189, 195, 1);
  77. font-size: 24rpx;
  78. }
  79. /* tabs标签 */
  80. ::v-deep .u-tab-item{
  81. font-weight: normal !important;
  82. }
  83. .uni-icon-success-no-circle:before {
  84. content: "" !important ;
  85. display: none;
  86. }
  87. .uni-toast .uni-toast__content{
  88. margin: -10px 1px 10px 1px;
  89. }
  90. .uni-modal .uni-modal__btn{
  91. flex: 1;
  92. height: 43px;
  93. line-height: 43px !important;;
  94. font-size: 13px !important;
  95. box-sizing: border-box;
  96. cursor: pointer;
  97. text-align: center;
  98. border-radius: 1px;
  99. }
  100. ::v-deep .u-title{
  101. font-size:36rpx !important;
  102. color: rgba(51, 51, 51, 1) !important;
  103. }
  104. ::v-deep .uicon-nav-back {
  105. color: #101010 !important;
  106. }
  107. @media screen and (min-width: 320px) {
  108. ::v-deep .u-tabbar__content {
  109. height: 45px!important;
  110. }
  111. }
  112. @media screen and (min-width: 375px) {
  113. ::v-deep .u-tabbar__content {
  114. height: 55px!important;
  115. }
  116. }
  117. @media screen and (min-width: 425px) {
  118. ::v-deep .u-tabbar__content {
  119. height: 65px!important;
  120. }
  121. }
  122. .u-back-text{
  123. color: #101010 !important;
  124. font-size: 17px !important
  125. }
  126. </style>