更新电商AI平台原型交互
This commit is contained in:
@@ -489,7 +489,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">
|
||||
@@ -912,7 +912,7 @@ function renderPhotos(p, isEdit) {
|
||||
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>`;
|
||||
|
||||
Reference in New Issue
Block a user