script src="https://cdn.jsdelivr.net/npm/@halobear/utils/copy.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/@halobear/js-feedback"></script>
  <script>
    document.querySelectorAll('.k-btn').forEach(btn => {
      btn.onclick = function () {
        const text = this.dataset.balloon
        haloCopy(text)
        jsFeedback.toast(`${text}复制成功`)
      }
    })
  </script>
</body>

</html>