Prechádzať zdrojové kódy

更改屏幕比例,美化屏幕样式

hao lei 11 mesiacov pred
rodič
commit
e9fbeea236

+ 1 - 1
src/views/ordinaryPage/index.less

@@ -29,7 +29,7 @@
     width: 63.48vw;
     flex-direction: column;
     align-items: center;
-
+    position: relative;
     .search-container {
       width: 44.9vw;
       height: 7.4vh;

+ 2 - 2
src/views/ordinaryPage/index.vue

@@ -2780,13 +2780,13 @@ export default {
 .bmBench {
   width: 100%;
   /* height: 300px; */
-  padding: 5px 10px;
+  padding: 25px 0;
   box-sizing: border-box;
 }
 
 .bmBenchBox {
   font-size: 0;
-  margin-top: 5px;
+  /* margin-top: 5px; */
   position: relative;
   display: flex;
   justify-content: center;

+ 3 - 3
src/views/ordinaryPage/origin.less

@@ -12,7 +12,7 @@
       .origin-map {
         position: relative;
         width: 63.34vw;
-        height: 52.63vh;
+        height: 32vw;
         border-radius: 40px;
         overflow: hidden;
         background-color: rgba(117, 117, 117, 0.8);
@@ -38,8 +38,8 @@
           rgba(84, 84, 84, 0) 100%
         );
         border-radius: 79px 79px 79px 79px;
-        position: relative;
-        top: -20.37vh;
+        position: absolute;
+        bottom: 14vh;
         z-index: 3;
         color: #fff;
         display: flex;