diff --git a/pages.json b/pages.json index 128acea..53f327b 100644 --- a/pages.json +++ b/pages.json @@ -344,6 +344,13 @@ "navigationBarTitleText": "同里新鲜事", "navigationStyle": "custom" } + }, + { + "path": "novelty/index", + "style": { + "navigationBarTitleText": "游踪指南", + "navigationStyle": "custom" + } } ] }], diff --git a/pages/index/index.vue b/pages/index/index.vue index dee5902..ca2302d 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -164,7 +164,7 @@ { img: 'yzzn', text: '游踪指南', - // path: '/subPackages/webPage/webPage?url='+ encodeURIComponent('https://yandumap.sz-trip.com/'), + path: '/subPackages/novelty/index' }, { img: 'shtl', @@ -577,6 +577,7 @@ .line-box { overflow-x: auto; + overflow-y: hidden; display: flex; padding-left: 26rpx; } @@ -754,7 +755,7 @@ font-weight: 500; font-size: 24rpx; color: #6b6262; - margin-top: 8rpx; + margin-top: 10rpx; } } } diff --git a/static/css/base.css b/static/css/base.css index b494b6e..4b0b595 100644 --- a/static/css/base.css +++ b/static/css/base.css @@ -14,6 +14,8 @@ input { view { box-sizing: border-box; + font-family: "MyFont" !important; + font-weight: bold; } /* 在线链接服务仅供平台体验和调试使用,平台不承诺服务的稳定性,企业客户需下载字体包自行发布使用并做好备份。 */ diff --git a/static/font/font.css b/static/font/font.css index 6fddd67..91dd390 100644 --- a/static/font/font.css +++ b/static/font/font.css @@ -1,6 +1,6 @@ @font-face { font-family:"MyFont"; //自定义字体名称 - src: url('https://static.ticket.sz-trip.com/tongli/font.ttf'); //引入字体路径 + src: url('https://static.ticket.sz-trip.com/tongli/simsun.ttc'); //引入字体路径 font-weight: normal; //字体粗细 font-style: normal;//字体风格 } \ No newline at end of file diff --git a/static/font/font.ttf b/static/font/font.ttf deleted file mode 100644 index 7f2ae53..0000000 Binary files a/static/font/font.ttf and /dev/null differ diff --git a/subPackages/novelty/index.vue b/subPackages/novelty/index.vue new file mode 100644 index 0000000..615ca7d --- /dev/null +++ b/subPackages/novelty/index.vue @@ -0,0 +1,118 @@ + + + + + \ No newline at end of file