|
@@ -342,12 +342,17 @@
|
|
|
<div v-for="pngPen in prePayList.pngs" class="pay-line">
|
|
|
<div>
|
|
|
<t-image :src="pngPen" :lazy="true" fit="contain" />
|
|
|
+ <p class="pay-p" :title="pngPen.slice(
|
|
|
+ pngPen.lastIndexOf('/') + 1,
|
|
|
+ pngPen.lastIndexOf('.')
|
|
|
+ )">
|
|
|
{{
|
|
|
pngPen.slice(
|
|
|
pngPen.lastIndexOf('/') + 1,
|
|
|
pngPen.lastIndexOf('.')
|
|
|
)
|
|
|
}}
|
|
|
+ </p>
|
|
|
</div>
|
|
|
<div>
|
|
|
<check-icon
|
|
@@ -444,12 +449,17 @@
|
|
|
:lazy="true"
|
|
|
fit="contain"
|
|
|
/>
|
|
|
+ <p class="pay-p" :title="svgPen.slice(
|
|
|
+ svgPen.lastIndexOf('/') + 1,
|
|
|
+ svgPen.lastIndexOf('.')
|
|
|
+ )">
|
|
|
{{
|
|
|
svgPen.slice(
|
|
|
svgPen.lastIndexOf('/') + 1,
|
|
|
svgPen.lastIndexOf('.')
|
|
|
)
|
|
|
}}
|
|
|
+ </p>
|
|
|
</div>
|
|
|
<div>
|
|
|
<check-icon
|
|
@@ -1394,7 +1404,7 @@ const saveDownload = async () => {
|
|
|
let meta2dData = JSON.parse(item.data);
|
|
|
meta2dData.pens.forEach((pen) => {
|
|
|
if (pen.name === 'svgPath' && pen.svgUrl) {
|
|
|
- if (svgnames.includes(pen.svgUrl)) {
|
|
|
+ if (svgnames.includes(pen.svgUrl.replace(img_cdn, ''))) {
|
|
|
pen.pathId = null;
|
|
|
}
|
|
|
}
|
|
@@ -1416,7 +1426,7 @@ const saveDownload = async () => {
|
|
|
list.map(async (item: any) => {
|
|
|
if (item.url) {
|
|
|
//接口请求
|
|
|
- const res: Blob = await axios.get(item.url, {
|
|
|
+ const res: Blob = await axios.get(item.url.startsWith('/')?(cdn+item.url):item.url, {
|
|
|
responseType: 'blob',
|
|
|
});
|
|
|
zip.file(item.path, res, { createFolders: true });
|
|
@@ -2241,6 +2251,12 @@ const onSuccess = (success: boolean) => {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ .pay-p{
|
|
|
+ overflow:hidden;
|
|
|
+ text-overflow:ellipsis;
|
|
|
+ white-space:nowrap;
|
|
|
+ }
|
|
|
+
|
|
|
& > div:first-child {
|
|
|
width: 40%;
|
|
|
display: flex;
|