Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高淑倩
7-Eleven
Commits
20f50643
Commit
20f50643
authored
Sep 09, 2019
by
赵雅纹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
回到首页
parent
0ef6c5c7
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
108 additions
and
2 deletions
+108
-2
app.json
src/app.json
+2
-1
project.config.json
src/project.config.json
+14
-1
goToHome.js
src/subPackage/page/pages/goToHome/goToHome.js
+67
-0
goToHome.json
src/subPackage/page/pages/goToHome/goToHome.json
+5
-0
goToHome.wxml
src/subPackage/page/pages/goToHome/goToHome.wxml
+9
-0
goToHome.wxss
src/subPackage/page/pages/goToHome/goToHome.wxss
+11
-0
No files found.
src/app.json
View file @
20f50643
...
...
@@ -49,7 +49,8 @@
"pages/fun/fun"
,
"pages/categoryPro/categoryPro"
,
"pages/plus/plus"
,
"pages/friendShareList/friendShareList"
"pages/friendShareList/friendShareList"
,
"pages/goToHome/goToHome"
]
}
],
...
...
src/project.config.json
View file @
20f50643
...
...
@@ -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
}
]
}
...
...
src/subPackage/page/pages/goToHome/goToHome.js
0 → 100644
View file @
20f50643
// 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
src/subPackage/page/pages/goToHome/goToHome.json
0 → 100644
View file @
20f50643
{
"navigationBarTitleText"
:
"回到首页"
,
"usingComponents"
:
{}
}
\ No newline at end of file
src/subPackage/page/pages/goToHome/goToHome.wxml
0 → 100644
View file @
20f50643
<!--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>
src/subPackage/page/pages/goToHome/goToHome.wxss
0 → 100644
View file @
20f50643
/* 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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment