Skip to content

👳🏼 微信小程序:周公解梦境

License

Notifications You must be signed in to change notification settings

stephyDeng1998/zgjm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Logo

周公解梦境 for 微信小程序

By Leo GitHub last commit Packagist

项目地址

https://github.com/leochan2017/zgjm

运行平台

微信小程序

扫码体验

来,快点掏出你的大手机,打开微信扫一扫吧

QR CODE

界面截图

首页

截图1

结果页

截图2

类别页1

截图3

类别页2

截图4

反馈

提交Issues

License

MIT

提取组集合

var arr = [];

for (i of dreamsData) {
	arr.push(i.group)
}

[...new Set(arr)];

提取标题集合


var groupArr = [];

for (i of dreamsData) {
    groupArr.push(i.group);
}

groupArr = [...new Set(groupArr)];

var bigTiteList = [];

for (itemGroup of groupArr) {
    var itemTitleList = [];
    for (j of dreamsData) {
        if (j.group == itemGroup) {
            itemTitleList.push(j.title);
        }
    }

    itemTitleList = [...new Set(itemTitleList)];

    bigTiteList.push(itemTitleList);
}

bigTiteList = [...new Set(bigTiteList)];

JSON.stringify(bigTiteList);

About

👳🏼 微信小程序:周公解梦境

Resources

Stars

Watchers

Forks