前端cookie记录搜索框的历史,在搜索框下面展示最近五条(多个页面的搜索框历史同步)
多个页面的搜索框历史同步只需设置cookie的名称和路径一致即可.gz_search_tab { width: 900px; height: 60px; line-height: 60px; background: #FFF; border-radius: 0px 5px 5px 0; margin: 0px auto; box-sh...
原创
2019-10-16 17:13:33 ·
1964 阅读 ·
0 评论