站内信 入口

master
夜良king 2022-10-11 19:09:22 +08:00
parent 68e927c6f4
commit 6ee0abd150
2 changed files with 17 additions and 0 deletions

View File

@ -4,6 +4,9 @@
<u-icon name="search"></u-icon>
{{ res.list[0].title }}
</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>
</template>
<script>
@ -11,6 +14,11 @@ export default {
title:"搜索栏",
props: ["res"],
methods: {
linkMsgDetail(){
uni.navigateTo({
url:`/pages/tabbar/home/title`
})
},
handleSearch() {
uni.navigateTo({
url: "/pages/navigation/search/searchPage",
@ -34,5 +42,14 @@ export default {
.layout {
background: #fff;
padding: 0 16rpx;
position: relative;
}
.navbar-right{
position: absolute;
top: 0;
// right: 0;
}
.message{
right:40rpx;
}
</style>

BIN
static/img/title.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB