You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

106 lines
1.5 KiB

<template>
<view class="content">
<view class="content_item_box">
<view class="content_item">
<view class="">
任务名称:
</view>
<view class="">
{{list.taskType}}
</view>
</view>
<view class="content_item">
<view class="">
单位名称:
</view>
<view class="">
{{list.company.companyName}}
</view>
</view>
<view class="content_item">
<view class="">
协助机构:
</view>
<view class="">
<view class="" v-for="(item,k) in list.supervisors" :key="k">
{{item.name}}
</view>
</view>
</view>
</view>
</view>
</template>
<script>
export default {
props: ['cid'],
data() {
return {
list:{}
}
},
created() {
console.log(this.cid);
this.list=this.cid
},
methods: {
}
}
</script>
<style lang="scss">
.content {
height: 100%;
display: flex;
flex-direction: column;
padding: 0 20rpx;
.content_item_box {
flex: 1;
overflow: auto;
}
.content_item {
display: flex;
align-items: center;
padding: 20rpx 0;
view {
margin: 0 20rpx;
}
.input {
flex: 1;
height: 60rpx;
border: 2rpx solid #E4E7EC;
}
}
.button {
display: flex;
height: 150rpx;
}
.checkbox-group,
.radio-group {
flex: 1;
overflow: auto;
.checkbox,
.radio {
margin-bottom: 10rpx;
margin-right: 10rpx;
radio {
transform: scale(0.7);
}
}
}
}
</style>