shaogen1995 2 lat temu
rodzic
commit
9d838b9045
3 zmienionych plików z 9 dodań i 10 usunięć
  1. 0 1
      code/package.json
  2. 8 8
      code/src/pages/B1Village/index.module.scss
  3. 1 1
      code/yarn.lock

+ 0 - 1
code/package.json

@@ -16,7 +16,6 @@
     "antd-mobile": "^5.30.0",
     "axios": "^1.1.3",
     "classnames": "^2.3.2",
-    "history": "^5.3.0",
     "react": "^18.2.0",
     "react-dom": "^18.2.0",
     "react-redux": "^8.0.4",

+ 8 - 8
code/src/pages/B1Village/index.module.scss

@@ -1,17 +1,18 @@
-.B1Village{
+.B1Village {
   position: relative;
-  :global{
-    .B1toTab3{
+
+  :global {
+    .B1toTab3 {
       position: absolute;
       bottom: 90px;
       right: 90px;
       cursor: pointer;
-      width: 104px;
-      height: 111px;
+      width: 80px;
+      height: 90px;
       background-image: url('../../assets/img/tab2/btn_active.png');
       background-size: 100% 100%;
       color: var(--themeColor2);
-      font-size: 20px;
+      font-size: 18px;
       display: flex;
       justify-content: center;
       align-items: center;
@@ -47,8 +48,7 @@
   margin-top: 15px;
   width: 122px;
   height: 124px;
-  background: url("../../assets/img/icon_address_normal@2x.png") no-repeat center /
-    contain;
+  background: url("../../assets/img/icon_address_normal@2x.png") no-repeat center / contain;
 }
 
 .hotspotActive .hotspotLabel {

+ 1 - 1
code/yarn.lock

@@ -5426,7 +5426,7 @@ he@^1.2.0:
   resolved "https://registry.npmjs.org/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f"
   integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==
 
-history@*, history@^5.3.0:
+history@*:
   version "5.3.0"
   resolved "https://registry.npmjs.org/history/-/history-5.3.0.tgz#1548abaa245ba47992f063a0783db91ef201c73b"
   integrity sha512-ZqaKwjjrAYUYfLG+htGaIIZ4nioX2L70ZUMIFysS3xvBsSG4x/n1V6TXV3N8ZYNuFGlDirFg32T7B6WOUPDYcQ==