|
|
|
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|
|
<<<<<<< HEAD |
|
|
<<<<<<< HEAD |
|
|
<!--for demonstration:--> |
|
|
<!--for demonstration:--> |
|
|
<meta http-equiv="refresh" content="10"> |
|
|
|
|
|
|
|
|
<!-- <meta http-equiv="refresh" content="10"> |
|
|
======= |
|
|
======= |
|
|
<!-- <meta http-equiv="refresh" content="30"> --> |
|
|
<!-- <meta http-equiv="refresh" content="30"> --> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script src="routes/messageData.js"></script> |
|
|
<script src="routes/messageData.js"></script> |
|
|
<script src="routes/profilCard.js"></script> |
|
|
<script src="routes/profilCard.js"></script> |
|
|
<script src="routes/profilData.js"></script> |
|
|
<script src="routes/profilData.js"></script> |
|
|
|
|
|
<script src="routes/login.js"></script> |
|
|
|
|
|
|
|
|
<title>OHM News</title> |
|
|
<title>OHM News</title> |
|
|
</head> |
|
|
</head> |
|
|
|
|
|
|
|
|
<div class="om-header-container"> |
|
|
<div class="om-header-container"> |
|
|
<div class="om-header"> |
|
|
<div class="om-header"> |
|
|
<a class="logo-img" href="index.html"><img src="img/app_icon.png" width=45px height=45px></a> |
|
|
<a class="logo-img" href="index.html"><img src="img/app_icon.png" width=45px height=45px></a> |
|
|
|
|
|
<button v-on:click="showLoginModal=true">Login</button> |
|
|
<form class="om-searchbar"> |
|
|
<form class="om-searchbar"> |
|
|
<input type="search" placeholder="Search..."> |
|
|
<input type="search" placeholder="Search..."> |
|
|
</form> |
|
|
</form> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<login-panel v-if="showLoginModal" @clicked="onClickChild" ></login-panel> |
|
|
|
|
|
|
|
|
<div class="om-content"> |
|
|
<div class="om-content"> |
|
|
<div id=xxx></div> |
|
|
<div id=xxx></div> |
|
|
|
|
|
|
|
|
var app = new Vue({ |
|
|
var app = new Vue({ |
|
|
router, |
|
|
router, |
|
|
el: '#api', |
|
|
el: '#api', |
|
|
|
|
|
data: { |
|
|
|
|
|
showLoginModal: false, |
|
|
|
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
onClickChild (value) { |
|
|
|
|
|
this.showLoginModal= value; |
|
|
|
|
|
}, |
|
|
|
|
|
} |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
</script> |
|
|
</script> |