中心调研表样式更改

uat_us
caiyiling 2024-07-08 13:12:22 +08:00
parent 9ce1e569eb
commit c4381a0eb2
1 changed files with 44 additions and 18 deletions

View File

@ -15,24 +15,22 @@
<Notes ref="notes" class="mt5" /> <Notes ref="notes" class="mt5" />
</div> </div>
<div class="d_footer"> <div class="d_footer">
<!-- 保存 --> <div class="d_func_row">
<el-button <div
v-if="state === 0 && userTypeEnumInt === 0 " v-if="state === 0 && userTypeEnumInt === 0"
type="primary" class="d_func"
size="large"
@click="handleSave" @click="handleSave"
> >
{{ $t('common:button:save') }} {{ $t('common:button:save') }}
</el-button> </div>
<!-- 提交 --> <div
<el-button
v-if="(state === 0 && userTypeEnumInt === 0)" v-if="(state === 0 && userTypeEnumInt === 0)"
type="primary" class="d_func"
size="large"
@click="handleSubmit('submit')" @click="handleSubmit('submit')"
> >
{{ $t('trials:researchForm:button:submit') }} {{ $t('trials:researchForm:button:submit') }}
</el-button> </div>
</div>
</div> </div>
</div> </div>
</template> </template>
@ -185,6 +183,34 @@ export default {
text-align: center; text-align: center;
padding: 20px; padding: 20px;
} }
.d_func_row{
display: flex;
flex-direction: row;
justify-content: space-between;
}
.d_func{
flex: 1;
margin: 20px;
color: #fff;
background-color: #428bca;
border-color: #428bca;
padding: 12px 20px;
font-size: 14px;
border-radius: 4px;
transition: .1s;
font-weight: 500;
box-sizing: border-box;
outline: 0;
text-align: center;
line-height: 1;
white-space: nowrap;
cursor: pointer;
&:hover{
background: #68a2d5;
border-color: #68a2d5;
color: #fff;
}
}
.mt5{ .mt5{
margin-top: 5px margin-top: 5px
} }