fix: 删除自定义字体改用系统字体,减少主包体积
This commit is contained in:
1
App.vue
1
App.vue
@@ -371,7 +371,6 @@
|
||||
@import 'static/css/base.css';
|
||||
@import 'static/iconfont/iconfont.css';
|
||||
@import 'static/css/unocss.css';
|
||||
@import 'static/fonts/font.scss';
|
||||
|
||||
view {
|
||||
box-sizing: border-box;
|
||||
|
||||
@@ -156,6 +156,7 @@ export default {
|
||||
/**
|
||||
* 太阳码 scene 解析:调 box_app /api/mp/apps 找 url,找到后注入到 option.url
|
||||
* 然后调用 _initWebView(option) 走标准 web_view 加载流程
|
||||
*/
|
||||
_resolveAppScene(identifier, option) {
|
||||
const appToken = store.state.app.token || '';
|
||||
uni.request({
|
||||
|
||||
@@ -437,11 +437,11 @@ checkbox .uni-checkbox-input.uni-checkbox-input-checked::before {
|
||||
|
||||
.coupon-list .item .money .num {
|
||||
font-size: 60rpx;
|
||||
font-family: SemiBold;
|
||||
font-family: -apple-system, "PingFang SC", "Helvetica Neue", sans-serif; font-weight: 600;
|
||||
}
|
||||
|
||||
.num-fa-semi {
|
||||
font-family: SemiBold;
|
||||
font-family: -apple-system, "PingFang SC", "Helvetica Neue", sans-serif; font-weight: 600;
|
||||
}
|
||||
|
||||
.coupon-list .item .text {
|
||||
|
||||
@@ -2779,11 +2779,11 @@
|
||||
}
|
||||
|
||||
.Regular {
|
||||
font-family: Regular;
|
||||
font-family: -apple-system, "PingFang SC", "Helvetica Neue", sans-serif;
|
||||
}
|
||||
|
||||
.SemiBold {
|
||||
font-family: SemiBold;
|
||||
font-family: -apple-system, "PingFang SC", "Helvetica Neue", sans-serif; font-weight: 600;
|
||||
}
|
||||
|
||||
.space-line {
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -1,8 +0,0 @@
|
||||
@font-face {
|
||||
font-family: SemiBold;
|
||||
src: url('static/fonts/D-DIN-PRO-600-SemiBold.ttf');
|
||||
}
|
||||
@font-face {
|
||||
font-family: Regular;
|
||||
src: url('static/fonts/D-DIN-PRO-400-Regular.ttf');
|
||||
}
|
||||
Reference in New Issue
Block a user