first commit
This commit is contained in:
31
pages/agent/agent.js
Normal file
31
pages/agent/agent.js
Normal file
@@ -0,0 +1,31 @@
|
||||
Page({
|
||||
data: {},
|
||||
onLoad: function(n) {},
|
||||
onReady: function() {},
|
||||
onShow: function() {},
|
||||
onHide: function() {},
|
||||
onUnload: function() {},
|
||||
onPullDownRefresh: function() {},
|
||||
onReachBottom: function() {},
|
||||
onShareAppMessage: function() {
|
||||
return {
|
||||
title: "推荐一款免费又超好用的视频文案创作工具,分享给大家一起使用",
|
||||
path: "/pages/index/index?uuid=" + wx.getStorageSync("uuid"),
|
||||
imageUrl: "/images/share.jpg",
|
||||
success: function(n) {
|
||||
wx.showToast({
|
||||
title: "分享成功",
|
||||
icon: "success",
|
||||
duration: 2e3
|
||||
});
|
||||
},
|
||||
fail: function(n) {
|
||||
wx.showToast({
|
||||
title: "分享失败",
|
||||
icon: "none",
|
||||
duration: 2e3
|
||||
});
|
||||
}
|
||||
};
|
||||
}
|
||||
});
|
||||
3
pages/agent/agent.json
Normal file
3
pages/agent/agent.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
pages/agent/agent.wxml
Normal file
1
pages/agent/agent.wxml
Normal file
@@ -0,0 +1 @@
|
||||
<text>pages/agent/agent.wxml</text>
|
||||
0
pages/agent/agent.wxss
Normal file
0
pages/agent/agent.wxss
Normal file
Reference in New Issue
Block a user