Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-h5-ailipay
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 6e41b846
authored
Apr 14, 2022
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改秒杀
1 parent
ea58761d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
src/api/shopmallApi.js
src/views/merchant/index.vue
src/api/shopmallApi.js
View file @
6e41b84
...
...
@@ -5,7 +5,8 @@ export default {
let
data
=
{
method
:
'scrm.api.shopmall.goods.wework.page'
,
pageSize
:
10
,
currentPage
currentPage
,
needActivityInfo
:
true
}
return
window
.
$HTTP
({
url
,
...
...
src/views/merchant/index.vue
View file @
6e41b84
...
...
@@ -63,14 +63,14 @@
</div>
<div
class=
"info"
>
<div
class=
"name text-two-line"
>
{{
i
.
goodsName
}}
</div>
<template
v-if=
"i.price
|| i.activityPrice
"
>
<template
v-if=
"i.price
!= null || i.activityPrice != null
"
>
<div
class=
"price flex"
>
<template
v-if=
"i.activityPrice"
>
<div
class=
"activity"
>
秒杀价
</div>
</
template
>
<div
class=
"unit"
>
¥
</div>
<div
class=
"num"
>
<
template
v-if=
"i.activityPrice"
>
{{
i
.
activityPrice
.
toFixed
(
2
)
}}
</
template
>
<
template
v-if=
"i.activityPrice
!= null
"
>
{{
i
.
activityPrice
.
toFixed
(
2
)
}}
</
template
>
<
template
v-else
>
{{
i
.
price
.
toFixed
(
2
)
}}
</
template
>
</div>
</div>
...
...
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