From f3ad1604d8de7e73d32511d1034840b8da87db4f Mon Sep 17 00:00:00 2001 From: yanran200830 Date: Wed, 6 Nov 2024 10:49:56 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=87=91=E5=B8=81?= =?UTF-8?q?=E5=85=85=E5=80=BCbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/LablesMember.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/LablesMember.vue b/src/components/LablesMember.vue index 3476f93..be4e078 100644 --- a/src/components/LablesMember.vue +++ b/src/components/LablesMember.vue @@ -36,7 +36,6 @@ v-for="(price, i) in priceList" :key="i" @click="currIndex = i, getQrcode(price)"> -

{{ price.remark }}

¥ {{ price.price }} @@ -45,7 +44,7 @@ ¥ {{ price.originPrice }}
-

{{ price.coin }}条/每年

+

{{ price.coin }}金币

@@ -388,6 +387,7 @@ &__item { display: flex; align-items: center; + justify-content: center; flex-direction: column; width: 140px; height: 170px; From 510f3aa8887c357985768ef25c949c6092077d6e Mon Sep 17 00:00:00 2001 From: yanran200830 Date: Wed, 6 Nov 2024 13:49:57 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/css/index.scss | 13 ++++--- src/components/print/Print.vue | 65 +++++++++++++------------------- src/view/lables/Print.vue | 56 +++++++++++++++++++++++++-- src/view/lables/SkuManage.vue | 4 +- src/view/product/BatchUpload.vue | 12 +++--- 5 files changed, 95 insertions(+), 55 deletions(-) diff --git a/src/assets/css/index.scss b/src/assets/css/index.scss index 2c26da9..b0bdbc9 100644 --- a/src/assets/css/index.scss +++ b/src/assets/css/index.scss @@ -11,12 +11,11 @@ url('https://at.alicdn.com/t/font_1995974_ihzpmuv4lpk.svg#iconfont') format('svg'); } - @font-face { - font-family: "iconfont"; - src: url('https://at.alicdn.com/t/c/font_4680344_rxl7gevvsys.woff2?t=1725970465332') format('woff2'), - url('https://at.alicdn.com/t/c/font_4680344_rxl7gevvsys.woff?t=1725970465332') format('woff'), - url('https://at.alicdn.com/t/c/font_4680344_rxl7gevvsys.ttf?t=1725970465332') format('truetype'); + font-family: 'iconfont'; /* Project id 4680344 */ + src: url('https://at.alicdn.com/t/c/font_4680344_v54lqtndz8.woff2?t=1730871528436') format('woff2'), + url('https://at.alicdn.com/t/c/font_4680344_v54lqtndz8.woff?t=1730871528436') format('woff'), + url('https://at.alicdn.com/t/c/font_4680344_v54lqtndz8.ttf?t=1730871528436') format('truetype'); } .iconfont { @@ -577,3 +576,7 @@ img { cursor: pointer; } } + +.el-tooltip__popper { + max-width: 600px; +} diff --git a/src/components/print/Print.vue b/src/components/print/Print.vue index ee4545a..c304c26 100644 --- a/src/components/print/Print.vue +++ b/src/components/print/Print.vue @@ -48,12 +48,14 @@ class="item" style="cursor: pointer;" @click="search.type = 1, search.current = 1, isShowImage = true, getConfig()"> +
图片素材
+
文字素材
@@ -197,34 +199,6 @@ - @@ -310,12 +284,16 @@ height: 160 }, '80 * 60': { - width: 160, - height: 120 + width: 240, + height: 180 }, - '60 * 40': { - width: 120, - height: 80 + '70 * 50': { + width: 210, + height: 150 + }, + '70 * 40': { + width: 210, + height: 120 } }, paperPopVisible: false, @@ -342,10 +320,6 @@ isShowImage: false, tableData: [], total: 0, - templateColConfigs: [ - { prop: 'name', label: '模板名称', align: 'left' }, - { slot: 'img'} - ], templateLoading: false, hasMore: true } @@ -438,6 +412,18 @@ this.hiprintTemplate.update(config) this.hiprintTemplate.setPaper(config.panels[0].width, config.panels[0].height) + this.curPaper = { + type: 'other', + width: config.panels[0].width, + height: config.panels[0].height + } + + this.$nextTick(() => { + if (this.curPaper.type === 'other') { + this.paperWidth = config.panels[0].width + this.paperHeight = config.panels[0].height + } + }) this.dynamicFromList = JSON.parse(res.data.params) this.isShowTemplate = false } @@ -555,6 +541,9 @@ $('#custom-provider').empty() // eslint-disable-next-line no-undef hiprint.PrintElementTypeManager.build($('#custom-provider'), 'customProvider') + + $('#custom-provider ul ul li:eq(0)').prepend('') + $('#custom-provider ul ul li:eq(1)').prepend('') }, buildDesigner() { @@ -825,6 +814,7 @@ width: 100px; margin-bottom: 10px; margin-right: 10px; + padding-top: 10px; background-color: #eee; border-radius: 4px; @@ -833,7 +823,6 @@ } a { - margin-top: 10px; padding: 10px 0; } } diff --git a/src/view/lables/Print.vue b/src/view/lables/Print.vue index 9013ac4..c2bfed9 100644 --- a/src/view/lables/Print.vue +++ b/src/view/lables/Print.vue @@ -21,7 +21,7 @@
- + 查询 + +

发货单列表->待仓库发货

@@ -40,7 +42,7 @@ style="width: 250px" size="small" clearable - placeholder="多个查询请用户逗号分割" + placeholder="多个查询请用逗号分割" suffix-icon="iconfont iconSearch"> @@ -63,6 +65,18 @@ :height="height" @getList="() => {}" :loading="isLoading"> + + +