样式优化
This commit is contained in:
parent
676edb43bd
commit
59e5b61c81
|
|
@ -8,20 +8,34 @@ export {}
|
||||||
declare module 'vue' {
|
declare module 'vue' {
|
||||||
export interface GlobalComponents {
|
export interface GlobalComponents {
|
||||||
Breadcrumb: typeof import('./src/components/Breadcrumb/index.vue')['default']
|
Breadcrumb: typeof import('./src/components/Breadcrumb/index.vue')['default']
|
||||||
|
ElBadge: typeof import('element-plus/es')['ElBadge']
|
||||||
|
ElBreadcrumb: typeof import('element-plus/es')['ElBreadcrumb']
|
||||||
|
ElBreadcrumbItem: typeof import('element-plus/es')['ElBreadcrumbItem']
|
||||||
ElButton: typeof import('element-plus/es')['ElButton']
|
ElButton: typeof import('element-plus/es')['ElButton']
|
||||||
|
ElCarousel: typeof import('element-plus/es')['ElCarousel']
|
||||||
|
ElCarouselItem: typeof import('element-plus/es')['ElCarouselItem']
|
||||||
ElCascader: typeof import('element-plus/es')['ElCascader']
|
ElCascader: typeof import('element-plus/es')['ElCascader']
|
||||||
|
ElCheckbox: typeof import('element-plus/es')['ElCheckbox']
|
||||||
ElCol: typeof import('element-plus/es')['ElCol']
|
ElCol: typeof import('element-plus/es')['ElCol']
|
||||||
|
ElConfigProvider: typeof import('element-plus/es')['ElConfigProvider']
|
||||||
|
ElCountdown: typeof import('element-plus/es')['ElCountdown']
|
||||||
ElDatePicker: typeof import('element-plus/es')['ElDatePicker']
|
ElDatePicker: typeof import('element-plus/es')['ElDatePicker']
|
||||||
ElDialog: typeof import('element-plus/es')['ElDialog']
|
ElDialog: typeof import('element-plus/es')['ElDialog']
|
||||||
|
ElEmpty: typeof import('element-plus/es')['ElEmpty']
|
||||||
ElForm: typeof import('element-plus/es')['ElForm']
|
ElForm: typeof import('element-plus/es')['ElForm']
|
||||||
ElFormItem: typeof import('element-plus/es')['ElFormItem']
|
ElFormItem: typeof import('element-plus/es')['ElFormItem']
|
||||||
ElIcon: typeof import('element-plus/es')['ElIcon']
|
ElIcon: typeof import('element-plus/es')['ElIcon']
|
||||||
ElImage: typeof import('element-plus/es')['ElImage']
|
ElImage: typeof import('element-plus/es')['ElImage']
|
||||||
ElInput: typeof import('element-plus/es')['ElInput']
|
ElInput: typeof import('element-plus/es')['ElInput']
|
||||||
|
ElInputNumber: typeof import('element-plus/es')['ElInputNumber']
|
||||||
ElMenu: typeof import('element-plus/es')['ElMenu']
|
ElMenu: typeof import('element-plus/es')['ElMenu']
|
||||||
ElMenuItem: typeof import('element-plus/es')['ElMenuItem']
|
ElMenuItem: typeof import('element-plus/es')['ElMenuItem']
|
||||||
ElOption: typeof import('element-plus/es')['ElOption']
|
ElOption: typeof import('element-plus/es')['ElOption']
|
||||||
ElPagination: typeof import('element-plus/es')['ElPagination']
|
ElPagination: typeof import('element-plus/es')['ElPagination']
|
||||||
|
ElPopconfirm: typeof import('element-plus/es')['ElPopconfirm']
|
||||||
|
ElProgress: typeof import('element-plus/es')['ElProgress']
|
||||||
|
ElRadioButton: typeof import('element-plus/es')['ElRadioButton']
|
||||||
|
ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup']
|
||||||
ElRow: typeof import('element-plus/es')['ElRow']
|
ElRow: typeof import('element-plus/es')['ElRow']
|
||||||
ElSelect: typeof import('element-plus/es')['ElSelect']
|
ElSelect: typeof import('element-plus/es')['ElSelect']
|
||||||
ElTable: typeof import('element-plus/es')['ElTable']
|
ElTable: typeof import('element-plus/es')['ElTable']
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<el-breadcrumb separator="/">
|
<el-breadcrumb separator="/" class="primary-lease">
|
||||||
<el-breadcrumb-item :to="{ path: backPath }">{{ backName }}</el-breadcrumb-item>
|
<el-breadcrumb-item :to="{ path: backPath }">{{ backName }}</el-breadcrumb-item>
|
||||||
<el-breadcrumb-item>{{ currentName }}</el-breadcrumb-item>
|
<el-breadcrumb-item>{{ currentName }}</el-breadcrumb-item>
|
||||||
</el-breadcrumb>
|
</el-breadcrumb>
|
||||||
|
|
|
||||||
|
|
@ -19,8 +19,8 @@
|
||||||
<li>
|
<li>
|
||||||
<span>{{ company }}</span>
|
<span>{{ company }}</span>
|
||||||
<el-button
|
<el-button
|
||||||
:style="isType == 1 ? 'opacity:0.5' : ''"
|
class="primary-lease"
|
||||||
class="lessee-btn"
|
type="primary"
|
||||||
:disabled="isType == 1"
|
:disabled="isType == 1"
|
||||||
@click.stop="onHandelLessee"
|
@click.stop="onHandelLessee"
|
||||||
>立即承租</el-button
|
>立即承租</el-button
|
||||||
|
|
|
||||||
|
|
@ -272,7 +272,7 @@ const onCarts = () => {
|
||||||
|
|
||||||
div:hover {
|
div:hover {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background-color: #1967d2;
|
background-color: #00a288;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -368,7 +368,7 @@ const onCarts = () => {
|
||||||
|
|
||||||
div:hover {
|
div:hover {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background-color: #1967d2;
|
background-color: #00a288;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,10 +2,12 @@
|
||||||
--el-color-primary:#00a288;
|
--el-color-primary:#00a288;
|
||||||
--el-color-primary-light-3:#00ad9d;
|
--el-color-primary-light-3:#00ad9d;
|
||||||
--el-color-primary-dark-2:#00ad9d;
|
--el-color-primary-dark-2:#00ad9d;
|
||||||
--el-color-primary-light-5:#78d3cb
|
--el-color-primary-light-5:#78d3cb;
|
||||||
|
--el-text-color-primary:#00a288;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--el-color-primary:#00a288;
|
--el-color-primary:#00a288;
|
||||||
|
--el-color-primary-light-3:#00ad9d;
|
||||||
}
|
}
|
||||||
|
|
@ -110,11 +110,18 @@ const handlerLogin = async () => {
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button
|
<!-- <el-button
|
||||||
style="background-color: #009a91; padding: 20px 0"
|
style="background-color: #009a91; padding: 20px 0"
|
||||||
type="primary"
|
type="primary"
|
||||||
@click="handlerLogin"
|
@click="handlerLogin"
|
||||||
>立 即 登 录</el-button
|
>立 即 登 录</el-button
|
||||||
|
> -->
|
||||||
|
<el-button
|
||||||
|
style="padding: 20px 0"
|
||||||
|
class="primary-lease"
|
||||||
|
type="primary"
|
||||||
|
@click="handlerLogin"
|
||||||
|
>立 即 登 录</el-button
|
||||||
>
|
>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<!-- <el-form-item class="forget-password">
|
<!-- <el-form-item class="forget-password">
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<Header />
|
<Header />
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<el-breadcrumb separator="/">
|
<el-breadcrumb separator="/" class="primary-lease">
|
||||||
<el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
|
<el-breadcrumb-item :to="{ path: '/' }">首页</el-breadcrumb-item>
|
||||||
<el-breadcrumb-item>预约车</el-breadcrumb-item>
|
<el-breadcrumb-item>预约车</el-breadcrumb-item>
|
||||||
</el-breadcrumb>
|
</el-breadcrumb>
|
||||||
|
|
@ -468,6 +468,7 @@ const onCartSubmit = async () => {
|
||||||
width: 1200px;
|
width: 1200px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
min-height: 550px;
|
||||||
background: #eeeff6;
|
background: #eeeff6;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
|
||||||
|
|
@ -484,7 +485,7 @@ const onCartSubmit = async () => {
|
||||||
.cart-title div:first-child {
|
.cart-title div:first-child {
|
||||||
width: 5px;
|
width: 5px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
background-color: #4fabfe;
|
background-color: #00a288;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cart-th {
|
.cart-th {
|
||||||
|
|
|
||||||
|
|
@ -75,7 +75,10 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="text-align: right">
|
<div style="text-align: right">
|
||||||
<el-button type="primary" round icon="ChatDotRound">在线聊</el-button>
|
<!-- <el-button type="primary" round icon="ChatDotRound">在线聊</el-button> -->
|
||||||
|
<el-button type="primary" class="primary-lease" round icon="ChatDotRound"
|
||||||
|
>在线聊</el-button
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
<div style="text-align: right">
|
<div style="text-align: right">
|
||||||
<el-button
|
<el-button
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="viewNnum">
|
<div class="viewNnum">
|
||||||
<div>浏览 {{ pageData.searchNum }}</div>
|
<div>浏览 {{ pageData.searchNum }}</div>
|
||||||
<div style="color: #409eff; display: flex; align-items: center">
|
<div style="color: #00a288; display: flex; align-items: center">
|
||||||
<Location style="width: 1em; height: 1em; margin-right: 8px" />
|
<Location style="width: 1em; height: 1em; margin-right: 8px" />
|
||||||
安徽省合肥市蜀山区
|
安徽省合肥市蜀山区
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -68,25 +68,27 @@
|
||||||
|
|
||||||
<div class="options">
|
<div class="options">
|
||||||
<div>
|
<div>
|
||||||
<el-button
|
<!-- <el-button
|
||||||
class="item_btn"
|
class="item_btn"
|
||||||
type="primary"
|
type="primary"
|
||||||
:disabled="pageData.isBookCar == 0 || isType == 1"
|
:disabled="pageData.isBookCar == 0 || isType == 1"
|
||||||
@click="onAddCart"
|
@click="onAddCart"
|
||||||
>加入预约车</el-button
|
>加入预约车</el-button
|
||||||
|
> -->
|
||||||
|
<el-button
|
||||||
|
class="primary-lease"
|
||||||
|
type="primary"
|
||||||
|
:disabled="pageData.isBookCar == 0 || isType == 1"
|
||||||
|
@click="onAddCart"
|
||||||
|
>加入预约车</el-button
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<el-button
|
<el-button
|
||||||
class="item_btn applyFor"
|
class="item_btn applyFor primary-lease"
|
||||||
|
type="primary"
|
||||||
:disabled="pageData.isBookCar == 0 || isType == 1"
|
:disabled="pageData.isBookCar == 0 || isType == 1"
|
||||||
:style="
|
|
||||||
pageData.isBookCar == 0 || isType == 1
|
|
||||||
? 'opacity:0.5'
|
|
||||||
: ''
|
|
||||||
"
|
|
||||||
style="background-color: #1abc9c"
|
|
||||||
@click="onHandelLessee"
|
@click="onHandelLessee"
|
||||||
>
|
>
|
||||||
立即承租
|
立即承租
|
||||||
|
|
@ -110,7 +112,13 @@
|
||||||
<div style="font-size: 20px">{{ pageData.personPhone }}</div>
|
<div style="font-size: 20px">{{ pageData.personPhone }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="text-align: right">
|
<div style="text-align: right">
|
||||||
<el-button type="primary" round icon="ChatDotRound">在线聊</el-button>
|
<el-button
|
||||||
|
round
|
||||||
|
type="primary"
|
||||||
|
class="primary-lease"
|
||||||
|
icon="ChatDotRound"
|
||||||
|
>在线聊</el-button
|
||||||
|
>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -183,7 +191,11 @@
|
||||||
<div class="appearance">
|
<div class="appearance">
|
||||||
<div class="publicTitle">出租记录</div>
|
<div class="publicTitle">出租记录</div>
|
||||||
<div class="rental-record">
|
<div class="rental-record">
|
||||||
<el-table :data="pageData.leaseList" border style="width: 100%">
|
<el-table
|
||||||
|
:data="pageData.leaseList"
|
||||||
|
style="width: 100%"
|
||||||
|
:header-cell-style="{ background: '#00a288', color: '#fff' }"
|
||||||
|
>
|
||||||
<el-table-column align="center" type="index" label="序号" width="80" />
|
<el-table-column align="center" type="index" label="序号" width="80" />
|
||||||
<el-table-column align="center" prop="orderCode" label="订单号" />
|
<el-table-column align="center" prop="orderCode" label="订单号" />
|
||||||
<el-table-column align="center" prop="leaseName" label="租赁方" />
|
<el-table-column align="center" prop="leaseName" label="租赁方" />
|
||||||
|
|
|
||||||
|
|
@ -278,7 +278,7 @@ const onSelectItem = (type: number) => {
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
style="
|
style="
|
||||||
color: #4296b1;
|
color: #00a288;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
|
|
@ -435,7 +435,8 @@ const onSelectItem = (type: number) => {
|
||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
div:hover {
|
div:hover {
|
||||||
color: #38b2a4;
|
color: #fff;
|
||||||
|
background-color: #00a288;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -71,8 +71,10 @@
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button @click="getLeaseListData" type="primary">查询</el-button>
|
<el-button @click="getLeaseListData" type="primary" class="primary-lease"
|
||||||
<el-button @click="onReset">重置</el-button>
|
>查询</el-button
|
||||||
|
>
|
||||||
|
<el-button @click="onReset" type="primary" class="primary-lease">重置</el-button>
|
||||||
<!-- <el-button
|
<!-- <el-button
|
||||||
@click="
|
@click="
|
||||||
() => {
|
() => {
|
||||||
|
|
|
||||||
|
|
@ -877,13 +877,17 @@ const handleRemove = (list: any, index: Number) => {
|
||||||
:title="settleinTitle"
|
:title="settleinTitle"
|
||||||
width="65%"
|
width="65%"
|
||||||
align-center
|
align-center
|
||||||
|
destroy-on-close
|
||||||
:close-on-click-modal="false"
|
:close-on-click-modal="false"
|
||||||
:before-close="handleClose"
|
:before-close="handleClose"
|
||||||
>
|
>
|
||||||
<el-row :gutter="10" class="mb8" style="display: flex; align-items: center">
|
<el-row :gutter="10" class="mb8" style="display: flex; align-items: center">
|
||||||
<el-button type="" @click="closeDialogBtn"> 关 闭 </el-button>
|
<el-button type="primary" class="primary-lease" @click="closeDialogBtn">
|
||||||
|
关 闭
|
||||||
|
</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
type="warning"
|
type="primary"
|
||||||
|
class="primary-lease"
|
||||||
@click="saveTemp"
|
@click="saveTemp"
|
||||||
v-if="
|
v-if="
|
||||||
!equipmentDeploymentParams.maStatus || equipmentDeploymentParams.maStatus == 0
|
!equipmentDeploymentParams.maStatus || equipmentDeploymentParams.maStatus == 0
|
||||||
|
|
@ -891,7 +895,12 @@ const handleRemove = (list: any, index: Number) => {
|
||||||
>
|
>
|
||||||
草 稿
|
草 稿
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button type="primary" @click="submitBtn" v-if="!disabledForm || isEditDisabled">
|
<el-button
|
||||||
|
type="primary"
|
||||||
|
class="primary-lease"
|
||||||
|
@click="submitBtn"
|
||||||
|
v-if="!disabledForm || isEditDisabled"
|
||||||
|
>
|
||||||
提 交
|
提 交
|
||||||
</el-button>
|
</el-button>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
@ -1372,7 +1381,7 @@ const handleRemove = (list: any, index: Number) => {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 4px;
|
width: 4px;
|
||||||
height: 16px;
|
height: 16px;
|
||||||
background: #409eff;
|
background: #00a288;
|
||||||
}
|
}
|
||||||
.title-text {
|
.title-text {
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -71,8 +71,10 @@
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button @click="getLeaseListData" type="primary">查询</el-button>
|
<el-button @click="getLeaseListData" type="primary" class="primary-lease"
|
||||||
<el-button @click="onReset">重置</el-button>
|
>查询</el-button
|
||||||
|
>
|
||||||
|
<el-button @click="onReset" type="primary" class="primary-lease">重置</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
@click="
|
@click="
|
||||||
() => {
|
() => {
|
||||||
|
|
@ -81,7 +83,8 @@
|
||||||
dialogTitle = '新增'
|
dialogTitle = '新增'
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
style="background-color: #17907f; color: #fff"
|
type="primary"
|
||||||
|
class="primary-lease"
|
||||||
>
|
>
|
||||||
需求新建
|
需求新建
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
@ -93,8 +96,8 @@
|
||||||
:data="leaseList"
|
:data="leaseList"
|
||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
:header-cell-style="{
|
:header-cell-style="{
|
||||||
background: '#fafafa',
|
background: '#00a288',
|
||||||
color: '#333',
|
color: '#fff',
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<el-table-column align="center" label="序号" type="index" width="80" />
|
<el-table-column align="center" label="序号" type="index" width="80" />
|
||||||
|
|
@ -119,6 +122,7 @@
|
||||||
<el-button
|
<el-button
|
||||||
text
|
text
|
||||||
size="small"
|
size="small"
|
||||||
|
class="primary-lease"
|
||||||
type="primary"
|
type="primary"
|
||||||
v-if="row.leaseStatus === 2"
|
v-if="row.leaseStatus === 2"
|
||||||
@click="onRepublish(row.id, true)"
|
@click="onRepublish(row.id, true)"
|
||||||
|
|
@ -134,11 +138,22 @@
|
||||||
v-if="row.leaseStatus != 1"
|
v-if="row.leaseStatus != 1"
|
||||||
>
|
>
|
||||||
<template #reference>
|
<template #reference>
|
||||||
<el-button size="small" text type="danger"> 删除 </el-button>
|
<el-button size="small" text type="primary" class="primary-lease">
|
||||||
|
删除
|
||||||
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
<template #actions="{ confirm }">
|
<template #actions="{ confirm }">
|
||||||
<el-button size="small">取消</el-button>
|
<el-button type="primary" class="primary-lease" size="small"
|
||||||
<el-button type="danger" size="small" @click="confirm()"> 确定 </el-button>
|
>取消</el-button
|
||||||
|
>
|
||||||
|
<el-button
|
||||||
|
class="primary-lease"
|
||||||
|
type="primary"
|
||||||
|
size="small"
|
||||||
|
@click="confirm()"
|
||||||
|
>
|
||||||
|
确定
|
||||||
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-popconfirm>
|
</el-popconfirm>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -369,9 +384,16 @@
|
||||||
</el-form>
|
</el-form>
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<div class="dialog-footer">
|
<div class="dialog-footer">
|
||||||
<el-button @click="onCancel">取消</el-button>
|
<el-button type="primary" class="primary-lease" @click="onCancel">取消</el-button>
|
||||||
<el-button type="primary" @click="onSubmit(false)" v-if="isSave"> 保存 </el-button>
|
<el-button
|
||||||
<el-button type="primary" @click="onSubmit(true)"> 提交 </el-button>
|
type="primary"
|
||||||
|
class="primary-lease"
|
||||||
|
@click="onSubmit(false)"
|
||||||
|
v-if="isSave"
|
||||||
|
>
|
||||||
|
保存
|
||||||
|
</el-button>
|
||||||
|
<el-button class="primary-lease" @click="onSubmit(true)"> 提交 </el-button>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue