提交app
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
<!-- 申请报告 -->
|
||||
<view v-show="curSub == 0">
|
||||
<!-- apply -->
|
||||
<Apply :navHeight="navHeight" />
|
||||
<Apply ref="applyRef" :navHeight="navHeight" />
|
||||
</view>
|
||||
|
||||
<!-- 申请记录 -->
|
||||
@@ -158,10 +158,10 @@ export default {
|
||||
.boundingClientRect((rect) => {
|
||||
//
|
||||
// #ifdef H5
|
||||
this.height = rect?.height + 115 || 0
|
||||
this.height = rect?.height + 180 || 0
|
||||
// #endif
|
||||
// #ifdef APP-PLUS
|
||||
this.height = rect?.height + 10 || 0
|
||||
this.height = rect?.height + 110 || 0
|
||||
// #endif
|
||||
})
|
||||
.exec()
|
||||
@@ -174,9 +174,11 @@ export default {
|
||||
this.store.reload()
|
||||
},
|
||||
async select(val) {
|
||||
setTimeout(() => {
|
||||
this.setHeight()
|
||||
}, 200)
|
||||
this.selectValue = val
|
||||
await this.init()
|
||||
this.setHeight()
|
||||
},
|
||||
|
||||
sectionChange(index) {
|
||||
@@ -270,6 +272,19 @@ export default {
|
||||
})
|
||||
})
|
||||
},
|
||||
// 刷新
|
||||
reload() {
|
||||
console.log(123, this.curSub)
|
||||
|
||||
switch (this.curSub) {
|
||||
case 0:
|
||||
this.$refs.applyRef.store.reload()
|
||||
break
|
||||
case 1:
|
||||
this.store && this.store.reload()
|
||||
break
|
||||
}
|
||||
},
|
||||
},
|
||||
watch: {},
|
||||
}
|
||||
@@ -340,4 +355,9 @@ export default {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
.segmented-control {
|
||||
flex: 1;
|
||||
margin-right: 24rpx;
|
||||
height: 60rpx;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user