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