From 23c2b5cba0970ec1444e86f6a4f54b65db496fc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E7=9A=87?= <236220500@qq.com> Date: Wed, 3 Jun 2020 23:25:28 +0800 Subject: [PATCH] 1 --- src/pages/shop/IncreaseWelcomeEdit.vue | 35 ++++++++++++++++++++------ 1 file changed, 28 insertions(+), 7 deletions(-) diff --git a/src/pages/shop/IncreaseWelcomeEdit.vue b/src/pages/shop/IncreaseWelcomeEdit.vue index ef6b58c..220c786 100644 --- a/src/pages/shop/IncreaseWelcomeEdit.vue +++ b/src/pages/shop/IncreaseWelcomeEdit.vue @@ -20,19 +20,33 @@ :key="index" >
+ 标题 {{ index + 1 }} + + + APPID {{ index + 1 }} URI {{ index + 1 }} - + MediaId{{ index + 1 }} - +
+
+ 标题 {{ index + 1 }} + + + + URL {{ index + 1 }} + + + +
{{ item.name }}{{ index + 1 }} @@ -95,6 +109,9 @@
+ + + @@ -195,9 +212,10 @@ export default { url: [ { required: true, message: "请输入url", trigger: "blur" }, { validator: validateUrl, trigger: "blur" } - ] + ], + title: [{ required: true, message: "请输入url", trigger: "blur" }] }, - webForm: { url: "" }, + webForm: { url: "", title: "" }, miniFormRules: { appid: [{ required: true, message: "请输入url", trigger: "blur" }], uri: [{ required: true, message: "请输入url", trigger: "blur" }], @@ -267,13 +285,16 @@ export default { }, doShowWeb() { this.showWeb = true; - this.webForm = { url: "" }; + this.webForm = { url: "", title: "" }; }, doShowMini() { this.showMini = true; this.miniForm = { appid: "", - uri: "" + uri: "", + limitLower: "", + limitUpper: "", + key: "" }; }, cancelMini() { @@ -286,7 +307,7 @@ export default { _this.welcome.params.push({ attr: 2, defaultVal: this.webForm.url, - description: this.webForm.url, + description: this.webForm.title, isRequired: 1, key: "url", limitLower: null,