公共样式调整

szh-new
lijingjia 6 months ago
parent e9b27d473e
commit 3cf36aface

@ -5,7 +5,7 @@
--> -->
<template> <template>
<div class="cost-action-bar"> <div class="cost-action-bar">
<a-button type="link" size="mini" v-repeat @click="addRow"> <a-button type="link" size="mini" @click="addRow">
<span class="iconfont icon-tianjia" :style="{ fontSize: '12px' }"></span> <span class="iconfont icon-tianjia" :style="{ fontSize: '12px' }"></span>
添加 添加
</a-button> </a-button>
@ -138,7 +138,6 @@
const toFeeTemDrawer = ref(null) const toFeeTemDrawer = ref(null)
// //
const addRow = () => { const addRow = () => {
console.log(1)
const deepCopyRow = JSON.parse(JSON.stringify(props.row)) const deepCopyRow = JSON.parse(JSON.stringify(props.row))
props.data.push(deepCopyRow) props.data.push(deepCopyRow)
} }

@ -571,7 +571,7 @@
// //
const revoke = (ids) => { const revoke = (ids) => {
loading.value = true loading.value = true
Withdraw(ids).then(res => { Withdraw({ ids }).then(res => {
loading.value = false loading.value = false
createMessage.success(res.message) createMessage.success(res.message)
init() init()
@ -719,7 +719,7 @@
} }
}) })
// //
init() // init()
}) })
watchEffect(() => { watchEffect(() => {
// //

@ -53,3 +53,17 @@
.ant-modal { .ant-modal {
top: 30px!important; top: 30px!important;
} }
// 自定义最小输入框
.ant-form-small {
.ant-input-affix-wrapper-sm, .ant-select-selector {
height: 28px!important;
.ant-select-selection-item {
line-height: 26px!important;
}
}
.ant-picker-small {
height: 28px;
width: 100%;
}
}

@ -69,6 +69,9 @@ h5 {
line-height: 22px; line-height: 22px;
font-size: 12px; font-size: 12px;
color: #262626; color: #262626;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
} }
} }
} }

@ -71,7 +71,7 @@ service.interceptors.response.use(
return response return response
} else if (!res.succeeded) { } else if (!res.succeeded) {
$message.error(res.message || UNKNOWN_ERROR) $message.error(res.message || UNKNOWN_ERROR)
return response // return response
// // Illegal token // // Illegal token
// if (res.code === 11001 || res.code === 11002) { // if (res.code === 11001 || res.code === 11002) {
// window.localStorage.clear(); // window.localStorage.clear();

@ -580,6 +580,7 @@
labelWidth: 80, labelWidth: 80,
schemas: basicInfoFormSchema, schemas: basicInfoFormSchema,
showActionButtonGroup: false, showActionButtonGroup: false,
size: 'small'
}) })
const emit = defineEmits(['handleSaveService', 'editLineName', 'changeDetail']) const emit = defineEmits(['handleSaveService', 'editLineName', 'changeDetail'])
let { ctx: that, proxy }: any = getCurrentInstance() let { ctx: that, proxy }: any = getCurrentInstance()

@ -653,6 +653,7 @@
labelWidth: 80, labelWidth: 80,
schemas: cargoInfoFormSchema1, schemas: cargoInfoFormSchema1,
showActionButtonGroup: false, showActionButtonGroup: false,
size: 'small'
}) })
const [ const [
registerForm2, registerForm2,
@ -667,6 +668,7 @@
schemas: cargoInfoFormSchema2, schemas: cargoInfoFormSchema2,
showActionButtonGroup: false, showActionButtonGroup: false,
submitFunc: submit, submitFunc: submit,
size: 'small'
}) })
// const [ // const [
// registerForm3, // registerForm3,

@ -1152,6 +1152,7 @@
labelWidth: 80, labelWidth: 80,
schemas: mailingInfoFormSchemaL, schemas: mailingInfoFormSchemaL,
showActionButtonGroup: false, showActionButtonGroup: false,
size: 'small'
}) })
const [ const [
registerFormR, registerFormR,
@ -1167,6 +1168,7 @@
labelWidth: 80, labelWidth: 80,
schemas: mailingInfoFormSchemaR, schemas: mailingInfoFormSchemaR,
showActionButtonGroup: false, showActionButtonGroup: false,
size: 'small'
}) })
let { ctx: that, proxy }: any = getCurrentInstance() let { ctx: that, proxy }: any = getCurrentInstance()
const showKey = ref(['1']) const showKey = ref(['1'])

@ -1270,7 +1270,7 @@
color: #666; color: #666;
height: 20px; height: 20px;
cursor: pointer; cursor: pointer;
color: black; color: #262626;
background: #fff; background: #fff;
.iconfont { .iconfont {

@ -3,7 +3,7 @@
overflow: hidden; overflow: hidden;
} }
/deep/ .from-label label { /deep/ .from-label label {
color: black; color: #262626;
} }
.from-box { .from-box {
border-bottom: 1px dashed #ccc; border-bottom: 1px dashed #ccc;

@ -89,7 +89,7 @@
padding-bottom: 10px; padding-bottom: 10px;
} }
.bill-info /deep/ label{ .bill-info /deep/ label{
color: black; color: #262626;
} }
.bill-info-box{ .bill-info-box{
/deep/ .ant-row{ /deep/ .ant-row{

@ -250,41 +250,3 @@
right: 0 !important; right: 0 !important;
} }
} }
/deep/ .has-success .ant-select-selection-selected-value {
padding-right: 0 !important;
}
/deep/ .has-error .ant-select-selection-selected-value {
padding-right: 0 !important;
}
/deep/ .has-success .ant-select-arrow {
right: 8px !important;
}
/deep/ .has-error .ant-select-arrow {
right: 8px !important;
}
/deep/ .ant-select-selection__clear {
right: 10px !important;
margin-top: -4px !important;
}
/deep/ form .has-feedback :not(.ant-input-group-addon) > .ant-select .ant-select-selection__clear {
right: 10px !important;
margin-top: -4px !important;
}
/deep/ form .has-feedback .ant-input-affix-wrapper .ant-input-suffix {
right: 0px !important;
padding-right: 10px;
}
/deep/ form .has-feedback .ant-calendar-picker-icon,
form .has-feedback .ant-time-picker-icon,
form .has-feedback .ant-calendar-picker-clear,
form .has-feedback .ant-time-picker-clear {
right: 10px !important;
}
/deep/ .ant-collapse-header {
padding: 4px 10px !important;
}

@ -52,50 +52,6 @@
} }
} }
// .ant-calendar-picker-input{
// padding: 0 4px;
// }
// .ant-calendar-range-picker-input{
// height: 24px;
// font-size: 12px;
// vertical-align: top;
// text-align: center;
// // background: #f99;
// }
// .ant-select-auto-complete.ant-select .ant-input{
// height: 28px !important;
// // padding-top: 4px !important;
// background: #f99 !important;
// }
.ant-input-affix-wrapper .ant-input:not(:last-child) {
height: 24px !important;
// margin-top: 4px !important;
// background: #9f9 !important;
}
.ant-select-selection {
height: 24px !important;
// margin-top: 4px !important;
// background: #f00 !important;
}
.ant-input:placeholder-shown {
height: 24px !important;
// margin-top: 4px !important;
// background: #99f !important;
}
.ant-calendar-picker-input.ant-input {
height: 24px !important;
// margin-top: 4px !important;
}
.ant-form-item-label {
// line-height: 30px !important;
// border: 1px solid #f00;
}
.ant-form-item-control-wrapper {
// border: 1px solid #f99;
// height: 30px;
// vertical-align: top;
// padding: 0;
}
.left-box { .left-box {
// padding-top: 60px; // padding-top: 60px;
} }
@ -110,42 +66,6 @@
background: #fff; background: #fff;
transition: 0.5s all; transition: 0.5s all;
} }
/deep/ form .has-success .ant-input {
padding-right: 0 !important;
}
/deep/ form .has-error .ant-input {
padding-right: 0 !important;
}
/deep/ form .has-success .ant-calendar-picker-input {
padding-right: 0 !important;
}
/deep/ form .has-feedback .ant-input {
padding-right: 10px !important;
}
/deep/ .ant-select-selection__clear {
// margin-top: -3px !important;
// right: 16px !important;
}
/deep/ form .has-feedback > .ant-select .ant-select-arrow,
form .has-feedback > .ant-select .ant-select-selection__clear,
form .has-feedback :not(.ant-input-group-addon) > .ant-select .ant-select-arrow,
form .has-feedback :not(.ant-input-group-addon) > .ant-select .ant-select-selection__clear {
right: 9px !important;
}
/deep/ form .has-feedback .ant-input-affix-wrapper .ant-input-suffix {
right: 0px !important;
}
// /deep/ form .has-feedback .ant-calendar-picker-icon,
// form .has-feedback .ant-time-picker-icon,
// form .has-feedback .ant-calendar-picker-clear,
// form .has-feedback .ant-time-picker-clear {
// right: 0px !important;
// }
// === 0217更新样式 === // === 0217更新样式 ===
.booking-detail { .booking-detail {

@ -381,19 +381,6 @@
} }
} }
/deep/ .has-success .ant-select-selection-selected-value {
padding-right: 0 !important;
}
/deep/ .has-error .ant-select-selection-selected-value {
padding-right: 0 !important;
}
/deep/ .has-success .ant-select-arrow {
right: 8px !important;
}
/deep/ .has-error .ant-select-arrow {
right: 8px !important;
}
.text-entry-box { .text-entry-box {
.tit { .tit {
@ -427,43 +414,7 @@
} }
} }
} }
/deep/ .ant-select-selection__clear {
right: 10px !important;
margin-top: -6px !important;
}
/deep/ form .has-feedback :not(.ant-input-group-addon) > .ant-select .ant-select-selection__clear {
right: 10px !important;
margin-top: -6px !important;
}
/deep/ form .has-feedback .ant-input-affix-wrapper .ant-input-suffix {
right: 0px !important;
padding-right: 10px;
}
/deep/ form .has-feedback .ant-calendar-picker-icon,
form .has-feedback .ant-time-picker-icon,
form .has-feedback .ant-calendar-picker-clear,
form .has-feedback .ant-time-picker-clear {
right: 10px !important;
}
// .has-error.has-feedback{
.pkgs-line-box {
/deep/ .ant-form-item-children-icon {
right: 18px !important;
}
}
.kgs-line-box {
/deep/ .ant-form-item-children-icon {
right: 44px !important;
}
}
.cbm-line-box {
/deep/ .ant-form-item-children-icon {
right: 48px !important;
}
}
.right-content-top { .right-content-top {
padding-bottom: 4px; padding-bottom: 4px;
@ -480,50 +431,3 @@ form .has-feedback .ant-time-picker-clear {
border-bottom: 1px dashed #ddd; border-bottom: 1px dashed #ddd;
} }
} }
/deep/ .ant-input-suffix {
color: rgba(0, 0, 0, 0.25);
// display: none;
}
/deep/ .ant-input-affix-wrapper:hover {
.ant-input-suffix {
display: block;
}
}
/deep/ .ant-calendar-picker-clear {
color: rgba(0, 0, 0, 0.25) !important;
}
/deep/ .ant-collapse-header {
padding: 4px 10px !important;
}
/deep/ .ant-collapse-content-box {
padding-top: 4px !important;
padding-block: 0 !important;
}
.right-content {
padding-bottom: 5px;
/deep/ .ant-form-item-label {
height: 28px !important;
line-height: 28px !important;
// border: 1px solid #f00;
}
/deep/ .ant-form-item-control {
// height:36px !important;
line-height: 36px !important;
}
}
/deep/ .ant-calendar-picker-input {
height: 24px !important;
// margin-top: 4px !important;
}
/deep/ .right-content[data-v-27167ea2] .ant-form-item-control,
.right-content[data-v-27167ea2] .ant-form-item-label {
height: 36px !important;
line-height: 36px !important;
}

@ -65,7 +65,7 @@
font-size: 14px; font-size: 14px;
color: #666; color: #666;
cursor: pointer; cursor: pointer;
color: black; color: #262626;
background: #fff; background: #fff;
.iconfont { .iconfont {
font-size: 16px; font-size: 16px;
@ -116,7 +116,7 @@
cursor: not-allowed !important; cursor: not-allowed !important;
} }
&.inLoad button:hover { &.inLoad button:hover {
color: black !important; color: #262626 !important;
} }
} }
.single-view-4 { .single-view-4 {

Loading…
Cancel
Save