<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0">
    <title>登录微信读书</title>
    <link rel="stylesheet" href="style/reset.css">
    <link rel="stylesheet" href="style/login.css">
</head>
<body>
<h1>微信扫码登录</h1>

<div class="qrcode-wrapper">
    <div id="qrcode"></div>
</div>
<button onclick="login()">刷新二维码</button>

<script src="lib/qrcode.min.js"></scr