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
4c7d6f7f
Commit
4c7d6f7f
authored
May 21, 2019
by
高淑倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
init
parent
d0afec57
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
129 deletions
+0
-129
app.js
app.js
+0
-46
app.json
app.json
+0
-22
app.wxss
app.wxss
+0
-10
project.config.json
project.config.json
+0
-51
No files found.
app.js
deleted
100644 → 0
View file @
d0afec57
// app.js
import
{
cEvent
}
from
'./utils/event.js'
const
Promise
=
require
(
'lib/bluebird'
)
var
utils
=
require
(
'utils/util.js'
)
var
wxService
=
require
(
'utils/wxService'
)
const
envInfo
=
require
(
'config/index'
).
envInfo
App
({
onLaunch
:
function
(
e
)
{
},
onShow
:
function
(
options
=
{})
{
// 是不是第一次进入小程序
const
baseUserInfo
=
wx
.
getStorageSync
(
'_baseUserInfo'
)
if
(
baseUserInfo
)
{
// wxService.getUserInfo()
}
},
onHide
:
function
()
{
this
.
globalData
.
loginFirst
=
false
},
getUserInfo
()
{
return
new
Promise
((
resolve
,
reject
)
=>
{
const
_baseUserInfo
=
wx
.
getStorageSync
(
'_baseUserInfo'
)
if
(
_baseUserInfo
)
{
resolve
(
_baseUserInfo
)
}
else
{
reject
(
'_baseUserInfo is null'
)
}
})
},
globalData
:
{
userInfo
:
null
,
userBaseInfo
:
null
,
// openid
systemInfo
:
wx
.
getSystemInfoSync
(),
ctx
:
envInfo
.
ctx
,
openCard
:
false
,
userNo
:
null
,
storeId
:
''
,
storeName
:
''
,
loginFirst
:
false
}
})
app.json
deleted
100644 → 0
View file @
d0afec57
{
"pages"
:
[
"pages/welcome/welcome"
,
"pages/userCenter/userCenter"
,
"pages/mySpend/mySpend"
,
"pages/memberRules/memberRules"
,
"pages/memberOfOwn/memberOfOwn"
,
"pages/integralWater/integralWater"
,
"pages/deliveryService/deliveryService"
,
"pages/coupons/coupons"
,
"pages/couponDetail/couponDetail"
,
"pages/consumptionDetails/consumptionDetails"
,
"pages/IntegralMall/IntegralMall"
],
"window"
:
{
"backgroundTextStyle"
:
"light"
,
"navigationBarBackgroundColor"
:
"#fff"
,
"navigationBarTitleText"
:
"WeChat"
,
"navigationBarTextStyle"
:
"black"
}
}
\ No newline at end of file
app.wxss
deleted
100644 → 0
View file @
d0afec57
/**app.wxss**/
.container {
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
padding: 200rpx 0;
box-sizing: border-box;
}
project.config.json
deleted
100644 → 0
View file @
d0afec57
{
"description"
:
"项目配置文件"
,
"packOptions"
:
{
"ignore"
:
[]
},
"setting"
:
{
"urlCheck"
:
false
,
"es6"
:
true
,
"postcss"
:
true
,
"minified"
:
true
,
"newFeature"
:
true
,
"autoAudits"
:
false
},
"compileType"
:
"miniprogram"
,
"libVersion"
:
"2.6.6"
,
"appid"
:
"wxc3b64b09b1d3dfc2"
,
"projectname"
:
"7-Eleven"
,
"debugOptions"
:
{
"hidedInDevtools"
:
[]
},
"isGameTourist"
:
false
,
"condition"
:
{
"search"
:
{
"current"
:
-1
,
"list"
:
[]
},
"conversation"
:
{
"current"
:
-1
,
"list"
:
[]
},
"plugin"
:
{
"current"
:
-1
,
"list"
:
[]
},
"game"
:
{
"currentL"
:
-1
,
"list"
:
[]
},
"miniprogram"
:
{
"current"
:
0
,
"list"
:
[
{
"id"
:
-1
,
"name"
:
"会员中心"
,
"pathName"
:
"pages/userCenter/userCenter"
}
]
}
}
}
\ 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