@@ -142,19 +141,22 @@ page {
width: 100%;
height: 420px;
background-image: url("https://cdn.cunwuyun.cn/wechat/biaopin/residentAssistant/content-top-bg.png");
- position: fixed;
- left: 0;
background-size: 100vw;
background-repeat: no-repeat;
- .search-content {
- padding: 32px;
- width: 100%;
- box-sizing: border-box;
- position: fixed;
- left: 0;
- z-index: 99;
- background: linear-gradient(to bottom, #D7EDFE, #EAF5FE);
- }
+ position: fixed;
+ left: 0;
+ }
+ .search-content {
+ padding: 32px;
+ width: 100%;
+ // background: linear-gradient(to bottom, #D7EDFE, #EAF5FE);
+ background-image: url("https://cdn.sinoecare.com/i/2024/07/15/6694f173557c9.png");
+ background-size: 100vw;
+ background-repeat: no-repeat;
+ box-sizing: border-box;
+ position: fixed;
+ left: 0;
+ z-index: 99;
}
.list-content {
width: 100%;
diff --git a/src/project/baiduAI/AppRecord/Detail.vue b/src/project/baiduAI/AppRecord/Detail.vue
index 5962e78..4f5badb 100644
--- a/src/project/baiduAI/AppRecord/Detail.vue
+++ b/src/project/baiduAI/AppRecord/Detail.vue
@@ -54,7 +54,8 @@ export default {
],
current: 1,
pages: 2,
- aiConfigId: ''
+ aiConfigId: '',
+ isFirst: true
}
},
computed: {
@@ -87,12 +88,16 @@ export default {
})
this.messageList = this.current == 1 ? res.data.records : [...res.data.records, ...this.messageList]
var idPage = res.data.records.length-1
- this.$nextTick(() => {
- uni.pageScrollTo({
- duration: 300,
- selector: this.current == 1 ? `.item${this.messageList.length-1}` : `.item${idPage}`
- });
- })
+ if(this.isFirst) { //初始化不下滑到最新页
+ this.isFirst = false
+ }else {
+ this.$nextTick(() => {
+ uni.pageScrollTo({
+ duration: 300,
+ selector: this.current == 1 ? `.item${this.messageList.length-1}` : `.item${idPage}`
+ });
+ })
+ }
this.pages = res.data.pages
this.$hideLoading()
}else {
diff --git a/src/project/weiyang/AppResidentFile/AppResidentFile.vue b/src/project/weiyang/AppResidentFile/AppResidentFile.vue
index 3377ffd..ad000fd 100644
--- a/src/project/weiyang/AppResidentFile/AppResidentFile.vue
+++ b/src/project/weiyang/AppResidentFile/AppResidentFile.vue
@@ -6,7 +6,7 @@
-
+
@@ -514,40 +514,15 @@ uni-page-body {
z-index: -1;
}
}
-
- .header-content-bg {
- width: 100%;
- position: relative;
- img {
- width: 100%;
- height: 592px;
- position: absolute;
- z-index: -1;
- }
- }
-
- .top-tabs {
- width: calc(100% - 64px);
- box-sizing: border-box;
- position: fixed;
- left: 32px;
- }
-
- ::v-deep .u-tabs {
- border-bottom: 1px solid #eee;
- border-top-left-radius: 16px;
- border-top-right-radius: 16px;
- }
-
.statistics-content {
padding-bottom: 216px;
- // .top-tabs {
- // padding: 32px;
- // box-sizing: border-box;
- // ::v-deep .u-tabs {
- // border-radius: 16px;
- // }
- // }
+ .top-tabs {
+ padding: 32px;
+ box-sizing: border-box;
+ ::v-deep .u-tabs {
+ border-radius: 16px;
+ }
+ }
.statistics-chart {
padding: 0 32px;
.statistics-num {