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 3e4df72a
authored
Feb 06, 2026
by
yancanhua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix:前端自测问题优化
1 parent
50abe46a
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
71 additions
and
16 deletions
aus-front/admin/src/views/finance/preference/OperationLog.vue
aus-front/admin/src/views/finance/preference/PreferencePage.vue
aus-front/app/src/module/preference/components/step-one.vue
aus-front/app/src/module/preference/components/step-three.vue
aus-front/app/src/module/preference/components/step-two.vue
aus-front/app/src/module/preference/selectVehicleBrand.vue
aus-front/app/src/pages/tabbar/home/CertificationDialog.vue
aus-front/admin/src/views/finance/preference/OperationLog.vue
View file @
3e4df72
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<div
class=
"log-title"
>
<div
class=
"log-title"
>
<div
v-if=
"item.title || item.content"
class=
"logBox-content"
>
<div
v-if=
"item.title || item.content"
class=
"logBox-content"
>
{{
item
.
title
}}
:
{{
item
.
title
}}
:
<span
>
{{
item
.
content
}}
</span>
<span
:title=
"item.content || ''"
>
{{
item
.
content
||
'-'
}}
</span>
</div>
</div>
<div
class=
"logBox-time"
>
<div
class=
"logBox-time"
>
<div
class=
"logBox-point"
>
{{
item
.
updateNameCnFirst
}}
</div>
<div
class=
"logBox-point"
>
{{
item
.
updateNameCnFirst
}}
</div>
...
@@ -39,7 +39,7 @@ export default class OperationLog extends Vue {
...
@@ -39,7 +39,7 @@ export default class OperationLog extends Vue {
watchOperationLogData
(
newValue
:
any
,
oldValue
:
any
):
void
{
watchOperationLogData
(
newValue
:
any
,
oldValue
:
any
):
void
{
const
list
=
(
newValue
.
logList
||
[]).
map
((
item
:
any
)
=>
{
const
list
=
(
newValue
.
logList
||
[]).
map
((
item
:
any
)
=>
{
const
values
=
(
item
.
opContent
||
''
).
split
(
':'
).
filter
(
Boolean
);
const
values
=
(
item
.
opContent
||
''
).
split
(
':'
).
filter
(
Boolean
);
return
{
...
item
,
title
:
values
[
0
]
||
''
,
content
:
values
[
1
]
||
''
};
return
{
...
item
,
title
:
values
[
0
]
||
''
,
content
:
((
values
||
[]).
slice
(
1
)
||
[]).
join
(
''
)
};
});
});
if
(
list
.
length
>
5
)
{
if
(
list
.
length
>
5
)
{
this
.
isAllData
=
false
;
this
.
isAllData
=
false
;
...
@@ -115,6 +115,9 @@ export default class OperationLog extends Vue {
...
@@ -115,6 +115,9 @@ export default class OperationLog extends Vue {
color
:
#777c85
;
color
:
#777c85
;
font-size
:
14px
;
font-size
:
14px
;
font-weight
:
400
;
font-weight
:
400
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
}
}
.logBox-content
span
{
.logBox-content
span
{
...
...
aus-front/admin/src/views/finance/preference/PreferencePage.vue
View file @
3e4df72
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
<a-table
:columns=
"columns"
:data-source=
"pagination.content"
:loading=
"loading"
:bordered=
"false"
<a-table
:columns=
"columns"
:data-source=
"pagination.content"
:loading=
"loading"
:bordered=
"false"
@
change=
"pageRefresh"
@
resizeColumn=
"this.$filters.tableResizeColumn"
size=
"small"
:pagination=
"pageState"
@
change=
"pageRefresh"
@
resizeColumn=
"this.$filters.tableResizeColumn"
size=
"small"
:pagination=
"pageState"
:row-key=
"record => record.id"
:scroll=
"{ y: 'calc(100vh -
400
px)' }"
:row-key=
"record => record.id"
:scroll=
"{ y: 'calc(100vh -
288
px)' }"
:row-selection=
"{ selectedRowKeys: selectIds, onChange: onSelectChange, type: 'checkbox', preserveSelectedRowKeys: true, }"
>
:row-selection=
"{ selectedRowKeys: selectIds, onChange: onSelectChange, type: 'checkbox', preserveSelectedRowKeys: true, }"
>
<
template
#
customFilterDropdown=
"{ setSelectedKeys, selectedKeys, confirm, clearFilters, column }"
>
<
template
#
customFilterDropdown=
"{ setSelectedKeys, selectedKeys, confirm, clearFilters, column }"
>
...
...
aus-front/app/src/module/preference/components/step-one.vue
View file @
3e4df72
...
@@ -109,10 +109,12 @@ export default class stepOne extends Vue {
...
@@ -109,10 +109,12 @@ export default class stepOne extends Vue {
.content-title
{
.content-title
{
width
:
100%
;
width
:
100%
;
height
:
50px
;
height
:
50px
;
color
:
#141e34
;
font-size
:
16px
;
line-height
:
50px
;
line-height
:
50px
;
float
:
left
;
float
:
left
;
color
:
#141e34
;
font-size
:
16px
;
font-weight
:
中黑体
;
font-family
:
"苹方-简"
;
}
}
.validate
{
.validate
{
...
...
aus-front/app/src/module/preference/components/step-three.vue
View file @
3e4df72
...
@@ -92,6 +92,8 @@ export default class stepThree extends Vue {
...
@@ -92,6 +92,8 @@ export default class stepThree extends Vue {
height
:
24px
;
height
:
24px
;
color
:
#141e34
;
color
:
#141e34
;
font-size
:
16px
;
font-size
:
16px
;
font-weight
:
中黑体
;
font-family
:
"苹方-简"
;
line-height
:
24px
;
line-height
:
24px
;
float
:
left
;
float
:
left
;
margin-top
:
16px
;
margin-top
:
16px
;
...
...
aus-front/app/src/module/preference/components/step-two.vue
View file @
3e4df72
...
@@ -128,6 +128,8 @@ export default class stepTwo extends Vue {
...
@@ -128,6 +128,8 @@ export default class stepTwo extends Vue {
height
:
24px
;
height
:
24px
;
color
:
#141e34
;
color
:
#141e34
;
font-size
:
16px
;
font-size
:
16px
;
font-weight
:
中黑体
;
font-family
:
"苹方-简"
;
line-height
:
24px
;
line-height
:
24px
;
float
:
left
;
float
:
left
;
margin-top
:
16px
;
margin-top
:
16px
;
...
...
aus-front/app/src/module/preference/selectVehicleBrand.vue
View file @
3e4df72
<
template
>
<
template
>
<div>
<van-index-bar
:index-list=
"indexList"
>
<van-index-bar
:index-list=
"indexList"
>
<template
v-for=
"(letter) in indexList"
:key=
"letter"
>
<template
v-for=
"(letter) in indexList"
:key=
"letter"
>
<van-index-anchor
:index=
"letter"
>
{{
letter
}}
</van-index-anchor>
<van-index-anchor
class=
"index-anchor"
:index=
"letter"
>
{{
letter
}}
</van-index-anchor>
<van-cell
v-for=
"(brand, index) in getBrandsByLetter(letter)"
:key=
"brand.id"
>
<div
v-for=
"(brand, index) in getBrandsByLetter(letter)"
:key=
"brand.id"
>
<van-cell>
<template
slot=
"title"
>
<template
slot=
"title"
>
<div
class=
"brand-cell"
@
click=
"bindClick(brand)"
>
<div
class=
"brand-cell"
@
click=
"bindClick(brand)"
>
<image
class=
"brand-image"
:src=
"brand.logoUrl"
mode=
"aspectFill"
/>
<image
class=
"brand-image"
:src=
"brand.logoUrl"
mode=
"aspectFill"
/>
{{
brand
.
name
}}
{{
brand
.
name
}}
<div
class=
"check-icon"
>
<div
class=
"check-icon"
>
<image
v-if=
"!brand.selected"
src=
"https://img02.glsx.com.cn/aus/images/preference/selectFalse.png"
<image
v-if=
"!brand.selected"
src=
"https://img02.glsx.com.cn/aus/images/preference/selectFalse.png"
class=
"check-icon-image"
/>
<image
v-else
src=
"https://img02.glsx.com.cn/aus/images/preference/selectTrue.png"
class=
"check-icon-image"
/>
class=
"check-icon-image"
/>
<image
v-else
src=
"https://img02.glsx.com.cn/aus/images/preference/selectTrue.png"
class=
"check-icon-image"
/>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
</van-cell>
</van-cell>
</div>
</template>
</template>
</van-index-bar>
<!--底部提交按钮-->
<div
class=
"bottom-height-100"
></div>
<div
class=
"bottom-height-100"
></div>
<div
class=
"bottom-fixed"
>
<div
class=
"bottom-fixed"
>
<div
class=
"width-calc-36"
>
<div
class=
"width-calc-36"
>
...
@@ -27,8 +31,7 @@
...
@@ -27,8 +31,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
</van-index-bar>
</div>
</template>
</template>
<
script
lang=
"ts"
>
<
script
lang=
"ts"
>
import
{
Component
,
Ref
,
Vue
}
from
"vue-facing-decorator"
;
import
{
Component
,
Ref
,
Vue
}
from
"vue-facing-decorator"
;
...
@@ -74,7 +77,7 @@ export default class selectVehicleBrand extends Vue {
...
@@ -74,7 +77,7 @@ export default class selectVehicleBrand extends Vue {
//获取品牌列表数据
//获取品牌列表数据
loadData
():
void
{
loadData
():
void
{
uni
.
showLoading
({
title
:
'正在加载中...'
,
mask
:
true
});
uni
.
showLoading
({
title
:
'正在加载中...'
,
mask
:
true
});
const
cacheBrands
=
uni
.
getStorageSync
(
'cacheBrands'
);
const
cacheBrands
=
uni
.
getStorageSync
(
'cacheBrands'
);
if
(
cacheBrands
&&
cacheBrands
.
length
>
0
)
{
if
(
cacheBrands
&&
cacheBrands
.
length
>
0
)
{
this
.
brands
=
cacheBrands
;
this
.
brands
=
cacheBrands
;
...
@@ -111,7 +114,7 @@ export default class selectVehicleBrand extends Vue {
...
@@ -111,7 +114,7 @@ export default class selectVehicleBrand extends Vue {
this
.
brands
[
brandIndex
].
selected
=
false
;
this
.
brands
[
brandIndex
].
selected
=
false
;
}
else
{
}
else
{
// 检查是否超过最大选择数量
// 检查是否超过最大选择数量
if
(
this
.
selectedBrand
.
length
>=
10
)
{
if
(
this
.
selectedBrand
.
length
>=
10
)
{
uni
.
showToast
({
uni
.
showToast
({
title
:
'最多可选10个品牌'
,
title
:
'最多可选10个品牌'
,
icon
:
'none'
icon
:
'none'
...
@@ -207,11 +210,15 @@ export default class selectVehicleBrand extends Vue {
...
@@ -207,11 +210,15 @@ export default class selectVehicleBrand extends Vue {
align-items
:
center
;
align-items
:
center
;
gap
:
8px
;
gap
:
8px
;
position
:
relative
;
position
:
relative
;
color
:
#292d33
;
font-size
:
16px
;
font-weight
:
400
;
font-family
:
"HarmonyOSSansSC"
;
}
}
.check-icon
{
.check-icon
{
position
:
absolute
;
position
:
absolute
;
right
:
16
px
;
right
:
40
px
;
top
:
50%
;
top
:
50%
;
transform
:
translateY
(
-50%
);
transform
:
translateY
(
-50%
);
width
:
16px
;
width
:
16px
;
...
@@ -255,3 +262,23 @@ page {
...
@@ -255,3 +262,23 @@ page {
height
:
100px
;
height
:
100px
;
}
}
</
style
>
</
style
>
<
style
>
.van-index-anchor
{
background
:
#F7F8FA
!important
;
}
.van-index-bar__index--active
,
.van-index-bar__index
:active
{
color
:
#ffffff
!important
;
background-color
:
#000000
!important
;
border-radius
:
4px
;
}
.van-index-anchor--active
{
color
:
#757b85
!important
;
font-size
:
12px
;
font-weight
:
常规体
;
font-family
:
"苹方-简"
;
}
</
style
>
aus-front/app/src/pages/tabbar/home/CertificationDialog.vue
View file @
3e4df72
...
@@ -12,6 +12,7 @@
...
@@ -12,6 +12,7 @@
</view>
</view>
<view
class=
"dialog-footer"
>
<view
class=
"dialog-footer"
>
<van-button
type=
"primary"
hairline
round
block
@
click=
"goCertification"
>
立即认证
</van-button>
<van-button
type=
"primary"
hairline
round
block
@
click=
"goCertification"
>
立即认证
</van-button>
<view
@
click=
"closeDialog"
class=
"popup-button-text"
>
稍后认证
</view>
</view>
</view>
</view>
</view>
</view>
</view>
...
@@ -27,6 +28,9 @@ export default class CertificationDialog extends Vue {
...
@@ -27,6 +28,9 @@ export default class CertificationDialog extends Vue {
this
.
$emit
(
'close'
);
this
.
$emit
(
'close'
);
uni
.
navigateTo
({
url
:
'/module/account/PersonCertificationPage'
});
uni
.
navigateTo
({
url
:
'/module/account/PersonCertificationPage'
});
}
}
closeDialog
():
void
{
this
.
$emit
(
'close'
);
}
}
}
</
script
>
</
script
>
...
@@ -82,4 +86,19 @@ export default class CertificationDialog extends Vue {
...
@@ -82,4 +86,19 @@ export default class CertificationDialog extends Vue {
flex-direction
:
column
;
flex-direction
:
column
;
gap
:
3px
;
;
gap
:
3px
;
;
}
}
.popup-button-text
{
width
:
100%
;
height
:
20px
;
float
:
left
;
line-height
:
20px
;
color
:
#666666
;
font-size
:
14px
;
font-weight
:
常规体
;
font-family
:
"苹方-简"
;
text-align
:
center
;
cursor
:
pointer
;
margin-top
:
16px
;
}
</
style
>
</
style
>
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