Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 101805f6
authored
May 26, 2025
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
兼容后端数据
1 parent
c26a6c67
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
18 deletions
pages/equity/detail/components/Reception.vue
pages/equity/detail/components/Reception.vue
View file @
101805f
...
@@ -60,22 +60,14 @@
...
@@ -60,22 +60,14 @@
</template>
</template>
</view>
</view>
</view>
</view>
<
template
v-if=
"isByd"
>
<image
<image
class=
"content-image"
class=
"content-image"
:src=
"contentUrl()"
:src=
"views[0].detailUrl"
/>
/>
<image
</
template
>
class=
"content-bg"
<
template
v-else
>
:src=
"receptionBg(customerInfo.carModelId)"
<image
/>
class=
"content-image"
:src=
"contentUrl()"
/>
<image
class=
"content-bg"
:src=
"receptionBg(customerInfo.carModelId)"
/>
</
template
>
</view>
</view>
</view>
</view>
</template>
</template>
...
@@ -198,8 +190,7 @@ export default {
...
@@ -198,8 +190,7 @@ export default {
},
},
contentUrl
()
{
contentUrl
()
{
let
{
views
,
customerInfo
}
=
this
let
{
views
,
customerInfo
}
=
this
let
isArray
=
Array
.
isArray
(
views
)
return
(
views
.
detailUrl
?
views
.
detailUrl
:
views
[
customerInfo
.
carModelId
])
||
require
(
'@/assets/images/media/nothing.webp'
)
return
(
isArray
?
views
[
0
].
detailUrl
:
views
[
customerInfo
.
carModelId
])
||
require
(
'@/assets/images/media/nothing.webp'
)
}
}
}
}
}
}
...
...
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