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
4de34df4
Commit
4de34df4
authored
Sep 09, 2019
by
赵雅纹
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
回到首页
parent
e35c19e8
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
110 additions
and
2 deletions
+110
-2
app.json
src/app.json
+2
-1
project.config.json
src/project.config.json
+7
-1
goToHome.js
src/subPackage/page/pages/goToHome/goToHome.js
+76
-0
goToHome.json
src/subPackage/page/pages/goToHome/goToHome.json
+4
-0
goToHome.wxml
src/subPackage/page/pages/goToHome/goToHome.wxml
+6
-0
goToHome.wxss
src/subPackage/page/pages/goToHome/goToHome.wxss
+15
-0
No files found.
src/app.json
View file @
4de34df4
...
@@ -23,7 +23,8 @@
...
@@ -23,7 +23,8 @@
"pages/subPage/subPage"
,
"pages/subPage/subPage"
,
"pages/h5/h5page"
,
"pages/h5/h5page"
,
"pages/pointGoodsList/pointGoodsList"
,
"pages/pointGoodsList/pointGoodsList"
,
"pages/test/test"
"pages/test/test"
,
"pages/goToHome/goToHome"
]
]
}
}
],
],
...
...
src/project.config.json
View file @
4de34df4
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
"list"
:
[]
"list"
:
[]
},
},
"miniprogram"
:
{
"miniprogram"
:
{
"current"
:
1
5
,
"current"
:
1
8
,
"list"
:
[
"list"
:
[
{
{
"id"
:
-1
,
"id"
:
-1
,
...
@@ -153,6 +153,12 @@
...
@@ -153,6 +153,12 @@
"pathName"
:
"subPackage/page/pages/test/test"
,
"pathName"
:
"subPackage/page/pages/test/test"
,
"query"
:
""
,
"query"
:
""
,
"scene"
:
null
"scene"
:
null
},
{
"id"
:
-1
,
"name"
:
"subPackage/page/pages/pointGoodsList/pointGoodsList"
,
"pathName"
:
"subPackage/page/pages/goToHome/goToHome"
,
"scene"
:
null
}
}
]
]
}
}
...
...
src/subPackage/page/pages/goToHome/goToHome.js
0 → 100644
View file @
4de34df4
// subPackage/page/pages/goToHome/goToHome.js
var
app
=
getApp
()
const
wxService
=
require
(
'../../../../utils/wxService'
)
const
utils
=
require
(
'../../../../utils/util'
)
const
envInfo
=
require
(
'../../../../config/index'
).
envInfo
wxService
.
page
({
/**
* 页面的初始数据
*/
data
:
{
},
/**
* 生命周期函数--监听页面加载
*/
onLoad
:
function
(
options
)
{
},
handelGoHome
()
{
wxService
.
router
(
'/pages/userCenter/userCenter'
).
replace
()
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
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 @
4de34df4
{
"usingComponents"
:
{}
}
\ No newline at end of file
src/subPackage/page/pages/goToHome/goToHome.wxml
0 → 100644
View file @
4de34df4
<!--subPackage/page/pages/goToHome/goToHome.wxml-->
<view class="btn-wrap">
<view class="btn-home" bindtap="handelGoHome">
<button type='primary' class='btn-primary'>回到首页</button>
</view>
</view>
src/subPackage/page/pages/goToHome/goToHome.wxss
0 → 100644
View file @
4de34df4
/* subPackage/page/pages/goToHome/goToHome.wxss */
.btn-wrap{
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.btn-home{
width: 200rpx;
}
.btn-primary{
font-size: 14px;
box-sizing: border-box;
}
\ 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