HTML
CSS
JavaScript
HTML
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>可扩展面板 - 完整 HTML 结构</title>
  <link rel="stylesheet" href="https://cdn.w3cbus.com/library/mdui/1.0.2/css/mdui.min.css"/>
</head>
<body>

  <div class="mdui-container">
    <div class="mdui-panel" mdui-panel>
      <div class="mdui-panel-item">
        <div class="mdui-panel-item-header">
          <div class="mdui-panel-item-title">Trip name</div>
          <div class="mdui-panel-item-summary">Carribean cruise</div>
          <i class="mdui-panel-item-arrow mdui-icon material-icons">keyboard_arrow_down</i>
        </div>
        <div class="mdui-panel-item-body">
          <p>First content</p>
          <p>First content</p>
          <p>First content</p>
          <p>First content</p>
          <p>First content</p>
          <p>First content</p>
          <div class="mdui-panel-item-actions">
            <button class="mdui-btn mdui-ripple">cancel</button>
            <button class="mdui-btn mdui-ripple">save</button>
          </div>
        </div>
      </div>
      <div class="mdui-panel-item">
        <div class="mdui-panel-item-header">
          <div class="mdui-panel-item-title">Location</div>
          <i class="mdui-panel-item-arrow mdui-icon material-icons">keyboard_arrow_down</i>
        </div>
        <div class="mdui-panel-item-body">
          <p>Second content</p>
          <p>Second content</p>
          <p>Second content</p>
          <p>Second content</p>
          <p>Second content</p>
          <p>Second content</p>
          <div class="mdui-panel-item-actions">
            <button class="mdui-btn mdui-ripple">cancel</button>
            <button class="mdui-btn mdui-ripple">save</button>
          </div>
        </div>
      </div>
      <div class="mdui-panel-item">
        <div class="mdui-panel-item-header">
          <div class="mdui-panel-item-title">Start and end dates</div>
          <div class="mdui-panel-item-summary">Start date: Feb 29, 2016</div>
          <div class="mdui-panel-item-summary">End date: Not set</div>
          <i class="mdui-panel-item-arrow mdui-icon material-icons">keyboard_arrow_down</i>
        </div>
        <div class="mdui-panel-item-body">
          <p>Third content</p>
          <p>Third content</p>
          <p>Third content</p>
          <p>Third content</p>
          <p>Third content</p>
          <p>Third content</p>
          <div class="mdui-panel-item-actions">
            <button class="mdui-btn mdui-ripple">cancel</button>
            <button class="mdui-btn mdui-ripple">save</button>
          </div>
        </div>
      </div>
    </div>
  </div>

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

  
JavaScript