更新电商AI平台原型交互

This commit is contained in:
iye
2026-05-25 19:12:56 +08:00
parent 04335f3269
commit 553014cc79
23 changed files with 6661 additions and 860 deletions
+2 -2
View File
@@ -667,7 +667,7 @@
<span>// MCN · 老张的店</span>
</div>
<button class="ws-new-btn" id="ws-new-btn">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8"><path d="M12 5v14M5 12h14"/></svg>
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5"><path d="M12 5v14M5 12h14"/></svg>
新建商品
</button>
<div class="ws-search">
@@ -1246,7 +1246,7 @@ function renderPhotosBlock(p) {
if (ph) {
slots += `<div class="ov-photo" style="background:${ph.bg};background-size:cover;background-position:center;">
${i===0?'<span class="pmain">MAIN</span>':''}
<button class="photo-x" data-i="${i}" type="button"><svg viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"><path d="M4 4l8 8M12 4l-8 8"/></svg></button>
<button class="photo-x" data-i="${i}" type="button"><svg viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"><path d="M4 4l8 8M12 4l-8 8"/></svg></button>
</div>`;
} else if (i === p.photos.length) {
slots += `<div class="ov-photo empty-slot add-active" data-add-photo>+ 上传</div>`;