自动切换
This commit is contained in:
parent
cd2c344b09
commit
f4b29e77c1
@ -8,7 +8,22 @@
|
||||
<link href="https://cdn.staticfile.org/quill/1.3.6/quill.snow.css" rel="stylesheet">
|
||||
<title>飞阳建设工程有限公司</title>
|
||||
|
||||
<script type="text/JavaScript">
|
||||
function isMobile() {
|
||||
const userAgent = navigator.userAgent || navigator.vendor || window.opera;
|
||||
return /Mobi|Android/i.test(userAgent);
|
||||
}
|
||||
|
||||
if (isMobile()) {
|
||||
// 处理移动端逻辑
|
||||
window.location.href='https://www.fygroup.cn/mobile/'
|
||||
console.log(111)
|
||||
} else {
|
||||
// 处理PC端逻辑
|
||||
console.log("当前环境是PC端");
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<noscript>
|
||||
|
@ -96,6 +96,7 @@ this.$router.push({
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
@ -86,7 +86,6 @@
|
||||
</div>
|
||||
<div style="width: 50%;height: 100%;">
|
||||
<el-form-item prop="content">
|
||||
|
||||
<el-input
|
||||
style="height: 100%;"
|
||||
type="textarea"
|
||||
|
@ -37,6 +37,8 @@
|
||||
</template>
|
||||
<script>
|
||||
import { newsdetail,msgdetail } from '@/api';
|
||||
// import 'react-quill/dist/quill.snow.css';
|
||||
|
||||
export default{
|
||||
data(){
|
||||
return{
|
||||
|
@ -23,7 +23,7 @@
|
||||
|
||||
|
||||
<div style="height: 30px;"></div>
|
||||
<img src="@/assets/images/人才招聘.png" style="display: block;width: 100%;object-fit: contain;">
|
||||
<img :src="componyarr[0].picture" style="display: block;width: 100%;object-fit: contain;">
|
||||
<div style="height: 30px;"></div>
|
||||
|
||||
<div style="height: 60px;"></div>
|
||||
|
Loading…
Reference in New Issue
Block a user