<view class="all-date">
  <view class="data-tier" catchTap="onClose"></view>
  <view class="date-header {{isShow?'showPop':''}}">
    <view>
      <view class="flex-box flex-v-ce shu" a:if="{{terr.length>1}}">
        <view a:for="{{terr}}" class="flex-box flex-v-ce flex-d-wrap" data-index="{{index}}" catchTap="activeItem" data-item="{{item}}">
          <image mode="scaleToFill" src="../../../image/right.png" style="width:20rpx;height:20rpx;margin:0 6rpx;" a:if="{{index!=0}}"/>
                {{item.name}}
        </view>
      </view>
      <scroll-view class="ul" scroll-y="{{true}}">
        <radio-group class="radio-group" onChange="radioChange">
          <view class="flex-box flex-v-ce li" a:for="{{rule_tree}}">
            <label class="flex-box flex-v-ce flex-1">
              <radio value="{{item}}" checked="{{item.checked}}" name="{{item.id}}"/>
              <image mode="scaleToFill" style="width:50rpx;height:50rpx; margin:0 10rpx;" src="../../../image/BM.png"/> {{item.name}}</label>
            <view class="xia" data-item="{{item}}" catchTap="openDown" a:if="{{item._child.length>0}}">| 下级</view>
          </view>
        </radio-group>
      </scroll-view>
    </view>
    <view class="flex-box date-btn">
      <view class="flex-1" catchTap="onClose">取消</view>
      <view class="flex-1" catchTap="onConfirm">确定</view>
    </view>
  </view>
  <view class="meng" catchTap="onClose"></view>
</view>