标题: js这语法错误吗?
时间: 2021-08-08
<view class="v-tabs data-v-1486768b" id="{{elId}}"><scroll-view style="{{'position:'+(fixed?'fixed':'relative')+';'+('z-index:'+(1993)+';')}}" scroll-x="{{scroll}}" scroll-left="{{scroll?scrollLeft:0}}" scroll-with-animation="{{scroll}}" class="data-v-1486768b"><view class="v-tabs__container data-v-1486768b" style="{{'display:'+(scroll?'inline-flex':'flex')+';'+('white-space:'+(scroll?'nowrap':'normal')+';')+('background:'+(bgColor)+';')+('padding:'+(padding)+';')}}"><block wx:for="{{tabs}}" wx:for-item="v" wx:for-index="i" wx:key="i"><view data-event-opts="{{[['tap',[['change',[i]]]]]}}" class="v-tabs__container-item data-v-1486768b" style="{{'color:'+(current==i?activeColor:color)+';'+('font-size:'+(current==i?fontSize:fontSize)+';')}}" bindtap="__e"><image src="{{v.icon}}" mode class="data-v-1486768b"></image><view class="data-v-1486768b">{{v.text}}</view></view></block><block wx:if="{{!pills}}"><view class="v-tabs__container-line data-v-1486768b" style="{{'background:'+(lineColor)+';'+('width:'+(lineWidth+'px')+';')+('height:'+(lineHeight)+';')+('border-radius:'+(lineRadius)+';')+('left:'+(lineLeft+'px')+';')+('transform:'+('translateX(-'+lineWidth/2+'px)')+';')}}"></view></block><block wx:else><view class="v-tabs__container-pills data-v-1486768b" style="{{'background:'+(pillsColor)+';'+('border-radius:'+(pillsBorderRadius)+';')+('left:'+(pillsLeft+'px')+';')+('width:'+(currentWidth+'px')+';')+('height:'+(height)+';')}}"></view></block></view></scroll-view><view class="v-tabs__placeholder data-v-1486768b" style="{{'height:'+(fixed?height:'0')+';'+('padding:'+(padding)+';')}}"></view></view>
『回复列表(5|显示机器人聊天)』