禁止X5内核浏览器自动调整文本大小
This commit is contained in:
parent
1ec0c9c467
commit
2e01cb6d2e
|
@ -3,9 +3,10 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<!-- <meta name="viewport" content="width=device-width,initial-scale=1.0"> -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
||||
<title><%= htmlWebpackPlugin.options.title %></title>
|
||||
<title>“开创”系列军事需求解决方案创意征集行动</title>
|
||||
</head>
|
||||
<body>
|
||||
<noscript>
|
||||
|
|
35
src/App.vue
35
src/App.vue
|
@ -1,31 +1,34 @@
|
|||
<template>
|
||||
<div id="app">
|
||||
<!-- <img alt="Vue logo" src="./assets/logo.png"> -->
|
||||
<HomePage msg="Welcome to Your Vue.js App"/>
|
||||
</div>
|
||||
<div id="app">
|
||||
<!-- <img alt="Vue logo" src="./assets/logo.png"> -->
|
||||
<HomePage msg="" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import HomePage from './components/HomePage.vue'
|
||||
import HomePage from "./components/HomePage.vue";
|
||||
|
||||
export default {
|
||||
name: 'App',
|
||||
components: {
|
||||
HomePage
|
||||
}
|
||||
}
|
||||
name: "App",
|
||||
components: {
|
||||
HomePage,
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style>
|
||||
#app {
|
||||
font-family: Avenir, Helvetica, Arial, sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
text-align: center;
|
||||
color: #2c3e50;
|
||||
font-family: Avenir, Helvetica, Arial, sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
text-align: center;
|
||||
color: #2c3e50;
|
||||
}
|
||||
html, body {
|
||||
html,
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
-webkit-text-size-adjust: none;
|
||||
text-size-adjust: none;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -8,6 +8,9 @@
|
|||
<li><a href="https://www.osredm.com">首页</a></li>
|
||||
<li><a href="https://www.osredm.com/explore/all">开源项目</a></li>
|
||||
<li><a href="https://www.osredm.com/task">创客空间</a></li>
|
||||
<li><a href="https://fc.osredm.com/competitions">开放竞赛</a></li>
|
||||
<li><a href="https://fc.osredm.com/forums">论坛交流</a></li>
|
||||
<li><a href="https://www.osredm.com/notice">公告</a></li>
|
||||
</ul>
|
||||
<!-- 标题 -->
|
||||
<div class="logo-and-title">
|
||||
|
@ -182,7 +185,7 @@ export default {
|
|||
list-style-type: none;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
width: 450px;
|
||||
width: 750px;
|
||||
height: 75px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
@ -548,7 +551,7 @@ export default {
|
|||
list-style-type: none;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
width: 40vw;
|
||||
width: 54vw;
|
||||
height: 5.1vw;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
|
Loading…
Reference in New Issue