Commit 41104e77 authored by liwei's avatar liwei

修改了页面,增加了假数据

parent 735870a9
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
// this.getList(true) // this.getList(true)
}, },
goPage(path) { goPage(path) {
if (uni.getStorageSync('info') != '') { if (uni.getStorageSync('userInfo') != '') {
uni.navigateTo({ uni.navigateTo({
url: path url: path
}) })
......
...@@ -172,7 +172,9 @@ ...@@ -172,7 +172,9 @@
} }
bannerList(query).then(res =>{ bannerList(query).then(res =>{
//将res.data.rows集合里的bannerPicture取出来,放到集合中 //将res.data.rows集合里的bannerPicture取出来,放到集合中
this.bannerList = res.data.data.map(item => item.bannerPicture) // console.log('res.data.data:',res.data.data)
this.bannerList = res.data.data.map(item => item.path)
console.log('this.bannerList:',this.bannerList)
}).catch(e => { }).catch(e => {
console.log(e) console.log(e)
}) })
......
...@@ -164,7 +164,7 @@ ...@@ -164,7 +164,7 @@
this.dataList = [ this.dataList = [
{ {
createTime:'2024-12-28 15:02:01', createTime:'2024-12-28 15:02:01',
headPortrait:'11111',//头像 headPortrait:'http://192.168.1.80/upload/CmsBanner/20241230/18E63B570FF04DB3A8EFE277D58256C4.jpg',//头像
nickName:'不爱吃辣的小王',//nickName nickName:'不爱吃辣的小王',//nickName
gender:'MALE',//性别 gender:'MALE',//性别
information:'02·重庆市·硕士·互联网',//个人信息 information:'02·重庆市·硕士·互联网',//个人信息
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment