首先跟上次说的一样,

第一步:引入js、css样式

1)mobiscroll-2.13.2.full.min.css

2)jquery.min.js

3)mobiscroll-2.13.2.full.min.js

第二步:html添加如下标签

   <label>选择学历:</label>
<ul id="treelist" >
<li value="1">小学</li>
<li value="2">初中</li>
<li value="3">高中</li>
<li value="4">中专</li>
<li value="5">大专</li>
<li value="6">本科</li>
<li value="7">硕士</li>
<li value="8">博士</li>
<li value="9">博士后</li>
</ul>
<br/>
<label>选择班级:</label>
<ul id="treelist1" >
<li value="1">普通班</li>
<li value="2">高级班</li>
<li value="3">重点班</li>
<li value="4">VIP班级</li>
</ul>
<br/>

第三步:在js用mobiscroll的treelist绑定数据,渲染弹出框

$(function () {
$("#treelist").mobiscroll().treelist({
theme: "android-ics light",
lang: "zh",
//定义弹出框选中项的默认值
defaultValue: [Math.floor($('#treelist li').length/2)],
cancelText: "取消",
headerText:"选择学历", //显示弹出框title显示文本
placeholder:"请选择学历", //显示input的提示文本
inputClass:'selectCss', //添加input的样式(放入样式名)
//返回自定义格式结果(原先选中是显示下标,改成显示文本)
formatResult: function (array) {
console.log($('#treelist>li').eq(array[0]).val());
return $('#treelist>li').eq(array[0]).text() ;
}
}); $("#treelist1").mobiscroll().treelist({
theme: "android-ics light",
lang: "zh",
defaultValue: [Math.floor($('#treelist1 li').length/2)],
cancelText: "取消",
headerText:"选择班级",
placeholder:"请选择班级",
inputClass:'selectCss',
//返回自定义格式结果(原先选中是显示下标,改成显示文本)
formatResult: function (array) {
console.log($('#treelist1>li').eq(array[0]).val());
return $('#treelist1>li').eq(array[0]).text() ;
}
}); });

第四步:效果图显示

1)页面input弹出框显示

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAK0AAAEPCAIAAAC/btNFAAAVJUlEQVR4nO2d208bR9vAo1aV0vSuvftu+hegKm160V70JihqFBpValIFlb5f3zokSK1U8rVKGzVWGloRJWmSqrQ5NMScDDkYSAIJJNic4hgKiWFtjvEZ24uNbfDi9cP1dzFkWXzC4NN4/fyER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7GfsewJkA3oA0yJmvmtkgAe5PHjx3EJIuwJ8DFRDIhlTwAAEIlEUqk01LG/VbcDmUxWWVmJj4Z2lCDo7CgGxFgCOO5LT0/Hr/ig4wNEovYEIGBIHDhvRgNDsP04AweSe3cdgL2XAL+40WWADhylRJvenp4AbG/LyspKdHEH7Qngwb9NPQE+KMZ7AqlUum/fvoMHD6IrHj/et7YnAADAdRI4sguUAA4hOzo69u3bJxKJ3g4JcOCpmJqaSk9PRwtEaEaAL6S+bRIg/BpVKpVevnwZdhIikchvLTnoXWNP+8PYSICO1y8SjhPR3QGXAO9K/W4fuwj9AxIA9A9IVAJAJaASACoBlQBQCagEgEpAJQBUAioBoBJQCQCVgEoAqARQAqfTGe89iSfJLIHT6dyUYHBwMN47E0+SWYLBwcFNCdLS0vr6+qxWa7x3KT4kpwRWq7Wvry8tLW1TAkqSQyWgUAkoVALKkSNH/g95SzNPOQXNDQAAAABJRU5ErkJggg==" alt="" width="172" height="237" />

2)页面input加载和选中显示

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZsAAABNCAIAAAD/6l4pAAAHU0lEQVR4nO2d2ZGjMBRFnaGjcQxUOQr+XJ2EfwmAILochecDkJ7E0wL9GMvUOR9TZhPLFKevFluXN2j8/Px8+hIA4P3e+DJejruOrwajATQCRjMAowE0AkYzAKMBNAJGMwCjATQCRjMAowE0AkYz4AcAmqH+zcVoOp/+HwQAT/2bi9F0Nj1EADgOjGYARgNoBIxmAEYDaASMZgBGA2gEjGYARgNoBIxmAEYDaIRPGu33cb10Q/3+Q+d3/31cr4/fqLRozX8DowE0gpnRhi7wydBdJv38Pq6XhGm80YbukkIeG5S1Wrhcu0GeJ1No8gz7wGgAjWCX0ZzDwoUqo8ULSonZQ2R6yx1+EPNDfD3v/Rhtej3v9+crXDf2N7/fvKDtJw4f+5uCP8IXOfZidVysXoxgdf0A34VlrTPIZdlEFMcnn9QW+U2hy5kwV2Iqcq2MNnQGeUzDPcRJIK/nvWAMr51FRQW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0xtBaMBNIJdRgvmQfELVUaLF5QStV1ERtMPj+dUF3vo07bs429Gi/4WLCiTvAzdpesCOX/ZhAwAR2NZ6wxy2abM5ZOaNFRsQuEkOTV7vM3tPG37fVzdPKJKfLNgeYiFiUcTJ1SOcnu6uxi6SzcMnf8zgcsAFEzb0WZpBPGnNqP5Vcn4scFogc/iT3UBbdd8nVEBVYcnMlpYBkYDqOHwnoF6o62SXfzS1htNFhVMrC5iW6kpbbPRivOU6p7GaAB22BjNVZzmhFb3VjsLzYbxugn7C7ohkt21667OaENShGFD2lxapFATMbiHGMSyMKMF3srO0iyDpLunrpvuF6MB5DDMaLEgvFASoyymA9xrmihG2+Krt8l2NK1b4fp4dEEblVHLujRa2VTvXIU02iIy2my0hzzFfxiZAvBVHGe0VR0x/BhOq54JdmFdUhpNVmjzNdg5Ok5SKI4q2cyejLbNaL+P6/UxuG1kNACdw4wmOy5XRpv+1UNSTUbzp1jVYBP4yxm6y5x0zKSwJ6NV7ZdSJEYD0DnEaNML619Fb7TSELTkWmVLsawl+M3RzF3PtN5QCX/r68whyxCfMRqAjqHR5sik9RGKSmWUVLqhOIwrHKPmaqJhtXEdEGOFzVuz40MkO0ZvlG5E9lnMt6D0hsStf/OtRHLDaAAKNkZb3v5tjVP1GS0y1LKqrt8yrHDKr1DFZar3VHEj2zKauFTNZMun6PyB6jAagI7V6I0wLdVFFX2ca1UXpD80N+JeFqcKarrWP8theojFUSvTvcdqWoezuPdXrtK/bQEAE5/57Y2wo3O9rfCe2o27sIFvqgM0Ar+PZgBGA2gEjGYARgNoBIxmAEYDaASMZgBGA2gEjGYARgNoBIxmAEYDaASMZgBGA2gEjGbADwA0Q/2bi9EA4DxgNAA4DxgNAM4DRgOA84DRAOA8YDQAOA8YDQDOA0YDgPPwDwRAuxeFTDjxAAAAAElFTkSuQmCC" alt="" width="370" height="77" />

参考来源:

https://www.cnblogs.com/Look_Sun/p/4482103.html

用mobiscroll.js的treelist实现弹出下拉效果的更多相关文章

  1. Xamarin 自定义 ToolbarItem 溢出菜单实现(Popover/Popup) 弹出下拉效果

    使用  Rg.Plugins.Popup 插件 1.  新建 PopupMenu.xaml <?xml version="1.0" encoding="utf-8& ...

  2. IOS第二天-新浪微博 - 添加搜索框,弹出下拉菜单 ,代理的使用 ,HWTabBar.h(自定义TabBar)

    ********HWDiscoverViewController.m(发现) - (void)viewDidLoad { [super viewDidLoad]; // 创建搜索框对象 HWSearc ...

  3. JQuery autocomplete获得焦点触发弹出下拉框

    需求:autocomplete控件,当点击获得焦点的时候也要弹出下拉列表(autocomplete默认是输入之后才会跟随出下拉列表),下面直接贴代码. js代码: $("#customerN ...

  4. easyui combobox点击输入框弹出下拉框

    由于easyui combobox需要点击下拉箭头才能下拉,不能像select标签那样点击输入框就下拉,所以觉得不太方便,查看了一下,combobox弹出框是一个div,原本想在他的输入框的点击事件中 ...

  5. Extjs 弹出下拉Grid

    /** * 系统通用下拉选择Gird */ Ext.define("Common.picker.GridPicker", { extend: "Ext.form.fiel ...

  6. 【android开发】使用PopupWindow实现页面点击顶部弹出下拉菜单

    没有太多花样,也没有很复杂的技术,就是简单的PopupWindow的使用,可以实现点击弹出一个自定义的view,view里可以随便设计,常用的可以放一个listview. demo中我只是一个点击展示 ...

  7. 有序无序ul->li ol->li菜单,默认点击当前弹出下拉,再次点击收起下拉菜单

    实现这一效果利用css和js技术结合 以ul->li为例子 <!DOCTYPE html><html lang="en"><head> & ...

  8. 有序无序Ul->Li Ol->Li菜单,默认点击当前弹出下拉,再次点击收起下拉菜单(变形2 ---修饰)

    从上面可以看出,两个问题,第一:下拉出现的太快太突然,第二:再点击下一个下拉菜单的时候,上一个不会闭合,针对这两个问题,接下来会一 一解决. 解决下拉太快: js中有个jquery效果,有一个效果是j ...

  9. asp.net html 单击按钮弹出下拉框效果

    1.说明 需要引用jquery.js文件,我的页面是在asp.net MVC4 添加的web窗体,其他不多说 直接看代码 2.代码 <%@ Page Language="C#" ...

随机推荐

  1. tomcat+nginx实现均衡负载

    在项目运营时,我们都会遇到一个问题,项目需要更新时,我们可能需先暂时关闭下服务器来更新.但这可能会出现一些状况: 1.用户还在操作,被强迫终止了(我们可以看日志等没人操作的时候更新,但总可能会有万一) ...

  2. Python day1_Base1笔记

    1.helloworld print('helloword') 2.输入输出 a=input('Please input a value') print(a) 3.标识符 1.由字母数字下划线构成 2 ...

  3. Pg MySQL

    https://blog.csdn.net/tiandao2009/article/details/79839037 1架构 2对sql支持的完备性 3join Nest join , 4表分区  p ...

  4. django使用表单

    假设你想从表单接收用户名数据,一般情况下,你需要在HTML中手动编写一个如下的表单元素: <form action="/your-name/" method="po ...

  5. OpenModelica中simulate的用法

    先把官网上的说明文档放上来: simulate simulates a modelica model by generating c code, build it and run the simula ...

  6. 关于使用python.numpy的tips

    产生含有5个数字的随机向量时,注意写法 import numpy as np A=np.random.randn(5,1)   # 注意不要只写5  B=np.random.randn(5)与A不一样 ...

  7. ArcFace Android 人脸检测与人脸识别集成分享

    目前我们的应用内使用了 ArcFace 的人脸检测功能,其他的我们并不了解,所以这里就和大家分享一下我们的集成过程和一些使用心得集成ArcFace FD 的集成过程非常简单在 ArcFace FD 的 ...

  8. lua --- 用break实现continue逻辑

    循环中内嵌一个循环,然后将具体的逻辑放在内嵌循环中去处理,在内嵌循环的开始,添加一个判断语句,满足条件就跳出内嵌循环. 示例代码如下: tab = {,,,,} ,#tab do while true ...

  9. LeetCode--459--重复的字符串

    问题描述: 给定一个非空的字符串,判断它是否可以由它的一个子串重复多次构成.给定的字符串只含有小写英文字母,并且长度不超过10000. 示例 1: 输入: "abab" 输出: T ...

  10. android -------- Eclipse选择NDK路径时 “Not a valid NDK directory”

    在 Eclipse选择NDK路径时 出现 “Not a valid NDK directory”  这样的错误 解决方式1 在你安装的ndk的主目录下创建一个ndk-build空文件,然后重新打开对话 ...