43 lines
1.8 KiB
HTML
43 lines
1.8 KiB
HTML
<!doctype html>
|
||
<html lang="zh-CN">
|
||
<head>
|
||
<meta charset="utf-8" />
|
||
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
||
<title>SMSBower 填号</title>
|
||
<link rel="stylesheet" href="popup.css" />
|
||
</head>
|
||
<body>
|
||
<main>
|
||
<h1>SMSBower 填号</h1>
|
||
<label>API Key <input id="api-key" type="password" placeholder="SMSBower API Key" /></label>
|
||
<label>API 地址 <input id="base-url" type="url" /></label>
|
||
<div class="row">
|
||
<label>项目 <input id="service-code" type="text" value="dr" /></label>
|
||
<label>最低价 <input id="min-price" type="number" min="0" step="0.0001" placeholder="可空" /></label>
|
||
<label>最高价 <input id="max-price" type="number" min="0" step="0.0001" placeholder="可空" /></label>
|
||
</div>
|
||
<section class="country-box">
|
||
<div class="country-head">
|
||
<strong>国家顺序</strong>
|
||
<button id="refresh-countries" type="button">刷新国家</button>
|
||
</div>
|
||
<input id="country-search" type="search" placeholder="搜索国家 / ID" />
|
||
<div id="selected-countries" class="selected"></div>
|
||
<div id="country-list" class="country-list"></div>
|
||
<p class="hint">拿号优先级:价低优先;同价按上面选中的国家顺序优先。</p>
|
||
</section>
|
||
<div class="actions">
|
||
<button id="save" type="button">保存设置</button>
|
||
<button id="fetch-fill" type="button" class="primary">获取并填入当前页</button>
|
||
<button id="cancel-active" type="button">取消当前激活</button>
|
||
</div>
|
||
<section class="current">
|
||
<div>当前号码:<code id="current-phone">无</code></div>
|
||
<div>激活ID:<code id="current-id">无</code></div>
|
||
<div>状态:<span id="status">就绪</span></div>
|
||
</section>
|
||
</main>
|
||
<script src="popup.js"></script>
|
||
</body>
|
||
</html>
|