update:更新下拉刷新
This commit is contained in:
@@ -11,10 +11,20 @@
|
||||
<script>
|
||||
export default {
|
||||
name: "App",
|
||||
data() {
|
||||
return {
|
||||
startValue: "",
|
||||
endValue: ""
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
let app = document.querySelector("#app");
|
||||
app.ontouchend = function() {
|
||||
if (app.offsetTop > 0) {
|
||||
app.onclick = function(e) {
|
||||
this.startValue = e.target.offsetTop;
|
||||
};
|
||||
app.ontouchend = function(e) {
|
||||
this.endValue = e.target.offsetTop;
|
||||
if (this.endValue - this.startValue > 0) {
|
||||
window.location.reload();
|
||||
}
|
||||
};
|
||||
|
||||
@@ -43,6 +43,7 @@ export default {
|
||||
this.pic_height = "100%";
|
||||
this.isloading = false;
|
||||
} else {
|
||||
this.isloading = false;
|
||||
let code = [6001, 6501];
|
||||
if (code.indexOf(result.data.bizCode) != "-1") {
|
||||
this.$message({
|
||||
|
||||
@@ -59,6 +59,7 @@ export default {
|
||||
this.pic_height = "100%";
|
||||
this.isloading = false;
|
||||
} else {
|
||||
this.isloading = false;
|
||||
let code = [6001, 6501];
|
||||
if (code.indexOf(result.data.bizCode) != "-1") {
|
||||
this.$message({
|
||||
|
||||
@@ -66,7 +66,6 @@
|
||||
</template>
|
||||
<script>
|
||||
import { mgop } from "@aligov/jssdk-mgop";
|
||||
import $ from "jquery";
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
@@ -179,20 +178,20 @@ export default {
|
||||
height: 20px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
> span {
|
||||
max-width: 50%;
|
||||
}
|
||||
align-items: flex-start;
|
||||
> div {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 100%;
|
||||
width: 50%;
|
||||
|
||||
img {
|
||||
height: 100%;
|
||||
margin-right: 10px;
|
||||
}
|
||||
span {
|
||||
white-space: nowrap;
|
||||
margin-right: 10px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="container">
|
||||
<div class="image">
|
||||
<img alt src="@/assets/img/evaluate.png" />
|
||||
<img src="@/assets/img/evaluate.png" />
|
||||
</div>
|
||||
<div class="text">为您查询到{{ prjListLength }}条结果</div>
|
||||
<!-- 标题区 -->
|
||||
@@ -29,9 +29,9 @@
|
||||
被征收人姓名:
|
||||
<b>{{ info.userName }}</b>
|
||||
</div>
|
||||
<div>
|
||||
<div class="address">
|
||||
<img alt src="@/assets/img/address.png" />
|
||||
被征收人房屋地址:
|
||||
<span>被征收人房屋地址:</span>
|
||||
<b>{{ item.houseAddress }}</b>
|
||||
</div>
|
||||
<div>
|
||||
@@ -81,9 +81,9 @@
|
||||
被征收人姓名:
|
||||
<b>{{ info.userName }}</b>
|
||||
</div>
|
||||
<div>
|
||||
<div class="address">
|
||||
<img alt src="@/assets/img/address.png" />
|
||||
被征收人房屋地址:
|
||||
<span>被征收人房屋地址:</span>
|
||||
<b>{{ item.houseAddress }}</b>
|
||||
</div>
|
||||
<div>
|
||||
@@ -204,7 +204,7 @@ export default {
|
||||
text-align: center;
|
||||
padding-top: 10px;
|
||||
img {
|
||||
width: 330px;
|
||||
width: 95%;
|
||||
}
|
||||
}
|
||||
.text {
|
||||
@@ -238,10 +238,13 @@ export default {
|
||||
margin-right: 6px;
|
||||
width: 20px;
|
||||
}
|
||||
b {
|
||||
max-width: 50%;
|
||||
span {
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
.address {
|
||||
align-items: flex-start;
|
||||
}
|
||||
.absolute {
|
||||
background-color: #f7be24;
|
||||
position: absolute;
|
||||
|
||||
Reference in New Issue
Block a user