Another Alibaba cloud disk resource search engine implementation effect display

Early search engine style display

In order to make the Alibaba Cloud disk resource search engine function more useful, the function of the input box has been expanded. The following shows an example of search conditions.

Friends who like to use the command line must like to tap various parameters to accurately filter the required text information, so this search engine also adds such features to the command line friends.

Initially provided parameters are as follows:

  • oper: The value is and/or, the function is such as searching for multiple keywords "abc mp4". The relationship between the two participles is and (must match at the same time) or or (only one of the two is enough)
  • id: The meaning is to specify share_id, which is used to search for specific share_id content, suitable for specific range search.
  • day/month/year: Filter according to the storage time, for example, day:1match the data added today, day:-1and match the data before today.
  • size: File size filter, used to find files based on file size, prompt: 文件夹的大小是0, do not add parameters if searching for folders size.

Warning: The above is used 过滤条件, so the search prerequisite must be available 搜索关键词to be useful, and the search 过滤条件without adding 关键词will only return an error.

The following is a screenshot effect display, which can find files more accurately.

insert image description here

all

At present, this picture is only an initial style, which is too simple, but it is enough for the search function. The main problem is the optimization of the interface, and a more beautiful display effect is a problem.

There is still a lot of work ahead:

  • interface beautification

Guess you like

Origin blog.csdn.net/dragonballs/article/details/126502254