按钮调整

This commit is contained in:
shijingjing
2022-03-24 14:43:08 +08:00
parent 41db227afa
commit cee2946842
2 changed files with 27 additions and 8 deletions

View File

@@ -121,7 +121,10 @@
<div style="height: 56px"></div> <div style="height: 56px"></div>
<div class="btn" @click="toResult">处理结果</div> <div class="btn" @click="toResult">
<span v-if="type==0">走访核实</span>
<span v-else>处理结果</span>
</div>
</div> </div>
</template> </template>
@@ -130,7 +133,7 @@
export default { export default {
data() { data() {
return { return {
type: 0,
} }
}, },
methods: { methods: {
@@ -254,6 +257,7 @@ export default {
background: #3192F4; background: #3192F4;
color: #FFF; color: #FFF;
z-index: 9; z-index: 9;
font-size: 32px;
} }
} }
</style> </style>

View File

@@ -3,7 +3,7 @@
<div class="type"> <div class="type">
<div class="left"> <div class="left">
<span>*</span><span>处理结果</span> <span>*</span><span v-if="type==0">处理意见</span><span v-else>处理结果</span>
</div> </div>
<div class="right"> <div class="right">
<AiSelect v-model="result" dict="" /> <AiSelect v-model="result" dict="" />
@@ -28,6 +28,10 @@
</div> </div>
</div> </div>
<div class="btn">
提交
</div>
</div> </div>
</template> </template>
@@ -36,12 +40,13 @@ export default {
data() { data() {
return { return {
result: '', result: '',
value: '' value: '',
type: 0
} }
}, },
methods: {}, methods: {},
onShow() { onShow() {
document.title = "处理结果" document.title = type==0? "处理意见":"处理结果"
} }
} }
</script> </script>
@@ -65,9 +70,6 @@ export default {
color: #333333; color: #333333;
} }
} }
.right {
}
} }
.remark, .remark,
.picture { .picture {
@@ -91,5 +93,18 @@ export default {
} }
} }
} }
.btn {
height: 112px;
line-height: 112px;
text-align: center;
background: #3192F4;
color: #FFF;
position: fixed;
bottom: 0;
left: 0;
width: 100%;
font-size: 32px;
}
} }
</style> </style>