[消息跳转详情及银行卡优化修改]

This commit is contained in:
2021-09-29 17:46:56 +08:00
parent e44c09d7f2
commit 4390e79105
4 changed files with 20 additions and 15 deletions

View File

@@ -1,7 +1,7 @@
<template>
<view class="News">
<view class="list" v-for="(item,index) in items" :key="index" v-if="items.length>0">
<navigator class="item" open-type="navigate" hover-class="none" :url="'/pages/news/detail?type='+item.type">
<view class="item" @click="$Router.push({name:'newsDetail',params:{type:item.type}})" >
<view class="left">
<image class="img" v-if='item.type ==="SystemNotification"' :src="item.icon?item.icon:'/static/imgs/news_1.png'" mode="aspectFill"></image>
<image class="img" v-if='item.type ==="OrderNotification"' :src="item.icon?item.icon:'/static/imgs/news_2.png'" mode="aspectFill"></image>
@@ -12,7 +12,7 @@
</view>
</view>
<view class="num" v-if="item.count>0">{{item.count}}</view>
</navigator>
</view>
</view>
<view class="no-news" v-else>
<image src="/static/img/no-news.png" mode="widthFix"></image>