Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Athena
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
华国豪
Athena
Commits
7fdcdfde
Commit
7fdcdfde
authored
Jun 19, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
兑换商城,商品详情
parent
f3348843
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
shoppingMall.vue
src/components/taskPage/IceCream/shoppingMall.vue
+6
-2
No files found.
src/components/taskPage/IceCream/shoppingMall.vue
View file @
7fdcdfde
...
@@ -80,6 +80,7 @@
...
@@ -80,6 +80,7 @@
-webkit-box-orient
:
vertical
;
-webkit-box-orient
:
vertical
;
-webkit-line-clamp
:
1
;
-webkit-line-clamp
:
1
;
overflow
:
hidden
;
overflow
:
hidden
;
cursor
:
pointer
;
}
}
.shoppingMall
.content
.item
.bottom
{
.shoppingMall
.content
.item
.bottom
{
background-color
:
white
;
background-color
:
white
;
...
@@ -181,7 +182,7 @@
...
@@ -181,7 +182,7 @@
<div
class=
"img_box"
>
<div
class=
"img_box"
>
<img
:src=
"item.imgs[0]"
alt=
""
>
<img
:src=
"item.imgs[0]"
alt=
""
>
</div>
</div>
<span
class=
"info"
:title=
"item.name"
>
{{
item
.
name
}}
</span>
<span
class=
"info"
@
click=
"goDetails(item.id)"
:title=
"item.name"
>
{{
item
.
name
}}
</span>
<span
class=
"_d"
>
可兑换:
<span>
{{
item
.
residue
}}
次
</span></span>
<span
class=
"_d"
>
可兑换:
<span>
{{
item
.
residue
}}
次
</span></span>
</div>
</div>
<div
class=
"bottom"
>
<div
class=
"bottom"
>
...
@@ -200,7 +201,6 @@
...
@@ -200,7 +201,6 @@
<span
v-if=
"item.residue
<
1
"
class=
"no_dui"
>
兑换
</span>
<span
v-if=
"item.residue
<
1
"
class=
"no_dui"
>
兑换
</span>
<span
v-else
@
click=
"setExchangeGoods(item.id)"
>
兑换
</span>
<span
v-else
@
click=
"setExchangeGoods(item.id)"
>
兑换
</span>
</
template
>
</
template
>
</div>
</div>
</div>
</div>
</el-col>
</el-col>
...
@@ -219,6 +219,10 @@ export default {
...
@@ -219,6 +219,10 @@ export default {
hoverBank
:
1
,
hoverBank
:
1
,
}
}
},
methods
:{
},
methods
:{
// 跳转商品详情
goDetails
:
function
(
id
)
{
this
.
$router
.
push
({
path
:
'productDetail'
,
query
:
{
id
:
id
}})
},
// 兑换
// 兑换
setExchangeGoods
:
function
(
goodsId
)
{
setExchangeGoods
:
function
(
goodsId
)
{
let
msg
=
{
let
msg
=
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment