HTML
CSS
JavaScript
play_arrow
HTML
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>对话框 - 竖排按钮</title>
  <link rel="stylesheet" href="../assets/mdui-v0.3.0/css/mdui.min.css"/>
</head>
<body class="mdui-theme-primary-indigo mdui-theme-accent-pink">

<div class="mdui-container">
  <button class="mdui-btn mdui-color-theme-accent mdui-ripple" mdui-dialog="{target: '#example-2'}">open</button>

  <div class="mdui-dialog" id="example-2">
    <div class="mdui-dialog-title">Use Google's location service?</div>
    <div class="mdui-dialog-content">Let Google help apps determine location. This means sending anonymous location data to Google, even when no apps are running.</div>
    <div class="mdui-dialog-actions mdui-dialog-actions-stacked">
      <button class="mdui-btn mdui-ripple" mdui-dialog-confirm>turn on speed boost</button>
      <button class="mdui-btn mdui-ripple" mdui-dialog-close>no thanks</button>
    </div>
  </div>
</div>

<script src="../assets/mdui-v0.3.0/js/mdui.min.js"></script>
</body>
</html>
CSS

    
JavaScript