|
@@ -54,13 +54,19 @@ export default {
|
|
|
// 单选
|
|
|
active: 0,
|
|
|
// 反馈类型
|
|
|
- typeOptions: [],
|
|
|
+ typeOptions: []
|
|
|
}
|
|
|
},
|
|
|
onLoad() {
|
|
|
+ this.getList()
|
|
|
+ },
|
|
|
+ onReady() {
|
|
|
// 背景改色
|
|
|
document.querySelector('body').setAttribute('style', 'background-color:#FFF;')
|
|
|
- this.getList()
|
|
|
+ // 全局顶部动态高度
|
|
|
+ this.$nextTick(() => {
|
|
|
+ document.getElementsByClassName('app-container')[0].style = this.$el.clientHeight > uni.getSystemInfoSync().safeArea.height ? '' : 'height: 100%'
|
|
|
+ })
|
|
|
},
|
|
|
methods: {
|
|
|
// 反馈类型
|
|
@@ -130,16 +136,10 @@ export default {
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
-uni-page-body {
|
|
|
- background-color: #FFF;
|
|
|
-}
|
|
|
-
|
|
|
.app-container {
|
|
|
- background-color: #FFF;
|
|
|
color: #353535;
|
|
|
position: relative;
|
|
|
}
|
|
|
-
|
|
|
.radio-list {
|
|
|
margin-top: 20px;
|
|
|
|
|
@@ -212,7 +212,7 @@ textarea {
|
|
|
width: 100%;
|
|
|
position: absolute;
|
|
|
left: 0;
|
|
|
- bottom: 0;
|
|
|
+ bottom: 20px;
|
|
|
|
|
|
button {
|
|
|
width: 400rpx;
|