- vtab扩展组件调用报错问题?
<mp-vtabs vtabs="{{vtabs}}" activeTab="{{activeTab}}" bindtabclick="onTabCLick" bindchange="onChange" tabActiveTextColor="#ab2b2b" tabLineColor="#ab2b2b" tabInactiveBgColor="#EDEDED" > <block wx:for="{{vtabs}}" wx:key="title" > <mp-vtabs-content tabIndex="{{index}}"> <view class="vtabs-content-item"> 我是第{{index + 1}}项: {{item.title}} </view> </mp-vtabs-content> </block> </mp-vtabs> 报错如下 [图片]
2021-01-20 - vtabs 未选中项背景色属性设置无效
<mp-vtabs vtabs="{{vtabs}}" activeTab="{{activeTab}}" bindtabclick="onTabCLick" bindchange="onChange" tab-inactive-bg-color="#ff0000" tab-bar-class="test" > <block wx:for="{{vtabs}}" wx:key="title" > <mp-vtabs-content tabIndex="{{index}}"> <view class="vtabs-content-item">我是第{{index + 1}}项: {{item.title}}</view> </mp-vtabs-content> </block> </mp-vtabs>[图片]
2021-01-06