Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
jijin
/
dance-pc
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
fade3bf0
authored
2025-05-16 11:03:25 +0800
by
华明祺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
no message
1 parent
99c2ff5f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
53 additions
and
53 deletions
src/viewsPc/booking/car.vue
vite.config.js
src/viewsPc/booking/car.vue
View file @
fade3bf
...
...
@@ -35,57 +35,57 @@
</el-row>
</
template
>
<div
class=
"plr20"
>
<div
v-for=
"(r,index) in h.carVoList"
:key=
"index"
class=
"room"
>
<el-row
:gutter=
"30"
align=
"middle"
>
<el-col
:span=
"4"
>
<div
class=
"roomImg"
>
<img
:src=
"fillImgUrl(r.photos?.split(',')[0])"
>
</div
>
</el-col
>
<el-col
:span=
"14"
>
<h3
class=
"name flex"
>
{{ r.carType }}
<div
class=
"tagbox"
>
<span
class=
"tag"
>
{{ r.carColor }}
</span
>
<span
v-show=
"r.checkOut==1"
class=
"tag"
>
{{ language == 0 ? '可送车' : 'drop-off' }}
</span
>
<span
v-show=
"r.checkIn==1"
class=
"tag"
>
{{ language == 0 ? '可接车' : 'pick-up' }}
</span
>
</div
>
</h3
>
<div
class=
"text-gray mt20"
>
<span
class=
"mr20"
>
{{ language == 0 ? '座位数' : 'Seats' }}: {{ r.carSeat }}
</span
>
<span
class=
"mr20"
>
|
</span
>
<span
:span=
"8"
>
{{
language == 0 ? '运营时间' : 'Servers Time'
}}: {{ r.operStart }} ~ {{ r.operEnd }}
</span
>
</div
>
</el-col
>
<el-col
:span=
"3"
>
<div
v-if=
"language==0"
class=
"price"
>
¥
<span
v-if=
"r.outPrice&&r.inPrice"
>
{{ Number(r.inPrice) > Number(r.outPrice) ? r.outPrice : r.inPrice }}
</span
>
<span
v-else-if=
"r.inPrice>0"
>
{{ r.inPrice }}
</span
>
<span
v-else
>
{{ r.outPrice }}
</span
>
起
</div
>
<div
v-else
class=
"price"
>
€
<span
v-if=
"r.outPriceEn&&r.inPriceEn"
>
{{ (Number(r.inPriceEn) || 0) > Number(r.outPriceEn) ? r.outPriceEn : r.inPriceEn }}
</span
>
<span
v-else-if=
"r.inPriceEn>0"
>
{{ r.inPriceEn }}
</span
>
<span
v-else
>
{{ r.outPriceEn }}
</span
>
</div
>
</el-col
>
<el-col
:span=
"3"
>
<el-button
class=
"btn-lineG w100"
round
type=
"primary"
@
click=
"goOrder(h,r)"
>
{{ language == 0 ? '我要预订' : 'Select' }}
</el-button
>
</el-col
>
</el-row
>
</div
>
<el-empty
v-if=
"h.carVoList.length == 0"
:image=
"`/img/order_no.png`"
:image-size=
"228"
description=
""
/
>
</div
>
<!-- <div class="plr20">--
>
<!-- <div v-for="(r,index) in h.carVoList" :key="index" class="room">--
>
<!-- <el-row :gutter="30" align="middle">--
>
<!-- <el-col :span="4">--
>
<!-- <div class="roomImg">--
>
<!-- <img :src="fillImgUrl(r.photos?.split(',')[0])">--
>
<!-- </div>--
>
<!-- </el-col>--
>
<!-- <el-col :span="14">--
>
<!-- <h3 class="name flex">{{ r.carType }}-->
<!-- <div class="tagbox">--
>
<!-- <span class="tag">{{ r.carColor }}</span>--
>
<!-- <span v-show="r.checkOut==1" class="tag">{{ language == 0 ? '可送车' : 'drop-off' }}</span>--
>
<!-- <span v-show="r.checkIn==1" class="tag">{{ language == 0 ? '可接车' : 'pick-up' }}</span>--
>
<!-- </div>--
>
<!-- </h3>--
>
<!-- <div class="text-gray mt20">--
>
<!-- <span class="mr20">{{ language == 0 ? '座位数' : 'Seats' }}: {{ r.carSeat }}</span>--
>
<!-- <span class="mr20">|</span>--
>
<!-- <span :span="8">{{-->
<!-- language == 0 ? '运营时间' : 'Servers Time'-->
<!-- }}: {{ r.operStart }} ~ {{ r.operEnd }}</span>--
>
<!-- </div>--
>
<!-- </el-col>--
>
<!-- <el-col :span="3">--
>
<!-- <div v-if="language==0" class="price">¥-->
<!-- <span-->
<!-- v-if="r.outPrice&&r.inPrice">{{ Number(r.inPrice) > Number(r.outPrice) ? r.outPrice : r.inPrice }}</span>--
>
<!-- <span v-else-if="r.inPrice>0">{{ r.inPrice }}</span>--
>
<!-- <span v-else>{{ r.outPrice }}</span>--
>
<!-- 起-->
<!-- </div>--
>
<!-- <div v-else class="price">--
>
<!-- €-->
<!-- <span-->
<!-- v-if="r.outPriceEn&&r.inPriceEn">{{ (Number(r.inPriceEn) || 0) > Number(r.outPriceEn) ? r.outPriceEn : r.inPriceEn }}</span>--
>
<!-- <span v-else-if="r.inPriceEn>0">{{ r.inPriceEn }}</span>--
>
<!-- <span v-else>{{ r.outPriceEn }}</span>--
>
<!-- </div>--
>
<!-- </el-col>--
>
<!-- <el-col :span="3">--
>
<!-- <el-button class="btn-lineG w100" round type="primary" @click="goOrder(h,r)">--
>
<!-- {{ language == 0 ? '我要预订' : 'Select' }}-->
<!-- </el-button>--
>
<!-- </el-col>--
>
<!-- </el-row>--
>
<!-- </div>--
>
<!-- <el-empty v-if="h.carVoList.length == 0" :image="`/img/order_no.png`" :image-size="228" description=""/>--
>
<!-- </div>--
>
</el-collapse-item>
</el-collapse>
...
...
vite.config.js
View file @
fade3bf
...
...
@@ -81,8 +81,8 @@ export default defineConfig(({ mode, command }) => {
rewrite
:
(
p
)
=>
p
.
replace
(
/^
\/
dev-api
\/
ztx-webSite/
,
''
)
},
'/dev-api'
:
{
//
target: 'http://192.168.1.118:8081/',
target
:
'http://192.168.1.253:8081'
,
target
:
'http://192.168.1.118:8081/'
,
//
target: 'http://192.168.1.253:8081',
// target: 'https://jijin.wtwuxicenter.com/stage-api',
// target: 'https://wdsfwuxicenter.com/stage-api/',
changeOrigin
:
true
,
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment