钉钉小程序-三级联动选择地区组件

钉钉小程序三级联动
上次发布的钉钉小程序三级联动,在真机上测试不管用,自己写了个组件
1.select.axml

<view class="scroll-item">
	<view class="xuan_top">
		<view a:for="{
    { list_type }}" data-city="{
    {item.num}}" class="{
    { xuan == index ? 'active' : '' }}" a:if="{
    { xuan >= index }}" data-type = "{
    {index}}" onTap="nav_typ">
			{
  {item.text}}
		view>
	view>
	<scroll-view scroll-y="{
    {true}}" class="xuan_bottom" scroll-top="{
    { backTop }}">
		<view class="view" a:for="{
    {list1}}" onTap="citys" data-text="{
    {item.name}}" data-index="{
    {  index }}">{
  {item.name}}view>
	scroll-view>
view>

2.select.acss

.scroll-item{
   
	

你可能感兴趣的:(前端,小程序)