|
|
|
@ -5,13 +5,13 @@ |
|
|
|
<u-icon @click="openMenu(item, index)" class="mover" name="https://www.tall.wiki/staticrec/drag.svg" size="48"></u-icon> |
|
|
|
|
|
|
|
<view @click="openProject(item)" class="flex-1 px-3"> |
|
|
|
<view class="flex items-center mb-1"> |
|
|
|
<view class="flex items-center" :class="{'mb-1': index > 0}"> |
|
|
|
<view class="mr-2">{{ item.name }}</view> |
|
|
|
<!-- 状态 TODO:--> |
|
|
|
<view class="px-2 text-xs text-green-400 bg-green-100 rounded-full flex-shrink-0">进行中</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="flex items-center text-xs text-gray-400"> |
|
|
|
<view v-if="index > 0" class="flex items-center text-xs text-gray-400"> |
|
|
|
<view class="pr-2">{{ dayjs(+item.startTime).format('MM-DD HH:mm') }}</view> |
|
|
|
至 |
|
|
|
<view class="pl-2">{{ dayjs(+item.endTime).format('MM-DD HH:mm') }}</view> |
|
|
|
@ -166,9 +166,9 @@ function openMenu(project, index) { |
|
|
|
.workbench-btn { |
|
|
|
margin-right: 10px; |
|
|
|
width: 80px; |
|
|
|
height: 36px; |
|
|
|
line-height: 36px; |
|
|
|
border-radius: 18px; |
|
|
|
height: 30px; |
|
|
|
line-height: 30px; |
|
|
|
border-radius: 15px; |
|
|
|
overflow: hidden; |
|
|
|
border: 1px solid #2b85e4; |
|
|
|
background-color: #1890ff; |
|
|
|
|