微信小程序vantweapp自定义侧边栏

      <van-sidebar active-key="{
      { activeID }}" bind:change="changeActiveId">
        <block wx:for="{
      {menu}}" wx:key="menu">
          <van-sidebar-item  data-id="{
      {item.id}}"  >
          <view slot='title'>
           <p> {
    {item.name  }}p><text>\ntext> <p>{
    {item.english_name }}p>
          view>
           
          van-sidebar-item>
        block>
      van-sidebar>

你可能感兴趣的:(#,微信小程序,小程序)