From 7dff9aa57aa876cb6f52aa95d12a47ffd2841e8e Mon Sep 17 00:00:00 2001
From: lion <120344285@qq.com>
Date: Thu, 13 Apr 2023 17:20:34 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9C=88=E5=AB=82?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
config.js | 8 +-
pages/active/active copy.vue | 475 -----------------------------------
pages/active/detail.vue | 10 +-
3 files changed, 11 insertions(+), 482 deletions(-)
delete mode 100644 pages/active/active copy.vue
diff --git a/config.js b/config.js
index 76bbd47..2968860 100644
--- a/config.js
+++ b/config.js
@@ -3,11 +3,11 @@ export const appConfig = {
//appId:"wx3dc65ce9b588727a",//孕育咨询
//baseUrl: 'http://yunyubang.localhost.com',
- baseUrl:'https://yunyubang.ali251.langye.net',// 'https://yunyubang2021.langye.net', //孕育邦
- // baseUrl: 'https://yybtest.ali251.langye.net',
+ // baseUrl:'https://yunyubang.ali251.langye.net',// 'https://yunyubang2021.langye.net', //孕育邦
+ baseUrl: 'https://yybtest.ali251.langye.net',
- newBaseUrl: 'https://yunyubang.ali251.langye.net',
- // newBaseUrl: 'http://yybtest.ali251.langye.net',
+ // newBaseUrl: 'https://yunyubang.ali251.langye.net',
+ newBaseUrl: 'http://yybtest.ali251.langye.net',
//baseUrl:'https://yybtest2021.langye.net',//孕育咨询
openidInfoKey: 'openid_info_yunyubang'
diff --git a/pages/active/active copy.vue b/pages/active/active copy.vue
deleted file mode 100644
index 1061ad6..0000000
--- a/pages/active/active copy.vue
+++ /dev/null
@@ -1,475 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 为您精选
-
-
-
-
- {{item.end_at}}
-
- {{item.active_name}}
- {{item.address}}
-
- {{ Number(item.money) > 0 ? `¥${item.money}` : '免费' }}
- {{`${item.total+item.start_member_sum}人参与`}}
-
-
-
-
-
-
- 综合排序
- 距离最近
- 优质商户
- 筛选
-
-
-
-
-
-
-
-
-
-
diff --git a/pages/active/detail.vue b/pages/active/detail.vue
index 3e09de4..2129bec 100644
--- a/pages/active/detail.vue
+++ b/pages/active/detail.vue
@@ -363,7 +363,8 @@
sex: "",
phone: "",
budget_date: '',
- address: ''
+ address: '',
+ spread_member_id:''
},
arrHospital: ["请选择建卡医院", "市立医院", "苏大附一院", "苏大附二院", "中医院", "第五人民医院", "苏州市第七人民医院", "明基医院", "九龙医院", "娄葑医院",
@@ -449,7 +450,7 @@
this.form.promotion = options.promotion_id;
uni.setStorageSync("base_promotion_id", options.promotion_id)
}
-
+
@@ -852,8 +853,11 @@
this.form.merchant_id = this.info.shop_id
this.form.active_id = this.info.id
this.form.active_name = this.info.active_name
+ if(this.form.promotion){
+ this.form.spread_member_id = this.form.promotion
+ }
console.log(this.form)
- return
+ // return
weixin.request({
method: 'POST',
api: "/api/member/active-apply",