update;更新下拉刷新
This commit is contained in:
@@ -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();
|
||||
}
|
||||
};
|
||||
|
||||
@@ -108,7 +108,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<!-- 补偿协议部分 -->
|
||||
<div class="assess">
|
||||
<div class="assess2">
|
||||
<van-image :src="require('@/assets/img/assess_2.png')" />
|
||||
<span>补偿结果</span>
|
||||
</div>
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user