Browse Source

样式修改

luxf 1 tuần trước cách đây
mục cha
commit
2ff0fe7144

+ 1 - 0
pages/exhibitor/exhibit.vue

@@ -104,6 +104,7 @@
 			}
 		},
 		created() {
+			this.loadFontFace('Poppins')
 		},
 		methods: {
 			onShare(e) {

+ 1 - 1
pages/news/components/news-recommend.vue

@@ -42,7 +42,7 @@
 			}
 		},
 		created() {
-			if (recommendType === 'detail') {
+			if (this.recommendType === 'detail') {
 				this.newsType = 'exhibitor'
 			}
 		},

+ 0 - 4
static/style/app.scss

@@ -24,10 +24,6 @@
 	content: "\e68d";
 }
 
-* {
-	font-family: Inter, Inter;
-	box-sizing: border-box;
-}
 page{
 	background-color: $pageBackgroundColor;
 }

+ 2 - 0
static/style/pages/exhibit-item.scss

@@ -10,6 +10,7 @@
 		}
 		.exhibitor-name-cn,.exhibitor-name-en{
 			color: #7d7d7d;
+			font-family: Poppins, Poppins;
 			font-size: $fontSize2;
 			font-weight: normal;
 		}
@@ -18,6 +19,7 @@
 		&>.exhibitor-name{
 			margin-left: 23rpx;
 			line-height: 40rpx;
+			font-family: Poppins, Poppins;
 		}
 	}
 }