Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ClayHello committed May 11, 2019
1 parent 42401f8 commit ed29b83
Show file tree
Hide file tree
Showing 5 changed files with 85 additions and 0 deletions.
81 changes: 81 additions & 0 deletions students/1714080903234/fortune-result.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
// pages/fortune-result.js
Page({

/**
* 页面的初始数据
*/
data: {
pixelRatio: 0,
windowWidth: 0,
windowHeight: 0,
showBgImagePath:'',
showBgImagePath2: '../../images/[email protected]',
showBgImagePath3: '../../images/[email protected]',
dogBgImagePath:'',
qrBgImagePath: '../../images/[email protected]',
name: '',
title: '',
desc: ''
},

/**
* 生命周期函数--监听页面显示
*/
onShow: function () {

},

/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {

},

/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {

},

/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {

},

/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {

},

/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
return {
title: '随机诗句',
path: 'pages/index/index',
success: function (res) {
// 转发成功
wx.showToast({
title: '转发成功',
icon: 'success',
duration: 2000
})
},
fail: function (res) {
// 转发失败
wx.showToast({
title: '转发失败',
icon: 'loading',
duration: 2000
})
}
}
}
})
4 changes: 4 additions & 0 deletions students/1714080903234/fortune-result.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"navigationBarTitleText": "记好",
"navigationBarBackgroundColor": "white"
}
Binary file added students/1714080903234/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added students/1714080903234/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added students/1714080903234/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ed29b83

Please sign in to comment.