Administrator 2 năm trước cách đây
mục cha
commit
c0759069b1
1 tập tin đã thay đổi với 42 bổ sung39 xóa
  1. 42 39
      pages/xunjiancz/xunjiancz.wxml

+ 42 - 39
pages/xunjiancz/xunjiancz.wxml

@@ -1,5 +1,5 @@
 <!--pages/xunjiancz/xunjiancz.wxml-->
-<wxs src="../../base/subutil.wxs" module="tools" />
+<wxs src="../../wxs/subutil.wxs" module="tools" />
 <view class="container">
   <view class="xj_nav">
     <text class="nav_text1">安全管理</text>
@@ -7,8 +7,8 @@
     <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>
+     <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>
@@ -19,67 +19,70 @@
     <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>
+     <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>
   </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="{{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>
         </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="{{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>
         </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}}" />
-                </view>
-                <view cclass="{{myclick3==index3?selt:noselt}}">{{item.text}}</view>
-              </label>
-            </checkbox-group>
-            <view class="weui-cells weui-cells_after-title">
-
+          <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}}"/>
             </view>
-          </view>
+            <view cclass="{{myclick3==index3?selt:noselt}}">{{item.text}}</view>
+          </label>
+        </checkbox-group>
+      <view class="weui-cells weui-cells_after-title">
+        
+      </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>
+
+
+