Commit 0ab323cf by cocomilk2012

update

parent 913a7cf4
......@@ -95,6 +95,7 @@ export default class cityList extends Vue {
});
});
});
// Vue.$nextTick(callback)
setTimeout(() => {
this.loading = false;
}, 1000);
......
......@@ -8,24 +8,32 @@
<div class="fe-detial-bottom">
<div class="fe-detial-bottom-title">
<p>发包企业</p>
<p>任务名称</p>
<p>服务类别</p>
<p>发放时间</p>
<p>收款账户</p>
</div>
<div class="fe-detial-bottom-detial">
<p>{{ item.fullName }}</p>
<p>
{{
item.title.length > 24
? item.title.substring(0, 22) + "..."
: item.title
}}
</p>
</div>
<div class="fe-detial-bottom-title">
<p>服务类别</p>
<p>{{ item.description }}</p>
</div>
<div class="fe-detial-bottom-title">
<p>发放时间</p>
<p>{{ item.payTime }}</p>
</div>
<div class="fe-detial-bottom-title">
<p>收款账户</p>
<p>{{ item.banko }}</p>
</div>
<div class="fe-detial-bottom-title">
<p>任务名称</p>
<p>{{ item.title }}</p>
</div>
<div class="fe-detial-bottom-title">
<p>工作职责</p>
<p>{{ item.workDuty }}</p>
</div>
<div class="fe-detial-bottom-title">
<p>工作内容</p>
<p>{{ item.workDescription }}</p>
</div>
</div>
</div>
</template>
......@@ -63,9 +71,8 @@ export default class FlexEmployee extends Vue {
let task_info = localStorage.getItem("taskList");
if (task_info != null) {
let tasks = JSON.parse(task_info);
console.log(tasks.find((x: any) => x.id == id));
this.item = tasks.find((x: any) => x.id == id);
}
}
}
......@@ -103,21 +110,16 @@ export default class FlexEmployee extends Vue {
text-align: center;
margin-top: 10px;
}
.fe-detial-bottom {
display: flex;
justify-content: space-between;
margin-top: 20px;
}
.fe-detial-bottom-title p {
.fe-detial-bottom-title {
display: grid;
grid-template-columns: 70px auto;
justify-content: start;
p {
color: #5e6066;
font-size: 14px;
line-height: 30px;
}
.fe-detial-bottom-detial p {
color: #3d4047;
font-size: 14px;
line-height: 30px;
height: 30px;
text-align: right;
min-width: 100px;
}
}
</style>
\ No newline at end of file
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 sign in to comment