Commit 20f50643 by 赵雅纹

回到首页

parent 0ef6c5c7
......@@ -49,7 +49,8 @@
"pages/fun/fun",
"pages/categoryPro/categoryPro",
"pages/plus/plus",
"pages/friendShareList/friendShareList"
"pages/friendShareList/friendShareList",
"pages/goToHome/goToHome"
]
}
],
......
......@@ -39,7 +39,7 @@
"list": []
},
"miniprogram": {
"current": 13,
"current": 42,
"list": [
{
"id": -1,
......@@ -313,6 +313,19 @@
"pathName": "pages/my_1/my",
"query": "",
"scene": null
},
{
"id": -1,
"name": "回到首页",
"pathName": "subPackage/page/pages/goToHome /goToHome",
"query": "",
"scene": null
},
{
"id": -1,
"name": "subPackage/page/pages/goToHome /goToHome",
"pathName": "subPackage/page/pages/goToHome/goToHome",
"scene": null
}
]
}
......
// subPackage/page/pages/goToHome/goToHome.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
}
})
\ No newline at end of file
{
"navigationBarTitleText": "回到首页",
"usingComponents": {}
}
\ No newline at end of file
<!--subPackage/page/pages/goToHome/goToHome.wxml-->
<!-- <view class="bottom-img" bindtap="handelGoHome">
<image class="img-top" mode="widthFix" src="/assets/imgs/7_1_0/go-top.png" bindtap="goTop"></image>
</view> -->
<view class="btn-wrap">
<view class="btn-home">
<button class="btn btn-primary">回到首页</button>
</view>
</view>
/* subPackage/page/pages/goToHome/goToHome.wxss */
.btn-wrap{
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.btn-home{
width: 200rpx;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment