feat(下载): 工具页统一下载进度条——AmazonToolPageShell 挂载 DownloadProgressPanel
进度条组件原先只挂在 ImageVideoPage 内的 BrandTopBar,而所有工具页(货源查询/去重/拆分/ 转换/删除品牌/外观专利/跟价/商品风险/巡店删除/取款/查询ASIN/匹配店铺/采集数据等)都经 AmazonToolPageShell 渲染,导致这些页面下载结果时没有任何进度展示。 在外壳挂载后一次覆盖全部工具页:面板 position:fixed 且数据来自全局 store,跨页面切换不会 丢进度;桌面客户端下载走 pywebview 进度事件,浏览器 Web 版本就无下载能力。
This commit is contained in:
@@ -22,6 +22,9 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<AmazonFooterBar />
|
<AmazonFooterBar />
|
||||||
|
|
||||||
|
<!-- 下载进度面板:工具页统一下载进度展示(位置 fixed,挂在外壳即可覆盖所有工具页) -->
|
||||||
|
<DownloadProgressPanel />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -30,6 +33,7 @@ import { computed } from 'vue'
|
|||||||
|
|
||||||
import AmazonTopBar from '@/pages/amazon/components/AmazonTopBar.vue'
|
import AmazonTopBar from '@/pages/amazon/components/AmazonTopBar.vue'
|
||||||
import AmazonFooterBar from '@/pages/amazon/components/AmazonFooterBar.vue'
|
import AmazonFooterBar from '@/pages/amazon/components/AmazonFooterBar.vue'
|
||||||
|
import DownloadProgressPanel from '@/shared/components/DownloadProgressPanel.vue'
|
||||||
import { TOOL_DETAILS, TOOL_GROUPS, TOOL_MAP } from '@/pages/amazon/tool-catalog'
|
import { TOOL_DETAILS, TOOL_GROUPS, TOOL_MAP } from '@/pages/amazon/tool-catalog'
|
||||||
import { resolvePageHref } from '@/shared/page-prefix'
|
import { resolvePageHref } from '@/shared/page-prefix'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user