member.wxml 2.8 KB
<!-- 日期弹出层 -->
<view class="register">

  <view class="timewrap">

    <view class="detailhead">
      <view class="detailname {{timestate==1?'selactive':''}}" bindtap="seltime" data-id="1">选择时间</view>
      <view class="detailname {{timestate==2?'selactive':''}}" bindtap="seltime" data-id="2">选摄像头</view>

    </view>

    <!-- 开始时间和结束时间 -->

    <view class="timetwo">
      <view class="timebetin" bindtap="xuanshijan" data-time="1">

        <view class="timetop {{timesel==1?'seltimeactive':''}}">开始时间</view>
        <view class="timebottom {{timesel==1?'selnameactive':''}}">2019.01.09</view>
      </view>
      <view class="timebetin" bindtap="xuanshijan" data-time="2">

        <view class="timetop {{timesel==2?'seltimeactive':''}}">结束时间</view>
        <view class="timebottom {{timesel==2?'selnameactive':''}}">2019.01.09</view>
      </view>
    </view>

    <view class="timebox">
        <view class="timeboxitem">
            <view class="itemcontent">2017</view>
            <view class="itemcontent">01</view>
            <view class="itemcontent">01</view>
        </view>
    
    </view>
  </view>


</view>

<view class="detailhead">
  <view class="detailname {{state==1?'selactive':''}}" bindtap="selectshebei" data-id="1">人员状况</view>
  <view class="detailname {{state==2?'selactive':''}}" bindtap="selectshebei" data-id="2">进出水</view>

</view>


<!-- 人员状况 -->

<view class="peoplestate" wx:if="{{state==1}}">

  <view class="date">
    <view class="dateleft">
      <image src="/img/row.png"></image>
    </view>
    <view class="datetime">
      <view class="datesel">
        <picker mode="date" value="{{date}}" start="2015-09-01" end="2017-09-01" bindchange="bindstateDateChange" fields="month">
          <view class="picker">
            {{statedate}}
          </view>
        </picker>
      </view>

      <view class="datepic">
        <image src="/img/row.png"></image>
      </view>
    </view>

    <view class="dateright">
      <image src="/img/row.png"></image>
    </view>
  </view>

  <view class="shebeinum">
    <text class="she">人员进出信息</text>
  </view>

  <view class="containerzhe">
    <ec-canvas id="mychart-dom-line" canvas-id="mychart-line" ec="{{ ec1 }}"></ec-canvas>
  </view>

  <view class="datetime">{{showdate}}</view>


</view>

<!-- 进出流水 -->

<view class="lishui" wx:if="{{state==2}}">
  <view class="date">
    <view class="dateleft">
      <image src="/img/row.png"></image>
    </view>
    <view class="datetime">
      <view class="datesel">
        {{watertime}}
      </view>

      <view class="datepic">
        <image src="/img/row.png"></image>
      </view>
    </view>

    <view class="dateright">
      <image src="/img/row.png"></image>
    </view>
  </view>

</view>