1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <script>
- export default {
- onLaunch: function() {
- console.log('App Launch')
- },
- onShow: function() {
- console.log('App Show')
- },
- onHide: function() {
- console.log('App Hide')
- }
-
- }
- </script>
- <style>
- body, view, text, input, button {
- font-family: 'MyFont4', serif;
- font-weight: bold;
- }
- /* @font-face {
- font-family: 'MyFont';
- src: url('~@/assets/typeface/almmdfdk/AlimamaDongFangDaKai-Regular.woff') format('woff'),
- url('~@/assets/typeface/almmdfdk/AlimamaDongFangDaKai-Regular.woff2') format('woff2'),
- url('~@/assets/typeface/almmdfdk/AlimamaDongFangDaKai-Regular.ttf') format('truetype');
- font-weight: normal;
- font-style: normal;
- } */
- @font-face {
- font-family: 'MyFont1'; /* 你可以给字体起一个别名 */
- src: url('~@/assets/typeface/ZhenZongShengDianKaiShu/ZhenZongShengDianKaiShu-2.ttf') format('truetype'); /* 还可以加上 ttf 格式作为备选 */
- font-weight: normal;
- font-style: normal;
- }
- @font-face {
- font-family: 'MyFont2'; /* 你可以给字体起一个别名 */
- src: url('~@/assets/typeface/FangZhengKaiTiJianTi/FangZhengKaiTiJianTi-1.ttf') format('truetype'); /* 还可以加上 ttf 格式作为备选 */
- font-weight: normal;
- font-style: normal;
- }
- @font-face {
- font-family: 'MyFont3'; /* 你可以给字体起一个别名 */
- src: url('~@/assets/typeface/FangZhengFangSongJianTi/FangZhengFangSongJianTi-1.ttf') format('truetype'); /* 还可以加上 ttf 格式作为备选 */
- font-weight: normal;
- font-style: normal;
- }
- @font-face {
- font-family: 'MyFont4'; /* 你可以给字体起一个别名 */
- src: url('~@/assets/typeface/JiYingHuiPianHuiSong/JiYingHuiPianHuiSong-2.ttf') format('truetype'); /* 还可以加上 ttf 格式作为备选 */
- font-weight: normal;
- font-style: normal;
- }
-
-
-
-
- </style>
|