diff --git a/src/components/hzwlComponents/phone/PhoneScroll.vue b/src/components/hzwlComponents/phone/PhoneScroll.vue
index 8cbd30c10..632ccc387 100644
--- a/src/components/hzwlComponents/phone/PhoneScroll.vue
+++ b/src/components/hzwlComponents/phone/PhoneScroll.vue
@@ -17,17 +17,6 @@
-
- 加载中...
-
@@ -40,12 +29,23 @@
color="#3170A8"
style="text-align: center"
>加载中...
-
+
已加载全部数据
+
+
+ 加载中...
@@ -129,6 +129,10 @@ export default {
},
watch: {
data() {
+ if (this.data.length === 0) {
+ this.scrollTo(0,0)
+ this.isEmpty = true
+ }
this.refreshScroll()
}
},
@@ -191,6 +195,7 @@ export default {
// 下拉刷新回调
async pullingDownHandler () {
this.showPullDownText('pullDownLoading')
+ this.hidePullUpText()
// 从第一页获取数据
await this.getDataHandler(1)
@@ -201,8 +206,7 @@ export default {
},
showPullUpText () {
- this.isEmpty = false
- this.isShowAll = false
+ this.hidePullUpText()
if (this.data.length === 0) {
this.isEmpty = true
} else {
@@ -211,6 +215,10 @@ export default {
}
}
},
+ hidePullUpText () {
+ this.isEmpty = false
+ this.isShowAll = false
+ },
showPullDownText (key) {
this.isEnterThreshold = false
this.isLeaveThreshold = false
diff --git a/src/pages/phone/databaseSearch/index.vue b/src/pages/phone/databaseSearch/index.vue
new file mode 100644
index 000000000..62353cf64
--- /dev/null
+++ b/src/pages/phone/databaseSearch/index.vue
@@ -0,0 +1,241 @@
+
+
+
+
+ <
+ 全库搜索
+
+
+
+ 搜索
+
+
+
+
+
+
+
+
+
+
+
标准类别:
+ 国内标准
+ 海外标准
+ 企业标准
+
+
发布日期: {{item.issue_time}}
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/phone/domesticStand/index.vue b/src/pages/phone/domesticStand/index.vue
index de1706dbe..aab90e329 100644
--- a/src/pages/phone/domesticStand/index.vue
+++ b/src/pages/phone/domesticStand/index.vue
@@ -183,10 +183,10 @@ export default {
methods: {
onSearch () {
this.list = []
- this.searchQuery.page = 1
- // 返回顶部
- this.$refs.scroll.scrollTo(0, 0)
- this.getData()
+ // this.searchQuery.page = 1
+ // // 返回顶部
+ // this.$refs.scroll.scrollTo(0, 0)
+ this.getData(1)
},
getData (page) {
switch (this.$route.query.standType) {
diff --git a/src/pages/phone/standDynamics/components/DataCenter.vue b/src/pages/phone/standDynamics/components/DataCenter.vue
index 090e5c156..0a18981ce 100644
--- a/src/pages/phone/standDynamics/components/DataCenter.vue
+++ b/src/pages/phone/standDynamics/components/DataCenter.vue
@@ -67,8 +67,8 @@ export default {
setChecked (currentData) {
this.currentSearch = currentData
this.searchQuery.treeId = currentData.id || ''
- this.searchQuery.page = 1
- this.getData()
+ this.list = []
+ this.getData(1)
},
getData (page) {
return new Promise((resolve, reject) => {
diff --git a/src/pages/phone/standDynamics/components/folderPopup.vue b/src/pages/phone/standDynamics/components/folderPopup.vue
index 7f3d5f023..e5e4c5042 100644
--- a/src/pages/phone/standDynamics/components/folderPopup.vue
+++ b/src/pages/phone/standDynamics/components/folderPopup.vue
@@ -4,7 +4,8 @@
:style="{ height: '100%', width: '90%' }"
round
:close-on-click-overlay="false"
- @click-overlay="handleCancel">
+ @click-overlay="handleCancel"
+ get-container="body">