|
@@ -14,34 +14,34 @@ Page({
|
|
|
infoHeight: '',
|
|
|
list: [
|
|
|
{
|
|
|
- id: '1',time: '08:30', date: '2022.01.15',Founder:'XXX',group:'哈拉海队',person:'10',grade:'c'
|
|
|
+ id: '1', time: '08:30', date: '2022.01.15', Founder: 'XXX', group: '哈拉海队', person: '10', grade: 'c'
|
|
|
}
|
|
|
],
|
|
|
lists: [
|
|
|
{
|
|
|
- id: '1',name:'老头1',head:'/image/tou.png'
|
|
|
+ id: '1', name: '老头1', head: '/image/tou.png'
|
|
|
},
|
|
|
{
|
|
|
- id: '1',name:'老头2',head:'/image/tou.png'
|
|
|
+ id: '1', name: '老头2', head: '/image/tou.png'
|
|
|
},
|
|
|
{
|
|
|
- id: '1',name:'老头3',head:'/image/tou.png'
|
|
|
+ id: '1', name: '老头3', head: '/image/tou.png'
|
|
|
},
|
|
|
{
|
|
|
- id: '1',name:'老头4',head:'/image/tou.png'
|
|
|
+ id: '1', name: '老头4', head: '/image/tou.png'
|
|
|
},
|
|
|
{
|
|
|
- id: '1',name:'老头5',head:'/image/tou.png'
|
|
|
+ id: '1', name: '老头5', head: '/image/tou.png'
|
|
|
},
|
|
|
{
|
|
|
- id: '1',name:'老头6',head:'/image/tou.png'
|
|
|
+ id: '1', name: '老头6', head: '/image/tou.png'
|
|
|
},
|
|
|
{
|
|
|
- id: '1',name:'老头7',head:'/image/tou.png'
|
|
|
+ id: '1', name: '老头7', head: '/image/tou.png'
|
|
|
},
|
|
|
|
|
|
{
|
|
|
- id: '1',name:'老头8',head:'/image/tou.png'
|
|
|
+ id: '1', name: '老头8', head: '/image/tou.png'
|
|
|
}
|
|
|
],
|
|
|
},
|
|
@@ -49,22 +49,27 @@ Page({
|
|
|
let query = e.detail.detail;
|
|
|
if (query) wx.redirectTo({ url: `/pages/${query}/index` })
|
|
|
},
|
|
|
+ add: function () {
|
|
|
+ wx.navigateTo({
|
|
|
+ url: '/pages/add/index',
|
|
|
+ })
|
|
|
+ },
|
|
|
back: function () {
|
|
|
wx.navigateBack({ url: '/pages/home/index' })
|
|
|
},
|
|
|
- out(){
|
|
|
+ out() {
|
|
|
wx.showModal({
|
|
|
- title: '',
|
|
|
- content: '是否确认退出团队',
|
|
|
- success(res) {
|
|
|
- if (res.confirm) {
|
|
|
- console.log('用户点击确定')
|
|
|
- } else if (res.cancel) {
|
|
|
- console.log('用户点击取消')
|
|
|
+ title: '',
|
|
|
+ content: '是否确认退出团队',
|
|
|
+ success(res) {
|
|
|
+ if (res.confirm) {
|
|
|
+ console.log('用户点击确定')
|
|
|
+ } else if (res.cancel) {
|
|
|
+ console.log('用户点击取消')
|
|
|
+ }
|
|
|
}
|
|
|
- }
|
|
|
})
|
|
|
- },
|
|
|
+ },
|
|
|
/**
|
|
|
* 生命周期函数--监听页面加载
|
|
|
*/
|