|
@@ -1,7 +1,7 @@
|
|
|
<!--pages/clock/clock.wxml-->
|
|
<!--pages/clock/clock.wxml-->
|
|
|
<wxs src="./clock.wxs" module="clock"></wxs>
|
|
<wxs src="./clock.wxs" module="clock"></wxs>
|
|
|
<view class="container">
|
|
<view class="container">
|
|
|
- <view class="no-authentication" wx:if="{{approveStatus === 0}}">
|
|
|
|
|
|
|
+ <view class="no-authentication" wx:if="{{approveStatus === 2}}">
|
|
|
<view class="header">
|
|
<view class="header">
|
|
|
<image src="{{imgServerUrl}}/images/clock/clock-bg.png" class="no-authentication-bg" mode="widthFixed"></image>
|
|
<image src="{{imgServerUrl}}/images/clock/clock-bg.png" class="no-authentication-bg" mode="widthFixed"></image>
|
|
|
</view>
|
|
</view>
|
|
@@ -20,9 +20,9 @@
|
|
|
前往认证
|
|
前往认证
|
|
|
</navigator>
|
|
</navigator>
|
|
|
</view>
|
|
</view>
|
|
|
- <image src="{{imgServerUrl}}/images/clock/clock-video.png" class="video"></image>
|
|
|
|
|
|
|
+ <image bindtap="toRule" src="{{imgServerUrl}}/images/clock/clock-video.png" class="video"></image>
|
|
|
</view>
|
|
</view>
|
|
|
- <view class="no-pass" wx:elif="{{approveStatus === 2}}">
|
|
|
|
|
|
|
+ <view class="no-pass" wx:elif="{{approveStatus === 0}}">
|
|
|
<view class="header">
|
|
<view class="header">
|
|
|
<image src="{{imgServerUrl}}/images/clock/clock-bg.png" class="no-pass-bg" mode="widthFixed"></image>
|
|
<image src="{{imgServerUrl}}/images/clock/clock-bg.png" class="no-pass-bg" mode="widthFixed"></image>
|
|
|
</view>
|
|
</view>
|
|
@@ -36,7 +36,7 @@
|
|
|
前往认证
|
|
前往认证
|
|
|
</navigator>
|
|
</navigator>
|
|
|
</view>
|
|
</view>
|
|
|
- <image src="{{imgServerUrl}}/images/clock/clock-video.png" class="video"></image>
|
|
|
|
|
|
|
+ <image bindtap="toRule" src="{{imgServerUrl}}/images/clock/clock-video.png" class="video"></image>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="pass" wx:else>
|
|
<view class="pass" wx:else>
|
|
|
<view class="pass-header">
|
|
<view class="pass-header">
|
|
@@ -72,16 +72,16 @@
|
|
|
<text>上班打卡</text>
|
|
<text>上班打卡</text>
|
|
|
<view class="clock-time">
|
|
<view class="clock-time">
|
|
|
<image src="{{imgServerUrl}}/images/clock/clock-success-icon.png" wx:if="{{startPunch !== '未完成' }}"></image>
|
|
<image src="{{imgServerUrl}}/images/clock/clock-success-icon.png" wx:if="{{startPunch !== '未完成' }}"></image>
|
|
|
- <text class="status-text" wx:if="{{startPunch !== '未完成' }}">{{clock.formateHS(startPunch)}} 已打卡</text>
|
|
|
|
|
|
|
+ <text class="status-text" wx:if="{{startPunch !== '未完成' }}">{{clock.formateHS(startPunch)}} 已打卡</text>
|
|
|
<text class="status-text" wx:else>{{startPunch}}</text>
|
|
<text class="status-text" wx:else>{{startPunch}}</text>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="clock-out">
|
|
<view class="clock-out">
|
|
|
<text>上班打卡</text>
|
|
<text>上班打卡</text>
|
|
|
<view class="clock-time">
|
|
<view class="clock-time">
|
|
|
- <image src="{{imgServerUrl}}/images/clock/clock-success-icon.png" wx:if="{{endPunch !== '未完成' }}"></image>
|
|
|
|
|
- <text class="status-text" wx:if="{{endPunch !== '未完成' }}">{{clock.formateHS(endPunch)}} 已打卡</text>
|
|
|
|
|
- <text class="status-text" wx:else>{{endPunch}}</text>
|
|
|
|
|
|
|
+ <image src="{{imgServerUrl}}/images/clock/clock-success-icon.png" wx:if="{{endPunch !== '未完成' }}"></image>
|
|
|
|
|
+ <text class="status-text" wx:if="{{endPunch !== '未完成' }}">{{clock.formateHS(endPunch)}} 已打卡</text>
|
|
|
|
|
+ <text class="status-text" wx:else>{{endPunch}}</text>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
@@ -107,11 +107,22 @@
|
|
|
<view class="prepayable">
|
|
<view class="prepayable">
|
|
|
<text>当日可预支工资:</text>
|
|
<text>当日可预支工资:</text>
|
|
|
<view>
|
|
<view>
|
|
|
- <text class="prepayable-number">37.0</text>
|
|
|
|
|
|
|
+ <text class="prepayable-number">{{clock.toFixed(todayMoney)}}</text>
|
|
|
<text class="prepayable-unit">元</text>
|
|
<text class="prepayable-unit">元</text>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
- <image src="{{imgServerUrl}}/images/clock/clock-video-home.png" class="video"></image>
|
|
|
|
|
|
|
+ <image bindtap="toRule" src="{{imgServerUrl}}/images/clock/clock-video.png" class="video"></image>
|
|
|
|
|
+ </view>
|
|
|
|
|
+</view>
|
|
|
|
|
+<view class="cover" hidden="{{showCover}}" bindtap="changeCoverStatus">
|
|
|
|
|
+ <view class="cover-kefu">
|
|
|
|
|
+ <view class="cover-kefu-title">开心工作客服电话</view>
|
|
|
|
|
+ <view class="cover-kefu-number">400-692-0099</view>
|
|
|
|
|
+ <view class="cover-kefu-tips">在线时间:每天8:00-21:00</view>
|
|
|
|
|
+ <view class="cover-kefu-button" bindtap="callKefu">
|
|
|
|
|
+ <image src="{{imgServerUrl}}/images/clock/clock-phone-call.png"></image>
|
|
|
|
|
+ <text>一键拨号</text>
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|