Log-in/Log-out prototyp
This commit is contained in:
@@ -86,13 +86,11 @@
|
||||
<div class="om-header-container">
|
||||
<div class="om-header">
|
||||
<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">
|
||||
<input type="search" placeholder="Search...">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<login-panel v-if="showLoginModal" @clicked="onClickChild" ></login-panel>
|
||||
|
||||
<div class="om-content">
|
||||
<div id=xxx></div>
|
||||
@@ -125,12 +123,8 @@
|
||||
router,
|
||||
el: '#api',
|
||||
data: {
|
||||
showLoginModal: false,
|
||||
},
|
||||
methods: {
|
||||
onClickChild (value) {
|
||||
this.showLoginModal= value;
|
||||
},
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user