Commit 3cba115b by chenwq

调整试岗卡片样式,优化电话显示位置

1 parent 967b2eff
...@@ -65,20 +65,20 @@ ...@@ -65,20 +65,20 @@
<block wx:if="{{ trialOnboardingPlans.length }}"> <block wx:if="{{ trialOnboardingPlans.length }}">
<block wx:for="{{ trialOnboardingPlans }}" wx:key="index"> <block wx:for="{{ trialOnboardingPlans }}" wx:key="index">
<view class="card"> <view class="card">
<view class="card_top"> <view class="card_top white_bg">
<image class="user_icon" src="{{ IMG_URL }}staff-icon.png" mode="aspectFill" /> <image class="user_icon" src="{{ IMG_URL }}staff-icon.png" mode="aspectFill" />
<view class="user_info"> <view class="user_info">
<view class="user_top"> <view class="user_top">
<view class="name">{{item.personName }}</view> <view class="name">{{item.personName }}</view>
<view class="phone" data-phone="{{ item.phoneNumber }}" bind:tap="phoneCall">
<text class="phone_text"> {{ item.phoneNumber}}</text>
<image class="phone_icon" src="/packageWorkspace/pages/image/call-icon.png" mode="widthFix" />
</view>
<view class="tag tag-{{ item.processResult == null ? 'pending' : (item.processResult == 1 ? 'pass' : 'fail') }}"> <view class="tag tag-{{ item.processResult == null ? 'pending' : (item.processResult == 1 ? 'pass' : 'fail') }}">
{{ item.processResult == null ? '试岗中' : (item.processResult == 1 ? '通过' : '不通过') }} {{ item.processResult == null ? '试岗中' : (item.processResult == 1 ? '通过' : '不通过') }}
</view> </view>
</view> </view>
<view class="user_bottom"> <view class="user_bottom" style="gap: 0; margin-top: 0;">
<view class="phone" data-phone="{{ item.phoneNumber }}" bind:tap="phoneCall">
<text class="phone_text"> {{ item.phoneNumber}}</text>
<image class="phone_icon" src="/packageWorkspace/pages/image/call-icon.png" mode="widthFix" />
</view>
<view class="date">试岗时间: {{ item.onboardingDate}}</view> <view class="date">试岗时间: {{ item.onboardingDate}}</view>
</view> </view>
</view> </view>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!