Browse Source

样式修改

v4
lijun 1 year ago
parent
commit
a851e11801
  1. 54
      src/views/enforce/earlyWarning.vue
  2. 2
      src/views/enforce/sign.vue

54
src/views/enforce/earlyWarning.vue

@ -78,15 +78,16 @@
<div style="border-color: black;" class="van-hairline--bottom"></div> <div style="border-color: black;" class="van-hairline--bottom"></div>
<van-popup v-model:show="data.showNumPicker" position="bottom"> <van-popup v-model:show="data.showNumPicker" position="bottom">
<div style="display: flex; justify-content: space-evenly; padding: 40px"> <div class="count-inspect">
<van-field v-model="searchParam.numLeft" :style="{ border: '1px solid #ddd', borderRadius: '4px' }"/> 被检查次数:
<span style="padding: 10px">——</span> <van-field v-model="searchParam.numLeft" />
<van-field v-model="searchParam.numRight" :style="{ border: '1px solid #ddd', borderRadius: '4px' }"/> <span style="padding: 10px">-</span>
<van-field v-model="searchParam.numRight" />
</div> </div>
<div style="display: flex; justify-content: space-evenly;"> <div class="btn-bottom">
<van-button slot="button" type="primary" size="small" @click="confirmNum">确定</van-button> <van-button slot="button" type="primary" size="small" @click="confirmNum">确定</van-button>
<van-button slot="button" type="primary" size="small" @click="cancelNum">取消</van-button> <van-button slot="button" type="default" size="small" @click="cancelNum">取消</van-button>
</div> </div>
</van-popup> </van-popup>
</div> </div>
@ -836,6 +837,47 @@ export default {
min-width: 1.2rem; min-width: 1.2rem;
color: #323233; color: #323233;
} }
.count-inspect {
display: flex;
align-items: center;
justify-content: flex-start;
margin: 1% 5%;
width: 80%;
height: 3rem;
color: #666;
font-size: 0.35rem;
white-space: nowrap;
}
/deep/ .count-inspect .van-cell {
padding: 0;
}
/deep/ .count-inspect input.van-field__control {
padding: 0 0.2rem;
height: 0.8rem;
background: #fff;
border: 0.02667rem solid #ddd;
border-radius: 0.1rem;
}
/deep/ .count-inspect .van-cell:after {
border: 0;
}
.btn-bottom {
display: flex;
justify-content: center;
height: 2rem;
}
.btn-bottom .van-button {
margin: 2%;
width: 2rem;
height: 0.75rem;
border-radius: 0.5rem;
}
/**/ /**/
</style> </style>

2
src/views/enforce/sign.vue

@ -177,7 +177,7 @@
</div> </div>
</div> </div>
</div> </div>
<van-divider class="divdsty" />
<van-cell center title="委托执法"> <van-cell center title="委托执法">
<template #right-icon> <template #right-icon>
<van-switch v-model="data.auth_checked" @click="!data.auth_checked"/> <van-switch v-model="data.auth_checked" @click="!data.auth_checked"/>

Loading…
Cancel
Save