支付分场景交互图.html 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551
  1. <!DOCTYPE html>
  2. <html lang="zh-CN">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>AI智能零售柜 - 微信支付分场景交互流程</title>
  7. <style>
  8. * { margin: 0; padding: 0; box-sizing: border-box; }
  9. body {
  10. font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', sans-serif;
  11. background: #f0f0f0;
  12. display: flex;
  13. justify-content: center;
  14. padding: 40px 20px;
  15. }
  16. .flow-container {
  17. max-width: 1200px;
  18. width: 100%;
  19. background: #fff;
  20. border-radius: 16px;
  21. padding: 48px 40px;
  22. box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  23. }
  24. .flow-title {
  25. text-align: center;
  26. font-size: 28px;
  27. font-weight: 700;
  28. color: #1a1a1a;
  29. margin-bottom: 8px;
  30. }
  31. .flow-subtitle {
  32. text-align: center;
  33. font-size: 14px;
  34. color: #999;
  35. margin-bottom: 40px;
  36. }
  37. /* 流程图 */
  38. .pipeline {
  39. display: flex;
  40. align-items: flex-start;
  41. justify-content: center;
  42. gap: 0;
  43. flex-wrap: wrap;
  44. margin-bottom: 48px;
  45. }
  46. .step-group {
  47. display: flex;
  48. align-items: flex-start;
  49. }
  50. .step-card {
  51. width: 185px;
  52. background: #fafafa;
  53. border-radius: 12px;
  54. border: 2px solid #e8e8e8;
  55. padding: 16px 12px;
  56. text-align: center;
  57. position: relative;
  58. transition: all 0.2s;
  59. }
  60. .step-card.current {
  61. border-color: #07C160;
  62. background: #f0fdf4;
  63. box-shadow: 0 0 0 4px rgba(7,193,96,0.08);
  64. }
  65. .step-num {
  66. display: inline-block;
  67. width: 28px;
  68. height: 28px;
  69. line-height: 28px;
  70. border-radius: 50%;
  71. background: #07C160;
  72. color: #fff;
  73. font-size: 14px;
  74. font-weight: 700;
  75. margin-bottom: 10px;
  76. }
  77. .step-title {
  78. font-size: 14px;
  79. font-weight: 600;
  80. color: #1a1a1a;
  81. margin-bottom: 6px;
  82. }
  83. .step-desc {
  84. font-size: 11px;
  85. color: #999;
  86. line-height: 1.5;
  87. }
  88. .step-arrow {
  89. display: flex;
  90. align-items: center;
  91. justify-content: center;
  92. width: 40px;
  93. flex-shrink: 0;
  94. color: #ccc;
  95. font-size: 20px;
  96. padding-top: 30px;
  97. }
  98. /* 手机预览区 */
  99. .phones-row {
  100. display: flex;
  101. justify-content: center;
  102. gap: 24px;
  103. flex-wrap: wrap;
  104. }
  105. .phone-frame {
  106. width: 280px;
  107. background: #fff;
  108. border-radius: 28px;
  109. border: 3px solid #e0e0e0;
  110. overflow: hidden;
  111. box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  112. }
  113. .phone-statusbar {
  114. height: 32px;
  115. background: #fff;
  116. display: flex;
  117. align-items: center;
  118. justify-content: space-between;
  119. padding: 0 20px;
  120. font-size: 11px;
  121. color: #333;
  122. font-weight: 600;
  123. }
  124. .phone-nav {
  125. height: 40px;
  126. background: #fff;
  127. display: flex;
  128. align-items: center;
  129. justify-content: center;
  130. font-size: 14px;
  131. font-weight: 600;
  132. color: #333;
  133. border-bottom: 1px solid #f0f0f0;
  134. position: relative;
  135. }
  136. .phone-nav .back {
  137. position: absolute;
  138. left: 14px;
  139. font-size: 14px;
  140. color: #333;
  141. }
  142. .phone-body {
  143. height: 460px;
  144. overflow-y: auto;
  145. background: #f7f7f7;
  146. padding: 16px;
  147. }
  148. .phone-label {
  149. text-align: center;
  150. font-size: 12px;
  151. color: #888;
  152. margin-top: 14px;
  153. margin-bottom: 4px;
  154. font-weight: 500;
  155. }
  156. /* 各页面内部样式 */
  157. .scan-btn {
  158. width: 120px;
  159. height: 120px;
  160. border-radius: 50%;
  161. background: linear-gradient(135deg, #FFD54F, #FFC107);
  162. margin: 40px auto 20px;
  163. display: flex;
  164. flex-direction: column;
  165. align-items: center;
  166. justify-content: center;
  167. box-shadow: 0 8px 24px rgba(255,193,7,0.4);
  168. }
  169. .scan-btn .icon { font-size: 40px; margin-bottom: 4px; }
  170. .scan-btn .text { font-size: 16px; font-weight: 700; color: #1a1a1a; }
  171. .brand { text-align: center; padding: 20px 0 10px; }
  172. .brand .name { font-size: 22px; font-weight: 300; color: #333; letter-spacing: 4px; }
  173. .brand .slogan { font-size: 11px; color: #aaa; margin-top: 4px; }
  174. .quick-actions { display: flex; justify-content: center; gap: 24px; margin: 20px 0; }
  175. .qa-item { text-align: center; }
  176. .qa-item .icon-box { width: 48px; height: 48px; background: #fff; border-radius: 10px;
  177. display: flex; align-items: center; justify-content: center; font-size: 22px;
  178. box-shadow: 0 2px 8px rgba(0,0,0,0.06); margin-bottom: 4px; }
  179. .qa-item .label { font-size: 11px; color: #666; }
  180. .info-tip { background: #fff; border-radius: 10px; padding: 12px; margin-top: 20px;
  181. text-align: center; font-size: 11px; color: #999; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
  182. .info-tip .ps-icon { color: #07C160; font-weight: 600; }
  183. /* 商品陈列页 */
  184. .product-header { background: #fff; border-radius: 10px; padding: 12px; margin-bottom: 12px;
  185. display: flex; align-items: center; gap: 8px; font-size: 12px; }
  186. .floor-card { background: #fff; border-radius: 10px; margin-bottom: 10px; overflow: hidden;
  187. box-shadow: 0 1px 6px rgba(0,0,0,0.05); }
  188. .floor-header { display: flex; align-items: center; padding: 10px 12px;
  189. border-bottom: 1px solid #f5f5f5; font-size: 12px; }
  190. .floor-badge { width: 22px; height: 22px; line-height: 22px; text-align: center;
  191. background: #FFD700; border-radius: 6px; font-size: 12px; font-weight: 700; margin-right: 8px; }
  192. .goods-item { display: flex; padding: 10px 12px; align-items: center; }
  193. .goods-img { width: 52px; height: 52px; background: #f5f5f5; border-radius: 8px;
  194. display: flex; align-items: center; justify-content: center; font-size: 26px; margin-right: 10px; }
  195. .goods-info { flex: 1; }
  196. .goods-name { font-size: 13px; color: #333; font-weight: 500; }
  197. .goods-price { font-size: 16px; color: #ff4d4f; font-weight: 700; }
  198. .bottom-bar { display: flex; gap: 8px; padding: 10px 12px; background: #fff;
  199. border-top: 1px solid #f0f0f0; margin: -16px; margin-top: 8px; }
  200. .btn-back { flex:1; text-align:center; padding:10px; background:#f0f0f0; border-radius:22px;
  201. font-size:13px; color:#666; font-weight:600; }
  202. .btn-open { flex:2; text-align:center; padding:10px; background:linear-gradient(135deg,#FFD700,#FFC107);
  203. border-radius:22px; font-size:13px; color:#333; font-weight:700;
  204. box-shadow:0 4px 12px rgba(255,215,0,0.4); }
  205. /* 开门购物页 */
  206. .countdown-big { font-size: 62px; font-weight: 700; text-align: center; margin: 16px 0; }
  207. .status-msg { text-align: center; font-size: 14px; color: #333; font-weight: 600; }
  208. .status-sub { text-align: center; font-size: 12px; color: #999; margin-top: 4px; }
  209. .order-items { background: #fff; border-radius: 10px; padding: 14px; margin-top: 12px; }
  210. .order-item { display: flex; justify-content: space-between; padding: 8px 0; font-size: 12px; }
  211. .order-total { display: flex; justify-content: space-between; padding: 10px 0;
  212. border-top: 2px solid #f0f0f0; margin-top: 6px; font-weight: 700; font-size: 14px; }
  213. .pay-badge { display: inline-block; background: #07C160; color: #fff; padding: 3px 10px;
  214. border-radius: 10px; font-size: 10px; margin-left: 4px; }
  215. /* 支付分开通页 */
  216. .ps-score { text-align: center; padding: 16px 0; }
  217. .ps-score .num { font-size: 64px; font-weight: 700; color: #07C160; }
  218. .ps-score .unit { font-size: 16px; color: #999; }
  219. .ps-badge { display: inline-block; background: #fa5555; color: #fff; padding: 4px 12px;
  220. border-radius: 12px; font-size: 11px; }
  221. .benefits { display: flex; gap: 8px; margin: 14px 0; }
  222. .benefit { flex:1; background:#fff; border-radius:10px; padding:12px 8px; text-align:center;
  223. box-shadow:0 1px 6px rgba(0,0,0,0.05); }
  224. .benefit .icon { font-size: 28px; margin-bottom: 4px; }
  225. .benefit .title { font-size: 11px; font-weight: 600; color: #333; }
  226. .ps-enable-btn { width: 100%; padding: 12px; background: #07C160; border-radius: 22px;
  227. text-align: center; color: #fff; font-size: 14px; font-weight: 600; margin-top: 8px; }
  228. /* 订单完成页 */
  229. .success-icon { text-align: center; padding: 16px 0; font-size: 48px; }
  230. .footer-note {
  231. text-align: center;
  232. font-size: 11px;
  233. color: #aaa;
  234. margin-top: 40px;
  235. }
  236. </style>
  237. </head>
  238. <body>
  239. <div class="flow-container">
  240. <div class="flow-title">AI智能零售柜 · 微信支付分场景交互流程</div>
  241. <div class="flow-subtitle">完整用户购物路径 — 从扫码开门到自动扣款完成</div>
  242. <!-- 流程步骤条 -->
  243. <div class="pipeline">
  244. <div class="step-group">
  245. <div class="step-card">
  246. <div class="step-num">1</div>
  247. <div class="step-title">扫码进入小程序</div>
  248. <div class="step-desc">用户扫描柜体二维码<br>进入AI零售柜小程序</div>
  249. </div>
  250. <div class="step-arrow">→</div>
  251. </div>
  252. <div class="step-group">
  253. <div class="step-card">
  254. <div class="step-num">2</div>
  255. <div class="step-title">商品展示页</div>
  256. <div class="step-desc">查看柜内商品陈列<br>含价格、库存信息</div>
  257. </div>
  258. <div class="step-arrow">→</div>
  259. </div>
  260. <div class="step-group">
  261. <div class="step-card">
  262. <div class="step-num">3</div>
  263. <div class="step-title">支付分开通</div>
  264. <div class="step-desc">检查微信支付分<br>未开通引导授权</div>
  265. </div>
  266. <div class="step-arrow">→</div>
  267. </div>
  268. <div class="step-group">
  269. <div class="step-card">
  270. <div class="step-num">4</div>
  271. <div class="step-title">开门选购</div>
  272. <div class="step-desc">远程开柜门<br>自由选购商品</div>
  273. </div>
  274. <div class="step-arrow">→</div>
  275. </div>
  276. <div class="step-group">
  277. <div class="step-card current">
  278. <div class="step-num">5</div>
  279. <div class="step-title">AI识别扣款</div>
  280. <div class="step-desc">关门自动识别商品<br>支付分自动扣款</div>
  281. </div>
  282. <div class="step-arrow">→</div>
  283. </div>
  284. <div class="step-group">
  285. <div class="step-card">
  286. <div class="step-num">6</div>
  287. <div class="step-title">订单完成</div>
  288. <div class="step-desc">查看订单详情<br>支持7天无理由退款</div>
  289. </div>
  290. </div>
  291. </div>
  292. <!-- 手机页面展示 -->
  293. <div class="phones-row">
  294. <!-- 页面1: 首页 / 扫码入口 -->
  295. <div>
  296. <div class="phone-frame">
  297. <div class="phone-statusbar">9:41 &nbsp;&nbsp; 100%</div>
  298. <div class="phone-nav">AI零售柜</div>
  299. <div class="phone-body">
  300. <div class="brand">
  301. <div class="name">AI零售柜</div>
  302. <div class="slogan">智能视觉 · 即拿即走</div>
  303. </div>
  304. <div class="scan-btn">
  305. <div class="icon">📷</div>
  306. <div class="text">扫码开门</div>
  307. </div>
  308. <div class="quick-actions">
  309. <div class="qa-item">
  310. <div class="icon-box">👤</div>
  311. <div class="label">我的</div>
  312. </div>
  313. <div class="qa-item">
  314. <div class="icon-box">📋</div>
  315. <div class="label">订单</div>
  316. </div>
  317. <div class="qa-item">
  318. <div class="icon-box">🎫</div>
  319. <div class="label">优惠券</div>
  320. </div>
  321. </div>
  322. <div class="info-tip">
  323. <span class="ps-icon">◆ 微信支付分</span> 550分及以上优享
  324. </div>
  325. <div class="info-tip" style="margin-top:8px;">
  326. 💬 在线客服 &nbsp; 400-0755-315
  327. </div>
  328. </div>
  329. </div>
  330. <div class="phone-label">① 首页 - 扫码入口</div>
  331. </div>
  332. <!-- 页面2: 商品陈列页 -->
  333. <div>
  334. <div class="phone-frame">
  335. <div class="phone-statusbar">9:42 &nbsp;&nbsp; 100%</div>
  336. <div class="phone-nav"><span class="back">←</span>柜内商品</div>
  337. <div class="phone-body">
  338. <div class="product-header">
  339. 📱 单门柜 · 共3层商品
  340. </div>
  341. <div class="floor-card">
  342. <div class="floor-header">
  343. <div class="floor-badge">1</div>
  344. <span style="font-weight:600;">第1层</span>
  345. <span style="color:#999;margin-left:auto;">3件</span>
  346. </div>
  347. <div class="goods-item">
  348. <div class="goods-img">🥤</div>
  349. <div class="goods-info">
  350. <div class="goods-name">可口可乐 330ml</div>
  351. <div class="goods-price">¥3.50</div>
  352. </div>
  353. </div>
  354. <div class="goods-item">
  355. <div class="goods-img">🧃</div>
  356. <div class="goods-info">
  357. <div class="goods-name">农夫山泉 550ml</div>
  358. <div class="goods-price">¥2.00</div>
  359. </div>
  360. </div>
  361. </div>
  362. <div class="floor-card">
  363. <div class="floor-header">
  364. <div class="floor-badge">2</div>
  365. <span style="font-weight:600;">第2层</span>
  366. <span style="color:#999;margin-left:auto;">2件</span>
  367. </div>
  368. <div class="goods-item">
  369. <div class="goods-img">🍪</div>
  370. <div class="goods-info">
  371. <div class="goods-name">奥利奥饼干 97g</div>
  372. <div class="goods-price">¥8.90</div>
  373. </div>
  374. </div>
  375. </div>
  376. <div class="bottom-bar">
  377. <div class="btn-back">返回</div>
  378. <div class="btn-open">开门购物</div>
  379. </div>
  380. </div>
  381. </div>
  382. <div class="phone-label">② 商品展示页 - 含价格信息</div>
  383. </div>
  384. <!-- 页面3: 支付分开通页 -->
  385. <div>
  386. <div class="phone-frame">
  387. <div class="phone-statusbar">9:41 &nbsp;&nbsp; 100%</div>
  388. <div class="phone-nav" style="color:#07C160;">微信支付分</div>
  389. <div class="phone-body">
  390. <div class="ps-score">
  391. <div style="margin-bottom: 8px;"><span class="ps-badge">必需条件</span></div>
  392. <div class="num">550</div>
  393. <div class="unit">分及以上</div>
  394. <div style="font-size: 11px; color: #999; margin-top: 8px;">
  395. ℹ 分数越高,可享受的信用服务越多
  396. </div>
  397. </div>
  398. <div style="font-size: 13px; font-weight: 600; margin-bottom: 8px;">核心权益</div>
  399. <div class="benefits">
  400. <div class="benefit">
  401. <div class="icon">💳</div>
  402. <div class="title">先享后付</div>
  403. <div style="font-size:10px;color:#aaa;">开门后付款</div>
  404. </div>
  405. <div class="benefit">
  406. <div class="icon">🛡️</div>
  407. <div class="title">免密支付</div>
  408. <div style="font-size:10px;color:#aaa;">小额自动扣款</div>
  409. </div>
  410. <div class="benefit">
  411. <div class="icon">⚡</div>
  412. <div class="title">免押金</div>
  413. <div style="font-size:10px;color:#aaa;">无需预付押金</div>
  414. </div>
  415. </div>
  416. <div style="background:#fff;border-radius:10px;padding:12px;font-size:11px;color:#666;line-height:1.8;">
  417. <div style="font-weight:600;color:#333;margin-bottom:6px;">什么是微信支付分?</div>
  418. 微信支付分是微信支付基于历史行为作出的综合评分。开通后可享受先享后付、免押金等便捷服务。
  419. </div>
  420. <div class="ps-enable-btn">立即开通</div>
  421. <div style="text-align:center;margin-top:8px;font-size:10px;color:#aaa;">
  422. 如有疑问,请联系客服 400-0755-315
  423. </div>
  424. </div>
  425. </div>
  426. <div class="phone-label">③ 提交订单页 - 支付分开通</div>
  427. </div>
  428. <!-- 页面4: 购物中 / AI识别扣款 -->
  429. <div>
  430. <div class="phone-frame">
  431. <div class="phone-statusbar">9:43 &nbsp;&nbsp; 100%</div>
  432. <div class="phone-nav">购物进行中</div>
  433. <div class="phone-body">
  434. <div style="text-align:center;padding:20px 0 8px;">
  435. <div style="font-size:48px;">🚪</div>
  436. </div>
  437. <div class="status-msg">门已开,请选购商品</div>
  438. <div class="status-sub">请在60秒内完成选购并关门</div>
  439. <div class="countdown-big" style="color:#333;">45<span style="font-size:20px;color:#999;">秒</span></div>
  440. <div style="border-top:2px dashed #e0e0e0;margin:16px 0;position:relative;">
  441. <span style="position:absolute;top:-10px;left:50%;transform:translateX(-50%);
  442. background:#f7f7f7;padding:0 12px;font-size:10px;color:#aaa;">关门后</span>
  443. </div>
  444. <div style="background:#fff;border-radius:10px;padding:14px;text-align:center;">
  445. <div style="font-size:36px;margin-bottom:4px;">🤖</div>
  446. <div style="font-size:13px;font-weight:600;">AI智能识别中...</div>
  447. <div style="font-size:11px;color:#999;">正在识别您选购的商品</div>
  448. </div>
  449. <div class="order-items" style="margin-top:12px;">
  450. <div style="font-size:12px;font-weight:600;margin-bottom:8px;">识别结果</div>
  451. <div class="order-item">
  452. <span>可口可乐 ×1</span><span style="color:#ff4d4f;">¥3.50</span>
  453. </div>
  454. <div class="order-item">
  455. <span>奥利奥饼干 ×1</span><span style="color:#ff4d4f;">¥8.90</span>
  456. </div>
  457. <div class="order-item" style="color:#10B981;">
  458. <span>优惠券抵扣</span><span>-¥2.00</span>
  459. </div>
  460. <div class="order-total">
  461. <span>合计 <span class="pay-badge">支付分扣款</span></span>
  462. <span style="color:#ff4d4f;">¥10.40</span>
  463. </div>
  464. </div>
  465. </div>
  466. </div>
  467. <div class="phone-label">④ 扣款成功 - 支付分自动扣款</div>
  468. </div>
  469. <!-- 页面5: 订单完成页 -->
  470. <div>
  471. <div class="phone-frame">
  472. <div class="phone-statusbar">9:43 &nbsp;&nbsp; 100%</div>
  473. <div class="phone-nav">订单详情</div>
  474. <div class="phone-body">
  475. <div class="success-icon">✅</div>
  476. <div style="text-align:center;font-size:16px;font-weight:700;color:#333;">支付成功</div>
  477. <div style="text-align:center;font-size:12px;color:#999;margin-top:4px;">
  478. 微信支付分自动扣款
  479. </div>
  480. <div class="order-items" style="margin-top:16px;">
  481. <div style="font-size:12px;font-weight:600;margin-bottom:8px;">订单明细</div>
  482. <div class="order-item">
  483. <span>可口可乐 330ml</span>
  484. <span>×1 &nbsp; ¥3.50</span>
  485. </div>
  486. <div class="order-item">
  487. <span>奥利奥饼干 97g</span>
  488. <span>×1 &nbsp; ¥8.90</span>
  489. </div>
  490. <div class="order-item" style="color:#10B981;">
  491. <span>优惠金额</span>
  492. <span>-¥2.00</span>
  493. </div>
  494. <div class="order-total">
  495. <span>实付款</span>
  496. <span style="color:#ff4d4f;font-size:18px;">¥10.40</span>
  497. </div>
  498. </div>
  499. <div style="background:#fff;border-radius:10px;padding:12px;margin-top:12px;font-size:11px;color:#666;line-height:2;">
  500. <div style="font-weight:600;color:#333;margin-bottom:4px;">订单信息</div>
  501. <div style="display:flex;justify-content:space-between;"><span>订单编号</span><span>HH20260511...</span></div>
  502. <div style="display:flex;justify-content:space-between;"><span>支付方式</span><span style="color:#07C160;">微信支付分</span></div>
  503. <div style="display:flex;justify-content:space-between;"><span>支付时间</span><span>2026-05-11 09:43</span></div>
  504. </div>
  505. <div style="text-align:center;margin-top:12px;">
  506. <div style="display:inline-block;padding:6px 20px;border:1px solid #e0e0e0;
  507. border-radius:16px;font-size:11px;color:#666;margin-right:8px;">申请退款</div>
  508. <div style="display:inline-block;padding:6px 20px;background:#FFC107;
  509. border-radius:16px;font-size:11px;color:#333;font-weight:600;">回到首页</div>
  510. </div>
  511. <div style="text-align:center;margin-top:8px;font-size:10px;color:#aaa;">
  512. 7天内可申请退款
  513. </div>
  514. </div>
  515. </div>
  516. <div class="phone-label">⑤ 订单完成页 - 含退款入口</div>
  517. </div>
  518. </div>
  519. <!-- 底部说明 -->
  520. <div class="footer-note">
  521. 流程说明:①扫码进入小程序 → ②查看商品/价格 → ③开通微信支付分(≥550分)→ ④开门选购、AI识别、支付分自动扣款 → ⑤订单完成<br>
  522. 接入渠道:微信小程序 | 计费规则:按商品零售价计费,免押金,先享后付,支持优惠券抵扣 | 退款规则:7天内可申请退款
  523. </div>
  524. </div>
  525. </body>
  526. </html>