From f80deebb51f3c0f312b46718b75c02f69b3eb2cf Mon Sep 17 00:00:00 2001 From: chenrx Date: Fri, 14 Jun 2024 15:30:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B4=BB=E5=8A=A8=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- .../activity/components/activity-edit.vue | 65 ++++++++++++++----- 2 files changed, 49 insertions(+), 18 deletions(-) diff --git a/.env.development b/.env.development index 3754cdd..2ae4acf 100644 --- a/.env.development +++ b/.env.development @@ -1,2 +1,2 @@ -VUE_APP_API_BASE_URL=http://market.dev.liche.cn/api +VUE_APP_API_BASE_URL=http://market.lc.haodian.cn/api #npm run serve 加载环境 diff --git a/src/views/sylive/activity/components/activity-edit.vue b/src/views/sylive/activity/components/activity-edit.vue index aa163ef..6ea6942 100644 --- a/src/views/sylive/activity/components/activity-edit.vue +++ b/src/views/sylive/activity/components/activity-edit.vue @@ -150,13 +150,6 @@ - - - @@ -168,13 +161,36 @@ placeholder="请输入弹幕文案" /> - + + + + - - + 商品 + 报名 + + + + + + + -
+
+ @@ -362,11 +375,18 @@ bottoms: [], blacklist: 0, button: { title: '' }, - signBespeak: { status: 0, title: '', content: '', itemId: 0 }, + signBespeak: { + status: 0, + title: '', + content: '', + itemId: 0, + payItemId: '' + }, barrage: { color: 0, title: '' } }; return { goodsList: [], + payGoodsLists: [], editVersion: false, editoption: { height: 300, @@ -448,6 +468,17 @@ .catch((e) => { this.$message.error(e.message); }); + listGoods({ + activityId: this.form.activityId, + price: 0, + price_type: 'gt' + }) + .then((list) => { + this.payGoodsLists = list; + }) + .catch((e) => { + this.$message.error(e.message); + }); }, /* 添加海报描述 */ addShareTitle() {