From 4a9016f36f3379d2de623a4ae7f40f17867b6642 Mon Sep 17 00:00:00 2001 From: yedejiamingshi <540057894@qq.com> Date: Tue, 18 Feb 2025 17:46:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=90=8C=E6=AD=A5=2002.18=20?= =?UTF-8?q?-2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/configure/uniTemplate/detail.vue | 20 ++++++++++++++++++-- src/views/login.vue | 2 +- src/views/production/harvestInfo/index.vue | 4 ++-- 3 files changed, 21 insertions(+), 5 deletions(-) diff --git a/src/views/configure/uniTemplate/detail.vue b/src/views/configure/uniTemplate/detail.vue index 35c126f..6504567 100644 --- a/src/views/configure/uniTemplate/detail.vue +++ b/src/views/configure/uniTemplate/detail.vue @@ -26,8 +26,8 @@ 不显示 - 标准模板 - 定制模板 + 标准模板 + 定制模板 @@ -508,6 +508,22 @@ this.form.templateItemList[index][type] = `${signs}${newValue}`; } }, + handleTemplateTypeChange(value) { + this.form = { + ...this.form, + templateItemList: value === 1 ? [] : this.form.templateItemList, + bgUrl: undefined, + bgWidth: undefined, + bgHeight: undefined, + showGoodsDetail: true, + goodsDetailIconUrl: undefined, + showAi: true, + aiIconUrl: undefined, + showShop: true, + shopIconUrl: undefined, + changeLanguageIconUrl: undefined, + } + }, // 素材弹窗相关 openSelectMaterial(type) { this.selectMaterialVisible = true; diff --git a/src/views/login.vue b/src/views/login.vue index 1746d52..b9940aa 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -143,7 +143,7 @@ export default { LoginRules: { username: [ - {required: true, trigger: "blur", message: "用户名不能为空"} + {required: true, trigger: "blur", message: "账号不能为空"} ], password: [ {required: true, trigger: "blur", message: "密码不能为空"} diff --git a/src/views/production/harvestInfo/index.vue b/src/views/production/harvestInfo/index.vue index b423c0e..c9b0933 100644 --- a/src/views/production/harvestInfo/index.vue +++ b/src/views/production/harvestInfo/index.vue @@ -23,7 +23,7 @@ - + @@ -140,7 +140,7 @@ {{row.goodsNum}} - +