微信小程序可以支持多重嵌套吗?我要进行两次判断,但是报错了,请问要怎么修改

<view class='type_list {{excessiveCo==true? "excessiveCo" : "insufficientCo==true? "insufficientCo":"" "}}'>
        <text class='type_name_1'>体重</text>
        <text class='type_number first'>10.1%</text>
        <text class='type_name_2'>{{standard[0].weight}}</text>
    <view>
        <image src='/assect/icon_7.png' class='arrow' animation="{{animationData}}"></image>
    </view>
</view> 

clipboard.png

阅读 2.3k
1 个回答

<view class='type_list {{excessiveCo==true? "excessiveCo" : insufficientCo==true? "insufficientCo":""}}'>

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题