Welcome to ZaiNaLe Developer Community-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
517 views
in Technique[技术] by (71.8m points)

仿百度网盘小程序多级目录右滑返回上级目录有实现思路吗?

百度网盘小程序多级目录右滑返回上级目录效果好难做啊


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

[1, 11, 111]
只需要维护一个路径,每次返回则pop出最后一个,然后取新的最后一个id下的文件。

问题是在哪里呢?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to ZaiNaLe Developer Community-Open, Learning and Share
...