【银保app】服务页面以及我的页面 消息跳转消息列表

This commit is contained in:
liu.xiaofeng@ebiz-digits.com
2022-11-08 17:42:59 +08:00
parent ac4f1e40e5
commit ac621fd432
2 changed files with 12 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
<template>
<div class="public_container" style="position: relative;">
<p style="position: absolute;top: 50px;right: 15px;">
<p style="position: absolute;top: 50px;right: 15px;" @click="messageJump">
<img v-if="!messages" style="width:20px;" src="@/assets/YB_APP/images/3.png">
<img v-if="messages" style="width:20px;" src="@/assets/YB_APP/images/4.png">
</p>
@@ -142,6 +142,11 @@ export default {
}
})
},
messageJump(){
this.$jump({
flag: 'message'
})
},
pageJump(data){
if(data.name != '设置'){
window.location.href = data.route

View File

@@ -1,6 +1,6 @@
<template>
<div class="public_container" style="position: relative;">
<p style="position: absolute;top: 50px;right: 15px;">
<p style="position: absolute;top: 50px;right: 15px;" @click="messageJump">
<img v-if="!messages" style="width:20px;" src="@/assets/YB_APP/images/3.png">
<img v-if="messages" style="width:20px;" src="@/assets/YB_APP/images/4.png">
</p>
@@ -126,6 +126,11 @@ export default {
}
})
},
messageJump(){
this.$jump({
flag: 'message'
})
},
pageJump(data){
window.location.href = data.route
},