From cabbca85b518f561d0dc2b7a7ec11d6922785b86 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期三, 10 七月 2024 17:52:38 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/zbomyoujia
---
wechat_jiaxuan/components/disProduct/index.js | 34 ++++++++++++++++++++++++++++++++++
1 files changed, 34 insertions(+), 0 deletions(-)
diff --git a/wechat_jiaxuan/components/disProduct/index.js b/wechat_jiaxuan/components/disProduct/index.js
new file mode 100644
index 0000000..fc3ea5f
--- /dev/null
+++ b/wechat_jiaxuan/components/disProduct/index.js
@@ -0,0 +1,34 @@
+// components/disProduct/index.js
+Component({
+ /**
+ * 缁勪欢鐨勫睘鎬у垪琛�
+ */
+ properties: {
+
+ },
+
+ /**
+ * 缁勪欢鐨勫垵濮嬫暟鎹�
+ */
+ data: {
+ showOne: false,
+ showTwo: false,
+ activeStatus: '0'
+ },
+ methods: {
+ changeOne(){
+ const showOne = !this.data.showOne
+ this.setData({showOne})
+ this.setData({showTwo: false})
+ },
+ changeTwo(){
+ const showTwo = !this.data.showTwo
+ this.setData({showTwo})
+ this.setData({showOne: false})
+ },
+ statusChange(e) {
+ const activeStatus = e.currentTarget.dataset.status
+ this.setData({activeStatus})
+ }
+ }
+})
--
Gitblit v1.9.3