Browse Source

修改首页问题

zjm
等你 4 months ago
parent
commit
6fc64198e1

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

4
        url('iconfont.woff?t=1734834209256') format('woff'),
4
        url('iconfont.woff?t=1734834209256') format('woff'),
5
        url('iconfont.ttf?t=1734834209256') format('truetype');
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
 .iconfont {
17
 .iconfont {
9
   font-family: "iconfont" !important;
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
     height: 100%;
41
     height: 100%;
42
     font-size: 16px;
42
     font-size: 16px;
43
     color: #231f20;
43
     color: #231f20;
44
+    font-family: 'MyFont2';
44
 }
45
 }
45
 a{
46
 a{
46
     text-decoration: none;
47
     text-decoration: none;
70
     transition: all .3s ease-in-out;
71
     transition: all .3s ease-in-out;
71
     cursor: pointer;
72
     cursor: pointer;
72
     border-radius: 8px;
73
     border-radius: 8px;
74
+    &>span{
75
+        position: relative;
76
+        top: 0px;
77
+        transition: all .4s ease;
78
+    }
73
     &:hover{
79
     &:hover{
74
         // background: #48A038;
80
         // background: #48A038;
75
         // border-color: #48A038;
81
         // border-color: #48A038;
82
+        &>span{
83
+            top: -3px;
84
+        }
76
     }
85
     }
77
 }
86
 }
78
 .btnBlack{
87
 .btnBlack{

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

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

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

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

Loading…
Cancel
Save