|
|
<template>
|
|
|
<div class="top-nav">
|
|
|
<a class="left-button" href="javascript:alert('TODO');">
|
|
|
<span class="icon icon-left"></span>
|
|
|
</a>
|
|
|
<navbar>
|
|
|
<a slot="left" href="javascript:alert('TODO');">
|
|
|
<span class="icon icon-left"></span>
|
|
|
</a>
|
|
|
|
|
|
<a class="right-button" href="javascript:alert('TODO');">
|
|
|
<span class="icon icon-share"></span>
|
|
|
</a>
|
|
|
<a class="right-button" href="javascript:alert('TODO');">
|
|
|
<span class="icon icon-love"></span>
|
|
|
</a>
|
|
|
<a class="right-button" href="javascript:alert('TODO');" :click="">
|
|
|
<span class="icon icon-check"></span>
|
|
|
{{likeCount}}
|
|
|
</a>
|
|
|
<template slot="right">
|
|
|
<a class="right-button" href="javascript:alert('TODO');">
|
|
|
<span class="icon icon-check"></span>
|
|
|
{{likeCount}}
|
|
|
</a>
|
|
|
|
|
|
<a class="right-button" href="javascript:alert('TODO');">
|
|
|
<span class="icon icon-love"></span>
|
|
|
</a>
|
|
|
|
|
|
<a class="right-button" href="javascript:alert('TODO');">
|
|
|
<span class="icon icon-share"></span>
|
|
|
</a>
|
|
|
</template>
|
|
|
</navbar>
|
|
|
</div>
|
|
|
</template>
|
|
|
<style>
|
|
|
.top-nav {
|
|
|
position: fixed;
|
|
|
z-index: 10;
|
|
|
font-size: 40px;
|
|
|
padding: 30px;
|
|
|
width: 100%;
|
|
|
top: 0;
|
|
|
background: #fff;
|
|
|
|
|
|
.left-button {
|
|
|
float: left;
|
|
|
}
|
|
|
|
|
|
.right-button {
|
|
|
float: right;
|
|
|
margin-left: 30px;
|
|
|
}
|
|
|
}
|
|
|
</style>
|
|
|
<script>
|
|
|
const yoho = require('yoho');
|
|
|
|
|
|
require('common/vue-filter');
|
|
|
|
|
|
module.exports = {
|
|
|
components: {
|
|
|
navbar: require('component/header.vue')
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
isApp: yoho.isApp,
|
|
|
likeCount: 9,
|
|
|
};
|
|
|
},
|
...
|
...
|
|