Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
h5
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
32545d10
authored
Jun 12, 2020
by
施宇
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
1
parent
a27263a1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
2 deletions
src/views/common/GoodsOne.vue
src/views/common/zyDetail.vue
view/3.js
view/42.js
src/views/common/GoodsOne.vue
View file @
32545d10
...
...
@@ -66,7 +66,10 @@
>
<div
class=
"mui-row list_data"
v-for=
"(itemPrice,index) in itemchild.ladder_price"
>
<p
class=
"mui-col-sm-6 mui-col-xs-6"
v-html=
"itemPrice.purchases+'+'"
></p>
<p
class=
"mui-col-sm-6 mui-col-xs-6"
>
¥
{{
itemPrice
.
price_cn
}}
</p>
<p
class=
"mui-col-sm-6 mui-col-xs-6"
>
<template
v-if=
"itemchild.ac_type == 6"
>
¥
{{
itemPrice
.
price_ac
}}
</
template
>
<
template
v-else
>
¥
{{
itemPrice
.
price_cn
}}
</
template
>
</p>
</div>
</div>
...
...
src/views/common/zyDetail.vue
View file @
32545d10
...
...
@@ -107,9 +107,19 @@
<span
v-html=
"'¥'+v.price_ac"
></span>
</td>
</
template
>
<
template
v-if=
"goodDetail.ac_type == 6"
>
<td
class=
"xs-6"
>
<span
v-html=
"v.purchases+'+'"
></span>
</td>
<td
class=
"xs-6"
>
<span
v-html=
"'¥'+v.price_ac"
></span>
</td>
</
template
>
<
template
v-else
>
<td
class=
"xs-6"
>
<span
v-html=
"
'¥'+v.purchases
"
></span>
<span
v-html=
"
v.purchases+'+'
"
></span>
</td>
<td
class=
"xs-6"
>
<span
v-html=
"'¥'+v.price_cn"
></span>
...
...
@@ -296,10 +306,18 @@ export default {
if
(
data
.
tiered
)
{
for
(
let
i
=
0
;
i
<
data
.
tiered
.
length
;
i
++
)
{
let
singleData
=
data
.
tiered
[
i
];
if
(
this
.
goodDetail
.
ac_type
==
6
){
this
.
zyladderArr
.
push
({
price
:
Number
(
singleData
.
price_ac
).
toFixed
(
4
),
num
:
util
.
aggxde
(
singleData
.
purchases
)
});
}
else
{
this
.
zyladderArr
.
push
({
price
:
Number
(
singleData
.
price_cn
).
toFixed
(
4
),
num
:
util
.
aggxde
(
singleData
.
purchases
)
});
}
}
}
}
...
...
view/3.js
View file @
32545d10
This diff is collapsed.
Click to expand it.
view/42.js
View file @
32545d10
This diff is collapsed.
Click to expand it.
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