插件
This commit is contained in:
@@ -0,0 +1,629 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>阿里询盘数据抓取 · 使用指南</title>
|
||||
<meta name="description" content="普通用户图文操作指南 — 五步学会使用阿里询盘数据抓取浏览器扩展。" />
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
||||
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&family=Noto+Serif+SC:wght@500;700;900&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet" />
|
||||
<style>
|
||||
:root {
|
||||
--bg: #f7f3ec;
|
||||
--bg-2: #f1ead9;
|
||||
--paper: #ffffff;
|
||||
--line: #e7deca;
|
||||
--line-2: #efe8d6;
|
||||
--ink: #2b2620;
|
||||
--ink-2: #5e5648;
|
||||
--ink-3: #8a8170;
|
||||
--ink-4: #b3a994;
|
||||
--accent: #c75d3a;
|
||||
--accent-d: #a8492a;
|
||||
--accent-l: #f0c4b2;
|
||||
--accent-bg: #fbe9e1;
|
||||
--teal: #3d7a76;
|
||||
--green: #5d8a5e;
|
||||
--blue: #4a6fa5;
|
||||
--amber: #d99a3e;
|
||||
--serif: "Noto Serif SC", "Songti SC", "STSong", serif;
|
||||
--sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
|
||||
--mono: "JetBrains Mono", "SF Mono", Consolas, monospace;
|
||||
}
|
||||
* { box-sizing: border-box; }
|
||||
html { scroll-behavior: smooth; }
|
||||
body {
|
||||
margin: 0;
|
||||
background: var(--bg);
|
||||
color: var(--ink);
|
||||
font-family: var(--sans);
|
||||
font-weight: 400;
|
||||
font-size: 16px;
|
||||
line-height: 1.8;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
body::before {
|
||||
content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
|
||||
background:
|
||||
radial-gradient(800px 500px at 85% -5%, rgba(199,93,58,.07), transparent 60%),
|
||||
radial-gradient(600px 400px at -5% 8%, rgba(61,122,118,.05), transparent 55%);
|
||||
}
|
||||
a { color: var(--accent-d); }
|
||||
.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
|
||||
|
||||
/* —— Header —— */
|
||||
header.bar {
|
||||
position: sticky; top: 0; z-index: 50;
|
||||
background: rgba(247,243,236,.88);
|
||||
backdrop-filter: blur(10px);
|
||||
border-bottom: 1px solid var(--line);
|
||||
}
|
||||
.bar-in { max-width: 760px; margin: 0 auto; padding: 13px 24px;
|
||||
display: flex; align-items: center; gap: 12px; }
|
||||
.logo {
|
||||
width: 32px; height: 32px; flex: 0 0 32px;
|
||||
display: grid; place-items: center;
|
||||
background: var(--accent); color: #fff;
|
||||
font-family: var(--serif); font-weight: 900; font-size: 17px;
|
||||
border-radius: 7px; transform: rotate(-4deg);
|
||||
box-shadow: 0 4px 10px -3px rgba(199,93,58,.5);
|
||||
}
|
||||
.bar b { font-family: var(--serif); font-weight: 700; font-size: 15.5px; color: var(--ink); }
|
||||
.bar .ver { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); margin-left: auto; }
|
||||
|
||||
/* —— Hero —— */
|
||||
.hero { padding: 64px 0 40px; text-align: center; }
|
||||
.kicker {
|
||||
display: inline-flex; align-items: center; gap: 8px;
|
||||
font-family: var(--mono); font-size: 11px; color: var(--accent-d);
|
||||
letter-spacing: 3px; text-transform: uppercase;
|
||||
background: var(--accent-bg); border: 1px solid var(--accent-l);
|
||||
padding: 5px 13px; border-radius: 999px; margin-bottom: 24px;
|
||||
}
|
||||
.hero h1 {
|
||||
font-family: var(--serif); font-weight: 900;
|
||||
font-size: clamp(34px, 6vw, 50px);
|
||||
line-height: 1.15; margin: 0 0 14px; color: var(--ink);
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
.hero h1 em { font-style: normal; color: var(--accent); }
|
||||
.hero p.sub { font-size: 17px; color: var(--ink-2); max-width: 520px; margin: 0 auto 28px; }
|
||||
.steps-overview {
|
||||
display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
|
||||
margin-top: 8px;
|
||||
}
|
||||
.chip {
|
||||
font-size: 12.5px; color: var(--ink-2);
|
||||
background: var(--paper); border: 1px solid var(--line);
|
||||
padding: 6px 13px; border-radius: 999px;
|
||||
display: inline-flex; align-items: center; gap: 6px;
|
||||
transition: border-color .15s, color .15s;
|
||||
}
|
||||
.chip:hover { border-color: var(--accent-l); color: var(--accent-d); text-decoration: none; }
|
||||
.chip b { color: var(--accent); font-family: var(--mono); font-size: 11px; }
|
||||
|
||||
/* —— 通用 section —— */
|
||||
section { padding: 36px 0 8px; }
|
||||
.lead-card {
|
||||
background: var(--paper); border: 1px solid var(--line);
|
||||
border-radius: 14px; padding: 22px 26px; margin: 8px 0 0;
|
||||
box-shadow: 0 6px 20px -10px rgba(80,55,25,.12);
|
||||
}
|
||||
.lead-card h2 {
|
||||
font-family: var(--serif); font-weight: 700; font-size: 19px;
|
||||
margin: 0 0 12px; color: var(--ink);
|
||||
display: flex; align-items: center; gap: 9px;
|
||||
}
|
||||
.lead-card h2 .ic { color: var(--accent); }
|
||||
.lead-card p { margin: 0; color: var(--ink-2); font-size: 15px; }
|
||||
.lead-card ul { margin: 10px 0 0; padding-left: 20px; color: var(--ink-2); }
|
||||
.lead-card li { margin-bottom: 5px; }
|
||||
.lead-card li::marker { color: var(--accent); }
|
||||
|
||||
/* —— 步骤 —— */
|
||||
.step { padding: 44px 0 8px; border-top: 1px dashed var(--line); }
|
||||
.step:first-of-type { border-top: none; }
|
||||
.step-head { display: flex; align-items: center; gap: 16px; margin-bottom: 6px; }
|
||||
.step-num {
|
||||
width: 48px; height: 48px; flex: 0 0 48px;
|
||||
display: grid; place-items: center;
|
||||
background: var(--ink); color: var(--bg);
|
||||
font-family: var(--serif); font-weight: 900; font-size: 21px;
|
||||
border-radius: 12px;
|
||||
box-shadow: 0 6px 14px -5px rgba(43,38,32,.4);
|
||||
}
|
||||
.step-head h2 {
|
||||
font-family: var(--serif); font-weight: 700; font-size: 25px;
|
||||
margin: 0; color: var(--ink); line-height: 1.2;
|
||||
}
|
||||
.step-head .when {
|
||||
font-family: var(--mono); font-size: 11px; color: var(--ink-3);
|
||||
margin-top: 3px; display: block;
|
||||
}
|
||||
.step-goal { color: var(--ink-2); font-size: 16px; margin: 4px 0 18px; padding-left: 64px; }
|
||||
.step-goal strong { color: var(--ink); font-weight: 500; }
|
||||
|
||||
.points { list-style: none; padding: 0; margin: 18px 0 0; counter-reset: pt; }
|
||||
.points li {
|
||||
position: relative; padding: 4px 0 4px 34px; margin-bottom: 9px;
|
||||
color: var(--ink-2); font-size: 15.5px;
|
||||
}
|
||||
.points li::before {
|
||||
counter-increment: pt;
|
||||
content: counter(pt);
|
||||
position: absolute; left: 0; top: 7px;
|
||||
width: 22px; height: 22px;
|
||||
background: var(--accent-bg); color: var(--accent-d);
|
||||
border: 1px solid var(--accent-l);
|
||||
border-radius: 50%;
|
||||
font-family: var(--mono); font-size: 11px; font-weight: 700;
|
||||
display: grid; place-items: center;
|
||||
}
|
||||
.points li b { color: var(--ink); font-weight: 500; }
|
||||
|
||||
.note {
|
||||
margin-top: 16px; padding: 12px 16px;
|
||||
background: #fbf5e6; border: 1px solid #ecd9a8; border-left: 3px solid var(--amber);
|
||||
border-radius: 8px; font-size: 14px; color: var(--ink-2);
|
||||
display: flex; gap: 10px;
|
||||
}
|
||||
.note .g { color: var(--amber); font-weight: 700; flex: 0 0 auto; }
|
||||
.note.ok { background: #eef5ec; border-color: #c7dcc6; border-left-color: var(--green); }
|
||||
.note.ok .g { color: var(--green); }
|
||||
.note code { font-family: var(--mono); background: rgba(0,0,0,.05); padding: 1px 6px; border-radius: 3px; font-size: 12.5px; color: var(--ink); }
|
||||
|
||||
/* —— 配图(屏幕 mock 通用)—— */
|
||||
.fig { margin: 4px 0 4px; }
|
||||
.screen {
|
||||
background: var(--paper);
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 12px;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 14px 36px -16px rgba(80,55,25,.22), 0 3px 8px -3px rgba(80,55,25,.08);
|
||||
}
|
||||
.screen-bar {
|
||||
display: flex; align-items: center; gap: 9px;
|
||||
padding: 9px 13px;
|
||||
background: var(--bg-2);
|
||||
border-bottom: 1px solid var(--line);
|
||||
}
|
||||
.dots { display: flex; gap: 5px; flex: 0 0 auto; }
|
||||
.dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
|
||||
.dots i:nth-child(1) { background: #e0705f; }
|
||||
.dots i:nth-child(2) { background: #e5b14a; }
|
||||
.dots i:nth-child(3) { background: #6ba86a; }
|
||||
.addr {
|
||||
flex: 1; background: var(--paper); border: 1px solid var(--line);
|
||||
border-radius: 8px; padding: 4px 11px;
|
||||
font-family: var(--mono); font-size: 11px; color: var(--ink-3);
|
||||
display: flex; align-items: center; gap: 6px; min-width: 0;
|
||||
}
|
||||
.addr .lock { color: var(--green); }
|
||||
.addr .puzzle {
|
||||
margin-left: auto; width: 16px; height: 16px;
|
||||
background: var(--accent-bg); border: 1px solid var(--accent-l);
|
||||
border-radius: 3px; display: grid; place-items: center;
|
||||
color: var(--accent-d); font-size: 9px;
|
||||
}
|
||||
.screen-body { padding: 16px; }
|
||||
|
||||
/* —— 图1:扩展管理页 —— */
|
||||
.ext-toolbar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line-2); flex-wrap: wrap; }
|
||||
.ext-btn {
|
||||
font-size: 12px; color: var(--ink-2); background: var(--paper);
|
||||
border: 1px solid var(--line); border-radius: 6px; padding: 6px 11px;
|
||||
display: inline-flex; align-items: center; gap: 6px;
|
||||
}
|
||||
.ext-btn.hi { border-color: var(--accent); color: var(--accent-d); background: var(--accent-bg); font-weight: 500; position: relative; }
|
||||
.ext-btn .folder { color: var(--amber); }
|
||||
.dev-toggle { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--ink-2); }
|
||||
.switch { width: 34px; height: 19px; background: var(--green); border-radius: 999px; position: relative; }
|
||||
.switch::after { content: ""; position: absolute; right: 2px; top: 2px; width: 15px; height: 15px; background: #fff; border-radius: 50%; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
|
||||
.switch.off { background: #cccba8; }
|
||||
.switch.off::after { right: auto; left: 2px; }
|
||||
.ext-card {
|
||||
display: flex; align-items: center; gap: 12px; padding: 14px;
|
||||
border-bottom: 1px solid var(--line-2);
|
||||
}
|
||||
.ext-card .ic {
|
||||
width: 38px; height: 38px; flex: 0 0 38px; border-radius: 8px;
|
||||
background: var(--accent); color: #fff; display: grid; place-items: center;
|
||||
font-family: var(--serif); font-weight: 900; font-size: 18px; transform: rotate(-4deg);
|
||||
}
|
||||
.ext-card .meta { flex: 1; min-width: 0; }
|
||||
.ext-card .meta b { display: block; font-size: 13.5px; color: var(--ink); }
|
||||
.ext-card .meta span { font-size: 11.5px; color: var(--ink-3); }
|
||||
.ext-card .meta .v { font-family: var(--mono); font-size: 10.5px; color: var(--ink-4); margin-left: 6px; }
|
||||
.ext-card .en { font-size: 11px; color: var(--green); display: inline-flex; align-items: center; gap: 5px; }
|
||||
.ext-card .en .switch { transform: scale(.85); }
|
||||
|
||||
/* —— popup 通用(图2/3/4/5)—— */
|
||||
.pm { max-width: 340px; margin: 0 auto; }
|
||||
.pm-title { display: flex; align-items: center; gap: 10px; padding: 13px 15px; border-bottom: 1px solid var(--line-2); }
|
||||
.pm-title .mk { width: 28px; height: 28px; flex: 0 0 28px; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-weight: 900; font-size: 14px; border-radius: 6px; transform: rotate(-4deg); }
|
||||
.pm-title .mt b { display: block; font-family: var(--serif); font-weight: 700; font-size: 13px; color: var(--ink); line-height: 1.2; }
|
||||
.pm-title .mt span { font-family: var(--mono); font-size: 9.5px; color: var(--ink-3); }
|
||||
.pm-pad { padding: 13px 15px; }
|
||||
.pm-status { background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; padding: 7px 11px; font-size: 11.5px; color: var(--ink-2); display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
|
||||
.pm-status b { color: var(--accent-d); font-family: var(--mono); }
|
||||
.pm-status .ready { color: var(--ink-3); }
|
||||
.pm-bar { height: 6px; background: var(--bg-2); border-radius: 4px; border: 1px solid var(--line); overflow: hidden; margin-bottom: 14px; }
|
||||
.pm-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--amber)); border-radius: 4px; }
|
||||
.pm-row { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
|
||||
.pm-row label { font-size: 11px; color: var(--ink-3); width: 58px; flex: 0 0 58px; }
|
||||
.pm-sel { flex: 1; background: var(--paper); border: 1px solid var(--line); border-radius: 5px; padding: 6px 9px; font-size: 11.5px; color: var(--ink-2); display: flex; justify-content: space-between; align-items: center; }
|
||||
.pm-sel::after { content: "▾"; color: var(--ink-4); font-size: 9px; }
|
||||
.pm-checkrow { display: flex; gap: 16px; margin: 6px 0 4px; font-size: 11.5px; color: var(--ink-2); }
|
||||
.pm-checkrow span { display: inline-flex; align-items: center; gap: 6px; }
|
||||
.ck { width: 13px; height: 13px; border-radius: 3px; border: 1.5px solid var(--accent); background: var(--accent); position: relative; flex: 0 0 13px; }
|
||||
.ck::after { content: "✓"; position: absolute; inset: 0; color: #fff; font-size: 9px; display: grid; place-items: center; line-height: 1; }
|
||||
.ck.empty { background: var(--paper); }
|
||||
.ck.empty::after { content: none; }
|
||||
.pm-bigbtn { text-align: center; background: var(--accent); color: #fff; font-weight: 500; font-size: 13px; padding: 10px; border-radius: 6px; margin: 12px 0; position: relative; box-shadow: 0 4px 10px -3px rgba(199,93,58,.5); }
|
||||
.pm-btnrow { display: flex; gap: 8px; margin: 10px 0; }
|
||||
.pm-mini { flex: 1; text-align: center; font-size: 11.5px; padding: 7px; border-radius: 5px; border: 1px solid var(--line); color: var(--ink-2); background: var(--paper); }
|
||||
.pm-mini.pause { color: var(--ink); border-color: var(--ink-3); }
|
||||
.pm-mini.disabled { color: var(--ink-4); background: var(--bg-2); }
|
||||
.pm-push { font-family: var(--mono); font-size: 10px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 5px; padding: 6px 9px; color: var(--ink-2); display: flex; justify-content: space-between; }
|
||||
.pm-push .ok { color: var(--green); } .pm-push .w { color: var(--amber); }
|
||||
.cfg-row { margin-bottom: 9px; }
|
||||
.cfg-row label { display: block; font-size: 10.5px; color: var(--ink-3); margin-bottom: 3px; }
|
||||
.cfg-in { width: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: 5px; padding: 6px 9px; font-family: var(--mono); font-size: 10.5px; color: var(--ink-2); }
|
||||
.cfg-btns { display: flex; gap: 8px; margin-top: 12px; }
|
||||
.cfg-btns .b { flex: 1; text-align: center; font-size: 11.5px; padding: 7px; border-radius: 5px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); }
|
||||
.cfg-btns .b.save { background: var(--ink); color: var(--bg); border-color: var(--ink); font-weight: 500; }
|
||||
|
||||
/* 高亮指引标注 */
|
||||
.point-at { position: relative; }
|
||||
.point-at::after {
|
||||
content: attr(data-tip);
|
||||
position: absolute; top: -9px; right: -10px;
|
||||
background: var(--accent); color: #fff;
|
||||
font-family: var(--sans); font-size: 11px; font-weight: 500;
|
||||
padding: 4px 10px; border-radius: 999px;
|
||||
box-shadow: 0 4px 10px -3px rgba(199,93,58,.55);
|
||||
white-space: nowrap; z-index: 4;
|
||||
}
|
||||
.pulse { position: relative; }
|
||||
.pulse::before {
|
||||
content: ""; position: absolute; inset: -5px; border-radius: 9px;
|
||||
border: 2px solid var(--accent); opacity: 0;
|
||||
animation: pulse 1.8s ease-out infinite;
|
||||
}
|
||||
@keyframes pulse { 0% { opacity: .7; transform: scale(.96); } 100% { opacity: 0; transform: scale(1.12); } }
|
||||
|
||||
/* —— 图6 三段式 —— */
|
||||
.flow3 { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; align-items: center; }
|
||||
.flow3 .arr { color: var(--accent); font-size: 22px; padding: 0 6px; font-family: var(--mono); }
|
||||
.mini-card { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 14px; text-align: center; box-shadow: 0 8px 22px -12px rgba(80,55,25,.18); }
|
||||
.mini-card .ico { font-size: 30px; margin-bottom: 6px; }
|
||||
.mini-card b { display: block; font-size: 12.5px; color: var(--ink); margin-bottom: 3px; }
|
||||
.mini-card span { font-size: 11px; color: var(--ink-3); font-family: var(--mono); }
|
||||
.file-icon {
|
||||
width: 46px; height: 56px; margin: 0 auto 8px; position: relative;
|
||||
background: var(--green); border-radius: 5px;
|
||||
}
|
||||
.file-icon::before { content: ""; position: absolute; top: 0; right: 0; border-style: solid; border-width: 0 14px 14px 0; border-color: transparent #fff transparent transparent; }
|
||||
.file-icon::after { content: "CSV"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-family: var(--mono); font-size: 11px; font-weight: 700; padding-top: 8px; }
|
||||
.db-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; margin: 8px auto 0; max-width: 70px; }
|
||||
.db-grid i { height: 8px; background: var(--teal); border-radius: 2px; opacity: .8; }
|
||||
.db-grid i:nth-child(1), .db-grid i:nth-child(5), .db-grid i:nth-child(9) { opacity: .4; }
|
||||
|
||||
/* —— 小提示 —— */
|
||||
.tips { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 24px 28px; margin-top: 8px; box-shadow: 0 6px 20px -10px rgba(80,55,25,.12); }
|
||||
.tips h2 { font-family: var(--serif); font-weight: 700; font-size: 20px; margin: 0 0 16px; color: var(--ink); display: flex; align-items: center; gap: 9px; }
|
||||
.tips h2 .ic { color: var(--amber); }
|
||||
.tips ul { list-style: none; padding: 0; margin: 0; }
|
||||
.tips li { padding: 11px 0 11px 32px; border-bottom: 1px dashed var(--line-2); position: relative; color: var(--ink-2); font-size: 15px; }
|
||||
.tips li:last-child { border-bottom: none; }
|
||||
.tips li::before { content: "💡"; position: absolute; left: 0; top: 11px; font-size: 15px; }
|
||||
.tips li b { color: var(--ink); font-weight: 500; }
|
||||
|
||||
footer.foot { text-align: center; padding: 50px 0 60px; color: var(--ink-4); font-size: 12.5px; }
|
||||
footer.foot .ln { font-family: var(--serif); font-weight: 700; color: var(--ink-3); }
|
||||
|
||||
@media (max-width: 560px) {
|
||||
.step-goal { padding-left: 0; }
|
||||
.flow3 { grid-template-columns: 1fr; gap: 8px; }
|
||||
.flow3 .arr { transform: rotate(90deg); padding: 0; }
|
||||
.pm { max-width: 100%; }
|
||||
.point-at::after { font-size: 10px; padding: 3px 8px; right: -6px; }
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.pulse::before { animation: none; }
|
||||
html { scroll-behavior: auto; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<header class="bar">
|
||||
<div class="bar-in">
|
||||
<div class="logo">询</div>
|
||||
<b>阿里询盘数据抓取</b>
|
||||
<span class="ver">v1.0.0 · 使用指南</span>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div class="wrap">
|
||||
|
||||
<!-- ========== Hero ========== -->
|
||||
<section class="hero">
|
||||
<span class="kicker">图 文 操 作 指 南</span>
|
||||
<h1>五步学会用<br/><em>询盘抓取</em>插件</h1>
|
||||
<p class="sub">把阿里后台的询盘、客户资料和聊天记录,自动整理成表格、同步到你的数据库。不用懂代码,照着下图做就行。</p>
|
||||
<div class="steps-overview">
|
||||
<a href="#s1" class="chip"><b>01</b> 安装插件</a>
|
||||
<a href="#s2" class="chip"><b>02</b> 配置地址</a>
|
||||
<a href="#s3" class="chip"><b>03</b> 开始抓取</a>
|
||||
<a href="#s4" class="chip"><b>04</b> 等待完成</a>
|
||||
<a href="#s5" class="chip"><b>05</b> 拿到数据</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ========== 开始之前 ========== -->
|
||||
<section>
|
||||
<div class="lead-card">
|
||||
<h2><span class="ic">✓</span> 开始之前,请准备好</h2>
|
||||
<ul>
|
||||
<li><b>用 Chrome 或 Edge 浏览器</b>(360 极速、Brave 等也可以)。</li>
|
||||
<li><b>登录你的阿里主管理员账号</b>——就是能看到所有业务员询盘的那个账号。</li>
|
||||
<li>插件文件夹已经放在电脑上(默认 <code style="font-family:var(--mono);background:rgba(0,0,0,.05);padding:1px 6px;border-radius:3px;font-size:13px">d:\alibb</code>)。</li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ========== 第1步 安装 ========== -->
|
||||
<section class="step" id="s1">
|
||||
<div class="step-head">
|
||||
<div class="step-num">1</div>
|
||||
<div>
|
||||
<h2>安装插件</h2>
|
||||
<span class="when">一次性操作 · 约 1 分钟</span>
|
||||
</div>
|
||||
</div>
|
||||
<p class="step-goal">把插件装进浏览器,<strong>只需做一次</strong>。</p>
|
||||
|
||||
<div class="fig">
|
||||
<div class="screen">
|
||||
<div class="screen-bar">
|
||||
<div class="dots"><i></i><i></i><i></i></div>
|
||||
<div class="addr"><span class="lock">🔒</span> chrome://extensions</div>
|
||||
</div>
|
||||
<div class="ext-toolbar">
|
||||
<div class="ext-btn hi point-at" data-tip="← 点这个"><span class="folder">📂</span> 加载已解压的扩展程序</div>
|
||||
<div class="dev-toggle">开发者模式 <span class="switch"></span></div>
|
||||
</div>
|
||||
<div class="ext-card">
|
||||
<div class="ic">询</div>
|
||||
<div class="meta">
|
||||
<b>阿里询盘数据抓取 <span class="v">1.0.0</span></b>
|
||||
<span>抓取询盘列表、客户资料、行为与聊天记录</span>
|
||||
</div>
|
||||
<div class="en">已启用 <span class="switch"></span></div>
|
||||
</div>
|
||||
<div style="padding:14px"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<ol class="points">
|
||||
<li>在浏览器地址栏输入 <b>chrome://extensions</b> 回车,打开扩展管理页。</li>
|
||||
<li>打开页面<b>右上角</b>的「<b>开发者模式</b>」开关。</li>
|
||||
<li>点左上角的「<b>加载已解压的扩展程序</b>」,选择插件文件夹 <code style="font-family:var(--mono);background:rgba(0,0,0,.05);padding:1px 6px;border-radius:3px;font-size:13px">d:\alibb</code>。</li>
|
||||
<li>点浏览器右上角的<b>拼图图标 🧩</b>,找到「阿里询盘抓取」,点<b>图钉📌</b>把它固定到工具栏,方便随时打开。</li>
|
||||
</ol>
|
||||
<div class="note">
|
||||
<span class="g">!</span>
|
||||
<span>装好后<b>不要移动或删除</b> <code>d:\alibb</code> 文件夹,否则插件会失效。日后更新了代码,回这个页面点「↻ 重新加载」即可。</span>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ========== 第2步 配置 ========== -->
|
||||
<section class="step" id="s2">
|
||||
<div class="step-head">
|
||||
<div class="step-num">2</div>
|
||||
<div>
|
||||
<h2>配置推送地址</h2>
|
||||
<span class="when">一次性操作 · 只需做一次</span>
|
||||
</div>
|
||||
</div>
|
||||
<p class="step-goal">告诉插件数据要送到哪个后台。<strong>地址和口令默认已填好,你只需授权并保存。</strong></p>
|
||||
|
||||
<div class="fig">
|
||||
<div class="screen">
|
||||
<div class="screen-bar">
|
||||
<div class="dots"><i></i><i></i><i></i></div>
|
||||
<div class="addr">插件弹窗 · 后端推送设置</div>
|
||||
</div>
|
||||
<div class="screen-body">
|
||||
<div class="pm">
|
||||
<div class="cfg-row">
|
||||
<label>服务器 URL</label>
|
||||
<div class="cfg-in">http://219.157.255.213:23010</div>
|
||||
</div>
|
||||
<div class="cfg-row">
|
||||
<label>推送 Token</label>
|
||||
<div class="cfg-in">688cbb4b6e880b34…01a39ccbb3c31c4d</div>
|
||||
</div>
|
||||
<div class="cfg-btns">
|
||||
<div class="b">🔗 授权域名</div>
|
||||
<div class="b save point-at" data-tip="← 最后点这个">💾 保存设置</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<ol class="points">
|
||||
<li>点工具栏的<b>📌插件图标</b>,打开控制面板,往下滚动到「<b>后端推送设置</b>」。</li>
|
||||
<li>地址和 Token <b>默认已填好,不用改</b>(除非你的后台换了地址)。</li>
|
||||
<li>先点「<b>授权域名</b>」——浏览器会弹框问是否允许,点「<b>允许</b>」。</li>
|
||||
<li>再点「<b>保存设置</b>」,看到绿色「已保存」提示就完成了。</li>
|
||||
</ol>
|
||||
<div class="note ok">
|
||||
<span class="g">✓</span>
|
||||
<span><b>只想导出 Excel 表格、不需要联网同步?</b>那这一步可以<b>直接跳过</b>,去第 3 步开始抓取就行。</span>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ========== 第3步 开始抓取 ========== -->
|
||||
<section class="step" id="s3">
|
||||
<div class="step-head">
|
||||
<div class="step-num">3</div>
|
||||
<div>
|
||||
<h2>开始抓取</h2>
|
||||
<span class="when">每次使用都从这里开始</span>
|
||||
</div>
|
||||
</div>
|
||||
<p class="step-goal">选好范围,<strong>点一下「开始」就行,剩下全自动</strong>。</p>
|
||||
|
||||
<div class="fig">
|
||||
<div class="screen">
|
||||
<div class="screen-bar">
|
||||
<div class="dots"><i></i><i></i><i></i></div>
|
||||
<div class="addr"><span class="lock">🔒</span> message.alibaba.com <span class="puzzle">询</span></div>
|
||||
</div>
|
||||
<div class="screen-body">
|
||||
<div class="pm">
|
||||
<div class="pm-title">
|
||||
<div class="mk">询</div>
|
||||
<div class="mt"><b>阿里询盘数据抓取</b><span>message.alibaba.com</span></div>
|
||||
</div>
|
||||
<div class="pm-pad">
|
||||
<div class="pm-status"><span class="ready">就绪</span><span style="color:var(--ink-4)">等待开始</span></div>
|
||||
<div class="pm-row"><label>抓取模式</label><div class="pm-sel">列表+详情</div></div>
|
||||
<div class="pm-row"><label>抓取条数</label><div class="pm-sel">前 10 条</div></div>
|
||||
<div class="pm-checkrow">
|
||||
<span><span class="ck"></span>customerId 去重</span>
|
||||
<span><span class="ck empty"></span>包含聊天记录</span>
|
||||
</div>
|
||||
<div class="pm-bigbtn pulse point-at" data-tip="← 点这里开始">▶ 开始抓取</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<ol class="points">
|
||||
<li>确认你已经<b>登录阿里</b>,并停在 <b>message.alibaba.com</b> 询盘页面(不在的话,点开始后会自动跳过去)。</li>
|
||||
<li><b>抓取模式</b>选「<b>列表+详情</b>」(数据最全);<b>抓取条数</b>第一次选「<b>前 10 条</b>」先试跑一下。</li>
|
||||
<li>点橙色的「<b>▶ 开始抓取</b>」按钮,开始!</li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<!-- ========== 第4步 等待 ========== -->
|
||||
<section class="step" id="s4">
|
||||
<div class="step-head">
|
||||
<div class="step-num">4</div>
|
||||
<div>
|
||||
<h2>等待完成</h2>
|
||||
<span class="when">自动进行 · 你可以走开</span>
|
||||
</div>
|
||||
</div>
|
||||
<p class="step-goal">看进度条走到 <strong>100%</strong>。期间要离开就按暂停,<strong>下次能接着抓</strong>。</p>
|
||||
|
||||
<div class="fig">
|
||||
<div class="screen">
|
||||
<div class="screen-bar">
|
||||
<div class="dots"><i></i><i></i><i></i></div>
|
||||
<div class="addr"><span class="lock">🔒</span> message.alibaba.com <span class="puzzle">询</span></div>
|
||||
</div>
|
||||
<div class="screen-body">
|
||||
<div class="pm">
|
||||
<div class="pm-pad">
|
||||
<div class="pm-status">当前 <b>30 / 50</b> (60%)<span style="color:var(--green)">● 运行中</span></div>
|
||||
<div class="pm-bar"><i style="width:60%"></i></div>
|
||||
<div class="pm-btnrow">
|
||||
<div class="pm-mini pause">⏸ 暂停</div>
|
||||
<div class="pm-mini disabled">导出 CSV</div>
|
||||
</div>
|
||||
<div class="pm-push"><span>推送: <span class="ok">已推 20</span> / <span class="w">待推 10</span> / 失败 0</span></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<ol class="points">
|
||||
<li>顶部会显示「<b>当前 30 / 50 (60%)</b>」和橙色进度条,一眼看到进度。</li>
|
||||
<li>需要离开或休息,就点「<b>⏸ 暂停</b>」。下次打开插件点「恢复」,<b>从断点接着抓,不用重来</b>。</li>
|
||||
<li>抓取期间<b>不要关闭阿里页面和浏览器</b>,最小化没关系。</li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<!-- ========== 第5步 拿到数据 ========== -->
|
||||
<section class="step" id="s5">
|
||||
<div class="step-head">
|
||||
<div class="step-num">5</div>
|
||||
<div>
|
||||
<h2>拿到数据</h2>
|
||||
<span class="when">抓完后 · 两种方式都用上了</span>
|
||||
</div>
|
||||
</div>
|
||||
<p class="step-goal">进度到 100% 后,<strong>导出 Excel 表格</strong>;同时数据已自动送进后台数据库。</p>
|
||||
|
||||
<div class="fig">
|
||||
<div class="screen">
|
||||
<div class="screen-bar">
|
||||
<div class="dots"><i></i><i></i><i></i></div>
|
||||
<div class="addr">完成 · 你的数据在这里</div>
|
||||
</div>
|
||||
<div class="screen-body">
|
||||
<div class="flow3">
|
||||
<div class="mini-card">
|
||||
<div class="file-icon"></div>
|
||||
<b>导出 CSV 表格</b>
|
||||
<span>Excel 直接打开</span>
|
||||
</div>
|
||||
<div class="arr">→</div>
|
||||
<div class="mini-card">
|
||||
<div class="ico">🗄️</div>
|
||||
<b>后台数据库</b>
|
||||
<span>自动同步完成</span>
|
||||
<div class="db-grid"><i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i><i></i></div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="margin-top:14px">
|
||||
<div class="pm" style="max-width:100%">
|
||||
<div class="pm-status">完成 <b style="color:var(--green)">✓ 50 / 50</b><span style="color:var(--green)">全部完成</span></div>
|
||||
<div class="pm-bigbtn" style="background:var(--green);margin:10px 0">📥 导出 CSV</div>
|
||||
<div class="pm-push"><span>推送: <span class="ok">已推 50</span> / 待推 0 / 失败 0</span></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<ol class="points">
|
||||
<li>点绿色的「<b>📥 导出 CSV</b>」,下载一个 <code style="font-family:var(--mono);background:rgba(0,0,0,.05);padding:1px 6px;border-radius:3px;font-size:13px">alibaba_inquiry_日期.csv</code> 文件,<b>双击用 Excel 打开</b>就能看,不会乱码。</li>
|
||||
<li>同时,抓到的数据已经<b>自动传到后台数据库</b>(看「推送」状态条,全部「已推」就对了),不用你操心。</li>
|
||||
</ol>
|
||||
<div class="note ok">
|
||||
<span class="g">✓</span>
|
||||
<span>数据量很大时,后台同步可能比抓取慢一些(每小时约 180 条),<b>这是正常的</b>——数据已安全存在本地,会慢慢自动补传完,关电脑也不丢。</span>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ========== 小提示 ========== -->
|
||||
<section>
|
||||
<div class="tips">
|
||||
<h2><span class="ic">★</span> 用好它的小窍门</h2>
|
||||
<ul>
|
||||
<li><b>第一次先抓 10 条试试</b>,确认没问题再抓全部,避免白忙一场。</li>
|
||||
<li><b>大批量分几次抓</b>,每抓几百条暂停休息几分钟,对账号更安全。</li>
|
||||
<li>数据会<b>自动传后台</b>,断网或关电脑都不会丢,下次打开会接着传。</li>
|
||||
<li>有些客户的电话、手机可能显示为空——<b>这是阿里页面本身就没填</b>,不是插件漏抓。</li>
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
|
||||
<footer class="foot">
|
||||
<div class="ln">阿里询盘数据抓取</div>
|
||||
<div style="margin-top:4px">使用指南 v1.0.0 · 内部使用文档</div>
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user