接口联调

This commit is contained in:
binbin_pan 2024-03-18 18:08:23 +08:00
parent d3e7abbaff
commit 9279653332
4 changed files with 14 additions and 8 deletions

View File

@ -22,7 +22,7 @@
</div>
<div class="time_select">
<el-date-picker v-model="timeRange" size="media" type="datetimerange"
range-separator="To" start-placeholder="Start date" end-placeholder="End date" />
range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" />
<el-button type="primary" style="margin-left: 12px;" size="media" @click="searchByTimeFn">查询</el-button>
</div>
<div class="map_line_out">
@ -40,8 +40,8 @@ import moment from "moment";
const mapLineShow = ref(false)
const mapLineRef = ref()
const timeRange = ref<[Date, Date]>([
new Date(2022, 11, 10, 10, 10),
new Date(2023, 12, 19, 10, 10),
new Date(2023, 1, 1, 10, 0),
new Date(2024, 1, 1, 10, 0),
])
const detailsInfo = reactive({
duration: '',

View File

@ -4,7 +4,7 @@
<div class="sub_title" @click="subTab('provider')" :class="{
'activeSub': subActive == 'provider'
}">
热门供应商
热门出租方
</div>
<div class="sub_title" @click="subTab('hotEquipment')" :class="{
'activeSub': subActive == 'hotEquipment'

View File

@ -2,6 +2,8 @@
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import ElementPlus from 'element-plus';
import locale from 'element-plus/dist/locale/zh-cn.mjs'
import App from './App.vue'
import router from './router'
@ -16,5 +18,6 @@ const app = createApp(App)
app.use(createPinia())
app.use(router)
app.use(ElementPlus, { locale })
app.mount('#app')

View File

@ -568,8 +568,9 @@ setInterval(() => {
margin: 0 auto;
display: flex;
flex-direction: column;
width: 1920px;
height: 1080px;
min-width: 1920px;
// width: 1920px;
// height: 1080px;
background-image: url("../../assets/img/background-bg.png");
background-size: cover;
background-repeat: no-repeat;
@ -580,7 +581,7 @@ setInterval(() => {
width: 100%;
height: 108px;
background-image: url("../../assets/img/top_title.png");
background-size: contain;
background-size: 100% 109px;
background-repeat: no-repeat;
font-size: 40px;
padding-top: 29px;
@ -625,6 +626,7 @@ setInterval(() => {
height: 252px;
position: relative;
background-color: rgba($color: #011B37, $alpha: 0.6);
margin: 0 auto;
margin-left: 23px;
.sub_title {
@ -703,10 +705,11 @@ setInterval(() => {
.middle_list_com {
height: 100px;
width: 1208px;
width: 1190px;
padding-top: 60px;
display: flex;
justify-content: flex-start;
margin: 0 auto;
margin-left: 28px;
.middle_list_com_item {