Просмотр исходного кода

首页消息滚动跳转详情

xiaohaizhao 3 лет назад
Родитель
Сommit
63c085ae0e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      pages/tabbar/home/index.wxml

+ 1 - 1
pages/tabbar/home/index.wxml

@@ -11,7 +11,7 @@
     </view>
 </view>
 <!-- 滚动通知 -->
-<van-notice-bar custom-class='notice-bar' mode="link" background="none" data-item="{{notice}}" background='#FCF6EF' color='#666' text="{{notice.message}}">
+<van-notice-bar custom-class='notice-bar' mode="link" background="none" data-item="{{notice}}" background='#FCF6EF' color='#666' text="{{notice.message}}" bindtap="toMsg">
     <text slot="left-icon" data-item="{{notice}}" class="work work-xiaoxigundong" />
 </van-notice-bar>
 <!-- 轮播区域 -->