Skip to content

Commit eec2173

Browse files
committed
增加字体
1 parent 0e41a10 commit eec2173

10 files changed

+58
-41
lines changed
7.75 MB
Binary file not shown.
7.78 MB
Binary file not shown.
7.85 MB
Binary file not shown.
7.88 MB
Binary file not shown.

src/assets/scss/main.scss

+16-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
@import 'normalize.css';
2-
2+
@font-face {
3+
font-family: HarmonyOS Sans SC Black;
4+
src: url('../font/HarmonyOS_Sans_SC_Black.ttf');
5+
}
6+
@font-face {
7+
font-family: HarmonyOS Sans SC Bold;
8+
src: url('../font/HarmonyOS_Sans_SC_Bold.ttf');
9+
}
10+
@font-face {
11+
font-family: HarmonyOS Sans SC Medium;
12+
src: url('../font/HarmonyOS_Sans_SC_Medium.ttf');
13+
}
14+
@font-face {
15+
font-family: HarmonyOS Sans SC Regular;
16+
src: url('../font/HarmonyOS_Sans_SC_Regular.ttf');
17+
}
318
* {
419
box-sizing: border-box;
520
font-size: .296rem;

src/components/Exhibition.vue

+6-6
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173
flex: 1;
174174
padding: .4rem 0 .4rem .6rem;
175175
.title{
176-
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
176+
font-family: HarmonyOS Sans SC Bold;
177177
font-weight: bold;
178178
font-size: .45rem;
179179
color: #000000;
@@ -184,7 +184,7 @@
184184
}
185185
.s_title{
186186
margin-top: .3rem;
187-
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
187+
font-family: HarmonyOS Sans SC Regular;
188188
font-weight: 400;
189189
font-size: .296rem;
190190
color: #000000;
@@ -196,7 +196,7 @@
196196
.price{
197197
margin-top: .556rem;
198198
.big{
199-
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
199+
font-family: HarmonyOS Sans SC Bold;
200200
font-weight: bold;
201201
font-size: .45rem;
202202
color: #008AFF;
@@ -205,7 +205,7 @@
205205
text-transform: none;
206206
}
207207
.blod{
208-
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
208+
font-family: HarmonyOS Sans SC Bold;
209209
font-weight: 400;
210210
font-size: .296rem;
211211
color: #000000;
@@ -216,7 +216,7 @@
216216
}
217217
.list{
218218
margin-top: .3rem;
219-
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
219+
font-family: HarmonyOS Sans SC Regular;
220220
font-weight: 400;
221221
font-size: .296rem;
222222
color: rgba(0,0,0,.5);
@@ -267,7 +267,7 @@
267267
align-items: end;
268268
}
269269
.big {
270-
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
270+
font-family: HarmonyOS Sans SC Bold;
271271
font-weight: bold;
272272
font-size: 24px;
273273
color: #000000;

src/components/Footer.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export default {
6767
<style scoped lang='scss'>
6868
.footer{
6969
background: #000000;
70-
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
70+
font-family: HarmonyOS Sans SC Regular;
7171
font-weight: 400;
7272
font-size: .296rem;
7373
color: rgba(255,255,255,.5);
@@ -94,7 +94,7 @@ export default {
9494
flex-direction: column;
9595
margin-top: 1rem;
9696
.title{
97-
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
97+
font-family: HarmonyOS Sans SC Bold;
9898
font-weight: bold;
9999
font-size: 24px;
100100
color: #FFFFFF;
@@ -117,7 +117,7 @@ export default {
117117
}
118118
}
119119
.bottom{
120-
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
120+
font-family: HarmonyOS Sans SC Regular;
121121
font-weight: 400;
122122
font-size: .259rem;
123123
color: rgba(255,255,255,.5);

src/components/Header.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ export default {
147147
margin-left: .5rem;
148148
a{
149149
text-decoration: none;
150-
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
150+
font-family: HarmonyOS Sans SC Bold;
151151
font-weight: 400;
152152
font-size: .296rem;
153153
color: #78808F;

src/components/PersionItem.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export default {
104104
padding-top: .2rem;
105105
106106
.name{
107-
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
107+
font-family: HarmonyOS Sans SC Bold;
108108
font-weight: bold;
109109
font-size: .37rem;
110110
color: #1D2A42;
@@ -113,7 +113,7 @@ export default {
113113
text-transform: none;
114114
}
115115
.job{
116-
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
116+
font-family: HarmonyOS Sans SC Regular;
117117
font-weight: 400;
118118
font-size: .296rem;
119119
color: #78808F;
@@ -126,7 +126,7 @@ export default {
126126
height: .7rem;
127127
background: #008AFF;
128128
border-radius: 0px 0px 0px 0px;
129-
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
129+
font-family: HarmonyOS Sans SC Regular;
130130
font-weight: 400;
131131
font-size: .259rem;
132132
color: #FFFFFF;

src/page/Index.vue

+29-27
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,7 @@ section {
800800
background: linear-gradient(90deg, #0084f4 0%, rgba(0, 119, 221, 0) 100%)!important; /* 设置背景颜色 */
801801
}
802802
.t1 {
803-
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
803+
font-family: HarmonyOS Sans SC Regular;
804804
font-weight: 400;
805805
font-size: 0.259rem;
806806
color: #ffffff;
@@ -813,7 +813,7 @@ section {
813813
margin-bottom: 0.3rem;
814814
}
815815
.t2 {
816-
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
816+
font-family: HarmonyOS Sans SC Black;
817817
font-weight: 900;
818818
font-size: 0.89rem;
819819
color: #ffffff;
@@ -825,7 +825,7 @@ section {
825825
max-width: 700px;
826826
}
827827
.t3 {
828-
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
828+
font-family: HarmonyOS Sans SC Regular;
829829
font-weight: 400;
830830
font-size: 0.259rem;
831831
color: #ffffff;
@@ -900,7 +900,7 @@ section {
900900
}
901901
}
902902
.b-title {
903-
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
903+
font-family: HarmonyOS Sans SC Black;
904904
font-weight: 900;
905905
font-size: 0.888rem;
906906
color: #008aff;
@@ -913,7 +913,7 @@ section {
913913
}
914914
}
915915
.h-title {
916-
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
916+
font-family: HarmonyOS Sans SC Black;
917917
font-weight: 900;
918918
font-size: 1.48rem;
919919
color: #000000;
@@ -936,7 +936,7 @@ section {
936936
}
937937
}
938938
.s-title {
939-
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
939+
font-family: HarmonyOS Sans SC Regular;
940940
font-weight: 400;
941941
font-size: 0.296rem;
942942
color: #000000;
@@ -967,7 +967,7 @@ section {
967967
width: 3.111rem;
968968
height: 0.889rem;
969969
border: none;
970-
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
970+
font-family: HarmonyOS Sans SC Bold;
971971
font-weight: bold;
972972
color: #ffffff;
973973
font-style: normal;
@@ -1020,7 +1020,7 @@ section {
10201020
border-radius: 0px 0px 0px 0px;
10211021
border: 1px solid;
10221022
border-image: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0)) 1 1;
1023-
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
1023+
font-family: HarmonyOS Sans SC Bold;
10241024
font-weight: bold;
10251025
font-size: 0.56rem;
10261026
color: #001f3c;
@@ -1043,7 +1043,7 @@ section {
10431043
.timetip {
10441044
width: 0.8rem;
10451045
height: 0.8rem;
1046-
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
1046+
font-family: HarmonyOS Sans SC Regular;
10471047
font-weight: 400;
10481048
font-size: 0.37rem;
10491049
color: rgba(0, 0, 0, 0.7);
@@ -1068,7 +1068,7 @@ section {
10681068
display: flex;
10691069
align-items: center;
10701070
.sm-title {
1071-
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
1071+
font-family: HarmonyOS Sans SC Regular;
10721072
font-weight: 400;
10731073
font-size: 0.296rem;
10741074
color: #00a4ef;
@@ -1078,7 +1078,7 @@ section {
10781078
}
10791079
.b-title {
10801080
margin-top: 0.74rem;
1081-
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
1081+
font-family: HarmonyOS Sans SC Black;
10821082
font-weight: 900;
10831083
font-size: 0.592rem;
10841084
color: #0d0e0f;
@@ -1095,7 +1095,7 @@ section {
10951095
}
10961096
.text {
10971097
margin-top: 0.2rem;
1098-
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
1098+
font-family: HarmonyOS Sans SC Regular;
10991099
font-weight: 400;
11001100
font-size: 0.296rem;
11011101
color: #78808f;
@@ -1202,7 +1202,7 @@ section {
12021202
width: 0.89rem;
12031203
}
12041204
.number {
1205-
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
1205+
font-family: HarmonyOS Sans SC Bold;
12061206
font-weight: bold;
12071207
font-size: 0.74rem;
12081208
color: #000000;
@@ -1211,7 +1211,7 @@ section {
12111211
margin-top: 0.2rem;
12121212
}
12131213
.tip {
1214-
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
1214+
font-family: HarmonyOS Sans SC Regular;
12151215
font-weight: 400;
12161216
font-size: 0.37rem;
12171217
color: #78808f;
@@ -1236,7 +1236,7 @@ section {
12361236
background: url("../assets/images/bg-title.png") ;
12371237
background-size: contain;
12381238
background-repeat: no-repeat; /* 防止背景图重复 */
1239-
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
1239+
font-family: HarmonyOS Sans SC Bold;
12401240
font-weight: bold;
12411241
font-size: 0.74rem;
12421242
line-height: 1rem;
@@ -1263,9 +1263,9 @@ section {
12631263
}
12641264
}
12651265
.ss-title {
1266-
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
1266+
font-family: HarmonyOS Sans SC Regular;
12671267
font-weight: 400;
1268-
font-size: 0.296;
1268+
font-size: 0.296rem;
12691269
color: #00a1f1;
12701270
line-height: 19px;
12711271
text-align: left;
@@ -1275,7 +1275,7 @@ section {
12751275
margin-top: 0.1rem;
12761276
}
12771277
.sss-title {
1278-
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
1278+
font-family: HarmonyOS Sans SC Regular;
12791279
font-weight: 400;
12801280
font-size: 0.259rem;
12811281
color: #000000;
@@ -1331,7 +1331,7 @@ section {
13311331
margin-right: 0.15rem;
13321332
}
13331333
.title {
1334-
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
1334+
font-family: HarmonyOS Sans SC Bold;
13351335
font-weight: bold;
13361336
font-size: 0.296rem;
13371337
color: #1d2a42;
@@ -1342,7 +1342,7 @@ section {
13421342
}
13431343
.bottom {
13441344
padding-left: 0.9rem;
1345-
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
1345+
font-family: HarmonyOS Sans SC Regular;
13461346
font-weight: 400;
13471347
font-size: 0.259rem;
13481348
color: #78808f;
@@ -1371,7 +1371,7 @@ section {
13711371
.moreDiv {
13721372
border: 1px solid #008aff;
13731373
font-weight: bold;
1374-
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
1374+
font-family: HarmonyOS Sans SC Bold;
13751375
font-weight: bold;
13761376
font-size: 0.296rem;
13771377
color: #008aff;
@@ -1454,7 +1454,7 @@ section {
14541454
align-items: end;
14551455
}
14561456
.big {
1457-
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
1457+
font-family: HarmonyOS Sans SC Bold;
14581458
font-weight: bold;
14591459
font-size: 24px;
14601460
color: #000000;
@@ -1543,7 +1543,7 @@ section {
15431543
display: flex;
15441544
align-items: center;
15451545
.title {
1546-
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
1546+
font-family: HarmonyOS Sans SC Bold;
15471547
font-weight: bold;
15481548
font-size: 0.59rem;
15491549
color: #000000;
@@ -1553,7 +1553,7 @@ section {
15531553
text-transform: none;
15541554
}
15551555
.text {
1556-
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
1556+
font-family: HarmonyOS Sans SC Regular;
15571557
font-weight: 400;
15581558
font-size: 0.296rem;
15591559
color: rgba(0, 0, 0, 0.4);
@@ -1591,7 +1591,7 @@ section {
15911591
width: 3.7037rem;
15921592
height: 0.7407rem;
15931593
background: rgba(0, 138, 255, 0.1);
1594-
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
1594+
font-family: HarmonyOS Sans SC Bold;
15951595
font-weight: bold;
15961596
font-size: 0.2963rem;
15971597
color: #008aff;
@@ -1628,6 +1628,7 @@ section {
16281628
border-left: 1px solid rgba(0, 0, 0, 0.2);
16291629
position: relative;
16301630
padding-bottom: 0.7407rem;
1631+
font-family: HarmonyOS Sans SC bold;
16311632
.flagBg {
16321633
width: 12px;
16331634
height: 12px;
@@ -1639,10 +1640,11 @@ section {
16391640
// padding-top: 0.44rem;
16401641
font-size: 0.44rem;
16411642
font-weight: bold;
1643+
font-family: HarmonyOS Sans SC bold;
16421644
}
16431645
.detail {
16441646
font-size: 0.2963rem;
1645-
1647+
font-family: HarmonyOS Sans SC Regular;
16461648
margin-top: 0.2963rem;
16471649
}
16481650
}
@@ -1658,7 +1660,7 @@ section {
16581660
line-height: calc(0.74rem - 2px);
16591661
border-radius: 0px 0px 0px 0px;
16601662
border: 1px solid #008aff;
1661-
font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
1663+
font-family: HarmonyOS Sans SC Black;
16621664
font-weight: 900;
16631665
font-size: 0.296rem;
16641666
color: #008aff;

0 commit comments

Comments
 (0)