Commit 0ab323cf by cocomilk2012

update

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