站内信 入口
parent
68e927c6f4
commit
6ee0abd150
|
@ -4,6 +4,9 @@
|
||||||
<u-icon name="search"></u-icon>
|
<u-icon name="search"></u-icon>
|
||||||
{{ res.list[0].title }}
|
{{ res.list[0].title }}
|
||||||
</div>
|
</div>
|
||||||
|
<div slot="right" open-type="contact" class="navbar-right message" @click="linkMsgDetail" style="border-style:none;background:rgb(234,234,234);" >
|
||||||
|
<image style="width:53rpx;height:53rpx;margin-top:6rpx;" src="@/static/img/title.png"></image>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
|
@ -11,6 +14,11 @@ export default {
|
||||||
title:"搜索栏",
|
title:"搜索栏",
|
||||||
props: ["res"],
|
props: ["res"],
|
||||||
methods: {
|
methods: {
|
||||||
|
linkMsgDetail(){
|
||||||
|
uni.navigateTo({
|
||||||
|
url:`/pages/tabbar/home/title`
|
||||||
|
})
|
||||||
|
},
|
||||||
handleSearch() {
|
handleSearch() {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: "/pages/navigation/search/searchPage",
|
url: "/pages/navigation/search/searchPage",
|
||||||
|
@ -34,5 +42,14 @@ export default {
|
||||||
.layout {
|
.layout {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
padding: 0 16rpx;
|
padding: 0 16rpx;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.navbar-right{
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
// right: 0;
|
||||||
|
}
|
||||||
|
.message{
|
||||||
|
right:40rpx;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 7.6 KiB |
Loading…
Reference in New Issue