Commit d2e4e9e2 authored by xioln's avatar xioln

任务列表样式修改

parent 1078fd23
...@@ -18,6 +18,11 @@ ...@@ -18,6 +18,11 @@
:key="item.id" :key="item.id"
@click="goDetailsInfo(item)" @click="goDetailsInfo(item)"
> >
<div class="task-content">
<span v-for="(attr, i) in item.showTitle" :key="`attr_${i}`">
{{ attr.title }}
</span>
</div>
<div class="itemTitle"> <div class="itemTitle">
{{ item.name }} {{ item.name }}
<span class="time"> <span class="time">
...@@ -25,11 +30,6 @@ ...@@ -25,11 +30,6 @@
<van-icon name="arrow" /> <van-icon name="arrow" />
</span> </span>
</div> </div>
<div class="content">
<span v-for="(attr, i) in item.showTitle" :key="`attr_${i}`">
{{ attr.title }}
</span>
</div>
</div> </div>
</div> </div>
</template> </template>
...@@ -130,7 +130,6 @@ export default { ...@@ -130,7 +130,6 @@ export default {
max-height: 400px; max-height: 400px;
height: 100%; height: 100%;
.taskItem { .taskItem {
font-size: 16px;
color: #000000; color: #000000;
box-sizing: border-box; box-sizing: border-box;
border-bottom: 1px solid #e1e1e1; border-bottom: 1px solid #e1e1e1;
...@@ -140,6 +139,8 @@ export default { ...@@ -140,6 +139,8 @@ export default {
text-align: left; text-align: left;
display: flex; display: flex;
align-items: center; align-items: center;
color: #797979;
font-size: 14px;
.van-image__img { .van-image__img {
width: 30px; width: 30px;
...@@ -160,12 +161,12 @@ export default { ...@@ -160,12 +161,12 @@ export default {
} }
} }
.content { .task-content {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
font-size: 12px; font-size: 14px;
color: #797979; color: #000000;
.title { .title {
overflow: hidden; overflow: hidden;
...@@ -174,6 +175,7 @@ export default { ...@@ -174,6 +175,7 @@ export default {
flex: 2; flex: 2;
margin: 5px 0; margin: 5px 0;
text-align: left; text-align: left;
font-size: 14px;
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment