注册修改为绑定
This commit is contained in:
@@ -18,6 +18,18 @@
|
||||
<view class="right-controls-container">
|
||||
<!-- 签到/签退按钮 -->
|
||||
<view class="auth-buttons">
|
||||
<!-- 绑定按钮 - 未绑定用户 -->
|
||||
<button
|
||||
wx:if="{{showRegisterButton}}"
|
||||
class="control-btn register-btn"
|
||||
bindtap="handleRegister"
|
||||
type="primary"
|
||||
size="mini"
|
||||
>
|
||||
<text class="btn-icon">📝</text>
|
||||
<text class="btn-text">绑定</text>
|
||||
</button>
|
||||
|
||||
<!-- 签到按钮 - 已授权用户 -->
|
||||
<button
|
||||
wx:if="{{showSignInButton}}"
|
||||
@@ -82,7 +94,7 @@
|
||||
<view class="user-info">
|
||||
<text class="user-name">{{userInfo.name || '未设置姓名'}}</text>
|
||||
<text class="user-id">ID: {{userInfo.id || '未获取'}}</text>
|
||||
<text class="user-phone">电话:{{userInfo.phone || '未设置'}}</text>
|
||||
<text class="user-phone">工号:{{userInfo.phone || '未设置'}}</text>
|
||||
<text class="user-role">角色:{{userInfo.role === 'ADMIN' ? '管理员' : '货运员'}}</text>
|
||||
</view>
|
||||
</view>
|
||||
@@ -228,7 +240,7 @@
|
||||
</view>
|
||||
<view class="person-info-header">
|
||||
<view class="modal-title">{{currentDeliveryPerson.name}}</view>
|
||||
<view class="modal-subtitle">电话:{{currentDeliveryPerson.phone}}</view>
|
||||
<view class="modal-subtitle">工号:{{currentDeliveryPerson.phone}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -236,7 +248,7 @@
|
||||
<!-- 基础信息区 - 始终可见 -->
|
||||
<view class="modal-basic-info">
|
||||
<view class="detail-item">
|
||||
<text class="detail-label">电话</text>
|
||||
<text class="detail-label">工号</text>
|
||||
<text class="detail-value">{{currentDeliveryPerson.phone}}</text>
|
||||
</view>
|
||||
<view class="detail-item">
|
||||
|
Reference in New Issue
Block a user