Commit 038b2328 by zhuxiaomei

页面高度及颜色修改

parent f94d5ca0
......@@ -66,7 +66,7 @@
<div>产品:{{ item.product }}</div>
</div>
<template #right v-if="item.progress==='草稿'||item.progress==='审批驳回'">
<van-button square color="#75b7bd" text="提交 " class="swipe-cell-btn"
<van-button square type="primary" text="提交 " class="swipe-cell-btn"
@click="_submit([item.id])"></van-button>
<!-- <van-button square type="info" text="编辑" class="swipe-cell-btn"-->
<!-- @click="_edit(item)"></van-button>-->
......@@ -74,7 +74,7 @@
<!-- @click="_peopleManage(item)"></van-button>-->
<!-- <van-button square type="warning" text="管理地点" class="swipe-cell-btn"-->
<!-- @click="_locManage(item)"></van-button>-->
<van-button square type="warning" text="维护人员地点" class="swipe-cell-btn"
<van-button square type="info" text="维护人员地点" class="swipe-cell-btn"
@click="_maintain(item)"></van-button>
<van-button square type="danger" text="删除" class="swipe-cell-btn"
@click="_del([item.id])"></van-button>
......
......@@ -5,7 +5,7 @@
<van-step>维护人员地点</van-step>
<van-step>任务要求</van-step>
</van-steps>
<div v-if="active===0" style="height: calc(100% - 63px);overflow-y: auto">
<div v-if="active===0" style="overflow-y: auto" :style="contHeight">
<van-form @submit="onSubmit">
<van-field
v-model="formObj.name"
......@@ -149,7 +149,8 @@ export default {
announcementDate: '',
remark: ''
},
planId:''
planId:'',
contHeight:''
}
},
mounted() {
......@@ -159,9 +160,11 @@ export default {
_open() {
if (this.$route.query.id) {//编辑
this.id = this.$route.query.id
this.contHeight = {height: '100%' }
this._getData()
} else {
this.id = ''
this.contHeight = {height: ' calc(100% - 63px)'}
}
},
_getData: async function () {
......
......@@ -60,7 +60,7 @@
<div class="bottom-btn" style="position: fixed;bottom: 0">
<!-- <van-button type="info" block @click="_back">上一步</van-button>-->
<van-button type="info" block @click="_save">保存</van-button>
<van-button type="primary" block @click="_save">保存</van-button>
<van-button type="info" block @click="_submit">提交</van-button>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment