Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
usedCarAuction
/
aus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d569205f
authored
Jan 19, 2026
by
gonglei
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
加入框架代码
1 parent
708fcee2
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
8 deletions
aus-front/app/.env.production
aus-front/app/src/components/AbstractVehicleItem.ts
aus-front/app/src/components/AuctionVehicleItem.vue
aus-front/app/src/manifest.json
aus-front/app/src/pages/tabbar/home/SmallVehicleItem.vue
aus-front/app/.env.production
View file @
d569205
...
@@ -6,11 +6,11 @@ PUBLISH_PATH = '/'
...
@@ -6,11 +6,11 @@ PUBLISH_PATH = '/'
# 平台端请求路径
# 平台端请求路径
# 生产环境
# 生产环境
#
VITE_APP_API_URL = 'http://aapp.link:6911/api/'
VITE_APP_API_URL = 'http://aapp.link:6911/api/'
#
VITE_APP_API_BASE_URL = 'http://aapp.link:6911/'
VITE_APP_API_BASE_URL = 'http://aapp.link:6911/'
VITE_APP_API_URL = 'https://aus.glsx.com.cn/app/api/'
#
VITE_APP_API_URL = 'https://aus.glsx.com.cn/app/api/'
VITE_APP_API_BASE_URL = 'https://aus.glsx.com.cn/app/'
#
VITE_APP_API_BASE_URL = 'https://aus.glsx.com.cn/app/'
VITE_APP_TOKEN= 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJmYWN0b3JJZCI6MSwic3ViIjoiYWRtaW5pc3RyYXRvciIsInJlYWxOYW1lIjoi6LaF57qn566h55CG5ZGYIiwicGFzc3dvcmQiOiIkMmEkMTAkaFR0QkdSOTAxZ1A2SzQ5Ti9RNWFNT2oyQjE3cDVYZjRmeXliZTJ6ckpjdEJjWklMbUEwZEciLCJpc3MiOiJ5eHR3ZWIiLCJhdmF0YXIiOiJ1c2VySW5mby8yMDIzMDcxOC9OMUYxNGJ5NmRPLmpwZyIsImV4cCI6MTc2ODkyNzY3NywiaWF0IjoxNjk2OTI3Njc3LCJqdGkiOiIxIiwiYXV0aG9yaXRpZXMiOlsiUk9MRV9TVVBFUiIsIkFETUlOIl19.3SYoNceGBTubVsikOb7aFpm5medHG-AUpVgcBdb2ao8'
VITE_APP_TOKEN= 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJmYWN0b3JJZCI6MSwic3ViIjoiYWRtaW5pc3RyYXRvciIsInJlYWxOYW1lIjoi6LaF57qn566h55CG5ZGYIiwicGFzc3dvcmQiOiIkMmEkMTAkaFR0QkdSOTAxZ1A2SzQ5Ti9RNWFNT2oyQjE3cDVYZjRmeXliZTJ6ckpjdEJjWklMbUEwZEciLCJpc3MiOiJ5eHR3ZWIiLCJhdmF0YXIiOiJ1c2VySW5mby8yMDIzMDcxOC9OMUYxNGJ5NmRPLmpwZyIsImV4cCI6MTc2ODkyNzY3NywiaWF0IjoxNjk2OTI3Njc3LCJqdGkiOiIxIiwiYXV0aG9yaXRpZXMiOlsiUk9MRV9TVVBFUiIsIkFETUlOIl19.3SYoNceGBTubVsikOb7aFpm5medHG-AUpVgcBdb2ao8'
aus-front/app/src/components/AbstractVehicleItem.ts
View file @
d569205
...
@@ -27,6 +27,13 @@ export default class AbstractVehicleItem extends Vue {
...
@@ -27,6 +27,13 @@ export default class AbstractVehicleItem extends Vue {
return
this
.
vehicle
.
baseInfo
?.
licensePlate
.
substring
(
0
,
2
);
return
this
.
vehicle
.
baseInfo
?.
licensePlate
.
substring
(
0
,
2
);
}
}
get
cityName
():
string
{
if
(
this
.
vehicle
.
ownership
.
carCityName
)
{
return
this
.
vehicle
.
ownership
.
carCityName
.
replace
(
"市"
,
""
);
}
return
this
.
vehicle
.
ownership
.
carCityName
;
}
get
ageLess1Year
():
boolean
{
get
ageLess1Year
():
boolean
{
return
dayjs
().
add
(
-
1
,
'years'
).
isBefore
(
dayjs
(
this
.
vehicle
.
coreSpecs
.
productionDate
as
string
));
return
dayjs
().
add
(
-
1
,
'years'
).
isBefore
(
dayjs
(
this
.
vehicle
.
coreSpecs
.
productionDate
as
string
));
}
}
...
...
aus-front/app/src/components/AuctionVehicleItem.vue
View file @
d569205
...
@@ -2,9 +2,10 @@
...
@@ -2,9 +2,10 @@
<view
v-if=
"auctionVehicle"
class=
"car-item"
@
click=
"viewCarDetail()"
>
<view
v-if=
"auctionVehicle"
class=
"car-item"
@
click=
"viewCarDetail()"
>
<vehicle-cover-wrapper
:auction-vehicle=
"auctionVehicle"
></vehicle-cover-wrapper>
<vehicle-cover-wrapper
:auction-vehicle=
"auctionVehicle"
></vehicle-cover-wrapper>
<view
class=
"recharge-info"
>
<view
class=
"recharge-info"
>
<text
class=
"car-name"
>
【
{{
licensePlat
e
}}
】
{{
vehicle
.
baseInfo
.
carSeriesName
}}
{{
vehicle
.
baseInfo
.
carTypeName
}}
</text>
<text
class=
"car-name"
>
【
{{
cityNam
e
}}
】
{{
vehicle
.
baseInfo
.
carSeriesName
}}
{{
vehicle
.
baseInfo
.
carTypeName
}}
</text>
<text
class=
"car-specs"
>
{{
productionYear
}}
年 |
{{
mileage
}}
万公里
</text>
<text
class=
"car-specs"
>
{{
productionYear
}}
年 |
{{
mileage
}}
万公里
</text>
<view
class=
"car-features"
>
<view
class=
"car-features"
>
<text
class=
"feature-item"
v-if=
"licensePlate"
>
{{
licensePlate
}}
</text>
<text
class=
"feature-item"
v-if=
"vehicle.ownership.transferCount===0"
>
零次过户
</text>
<text
class=
"feature-item"
v-if=
"vehicle.ownership.transferCount===0"
>
零次过户
</text>
<text
class=
"feature-item"
v-if=
"vehicle.baseInfo.mileage
<10000
&&
ageLess1Year
"
>
准新车
</text>
<text
class=
"feature-item"
v-if=
"vehicle.baseInfo.mileage
<10000
&&
ageLess1Year
"
>
准新车
</text>
<text
class=
"feature-item"
v-if=
"vehicle.ownership.ownerType===1"
>
个人车
</text>
<text
class=
"feature-item"
v-if=
"vehicle.ownership.ownerType===1"
>
个人车
</text>
...
...
aus-front/app/src/manifest.json
View file @
d569205
...
@@ -36,8 +36,8 @@
...
@@ -36,8 +36,8 @@
"quickapp"
:
{},
"quickapp"
:
{},
/*
小程序特有相关
*/
/*
小程序特有相关
*/
"mp-weixin"
:
{
"mp-weixin"
:
{
"appid"
:
"wxa719209ed933d667"
,
/*
"appid"
:
"wxa719209ed933d667"
,
*/
/*
"appid"
:
"wx568d02f6352efd49"
,
*/
"appid"
:
"wx568d02f6352efd49"
,
"setting"
:
{
"setting"
:
{
"urlCheck"
:
false
,
"urlCheck"
:
false
,
"es6"
:
true
,
"es6"
:
true
,
...
...
aus-front/app/src/pages/tabbar/home/SmallVehicleItem.vue
View file @
d569205
...
@@ -25,9 +25,10 @@
...
@@ -25,9 +25,10 @@
</
template
>
</
template
>
</view>
</view>
<view
class=
"recharge-info"
>
<view
class=
"recharge-info"
>
<text
class=
"car-name"
>
【{{
licensePlat
e }}】{{ vehicle.baseInfo.carSeriesName }} {{ vehicle.baseInfo.carTypeName }}
</text>
<text
class=
"car-name"
>
【{{
cityNam
e }}】{{ vehicle.baseInfo.carSeriesName }} {{ vehicle.baseInfo.carTypeName }}
</text>
<text
class=
"car-detail"
>
{{ productionYear }}年/{{ mileage }}万公里/国{{ vehicle.coreSpecs.emissionStandard }}
</text>
<text
class=
"car-detail"
>
{{ productionYear }}年/{{ mileage }}万公里/国{{ vehicle.coreSpecs.emissionStandard }}
</text>
<view
class=
"car-features"
>
<view
class=
"car-features"
>
<text
class=
"feature-tag"
v-if=
"licensePlate"
>
{{ licensePlate }}
</text>
<text
class=
"feature-tag"
v-if=
"vehicle.ownership.transferCount===0"
>
零次过户
</text>
<text
class=
"feature-tag"
v-if=
"vehicle.ownership.transferCount===0"
>
零次过户
</text>
<text
class=
"feature-tag"
v-if=
"vehicle.baseInfo.mileage<10000&&ageLess1Year"
>
准新车
</text>
<text
class=
"feature-tag"
v-if=
"vehicle.baseInfo.mileage<10000&&ageLess1Year"
>
准新车
</text>
<text
class=
"feature-tag"
v-if=
"vehicle.ownership.ownerType===1"
>
个人车
</text>
<text
class=
"feature-tag"
v-if=
"vehicle.ownership.ownerType===1"
>
个人车
</text>
...
...
Write
Preview
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