0.0.1
This commit is contained in:
parent
c7aabd0fef
commit
d4aa739966
@ -77,9 +77,15 @@ Page({
|
||||
}
|
||||
api('/plant/plantByLibrary', 'GET', data).then(res => {
|
||||
if (res.code === 200) {
|
||||
wx.navigateTo({
|
||||
url: '../about/index?type=1',
|
||||
})
|
||||
if (user.mpOpenId.length > 0){
|
||||
wx.switchTab({
|
||||
url: '../index/index',
|
||||
})
|
||||
} else {
|
||||
wx.navigateTo({
|
||||
url: '../about/index?type=1',
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
@ -1,4 +1,7 @@
|
||||
/* pages/login/index.wxss */
|
||||
page {
|
||||
background-color: white;
|
||||
}
|
||||
.bg {
|
||||
height: 60vh;
|
||||
width: 90vw;
|
||||
|
||||
@ -27,8 +27,8 @@
|
||||
"name": "pages/about/index",
|
||||
"pathName": "pages/about/index",
|
||||
"query": "",
|
||||
"scene": null,
|
||||
"launchMode": "default"
|
||||
"launchMode": "default",
|
||||
"scene": null
|
||||
},
|
||||
{
|
||||
"name": "pages/index/info",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user