@@ -75,7 +75,8 @@ Page({
...(res.records || [])
]
this.setData({
- images: list
+ images: list,
+ actMeet: id + ''
})
},
@@ -1,7 +1,6 @@
<!--pages/media/index.wxml-->
<view class="media">
<image wx:if="{{cover}}" src="{{cover}}" style="{{'width:' + top.width + 'px;height:' + top.height + 'px'}}" bindload="imageLoad" data-width="{{top.width}}" data-image="top" mode="aspectFit" />
-
<van-tabs ellipsis="{{false}}" sticky="{{true}}" color="#ffffff" title-inactive-color="#cccccc" title-active-color="#ffffff" active="{{ actMeet }}" bind:change="changeMeet">
<van-tab wx:for="{{tabs}}" wx:key="index" title="{{item.agendaName}}" name="{{item.id + ''}}"></van-tab>
</van-tabs>