Browse Source

解决冲突

Limengbo 6 years ago
parent
commit
3302a106a7

+ 18 - 0
pages/groupPage/collage-details/collage-details.js

@@ -20,6 +20,24 @@ Page({
   //分享好友触发事件
   eventListener: function () {
     //console.log(1);
+    content: [
+      {
+          text: "领袖体质魅力无穷!",
+          color: "#000"
+      },
+      {
+          text: "您可以继续发起新的团购,",
+          color: "#000"
+      },
+      {
+          text: "不再需要支付本课程费用,拼团成功,",
+          color: "#FF9B00"
+      },
+      {
+          text: "您将得到xxx元奖励。",
+          color: "#FF0000"
+      },
+    ]
   },
 
   //规则页显示和隐藏

+ 2 - 1
pages/groupPage/collage-details/collage-details.json

@@ -1,6 +1,7 @@
 {
     "component": true,
     "usingComponents": {
-        "shareDialog": "/component/share/share"
+        "shareDialog": "/component/share/share",
+        "popup": "/component/popup/popup"
     }
   }

+ 7 - 0
pages/groupPage/collage-details/collage-details.wxml

@@ -63,4 +63,11 @@
 <canvas canvas-id="myCanvas" style="width:370px; height: 507px; position: absolute; left: -99rpx; top: -999rpx;"></canvas>
 <shareDialog id="share-dialog" bindcustomevent="eventListener"/>
 
+<shareDialog id="share-dialog"/>
+<popup
+    typeOf="senderror"
+    title="恭喜!"
+    headTextOne="您发起的团购拼团成功"
+    content="{{content}}"
+></popup>