HTML
CSS
JavaScript
HTML
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>列表控制 - 子列表</title>
  <link rel="stylesheet" href="https://cdn.w3cbus.com/library/mdui/1.0.2/css/mdui.min.css"/>
</head>
<body>

  <div class="mdui-container">
    <ul class="mdui-list" mdui-collapse="{accordion: true}" style="max-width: 360px;">
      <li class="mdui-list-item mdui-ripple">
        <i class="mdui-list-item-icon mdui-icon material-icons">home</i>
        <div class="mdui-list-item-content">Home</div>
      </li>
      <li class="mdui-list-item mdui-ripple">
        <i class="mdui-list-item-icon mdui-icon material-icons">dashboard</i>
        <div class="mdui-list-item-content">Dashboard</div>
      </li>
      <li class="mdui-collapse-item mdui-collapse-item-open">
        <div class="mdui-collapse-item-header mdui-list-item mdui-ripple">
          <i class="mdui-list-item-icon mdui-icon material-icons">people</i>
          <div class="mdui-list-item-content">Audience</div>
          <i class="mdui-collapse-item-arrow mdui-icon material-icons">keyboard_arrow_down</i>
        </div>
        <ul class="mdui-collapse-item-body mdui-list mdui-list-dense">
          <li class="mdui-list-item mdui-ripple">Overview</li>
          <li class="mdui-list-item mdui-ripple">Language</li>
          <li class="mdui-list-item mdui-ripple">Location</li>
          <li class="mdui-list-item mdui-ripple">New vs Returning</li>
        </ul>
      </li>
      <li class="mdui-collapse-item">
        <div class="mdui-collapse-item-header mdui-list-item mdui-ripple">
          <i class="mdui-list-item-icon mdui-icon material-icons">device_hub</i>
          <div class="mdui-list-item-content">Acquisition</div>
          <i class="mdui-collapse-item-arrow mdui-icon material-icons">keyboard_arrow_down</i>
        </div>
        <ul class="mdui-collapse-item-body mdui-list mdui-list-dense">
          <li class="mdui-list-item mdui-ripple">Overview</li>
          <li class="mdui-list-item mdui-ripple">All Traffic</li>
          <li class="mdui-list-item mdui-ripple">Direct Traffic</li>
          <li class="mdui-list-item mdui-ripple">Search Overview</li>
        </ul>
      </li>
      <li class="mdui-collapse-item">
        <div class="mdui-collapse-item-header mdui-list-item mdui-ripple">
          <i class="mdui-list-item-icon mdui-icon material-icons">touch_app</i>
          <div class="mdui-list-item-content">Behavior</div>
          <i class="mdui-collapse-item-arrow mdui-icon material-icons">keyboard_arrow_down</i>
        </div>
        <ul class="mdui-collapse-item-body mdui-list mdui-list-dense">
          <li class="mdui-list-item mdui-ripple">Overview</li>
          <li class="mdui-list-item mdui-ripple">All Pages</li>
          <li class="mdui-list-item mdui-ripple">Landing Pages</li>
          <li class="mdui-list-item mdui-ripple">Exit Pages</li>
        </ul>
      </li>
      <li class="mdui-list-item mdui-ripple">
        <i class="mdui-list-item-icon mdui-icon material-icons">shopping_cart</i>
        <div class="mdui-list-item-content">Ecommerce</div>
      </li>
    </ul>
  </div>

  <script src="https://cdn.w3cbus.com/library/mdui/1.0.2/js/mdui.min.js"></script>
</body>
</html>
CSS

  
JavaScript