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