liyongli 1 年之前
父节点
当前提交
f942adcf35
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 2 1
      pages/livePhone/index.js
  2. 0 1
      pages/livePhone/index.wxml

+ 2 - 1
pages/livePhone/index.js

@@ -75,7 +75,8 @@ Page({
         ...(res.records || [])
         ...(res.records || [])
       ]
       ]
       this.setData({
       this.setData({
-        images: list
+        images: list,
+        actMeet: id + ''
       })
       })
     })
     })
   },
   },

+ 0 - 1
pages/livePhone/index.wxml

@@ -1,7 +1,6 @@
 <!--pages/media/index.wxml-->
 <!--pages/media/index.wxml-->
 <view class="media">
 <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" />
   <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-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-tab wx:for="{{tabs}}" wx:key="index" title="{{item.agendaName}}" name="{{item.id + ''}}"></van-tab>
   </van-tabs>
   </van-tabs>