Git Product home page Git Product logo

dropdownboxfilter's Introduction

下拉菜单很常见,网上也有很多例子,自己也根据网上的资料,仿写了一个。感谢作者小小小是我提供了资料,在此做了二次开发,也分享一下。因为自己最近也需要写个小程序的下拉框的三级菜单筛选,分享给有需要的人哈。

(一)、实现效果

1、原作者资料的实现效果:点击跳转微信小程序仿闲鱼『下拉菜单』

原作者实现效果

2、自己二次开发实现效果:

自己写的下拉框效果

(二)实现过程

实现的代码也并不复杂,主要是控制各个容器的显示和隐藏效果以及数组对象选中时激活判断的样式,不过也存在一些小小的样式问题,如果你使用的话会发现的哈。自己也是简单的写了一下,没有花过多的时间在样式上挣扎,哈哈哈。

(三)项目代码

点击跳转下载

dropdownboxfilter's People

Contributors

super456 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.