|
@@ -1,88 +1,75 @@
|
|
|
<!--pages/xunjiancz/xunjiancz.wxml-->
|
|
|
<wxs src="../../base/subutil.wxs" module="tools" />
|
|
|
-<view class="container">
|
|
|
- <view class="xj_nav">
|
|
|
- <text class="nav_text1">安全管理</text>
|
|
|
- <text class="iconfont icon-dian"></text>
|
|
|
- <text class="nav_text2">饭店、小饮品店...</text>
|
|
|
- </view>
|
|
|
- <view class="txt_vi">
|
|
|
- <view class="txt" wx:for="{{listdata}}" wx:key="index" >
|
|
|
- <text class="{{hui}}" >{{item.info}}</text>
|
|
|
- <!-- <text class="{{hui}}">1、建立安全防火制度,明确防火责任人及其职责</text> -->
|
|
|
- <view class="iconfont icon-pinleishanchu"></view>
|
|
|
+<view class="container" >
|
|
|
+ <view wx:for="{{xunjianItems}}" wx:for-item="value">
|
|
|
+ <view class="xj_nav">
|
|
|
+ <text class="nav_text1">{{value[0][0]}}</text>
|
|
|
+ <text class="iconfont icon-dian"></text>
|
|
|
+ <text class="nav_text2">{{value[0][1]}}</text>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <view class="xj_nav">
|
|
|
- <text class="nav_text1">现场</text>
|
|
|
- <text class="iconfont icon-dian"></text>
|
|
|
- <text class="nav_text2">饭店、小饮品店...</text>
|
|
|
- </view>
|
|
|
- <view class="txt_vi">
|
|
|
- <view class="txt" wx:for="{{listdata2}}" wx:key="index" >
|
|
|
- <text class="{{hui}}" >{{item.info2}}</text>
|
|
|
- <!-- <text class="{{hui}}">1、建立安全防火制度,明确防火责任人及其职责</text> -->
|
|
|
- <view class="iconfont icon-pinleishanchu"></view>
|
|
|
+ <view class="txt_vi">
|
|
|
+ <view class="txt" wx:for="{{value[1]}}" wx:key="{{item.listid}}">
|
|
|
+ <text class="{{hui}}">{{item.info}}</text>
|
|
|
+ <view class="iconfont icon-pinleishanchu"></view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
-<!--底部菜单-->
|
|
|
- <view class="nav_bottom {{isFolded?'':'hide'}}">
|
|
|
+ <!--底部菜单-->
|
|
|
+ <view class="nav_bottom {{isFolded?'':'hide'}}">
|
|
|
<view class="nav_tit">
|
|
|
<label class="checkbox">
|
|
|
- <checkbox value="cb" checked="true"/>全选
|
|
|
+ <checkbox value="cb" checked="true" />全选
|
|
|
</label>
|
|
|
- <view class="iconfont icon-gengduo" bindtap='updown'>{{isFolded?'收起':'展开'}}</view>
|
|
|
+ <view class="iconfont icon-gengduo" bindtap='updown'>{{isFolded?'收起':'展开'}}</view>
|
|
|
<view class="delect">删除</view>
|
|
|
</view>
|
|
|
<view class="vi_txt">
|
|
|
<view class='navBox'>
|
|
|
<view class='titleBox' bindtap='titleClick' data-idx='0'>
|
|
|
- <text class="{{0 == currentIndex ? 'fontColorBox' : ''}}" >{{tools.sub(oneLL)}}</text>
|
|
|
- <hr class="{{0 == currentIndex ? 'lineBox' : 'notLineBox'}}" />
|
|
|
+ <text class="{{0 == currentIndex ? 'fontColorBox' : ''}}">{{tools.sub(oneLL)}}</text>
|
|
|
+ <hr class="{{0 == currentIndex ? 'lineBox' : 'notLineBox'}}" />
|
|
|
</view>
|
|
|
<view class='titleBox' bindtap='titleClick' data-idx='1'>
|
|
|
- <text class="{{1 == currentIndex ? 'fontColorBox1' : ''}}">{{tools.sub(twoL)}}</text>
|
|
|
- <hr class="{{1 == currentIndex ? 'lineBox' : 'notLineBox'}} " />
|
|
|
+ <text class="{{1 == currentIndex ? 'fontColorBox1' : ''}}">{{tools.sub(twoL)}}</text>
|
|
|
+ <hr class="{{1 == currentIndex ? 'lineBox' : 'notLineBox'}} " />
|
|
|
</view>
|
|
|
<view class='titleBox' bindtap='titleClick' data-idx='2'>
|
|
|
- <text class="{{2 == currentIndex ? 'fontColorBox1' : ''}}" style="padding: 5rpx 15rpx; background:#f94b0e ;color: white; border-radius: 15rpx;">{{tools.sub(threeL)}}</text>
|
|
|
- <hr class="{{2 == currentIndex ? 'lineBox' : 'notLineBox'}} " />
|
|
|
+ <text class="{{2 == currentIndex ? 'fontColorBox1' : ''}}" style="padding: 5rpx 15rpx; background:#f94b0e ;color: white; border-radius: 15rpx;">{{tools.sub(threeL)}}</text>
|
|
|
+ <hr class="{{2 == currentIndex ? 'lineBox' : 'notLineBox'}} " />
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <!-- 内容布局 -->
|
|
|
- <swiper class='swiperTtemBox' bindchange='pagechange' current='{{currentIndex}}' >
|
|
|
+ </view>
|
|
|
+ <!-- 内容布局 -->
|
|
|
+ <swiper class='swiperTtemBox' bindchange='pagechange' current='{{currentIndex}}'>
|
|
|
<swiper-item class='swiperTtemBox' data-swiper="0">
|
|
|
- <view class="tab_vi">
|
|
|
- <text wx:for="{{listdatachoose}}" wx:for-item="item" wx:for-index="index" wx:key="index" bindtap="change_color_1" data-index='{{index}}' class="{{myclick==index?selt:noselt}}" >{{index+1}}.{{item.text}}</text>
|
|
|
- </view>
|
|
|
+ <view class="tab_vi">
|
|
|
+ <text wx:for="{{items_first}}" wx:for-item="item" wx:for-index="index" wx:key="index" bindtap="change_color_1" data-busitemsid='{{item.busItemsId}}' class="{{myclick==item.busItemsId?selt:noselt}}">{{index+1}}.{{item.busItemsName}}</text>
|
|
|
+ </view>
|
|
|
</swiper-item>
|
|
|
<swiper-item class='swiperTtemBox' data-swiper="2">
|
|
|
<view class="tab_vi">
|
|
|
- <text wx:for="{{listdatachild}}" wx:for-item="item" wx:for-index="index2" wx:key="index2" bindtap="change_color_2" class="{{myclick2==index2?selt:noselt}}" data-index2='{{index2}}' >{{index2+1}}.{{item.text}}</text>
|
|
|
- </view>
|
|
|
+ <text wx:for="{{items_second}}" wx:for-item="item" wx:for-index="index2" wx:key="index2" bindtap="change_color_2" data-busitemsid='{{item.busItemsId}}' class="{{myclick2==item.busItemsId?selt:noselt}}" data-index2='{{index2}}'>{{index2+1}}.{{item.busItemsName}}</text>
|
|
|
+ </view>
|
|
|
</swiper-item>
|
|
|
<swiper-item class='swiperTtemBox' data-swiper="3">
|
|
|
<view class="tab_vi">
|
|
|
- <checkbox-group bindchange="checkboxChange">
|
|
|
- <label style="display: flex; padding:30rpx; border-bottom: 1rpx solid white;" wx:for="{{listdatachild2}}" wx:key="{{item.value}}">
|
|
|
- <view class="weui-cell__hd">
|
|
|
- <checkbox value="{{item.value}}" checked="{{item.choose}}"/>
|
|
|
+ <checkbox-group bindchange="checkboxChange">
|
|
|
+ <label style="display: flex; padding:30rpx; border-bottom: 1rpx solid white;" wx:for="{{items_third}}" wx:key="{{item.value}}">
|
|
|
+ <view class="weui-cell__hd">
|
|
|
+ <checkbox bindtap="checkThirdItem" data-busitemsid="{{item.busItemsId}}"
|
|
|
+ value="{{item.busItemsName}}" checked="{{item.checked}}" />
|
|
|
+ </view>
|
|
|
+ <view cclass="{{myclick3==item.busItemsId?selt:noselt}}">{{item.busItemsName}}</view>
|
|
|
+ </label>
|
|
|
+ </checkbox-group>
|
|
|
+ <view class="weui-cells weui-cells_after-title">
|
|
|
+
|
|
|
</view>
|
|
|
- <view cclass="{{myclick3==index3?selt:noselt}}">{{item.text}}</view>
|
|
|
- </label>
|
|
|
- </checkbox-group>
|
|
|
- <view class="weui-cells weui-cells_after-title">
|
|
|
-
|
|
|
- </view>
|
|
|
- </view>
|
|
|
+ </view>
|
|
|
</swiper-item>
|
|
|
- </swiper>
|
|
|
+ </swiper>
|
|
|
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <view class="float_btn iconfont" bindtap="bindViewXunJiancz">确定</view>
|
|
|
- <view class="float_btn iconfont icon-gongju-" style="bottom: 280rpx;" bindtap="bindViewXunJiancz"></view>
|
|
|
-</view>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+ </view>
|
|
|
+ <view class="float_btn iconfont" bindtap="bindViewXunJiancz">确定</view>
|
|
|
+ <view class="float_btn iconfont icon-gongju-" style="bottom: 280rpx;" bindtap="bindViewXunJiancz"></view>
|
|
|
+</view>
|