diff --git a/FrontCode2/sunshine_levy/src/App.vue b/FrontCode2/sunshine_levy/src/App.vue index aa3ad00..5c4affd 100644 --- a/FrontCode2/sunshine_levy/src/App.vue +++ b/FrontCode2/sunshine_levy/src/App.vue @@ -18,17 +18,12 @@ export default { }; }, mounted() { - let app = document.querySelector("#app"); - app.onclick = function(e) { - this.startValue = e.target.offsetTop; + document.body.ontouchstart = function(e) { + this.startValue = e.changedTouches[0].pageY; }; - app.ontouchend = function(e) { - this.endValue = e.target.offsetTop; - if ( - this.endValue - this.startValue > 0 || - app.offsetTop > 0 || - app.clientTop > 0 - ) { + document.body.ontouchend = function(e) { + this.endValue = e.changedTouches[0].pageY; + if (this.endValue - this.startValue > 0) { window.location.reload(); } }; diff --git a/FrontCode2/sunshine_levy/src/views/index.vue b/FrontCode2/sunshine_levy/src/views/index.vue index bad08a7..a39b8f6 100644 --- a/FrontCode2/sunshine_levy/src/views/index.vue +++ b/FrontCode2/sunshine_levy/src/views/index.vue @@ -108,7 +108,7 @@ -
+
补偿结果
@@ -213,6 +213,11 @@ export default { year: "无数据", zsjdh: "无数据", fhpgList: [ + { + assessmentNo: "宁波市房屋建设和建筑管理局办公室", + houseAddress: "宁波市房屋建设和建筑管理局办公室", + countValue: "无数据" + }, { assessmentNo: "宁波市房屋建设和建筑管理局办公室", houseAddress: "宁波市房屋建设和建筑管理局办公室", @@ -220,6 +225,12 @@ export default { } ], bcxyList: [ + { + xyNo: "无数据", + houseAddress: "宁波市房屋建设和建筑管理局办公室", + switchProductionWay: "无数据", + summationShouldCompensateMoney: "无数据" + }, { xyNo: "无数据", houseAddress: "宁波市房屋建设和建筑管理局办公室", @@ -606,7 +617,7 @@ export default { display: flex; align-items: center; height: 25px; - padding: 25px 10px; + padding: 25px 10px 0px; .van-image { width: 24px; height: 24px; @@ -621,7 +632,7 @@ export default { } } .assessCenter1 { - margin: 0px 22px; + margin: 25px 22px 22px; border-left: 2px solid #24bca3; font-weight: 400; > div { @@ -641,8 +652,26 @@ export default { margin: 15px 0; } } + .assess2 { + display: flex; + align-items: center; + height: 25px; + padding: 0px 10px 0px; + .van-image { + width: 24px; + height: 24px; + margin-right: 10px; + background: #2468f2; + } + span { + font-family: PingFangSC-Regular, PingFang SC; + font-size: 16px; + font-weight: 400; + color: #2468f2; + } + } .assessCenter2 { - margin: 0px 22px; + margin: 25px 22px 22px; border-left: 2px solid #ff5959; font-weight: 400; > div {