Compare commits

...

2 Commits

Author SHA1 Message Date
cd3ceb30ad Merge branch 'master' of http://118.178.224.202:3000/ewide/zsxt_nbzs_h5 2021-09-27 10:26:50 +08:00
2e3b8ce86e update:更新页面样式 2021-09-27 10:26:16 +08:00
11 changed files with 367 additions and 182 deletions

View File

@@ -6,9 +6,12 @@
<script> <script>
export default { export default {
name: 'App', name: "App"
}; };
</script> </script>
<style lang="less" scoped>
<style> #app {
font-family: PingFangSC-Regular, PingFang SC;
font-size: 14px;
}
</style> </style>

View File

@@ -3,11 +3,12 @@ import Router from "vue-router";
Vue.use(Router); Vue.use(Router);
export default new Router({ const router = new Router({
mode: "hash", mode: "hash",
routes: [{ routes: [{
path: "/index", path: "/index",
name: "index", name: "index",
meta: { index: 1, title: "征收信息查询" },
component: () => component: () =>
import ("../views") import ("../views")
}, },
@@ -21,6 +22,7 @@ export default new Router({
{ {
path: "/project-select", path: "/project-select",
name: "projectSelect", name: "projectSelect",
meta: { index: 2, title: "征收信息查询" },
component: () => component: () =>
import ("../views/project") import ("../views/project")
}, },
@@ -28,6 +30,7 @@ export default new Router({
{ {
path: "/report/evalute", path: "/report/evalute",
name: "evalute", name: "evalute",
meta: { index: 3, title: "评估结果" },
component: () => component: () =>
import ("../views/report/evalute") import ("../views/report/evalute")
}, },
@@ -35,6 +38,7 @@ export default new Router({
{ {
path: "/report/agreement", path: "/report/agreement",
name: "reportAgreement", name: "reportAgreement",
meta: { index: 4, title: "协议结果" },
component: () => component: () =>
import ("../views/report/agreement") import ("../views/report/agreement")
}, },
@@ -42,6 +46,7 @@ export default new Router({
{ {
path: "/showPdf", path: "/showPdf",
name: "showPdf", name: "showPdf",
meta: { index: 5, title: "协议详情" },
component: () => component: () =>
import ("../views/pdf/pdf") import ("../views/pdf/pdf")
}, },
@@ -49,6 +54,7 @@ export default new Router({
{ {
path: "/evaluatePage", path: "/evaluatePage",
name: "evaluatePage", name: "evaluatePage",
meta: { index: 6, title: "评估报告" },
component: () => component: () =>
import ("../views/report/evaluatePage") import ("../views/report/evaluatePage")
}, },
@@ -56,6 +62,7 @@ export default new Router({
{ {
path: "/evaluateResultPdf", path: "/evaluateResultPdf",
name: "evaluateResultPdf", name: "evaluateResultPdf",
meta: { index: 7, title: "评估报告" },
component: () => component: () =>
import ("../views/pdf/evaluateResultPdf") import ("../views/pdf/evaluateResultPdf")
}, },
@@ -63,8 +70,18 @@ export default new Router({
{ {
path: "/policyInfo", path: "/policyInfo",
name: "policyInfo", name: "policyInfo",
meta: { index: 8, title: "政策详情" },
component: () => component: () =>
import ("../views/policyInfo/policyInfo") import ("../views/policyInfo/policyInfo")
} }
] ]
}); });
router.beforeEach((to, from, next) => {
if (to.meta.title) {
document.title = to.meta.title;
}
next();
});
export default router;

View File

@@ -2,287 +2,295 @@
border-radius: 6px; border-radius: 6px;
background: #f2fbfd; background: #f2fbfd;
} }
.topBox { .topBox {
overflow: hidden; overflow: hidden;
width: 100%; width: 100%;
height: 225px; height: 225px;
background: url(../assets/img/bg.png); background: url(../assets/img/bg.png);
background-size: 100% 225px; background-size: 100% 225px;
} }
.titleBox { .titleBox {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
width: 173px; width: 173px;
height: 36px; height: 36px;
margin: 15px 0 15px 0; margin: 15px 0 15px 0;
border-radius: 0 22px 22px 0; border-radius: 0 22px 22px 0;
background: rgba(6, 63, 142, .66); background: rgba(6, 63, 142, 0.66);
} }
/* 第一行标题 */
.font { .font {
font-family: PingFangSC-Semibold, PingFang SC; font-family: PingFangSC-Semibold, PingFang SC;
font-size: 16px; font-size: 16px;
font-weight: 600; font-weight: 600;
line-height: 22px; line-height: 22px;
width: 167px; width: 167px;
height: 22px; height: 22px;
padding: 3px 7px 3px 7px; padding: 3px 7px 3px 7px;
text-align: center; text-align: center;
vertical-align: middle; vertical-align: middle;
color: #fff; color: #fff;
} }
.baseInfo { .baseInfo {
display: flex; display: flex;
} }
.baseImg { .baseImg {
width: 22px; width: 22px;
height: 21px; height: 21px;
padding-right: 10px; padding-right: 10px;
padding-left: 31px; padding-left: 31px;
} }
.baseFont { .baseFont {
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
font-size: 14px;
font-weight: 500; font-weight: 500;
line-height: 20px; line-height: 20px;
height: 20px; height: 20px;
color: #fff; color: #fff;
} }
.centerMagin { .centerMagin {
margin-top: 10px; margin-top: 10px;
margin-right: 12px; margin-right: 12px;
margin-left: 16px; margin-left: 10px;
} }
.gridBg { .gridBg {
display: flex; display: flex;
overflow: hidden; overflow: hidden;
align-items: center; align-items: center;
justify-content: space-around; justify-content: space-around;
height: 120px; height: 120px;
border-radius: 3px; border-radius: 3px;
background: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, 0.28);
} }
.gridImg { .gridImg {
display: flex; display: flex;
align-items: center; align-items: center;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
width: 90px; width: 90px;
height: 80px; height: 80px;
margin: 12px 6px; margin: 12px 6px;
padding-top: 5px; padding-top: 5px;
border-radius: 10px; border-radius: 10px;
} }
.gridImgBg { .gridImgBg {
width: 38px; width: 38px;
height: 35px; height: 35px;
} }
.bigImg { .bigImg {
width: 100%; width: 100%;
/* height: 91px; */ /* height: 91px; */
} }
.project { .project {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
width: 100%; width: 100%;
height: 41px; height: 41px;
padding-right: 0; padding-right: 0;
padding-left: 0; padding-left: 0;
background: url(../assets/img/project_bg.png); background: url(../assets/img/project_bg.png);
background-size: 100% 41px; background-size: 100% 41px;
} }
.projectIcon { .projectIcon {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
width: 40px; width: 40px;
height: 40px; height: 40px;
margin-right: 10px; margin-right: 10px;
border-radius: 5px 0 0; border-radius: 5px 0 0;
background: #3284cd; background: #3284cd;
} }
/* 项目名字 */
.projectTitle { .projectTitle {
font-family: PingFangSC-Semibold, font-family: PingFangSC-Semibold, PingFang SC;
PingFang SC;
font-size: 16px; font-size: 16px;
font-weight: 600; font-weight: 600;
line-height: 20px; line-height: 20px;
height: 20px; height: 20px;
vertical-align: middle; vertical-align: middle;
color: #fff; color: #fff;
} }
.projectRight { .projectRight {
display: flex; display: flex;
align-items: center; align-items: center;
height: 27px; height: 27px;
opacity: 0.82;
opacity: .82;
border-radius: 13px 0 0 17px; border-radius: 13px 0 0 17px;
background: #24bca3; background: #24bca3;
} }
/* 项目名字旁边小字 */
.projectRightFont { .projectRightFont {
font-family: PingFangSC-Semibold, font-family: PingFangSC-Semibold, PingFang SC;
PingFang SC;
font-size: 12px; font-size: 12px;
line-height: 14px; line-height: 14px;
padding-right: 5px; padding-right: 5px;
color: #fff; color: #fff;
} }
.projectRightIcon { .projectRightIcon {
width: 17px; width: 17px;
height: 17px; height: 17px;
margin-right: 3px; margin-right: 3px;
margin-left: 8px; margin-left: 8px;
} }
.projectCenter { .projectCenter {
/* height: 440px; */ /* height: 440px; */
padding-bottom: 35px; padding-bottom: 35px;
background: #fff; background: #fff;
box-shadow: 0 2px 6px 1px rgba(212, 212, 212, .5); box-shadow: 0 2px 6px 1px rgba(212, 212, 212, 0.5);
} }
.projectCenterBox { .projectCenterBox {
padding: 8px 0; padding: 8px 0;
} }
.projectCenterInfo { .projectCenterInfo {
display: flex; display: flex;
align-items: center; align-items: center;
padding-top: 5px; padding-top: 5px;
width: 100%;
} }
/* 项目内容小图标 */
.projectCenterImg { .projectCenterImg {
width: 15px; width: 15px;
height: 15px; height: 15px;
padding: 0 13px; padding: 0 10px;
} }
/* 项目内容文字 */
.projectCenterFont { .projectCenterFont {
font-family: PingFangSC-Regular, font-family: PingFangSC-Regular, PingFang SC;
PingFang SC; font-size: 14px;
font-size: 12px;
font-weight: 400; font-weight: 400;
line-height: 12px; line-height: 12px;
height: 12px; height: 12px;
color: #2c2b2b; color: #2c2b2b;
} }
.assess { .assess {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
width: 100%; width: 100%;
height: 25px; height: 25px;
padding-right: 0; padding-right: 0;
padding-left: 0; padding-left: 0;
} }
.assessIcon { .assessIcon {
width: 24px; width: 24px;
height: 24px; height: 24px;
margin-right: 10px; margin-right: 10px;
vertical-align: middle; vertical-align: middle;
background: #2468f2; background: #2468f2;
} }
/* 分户,协议标题 */
.assessTitle { .assessTitle {
font-family: PingFangSC-Regular, font-family: PingFangSC-Regular, PingFang SC;
PingFang SC; font-size: 16px;
font-size: 14px;
font-weight: 400; font-weight: 400;
line-height: 20px; line-height: 20px;
height: 20px; height: 20px;
color: #2468f2; color: #2468f2;
} }
.assessRightIcon { .assessRightIcon {
width: 24px; width: 24px;
height: 24px; height: 24px;
background: #2468f2; background: #2468f2;
} }
.assessBox { .assessBox {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
padding-top: 10px; padding-top: 10px;
padding-bottom: 10px; padding-bottom: 10px;
padding-left: 12px; padding-left: 12px;
} }
.assessCenter1 { .assessCenter1 {
margin: 15px; margin: 15px;
border-left: 2px solid #24bca3; border-left: 2px solid #24bca3;
} }
.assessCenter2 { .assessCenter2 {
margin: 15px; margin: 15px;
border-left: 2px solid #ff5959; border-left: 2px solid #ff5959;
} }
.protocolTitle {
overflow: hidden;
.protocolTitle {
/* overflow: hidden; */
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
/* 政策的发布时间和区域 */
.font11 { .font11 {
font-family: PingFangSC-Regular, font-family: PingFangSC-Regular, PingFang SC;
PingFang SC; font-size: 12px;
font-size: 11px;
font-weight: 400; font-weight: 400;
line-height: 11px; line-height: 11px;
height: 11px; height: 11px;
color: #9da2a3; color: #9da2a3;
} }
.protocolBox { .protocolBox {
border-radius: 4px; border-radius: 4px;
background: #fff; background: #fff;
box-shadow: 0 2px 5px 0 rgba(168, 168, 168, .5); box-shadow: 0 2px 5px 0 rgba(168, 168, 168, 0.5);
} }
.font14 {
font-family: PingFangSC-Regular,
PingFang SC; /* .font14 {
font-family: PingFangSC-Regular, PingFang SC;
font-size: 14px; font-size: 14px;
font-weight: 400; font-weight: 400;
line-height: 20px; line-height: 20px;
height: 20px; height: 20px;
color: #202020; color: #202020;
} } */
.protocolList { .protocolList {
padding: 20px 21px 0 20px; padding: 20px 21px 0 20px;
} }
.protocolLine { .protocolLine {
padding-bottom: 10px; padding-bottom: 10px;
border-bottom: 1px dashed rgba(168, 168, 168, 0.5);
border-bottom: 1px dashed rgba(168, 168, 168, .5);
} }

View File

@@ -20,7 +20,7 @@
class="baseImg" class="baseImg"
/> />
<span class="baseFont">身份证号码</span> <span class="baseFont">身份证号码</span>
<span class="baseFont">{{ data.idCard }}</span> <span class="baseFont">{{ setIdCard(data.idCard) }}</span>
</div> </div>
</div> </div>
<!-- 三张背景图 --> <!-- 三张背景图 -->
@@ -163,9 +163,7 @@
}}</span> }}</span>
</div> </div>
<div class="assessBox"> <div class="assessBox">
<span class="projectCenterFont" style="width: 40%" <span class="projectCenterFont">被征收房屋地址</span>
>被征收房屋地址</span
>
<span class="projectCenterFont protocolTitle"> <span class="projectCenterFont protocolTitle">
{{ assess.houseAddress }} {{ assess.houseAddress }}
</span> </span>
@@ -201,9 +199,7 @@
<span class="projectCenterFont">{{ protocol.xyNo }}</span> <span class="projectCenterFont">{{ protocol.xyNo }}</span>
</div> </div>
<div class="assessBox"> <div class="assessBox">
<span class="projectCenterFont" style="width: 40%" <span class="projectCenterFont">被征收房屋地址</span>
>被征收房屋地址</span
>
<span class="projectCenterFont protocolTitle"> <span class="projectCenterFont protocolTitle">
{{ protocol.houseAddress }} {{ protocol.houseAddress }}
</span> </span>
@@ -310,10 +306,40 @@ export default {
idCard: "加载中...", idCard: "加载中...",
userName: "加载中...", userName: "加载中...",
policiesRegulationsLists: { policiesRegulationsLists: {
totalCount: 0 totalCount: 0,
} list: [
{ title: "无数据", publicTime: "无数据", area: "无数据" },
{ title: "无数据", publicTime: "无数据", area: "无数据" },
{ title: "无数据", publicTime: "无数据", area: "无数据" }
]
}, },
ticket: "8a118a427bda7bed017c154e9225358c-ticket" prjList: [
{
name: "无数据",
currentState: "无数据",
area: "无数据",
zsbm: "无数据",
year: "无数据",
zsjdh: "无数据",
fhpgList: [
{
assessmentNo: "无数据",
houseAddress: "无数据",
countValue: "无数据"
}
],
bcxyList: [
{
xyNo: "无数据",
houseAddress: "无数据",
switchProductionWay: "无数据",
summationShouldCompensateMoney: "无数据"
}
]
}
]
},
ticket: "8a11884d7bda7a4c017c20a63f174601-ticket"
}; };
}, },
created() { created() {
@@ -356,6 +382,11 @@ export default {
} }
}); });
}, },
setIdCard(id) {
return id == "加载中..."
? id
: id.substr(0, 6) + "XXXXXXXX" + id.substr(14, 4);
},
// 跳转项目详情 // 跳转项目详情
gotoProject(type) { gotoProject(type) {
this.$router.push({ this.$router.push({

View File

@@ -1,5 +1,5 @@
<template> <template>
<div style="margin: 0 auto"> <div style="margin: 0 auto" class="container">
<el-button <el-button
type="primary" type="primary"
@click="testdownload4()" @click="testdownload4()"
@@ -24,6 +24,7 @@
<script> <script>
// import pdf from "vue-pdf"; // import pdf from "vue-pdf";
import $ from "jquery";
export default { export default {
components: {}, components: {},
data() { data() {
@@ -38,7 +39,18 @@ export default {
created() { created() {
this.onInit(); this.onInit();
}, },
mounted() {}, mounted() {
if (
650 >=
$(".container")
.css("height")
.substr(0, 5)
) {
$(".bottomContent").addClass("absolute");
} else {
$(".absolute").removeClass("absolute");
}
},
methods: { methods: {
onInit() { onInit() {
const result = JSON.parse(JSON.stringify(this.$store.state.info)); const result = JSON.parse(JSON.stringify(this.$store.state.info));
@@ -83,6 +95,10 @@ export default {
}; };
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.el-button {
height: 48px;
border-radius: 4px;
}
.content { .content {
text-align: center; text-align: center;
line-height: 200px; line-height: 200px;
@@ -103,9 +119,12 @@ export default {
margin: 0 auto; margin: 0 auto;
padding: 0; padding: 0;
} }
.bottomContent { .absolute {
position: absolute; position: absolute;
bottom: 10px; bottom: 0px;
}
.bottomContent {
margin-bottom: 10px;
text-align: center; text-align: center;
width: 100%; width: 100%;
font-size: 10px; font-size: 10px;

View File

@@ -1,5 +1,5 @@
<template> <template>
<div style="margin: 0 auto"> <div style="margin: 0 auto" class="container">
<el-button <el-button
type="primary" type="primary"
@click="testdownload4()" @click="testdownload4()"
@@ -25,6 +25,7 @@
<script> <script>
// import pdf from "vue-pdf"; // import pdf from "vue-pdf";
import { mgop } from "@aligov/jssdk-mgop"; import { mgop } from "@aligov/jssdk-mgop";
import $ from "jquery";
export default { export default {
components: {}, components: {},
data() { data() {
@@ -39,7 +40,18 @@ export default {
created() { created() {
this.onInit(); this.onInit();
}, },
mounted() {}, mounted() {
if (
650 >=
$(".container")
.css("height")
.substr(0, 5)
) {
$(".bottomContent").addClass("absolute");
} else {
$(".absolute").removeClass("absolute");
}
},
methods: { methods: {
onInit() { onInit() {
mgop({ mgop({
@@ -100,6 +112,10 @@ export default {
}; };
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.el-button {
height: 48px;
border-radius: 4px;
}
.content { .content {
text-align: center; text-align: center;
line-height: 200px; line-height: 200px;
@@ -120,9 +136,12 @@ export default {
margin: 0 auto; margin: 0 auto;
padding: 0; padding: 0;
} }
.bottomContent { .absolute {
position: absolute; position: absolute;
bottom: 10px; bottom: 0px;
}
.bottomContent {
margin-bottom: 10px;
text-align: center; text-align: center;
width: 100%; width: 100%;
font-size: 10px; font-size: 10px;

View File

@@ -17,7 +17,7 @@
<div> <div>
<span class="proCenterFont">身份证号</span> <span class="proCenterFont">身份证号</span>
<span class="proCenterFont" style="color:#626262;">{{ <span class="proCenterFont" style="color:#626262;">{{
info.idCard setIdCard(info.idCard)
}}</span> }}</span>
</div> </div>
</div> </div>
@@ -68,6 +68,7 @@
<script> <script>
import "./project.css"; import "./project.css";
import $ from "jquery";
export default { export default {
data() { data() {
return { return {
@@ -85,7 +86,9 @@ export default {
area: "无数据", area: "无数据",
currentState: "无数据", currentState: "无数据",
zsbm: "无数据", zsbm: "无数据",
year: "无数据" year: "无数据",
name: "无数据",
createRecordTime: "无数据"
} }
] ]
} }
@@ -94,6 +97,19 @@ export default {
created() { created() {
this.onInit(); this.onInit();
}, },
mounted() {
if (
650 >=
$(".container")
.css("height")
.substr(0, 5)
) {
$(".bottomContent").addClass("absolute");
$(".bottomContent").css("marginBottom", "0");
} else {
$(".absolute").removeClass("absolute");
}
},
methods: { methods: {
// 获取数据 // 获取数据
onInit() { onInit() {
@@ -106,6 +122,11 @@ export default {
JSON.stringify(this.$store.state.homeData.data.data) JSON.stringify(this.$store.state.homeData.data.data)
); );
}, },
setIdCard(id) {
return id == "无数据"
? id
: id.substr(0, 6) + "XXXXXXXX" + id.substr(14, 4);
},
// 页面跳转 // 页面跳转
gotoDetail(id) { gotoDetail(id) {
if (window.sessionStorage.getItem("type") == "pg") { if (window.sessionStorage.getItem("type") == "pg") {
@@ -131,6 +152,10 @@ export default {
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.container { .container {
.absolute {
position: absolute;
bottom: 10px;
}
.bottomContent { .bottomContent {
margin-bottom: 10px; margin-bottom: 10px;
text-align: center; text-align: center;

View File

@@ -1,79 +1,75 @@
.proTopBoxpg { .proTopBoxpg {
position: absolute; /* position: absolute; */
display: flex; display: flex;
justify-content: space-around; justify-content: space-around;
width: 94%; width: 94%;
height: 220px; height: 220px;
margin: 10px; margin: 10px;
background: url(../../assets/img/zspg.png); background: url(../../assets/img/zspg.png);
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 90px; background-size: 100% 90px;
} }
.proTopBoxxy {
position: absolute;
.proTopBoxxy {
/* position: absolute; */
display: flex; display: flex;
justify-content: space-around; justify-content: space-around;
width: 94%; width: 94%;
height: 220px; height: 220px;
margin: 10px; margin: 10px;
background: url(../../assets/img/zsxy.png); background: url(../../assets/img/zsxy.png);
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 90px; background-size: 100% 90px;
} }
.proCenterBox { .proCenterBox {
overflow: hidden; overflow: hidden;
width: 95%; width: 95%;
margin-top: 78px; margin-top: 78px;
border-radius: 6px; border-radius: 6px;
background: rgba(248, 253, 255, 1); background: rgba(248, 253, 255, 1);
box-shadow: 1px 1px 3px rgb(202, 201, 201); box-shadow: 1px 1px 3px rgb(202, 201, 201);
} }
.proList { .proList {
position: absolute; /* position: absolute; */
top: 230px; /* top: 230px; */
bottom: 0; bottom: 0;
overflow-y: scroll; overflow-y: scroll;
width: 100%; width: 100%;
} }
.proCenterInfo { .proCenterInfo {
display: flex; display: flex;
padding-top: 20px; padding-top: 20px;
} }
.proCenterImg { .proCenterImg {
width: 45px; width: 45px;
height: 45px; height: 45px;
padding-right: 10px; padding-right: 10px;
padding-left: 15px; padding-left: 15px;
} }
/* 协议签订阶段 */
.proCenterFont { .proCenterFont {
font-family: PingFangSC-Regular, font-family: PingFangSC-Regular, PingFang SC;
PingFang SC;
font-size: 14px; font-size: 14px;
font-weight: 500; font-weight: 500;
line-height: 25px; line-height: 25px;
height: 25px; height: 25px;
color: #09a4fa; color: #09a4fa;
} }
.proCenterFlex { .proCenterFlex {
display: flex; display: flex;
align-items: center; align-items: center;
flex-direction: column; flex-direction: column;
padding-top: 15px; padding-top: 15px;
} }
.proCenterFlexImg { .proCenterFlexImg {
width: 20px; width: 20px;
height: 12px; height: 12px;
@@ -81,71 +77,76 @@
padding-right: 10px; padding-right: 10px;
padding-left: 15px; padding-left: 15px;
} }
.proCenterFlexFont { .proCenterFlexFont {
font-family: PingFangSC-Regular, font-family: PingFangSC-Regular, PingFang SC;
PingFang SC;
font-size: 12px; font-size: 12px;
font-weight: 400; font-weight: 400;
line-height: 25px; line-height: 25px;
height: 25px; height: 25px;
color: #9da2a3; color: #9da2a3;
} }
.shadow { .shadow {
-webkit-box-shadow: rgb(189, 189, 189) 0 0 3px; -webkit-box-shadow: rgb(189, 189, 189) 0 0 3px;
-moz-box-shadow: rgb(189, 189, 189) 0 0 3px; -moz-box-shadow: rgb(189, 189, 189) 0 0 3px;
box-shadow: rgb(189, 189, 189) 0 0 3px; box-shadow: rgb(189, 189, 189) 0 0 3px;
} }
.proListBox { .proListBox {
height: 127px; height: 127px;
margin: 15px 20px; margin: 15px 20px;
border-radius: 3px; border-radius: 3px;
background-color: #fff; background-color: #fff;
} }
/* 项目名字 */
.proAreaBox { .proAreaBox {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
padding: 10px; padding: 10px;
font-size: 16px;
} }
/* 项目地区 */
.proArea { .proArea {
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 16px; font-size: 14px;
font-weight: 500; font-weight: 500;
line-height: 25px; line-height: 25px;
height: 25px; height: 25px;
padding: 3px 17px; padding: 3px 17px;
color: #fff; color: #fff;
border-radius: 4px; border-radius: 4px;
background: #09a4fa; background: #09a4fa;
} }
.proTitleBox { .proTitleBox {
font-family: PingFangSC-Regular, font-family: PingFangSC-Regular, PingFang SC;
PingFang SC;
font-size: 15px; font-size: 15px;
font-weight: 600; font-weight: 600;
line-height: 20px; line-height: 20px;
overflow: hidden; overflow: hidden;
height: 20px; height: 20px;
margin-left: 10px; margin-left: 10px;
padding-left: 7px; padding-left: 7px;
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
color: #252525; color: #252525;
border-left: 3px solid #09a4fa; border-left: 3px solid #09a4fa;
} }
/* 底部日期 */
.proDateBox { .proDateBox {
display: flex; display: flex;
flex-direction: row-reverse; flex-direction: row-reverse;
padding-right: 10px; padding-right: 10px;
font-size: 12px;
} }

View File

@@ -10,7 +10,7 @@
v-for="(item, index) in info.prjList.bcxyList" v-for="(item, index) in info.prjList.bcxyList"
class="content" class="content"
> >
<el-card body-style="padding:0 10px 0"> <el-card body-style="padding:0 4px 0">
<div> <div>
<img alt src="@/assets/img/bianhao.png" /> <img alt src="@/assets/img/bianhao.png" />
协议编号 协议编号
@@ -55,30 +55,45 @@
</template> </template>
<script> <script>
import { SetProjectId } from "@/common/util/tools"; import { SetProjectId } from "@/common/util/tools";
import $ from "jquery";
export default { export default {
data() { data() {
return { return {
info: { info: {
userName: "无数据", userName: "无数据",
prjList: [ prjList: {
{
bcxyList: [ bcxyList: [
{ {
houseAddress: "无数据", houseAddress: "无数据",
summationShouldCompensateMoney: "无数据", summationShouldCompensateMoney: "无数据",
date: "无数据" date: "无数据",
xyNo: "无数据",
switchProductionWay: "无数据",
countValue: "无数据",
signTime: "无数据"
} }
], ],
fhpgList: [{ countValue: "无数据", assessmentNo: "无数据" }] fhpgList: [{ countValue: "无数据", assessmentNo: "无数据" }]
} }
]
}, },
prjListLength: "" prjListLength: "0"
}; };
}, },
created() { created() {
this.onInit(); this.onInit();
}, },
mounted() {
if (
650 >=
$(".container")
.css("height")
.substr(0, 5)
) {
$(".bottomContent").addClass("absolute");
} else {
$(".absolute").removeClass("absolute");
}
},
methods: { methods: {
onInit() { onInit() {
if (!window.sessionStorage.getItem("projectId")) { if (!window.sessionStorage.getItem("projectId")) {
@@ -104,11 +119,11 @@ export default {
<style lang="less" scoped> <style lang="less" scoped>
.container { .container {
font-size: 12px; font-size: 14px;
position: relative;
.image { .image {
margin-top: 20px; margin-top: 20px;
text-align: center; text-align: center;
// height: 500px;
img { img {
width: 95%; width: 95%;
} }
@@ -122,14 +137,13 @@ export default {
.el-card { .el-card {
margin: 0 10px 10px; margin: 0 10px 10px;
.el-card__body { .el-card__body {
padding: 0 10px;
> div { > div {
margin: 14px 0; margin: 14px 0;
display: flex; display: flex;
align-items: center; align-items: center;
height: 20px; height: 20px;
b { b {
font-size: 14px; font-size: 16px;
} }
img { img {
margin-right: 6px; margin-right: 6px;
@@ -167,6 +181,10 @@ export default {
} }
} }
} }
.absolute {
position: absolute;
bottom: 0px;
}
.bottomContent { .bottomContent {
margin-bottom: 10px; margin-bottom: 10px;
text-align: center; text-align: center;

View File

@@ -65,26 +65,42 @@
</template> </template>
<script> <script>
import { mgop } from "@aligov/jssdk-mgop"; import { mgop } from "@aligov/jssdk-mgop";
import $ from "jquery";
export default { export default {
data() { data() {
return { return {
info: { info: {
houseAddress: "地址", houseAddress: "地址",
valuationMethodText: "价值录入", valuationMethodText: "价值录入",
assessmentNo: "无数据",
number: "0001", number: "0001",
housingAssessmentValue: "168612元", housingAssessmentValue: "",
countValue: "168612元", countValue: "",
attachedAssessedValue: "168612元", attachedAssessedValue: "",
decorateAssessedValue: "16861元", decorateAssessedValue: "",
exceedLandMoney: "报告录入", exceedLandMoney: "报告录入",
atticAssessedValue: "报告录入", atticAssessedValue: "报告录入",
remark: "Remark" remark: "Remark",
isExistPdf: true
} }
}; };
}, },
created() { created() {
this.getData(); this.getData();
}, },
mounted() {
if (
650 >=
$(".container")
.css("height")
.substr(0, 5)
) {
$(".bottomContent").addClass("absolute");
$(".bottomContent").css("marginBottom", "0");
} else {
$(".absolute").removeClass("absolute");
}
},
methods: { methods: {
// 获取数据 // 获取数据
getData() { getData() {
@@ -106,8 +122,12 @@ export default {
onSuccess: data => { onSuccess: data => {
this.$store.dispatch("GET_DATA", data); this.$store.dispatch("GET_DATA", data);
console.log("分户评估", data); console.log("分户评估", data);
if (data.data.success) {
const { data: res } = data.data; const { data: res } = data.data;
this.info = res; this.info = res;
} else {
return;
}
}, },
onFail: err => { onFail: err => {
console.log("请求失败", err); console.log("请求失败", err);
@@ -136,7 +156,8 @@ export default {
font-size: 14px; font-size: 14px;
.top { .top {
background-color: #eff2fa; background-color: #eff2fa;
padding: 10px 7%; padding: 10px 26px 10px 16px;
// height: 500px;
.evaluateNumber { .evaluateNumber {
> span { > span {
color: #3da4fc; color: #3da4fc;
@@ -178,9 +199,17 @@ export default {
display: flex; display: flex;
justify-content: center; justify-content: center;
margin-bottom: 20px; margin-bottom: 20px;
.el-button {
height: 48px;
font-size: 18px;
border-radius: 4px;
}
}
.absolute {
position: absolute;
bottom: 10px;
} }
.bottomContent { .bottomContent {
// position: absolute;
margin-bottom: 10px; margin-bottom: 10px;
text-align: center; text-align: center;
width: 100%; width: 100%;

View File

@@ -15,7 +15,7 @@
@click="pageJump(item.id, item.type)" @click="pageJump(item.id, item.type)"
> >
<div v-if="item.type === '1'"> <div v-if="item.type === '1'">
<el-card body-style="padding:10px"> <el-card body-style="padding:4px">
<div class="absolute"> <div class="absolute">
<span>住宅</span> <span>住宅</span>
</div> </div>
@@ -114,29 +114,43 @@
</template> </template>
<script> <script>
import { SetProjectId } from "@/common/util/tools"; import { SetProjectId } from "@/common/util/tools";
import $ from "jquery";
export default { export default {
data() { data() {
return { return {
info: { info: {
userName: "无数据", userName: "无数据",
prjList: [ prjList: {
{
fhpgList: [ fhpgList: [
{ {
assessmentNo: "无数据", assessmentNo: "无数据",
houseAddress: "无数据", houseAddress: "无数据",
countValue: "无数据" countValue: "无数据",
type: "2",
createUserName: "无数据",
createTime: "无数据"
} }
] ]
} }
]
}, },
prjListLength: "" prjListLength: "0"
}; };
}, },
created() { created() {
this.onInit(); this.onInit();
}, },
mounted() {
if (
650 >=
$(".container")
.css("height")
.substr(0, 5)
) {
$(".bottomContent").addClass("absoluteInfo");
} else {
$(".absoluteInfo").removeClass("absoluteInfo");
}
},
methods: { methods: {
// 获取数据 // 获取数据
onInit() { onInit() {
@@ -170,11 +184,11 @@ export default {
<style lang="less" scoped> <style lang="less" scoped>
.container { .container {
font-size: 12px; font-size: 14px;
position: relative;
.image { .image {
margin-top: 20px; margin-top: 20px;
text-align: center; text-align: center;
// height: 500px;
img { img {
width: 90%; width: 90%;
} }
@@ -187,11 +201,9 @@ export default {
} }
.title { .title {
margin: 10px 10px; margin: 10px 10px;
font-size: 14px;
height: 20px; height: 20px;
display: flex; display: flex;
align-items: center; align-items: center;
img { img {
margin-right: 7px; margin-right: 7px;
height: 100%; height: 100%;
@@ -201,9 +213,9 @@ export default {
margin: 0 10px 10px; margin: 0 10px 10px;
position: relative; position: relative;
.el-card__body { .el-card__body {
padding: 0 10px;
> div { > div {
margin: 14px 0; margin: 14px 0;
// line-height: 20px;
display: flex; display: flex;
align-items: center; align-items: center;
img { img {
@@ -232,8 +244,6 @@ export default {
margin: 0; margin: 0;
img { img {
width: 100%; width: 100%;
}
img {
height: 2px; height: 2px;
} }
} }
@@ -251,11 +261,16 @@ export default {
} }
span { span {
padding-right: 10px; padding-right: 10px;
font-size: 12px;
} }
} }
} }
} }
} }
.absoluteInfo {
position: absolute;
bottom: 0px;
}
.bottomContent { .bottomContent {
margin-top: 20px; margin-top: 20px;
margin-bottom: 10px; margin-bottom: 10px;