ICode9

精准搜索请尝试: 精确搜索
  • vue.js3: 使用全局变量(vue@3.2.37)2022-07-20 22:35:20

    一,js代码: 1,main.js import { createApp } from 'vue' import App from './App.vue' import router from './route' //判断是否移动端的函数 const isMobileFunc = () => { let flag = navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|io

  • vue.js3: 使用全局css样式文件(vue@3.2.37)2022-07-15 23:04:00

    一,创建全局css文件 创建global.css文件,保存全局样式,如图:   global.css的代码: .titleDiv { width:800px; text-shadow: 2px 2px 5px #777; line-height: 22px; font-size: 22px; color: rgb(90, 90, 90); margin-top: 20px; } .mainDiv { width

  • vue.js3: 引入外部字体文件(vue@3.2.36)2022-06-14 13:07:09

    一,思源黑体和思源宋体的下载地址: 思源黑体 https://github.com/adobe-fonts/source-han-sans/releases 思源宋体 https://github.com/adobe-fonts/source-han-serif/releases 说明:刘宏缔的架构森林是一个专注架构的博客,地址:https://www.cnblogs.com/architectforest    

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有