@@ -21,7 +21,7 @@
</view>
- <view class="task-card__actions" v-if="type==='action'">
+ <view class="task-card__actions" :class="{'flex-end':dataSource.task_status === '待处理'}" v-if="type==='action'">
<view class="start-btn" v-if="dataSource.task_status === '待处理'">
<u-button text="接收任务" size="mini" type="primary" @click="handleReceiveClick"></u-button>
@@ -239,10 +239,14 @@
&__actions {
padding: 0 20rpx;
+
+ &.flex-end {
+ text-align: right;
+ }
.start-btn {
display: inline-block;
- float: right;
+ // float: right;
}
.actions {