diff --git a/common/style/iconfont.css b/common/style/iconfont.css index 19a2c23..0506d16 100644 --- a/common/style/iconfont.css +++ b/common/style/iconfont.css @@ -1,4 +1,20 @@ /** iconfont */ +@font-face { + font-family: "YouSheBiaoTiHei"; + src: url('@/static/font/YouSheBiaoTiHei.ttf') format('truetype'); +} +@font-face { + font-family: "SourceHanSansCN-Bold"; + src: url('@/static/font/SourceHanSansCN-Bold.otf') format('truetype'); +} +@font-face { + font-family: "SourceHanSansCN-Regular"; + src: url('@/static/font/SourceHanSansCN-Regular.otf') format('truetype'); +} +@font-face { + font-family: "SourceHanSansCN-Medium"; + src: url('@/static/font/SourceHanSansCN-Medium.otf') format('truetype'); +} @font-face { font-family: 'iconfont'; src: url('@/static/iconfont/iconfont.woff2') format('woff2'), diff --git a/common/style/reset.css b/common/style/reset.css index bd961fb..1ba665f 100644 --- a/common/style/reset.css +++ b/common/style/reset.css @@ -137,4 +137,10 @@ input[type="button"], input[type="submit"], input[type="search"], input[type="re } .mgr5 { margin-right: 5px; +} +.mgt40 { + margin-top: 40rpx +} +.mgb40 { + margin-bottom: 40rpx } \ No newline at end of file diff --git a/pages/home/home.vue b/pages/home/home.vue index 08baef5..5a96f5a 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -1,6 +1,10 @@