Compare commits
70 Commits
Author | SHA1 | Date |
---|---|---|
xuanqis | 4065151f19 | 6 years ago |
xuanqis | 86da2fb5e5 | 6 years ago |
201630126029 | 960c1cbb1e | 6 years ago |
Eridani11579 | 07cc8819d2 | 6 years ago |
201630126029 | 80ff29e315 | 6 years ago |
Eridani11579 | 1b33c170e7 | 6 years ago |
201630126029 | c7ae7bc725 | 6 years ago |
Eridani11579 | f23362a433 | 6 years ago |
Siryuanshao | d9da12ec0d | 6 years ago |
Siryuanshao | 677e6014af | 6 years ago |
kefei | 0e3d56edd2 | 6 years ago |
Siryuanshao | a0665b3f33 | 6 years ago |
Siryuanshao | dfce41f267 | 6 years ago |
Siryuanshao | 30a4169d56 | 6 years ago |
kefei | 1dd906de6d | 6 years ago |
kefei | 82ec259a50 | 6 years ago |
Siryuanshao | b0a2671443 | 6 years ago |
Siryuanshao | 94a6c7773c | 6 years ago |
Siryuanshao | 1ea3982d91 | 6 years ago |
Siryuanshao | 23e954343e | 6 years ago |
Eridani11579 | de71aa5263 | 6 years ago |
Siryuanshao | 4f44a2ec04 | 6 years ago |
Siryuanshao | de21b18b78 | 6 years ago |
Eridani11579 | a48538c1c7 | 6 years ago |
kefei | c641c95000 | 6 years ago |
201630126029 | d472f5a24b | 6 years ago |
kefei | 51f94551b1 | 6 years ago |
Eridani11579 | ef71355eb2 | 6 years ago |
kefei | ab981edb1c | 6 years ago |
kefei | 8f18834ae5 | 6 years ago |
kefei | 83af9b00c4 | 6 years ago |
201630126029 | 2265d94480 | 6 years ago |
kefei | aea6454951 | 6 years ago |
201630126029 | d4ca3a9078 | 6 years ago |
Eridani11579 | 7f1b46f2ef | 6 years ago |
Eridani11579 | de2d5fb1fa | 6 years ago |
201630126029 | 1bd08e1717 | 6 years ago |
201630126029 | 940ec616d7 | 6 years ago |
kefei | 08ea96591f | 6 years ago |
201630126029 | 9713c54055 | 6 years ago |
Siryuanshao | c75bf5ecb3 | 6 years ago |
Siryuanshao | a36e6c345a | 6 years ago |
Siryuanshao | 5be80f1661 | 6 years ago |
Siryuanshao | 3ea7be0f61 | 6 years ago |
Siryuanshao | 360d970b06 | 6 years ago |
Siryuanshao | 763d9210f5 | 6 years ago |
201630126029 | 3ec93ac29b | 6 years ago |
201630126029 | 147a4b84d1 | 6 years ago |
201630126029 | b03b829f29 | 6 years ago |
Siryuanshao | 234345d44c | 6 years ago |
201630126029 | 6115d1172f | 6 years ago |
kefei | 2f5db5056b | 6 years ago |
201630126029 | a0f0bad059 | 6 years ago |
201630126029 | 0f10cec793 | 6 years ago |
201630126029 | 9fd3d81fd8 | 6 years ago |
Siryuanshao | 7743d77e76 | 6 years ago |
201630126029 | 44edf812ea | 6 years ago |
201630126029 | 1f47a9c619 | 6 years ago |
201630126029 | 5d408b114a | 6 years ago |
Siryuanshao | 0b945a686d | 6 years ago |
Siryuanshao | 7219727dc4 | 6 years ago |
Siryuanshao | 4b489bf362 | 6 years ago |
Siryuanshao | dcc253707b | 6 years ago |
Siryuanshao | f43da4e313 | 6 years ago |
Siryuanshao | 0b0c2e1ced | 6 years ago |
Siryuanshao | 9ebe92cd80 | 6 years ago |
Siryuanshao | 17f870e0f2 | 6 years ago |
201630126029 | c5bb28c8c2 | 6 years ago |
Eridani11579 | 066c7780d0 | 6 years ago |
Eridani11579 | 0a33ab6586 | 6 years ago |
@ -0,0 +1,2 @@
|
||||
# Auto detect text files and perform LF normalization
|
||||
* text=auto
|
@ -0,0 +1,41 @@
|
||||
//app.js
|
||||
App({
|
||||
onLaunch: function () {
|
||||
// 展示本地存储能力
|
||||
var logs = wx.getStorageSync('logs') || []
|
||||
logs.unshift(Date.now())
|
||||
wx.setStorageSync('logs', logs)
|
||||
|
||||
// 登录
|
||||
wx.login({
|
||||
success: res => {
|
||||
// 发送 res.code 到后台换取 openId, sessionKey, unionId
|
||||
}
|
||||
})
|
||||
// 获取用户信息
|
||||
wx.getSetting({
|
||||
success: res => {
|
||||
if (res.authSetting['scope.userInfo']) {
|
||||
// 已经授权,可以直接调用 getUserInfo 获取头像昵称,不会弹框
|
||||
wx.getUserInfo({
|
||||
success: res => {
|
||||
// 可以将 res 发送给后台解码出 unionId
|
||||
this.globalData.userInfo = res.userInfo
|
||||
|
||||
// 由于 getUserInfo 是网络请求,可能会在 Page.onLoad 之后才返回
|
||||
// 所以此处加入 callback 以防止这种情况
|
||||
if (this.userInfoReadyCallback) {
|
||||
this.userInfoReadyCallback(res)
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
globalData: {
|
||||
userInfo: null,
|
||||
font:[{font:'font-size:20rpx'},{font:'font-size:22rpx'},{font:'font-size:24rpx'},{font:'font-size:28rpx'},{font:'font-size:30rpx'},{font:'font-size:32rpx'}],
|
||||
|
||||
}
|
||||
})
|
@ -0,0 +1,24 @@
|
||||
{
|
||||
"pages":[
|
||||
"pages/Index/index",
|
||||
"pages/Sort/sort",
|
||||
"pages/Shopping/shopping",
|
||||
"pages/User/user",
|
||||
"pages/userInfo/userInfo",
|
||||
"pages/manageAddress/manageAddress",
|
||||
"pages/newAddress/newAddress",
|
||||
"pages/order/order",
|
||||
"pages/commentOrder/commentOrder",
|
||||
"pages/shoppingEmpty/shoppingEmpty",
|
||||
"pages/confirmOrder/confirmOrder",
|
||||
"pages/detail/detail",
|
||||
"pages/about/about"
|
||||
],
|
||||
"window":{
|
||||
"backgroundTextStyle":"light",
|
||||
"navigationBarBackgroundColor": "#fff",
|
||||
"navigationBarTitleText": "纯粹科技",
|
||||
"navigationBarTextStyle":"black"
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
/**app.wxss**/
|
||||
.flexRowBetween{
|
||||
display:flex;
|
||||
flex-direction:row;
|
||||
justify-content:space-between;
|
||||
}
|
||||
.flexRowBetween1{
|
||||
display:flex;
|
||||
flex-direction:row;
|
||||
}
|
||||
.flexColumnBetween{
|
||||
flex-direction:column;
|
||||
justify-content:space-between;
|
||||
}
|
||||
.avoidOverflow{
|
||||
overflow-x:hidden;
|
||||
text-overflow:ellipsis;
|
||||
white-space:nowrap;
|
||||
}
|
||||
/***********提交按钮***********/
|
||||
.submit_info{
|
||||
margin:0rpx 25rpx;
|
||||
width:700rpx;
|
||||
height:88rpx;
|
||||
line-height:88rpx;
|
||||
text-align:center;
|
||||
font-size:36rpx;
|
||||
color:#fff;
|
||||
background:linear-gradient(to right,rgba(72,222,223,1.00),rgba(42,154,225,1.00));
|
||||
border-radius:10rpx;margin-top:260rpx;}
|
||||
/***********navbar***********/
|
||||
.navbar{
|
||||
height:115rpx;
|
||||
width:100%;
|
||||
position:fixed;
|
||||
bottom:0rpx;
|
||||
z-index:999;
|
||||
background:#fff;
|
||||
display:flex;
|
||||
justify-content:center;
|
||||
border-top:solid 1px #dbdbdb;
|
||||
align-items:center;
|
||||
}
|
||||
.navbar_item{
|
||||
|
||||
width:25%;
|
||||
text-align:center;
|
||||
|
||||
}
|
||||
.navbar .text{
|
||||
color:#656565;
|
||||
}
|
||||
.navbar .this-text{
|
||||
color:#21c3d4;
|
||||
}
|
||||
|
||||
.navigator-hover {
|
||||
background:none;
|
||||
color:#21c3d4;
|
||||
}
|
After Width: | Height: | Size: 5.6 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 44 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 26 KiB |
After Width: | Height: | Size: 44 KiB |
After Width: | Height: | Size: 32 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 9.3 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 5.2 KiB |
After Width: | Height: | Size: 5.0 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 5.3 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 44 KiB |
After Width: | Height: | Size: 38 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 7.6 KiB |
After Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 2.9 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 19 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 3.5 KiB |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 25 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.8 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 3.9 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 3.9 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.6 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.7 KiB |
After Width: | Height: | Size: 1.5 KiB |