App.vue 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <template>
  2. <div id="app" v-cloak>
  3. <!-- <div class="bg-box"></div> -->
  4. <router-view />
  5. </div>
  6. </template>
  7. <script>
  8. export default {};
  9. </script>
  10. <style lang="scss">
  11. @import "./assets/css/index.css";
  12. @mixin layout-dev {
  13. position: fixed;
  14. height: 100%;
  15. width: 100%;
  16. top: 0;
  17. left: 0;
  18. padding: 0;
  19. margin: 0;
  20. box-sizing: border-box;
  21. }
  22. html {
  23. @include layout-dev;
  24. body {
  25. @include layout-dev;
  26. #app {
  27. @include layout-dev;
  28. font-size: 12px;
  29. background: #fafafa;
  30. // .bg-box {
  31. // position: absolute;
  32. // z-index: 1;
  33. // width: 100%;
  34. // height: 84px;
  35. // margin: 0 0;
  36. // padding:0;
  37. // box-sizing: border-box;
  38. // background: linear-gradient(0deg, #fafafa 0% ,#f3d028 100% );
  39. // }
  40. .layout,
  41. .address,
  42. .addressView,
  43. .order,
  44. .oDetail,
  45. .aboutUs,
  46. .product,
  47. .live,
  48. .paddy,
  49. .liveD,
  50. .orderRes,
  51. .login {
  52. @include layout-dev;
  53. background: transparent;
  54. position: absolute;
  55. height: 100%;
  56. height: 100%;
  57. z-index: 2;
  58. .page-main {
  59. box-sizing: border-box;
  60. overflow-y: scroll;
  61. width: 100%;
  62. height: auto;
  63. }
  64. .van-nav-bar-my-fixed {
  65. .van-nav-bar__content {
  66. // background: linear-gradient(0deg, #fafafa 0%, #f3d028 100%);
  67. background-color: #111;
  68. }
  69. }
  70. .van-tabbar--fixed {
  71. z-index: 999999;
  72. background-color: #111111;
  73. }
  74. }
  75. }
  76. .van-dialog {
  77. padding:20px 20px 20px;
  78. .van-dialog__footer{
  79. display: block;
  80. .van-dialog__cancel{
  81. float: left;
  82. width: calc(50% - 5px);
  83. // border:1px
  84. background: #e6e6dc;
  85. border-radius: 8px;
  86. }
  87. .van-dialog__confirm{
  88. float: right;
  89. width: calc(50% - 5px);
  90. border-radius: 8px;
  91. }
  92. }
  93. }
  94. }
  95. }
  96. </style>