Browse Source

修改首页问题

zjm
等你 4 months ago
parent
commit
6fc64198e1

+ 9
- 0
dev/static/font/iconfont.css View File

@@ -4,6 +4,15 @@
4 4
        url('iconfont.woff?t=1734834209256') format('woff'),
5 5
        url('iconfont.ttf?t=1734834209256') format('truetype');
6 6
 }
7
+@font-face {
8
+  font-family: 'MyFont1'; /* 自定义字体名称 */
9
+  src: url('./BOLD.OTF') format('truetype');
10
+}
11
+
12
+@font-face {
13
+  font-family: 'MyFont2';
14
+  src: url('./REGULAR.OTF') format('truetype');
15
+}
7 16
 
8 17
 .iconfont {
9 18
   font-family: "iconfont" !important;

BIN
dev/static/images/index/product4.png View File


+ 9
- 0
src/pages/common/css/common.less View File

@@ -41,6 +41,7 @@ body {
41 41
     height: 100%;
42 42
     font-size: 16px;
43 43
     color: #231f20;
44
+    font-family: 'MyFont2';
44 45
 }
45 46
 a{
46 47
     text-decoration: none;
@@ -70,9 +71,17 @@ img:not([src]) {
70 71
     transition: all .3s ease-in-out;
71 72
     cursor: pointer;
72 73
     border-radius: 8px;
74
+    &>span{
75
+        position: relative;
76
+        top: 0px;
77
+        transition: all .4s ease;
78
+    }
73 79
     &:hover{
74 80
         // background: #48A038;
75 81
         // border-color: #48A038;
82
+        &>span{
83
+            top: -3px;
84
+        }
76 85
     }
77 86
 }
78 87
 .btnBlack{

+ 2
- 2
src/pages/index/index.html View File

@@ -381,7 +381,7 @@
381 381
             </div>
382 382
           </div>
383 383
         </div>
384
-        <a href="" class="wow fadeInUp btn newsHref">查看更多</a>
384
+        <a href="" class="wow fadeInUp btn newsHref"><span>查看更多</span></a>
385 385
       </div>
386 386
       <div class="wow fadeInUp product">
387 387
         <div class="wow fadeInUp title" data-wow-delay="0.2s">产业布局</div>
@@ -576,7 +576,7 @@
576 576
               <div class="numP">总资产</div>
577 577
             </div>
578 578
           </div>
579
-          <a href="" class="wow fadeInUp btn">继续了解我们</a>
579
+          <a href="" class="wow fadeInUp btn"><span>继续了解我们</span></a>
580 580
         </div>
581 581
       </div>
582 582
       <div class="wow fadeInUp society">

+ 4
- 3
src/pages/index/index.less View File

@@ -268,7 +268,8 @@
268 268
               }
269 269
               .licon{
270 270
                 font-weight: 400;
271
-                color: #666666;
271
+                color: #999999;
272
+                font-size: 16px;
272 273
               }
273 274
             }
274 275
           }
@@ -348,7 +349,7 @@
348 349
     .productConBox{
349 350
       width: 100%;
350 351
       height: 514px;
351
-      margin-top: 60px;
352
+      margin-top: 40px;
352 353
       overflow: hidden;
353 354
       &>div{
354 355
         width: 100%;
@@ -642,7 +643,7 @@
642 643
                 font-size: 16px;
643 644
                 padding-top: 8px;
644 645
                 &>div{
645
-                  height: 16px;
646
+                  height: 20px;
646 647
                 }
647 648
                 .liTitle{
648 649
                   margin-bottom: 14px;

Loading…
Cancel
Save