|
@ -52,9 +52,9 @@ Page({ |
|
|
getPartyGroupList () { |
|
|
getPartyGroupList () { |
|
|
getPartyGroupList().then(res => { |
|
|
getPartyGroupList().then(res => { |
|
|
console.log("获取党群列表", res) |
|
|
console.log("获取党群列表", res) |
|
|
const groupNameList = ["进入玫瑰苑社群", "进入玫瑰湖社群", "进入锦水园社群", "进入锦祥园社群"] |
|
|
const groupNameList = ["进入玫瑰苑社群", "进入玫瑰湖社群", "进入锦水园社群", "进入锦祥园社群", "进入城西社群", "进入子顺社群", "进入土楼社群"] |
|
|
res.data.forEach((item, index) => { |
|
|
res.data.forEach((item, index) => { |
|
|
if (index <= 3) { |
|
|
if (index <= 6) { |
|
|
item.groupName = groupNameList[index] |
|
|
item.groupName = groupNameList[index] |
|
|
} else { |
|
|
} else { |
|
|
item.groupName = "进入社群" |
|
|
item.groupName = "进入社群" |
|
|