| | |
| | | backgroundSize: 'cover' |
| | | }" |
| | | > |
| | | <div class="h-[120px] w-full"> |
| | | <!-- 建筑面积 --> |
| | | <div |
| | | class="w-full h-[50px] mb-[10px] flex items-center justify-evenly" |
| | |
| | | <div class="text-[24px] text-[#00FFFF] font-bold">2028-12-01</div> |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | <div class="w-[100%] h-[38%]"> |
| | | <!-- 项目名称 --> |
| | | <div |
| | | class="w-full h-[30px] mt-[20px] mb-[10px]" |
| | |
| | | <div class="text-white text-[14px] ml-[40px] leading-[35px]">项目名称:北京交通大学雄安校区</div> |
| | | </div> |
| | | |
| | | <div class="text-white text-[14px] tracking-[1px] leading-[24px]"> |
| | | <div class="text-white text-[14px] tracking-[1px] leading-[24px] h-[60px]"> |
| | | 北京交通大学雄安校区选址位于河北雄安新区第五组团及启动区。东至规划绿地、城市道路NB6,南至城市道路ED34、城市道路EA2,西至城市道路ND32、城市道路NA11,北至城市道路EA1。 |
| | | </div> |
| | | |
| | |
| | | alt="" |
| | | class="w-full h-[196px] mt-[20px]" |
| | | > |
| | | |
| | | </div> |
| | | <div class="w-[100%] h-[15%]"> |
| | | <!-- 参建单位 --> |
| | | <div |
| | | class="w-full h-[30px] mt-[20px] mb-[10px]" |
| | |
| | | > |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | <div class="chart-container"> |
| | | <!-- 表格搜索 --> |
| | | <div class="w-full flex items-center justify-between mb-[10px] mt-[20px]"> |
| | | <el-input |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | import { getProjectId, getToken } from "../utils/getToken.js"; |
| | | import { HomeAPI } from "../api/home"; |
| | | export default { |
| | | name: 'ProjectView', |
| | | data() { |
| | | return { |
| | | projectId: '', |
| | | searchText: '', |
| | | backgroundImage: new URL('@/assets/images/backgrounds/cover_bg.png', import.meta.url).href, |
| | | titleImage: new URL('@/assets/images/titles/xiangmu.png', import.meta.url).href, |
| | |
| | | ] |
| | | }; |
| | | }, |
| | | mounted() { |
| | | this.getProject(); |
| | | this.getParticipatingList(); |
| | | this.getParticipatingNumber(); |
| | | }, |
| | | methods: { |
| | | getProject() { |
| | | this.projectId = getProjectId(); |
| | | const data = { |
| | | "projectId": this.projectId |
| | | } |
| | | HomeAPI.GetProject(data).then(res => { |
| | | console.log(res); |
| | | if(res.Ret === 1) { |
| | | const result = res.Data |
| | | console.log(result); |
| | | } |
| | | |
| | | }); |
| | | }, |
| | | getParticipatingList() { |
| | | const data = { |
| | | "organizeId": this.projectId, |
| | | name: '' |
| | | } |
| | | HomeAPI.GetParticipatingList(data).then(res => { |
| | | console.log(res); |
| | | if(res.Ret === 1) { |
| | | const result = res.Data |
| | | console.log(result); |
| | | } |
| | | }); |
| | | }, |
| | | getParticipatingNumber() { |
| | | const data = { |
| | | "organizeId": this.projectId |
| | | } |
| | | HomeAPI.GetParticipatingNumber(data).then(res => { |
| | | console.log(res); |
| | | if(res.Ret === 1) { |
| | | const result = res.Data |
| | | console.log(result); |
| | | } |
| | | }); |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | |
| | |
| | | background: linear-gradient(180deg, #3068A5 0%, #1E4066 100%); |
| | | box-shadow: inset 0px 1px 0px 0px rgba(255,255,255,0.2); |
| | | } |
| | | .chart-container{ |
| | | width: 100%; |
| | | height: calc(40% - 180px); |
| | | } |
| | | </style> |