diff --git a/src/views/driverCaseList/driverCaseList.vue b/src/views/driverCaseList/driverCaseList.vue index c90d989c..19590aa8 100644 --- a/src/views/driverCaseList/driverCaseList.vue +++ b/src/views/driverCaseList/driverCaseList.vue @@ -11,25 +11,26 @@ @click-left="goBack" /> -
-
- {{ item.name }} +
+
+
+ {{ item.name }} +
+
{{item}}
- - - -
+ > +
@@ -48,8 +49,13 @@
+ + -
提交
+
+
提交
+
+
@@ -89,8 +95,6 @@ export default { }, }, async mounted() { - /* let token = localStorage.getItem('token'); - this.$notify(token);*/ const urlParams = new URLSearchParams(window.location.search); this.driverId = urlParams.get('driverId'); // this.driverId = 78948; @@ -98,15 +102,22 @@ export default { await this.getList() }, methods:{ + async onLoad(){ + console.log('onLoadonLoadonLoadonLoadonLoad') + /*this.pageNum++; + await this.getList() + this.loading = false; + if (this.pageList.length >= this.total) { + this.finished = true; + }*/ + }, async clickHandle(index){ this.monthIndex=index await this.getList() this.submitData=[] }, onRefresh() { - this.pageNum=1; - // this.getDriverList() setTimeout(() => { this.$toast('刷新成功'); this.isLoading = false; @@ -220,6 +231,7 @@ export default { .wrap{ @include wh(100%,100%); box-sizing: border-box; + overflow-y: auto; } .navBar{ margin-bottom: 46px; @@ -232,6 +244,9 @@ export default { @include flexColAround(); padding: 2px 0 10px 0; @include bgFontColor(#FFFFFF,#101011); + position: fixed; + width: 100%; + z-index: 111; div { padding-top: 8px; @include colorOpa(#FFFFFF,0.5); @@ -258,6 +273,10 @@ export default { display: flex; justify-content: center; align-items: center; + position: fixed; + width: 100%; + z-index: 111; + top: 84px; span{ display: inline-block; @include wh(102px,25px); @@ -277,14 +296,16 @@ export default { /*::v-deep .van-pull-refresh{ height: calc(100% - 91px) ; }*/ -.firstpullRefresh{ +/*.firstpullRefresh{ height: calc(100% - 140px) ; } .secondpullRefresh{ height: calc(100% - 91px) ; -} +}*/ .listWrap{ - @include wh(100%,100%); + //@include wh(100%,100%); + width: 100%; + height: calc(100% - 50px); box-sizing: border-box; padding: 0px 7px 10px 8px; overflow-y: auto; @@ -325,10 +346,19 @@ export default { } } } +.submitBtnWrap{ + background-color: #F4F5F7; + height: 50px; + width: 100%; + position: fixed; + bottom: 10px; + @include flexTwoCenter; +} .submitBtn{ - position: absolute; - bottom: 15px; - margin:20px 0 10px 6%; + //position: absolute; + //position:; + //bottom: 15px; + //margin:20px 0 10px 6%; border-radius: 4px; text-align: center; @include bgFontColor(#FFFFFF,#333333);