Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
王水玲
8 years ago
Commit
1f309b5e54dae04a0c62a7f8d4483a11bceeb5d0
1 parent
af18dcd6
我的vip 隐藏白金会员的进度条
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
18 deletions
apps/me/models/order.js
apps/me/models/vip.js
apps/me/views/partial/vip.hbs
apps/me/models/order.js
View file @
1f309b5
...
...
@@ -544,7 +544,7 @@ const getOrderDetail = (uid, code) => {
detail
.
statusStr
=
statusMap
[
st
].
valueStr
;
}
//取消不显示物流信息
//
取消不显示物流信息
detail
.
expressInfo
=
express
;
detail
.
expressInfo
.
addressList
=
_convertAddress
(
express
.
express_detail
,
detail
.
create_time
);
}
...
...
apps/me/models/vip.js
View file @
1f309b5
...
...
@@ -79,9 +79,9 @@ const vipIndex = (uid)=>{
return
{
curTitle
:
data
.
next_vip_title
?
data
.
current_vip_title
:
'金卡会员'
,
nextTitle
:
data
.
next_vip_title
?
data
.
next_vip_title
:
'白金会员'
,
nextLevel
:
data
.
next_vip_level
?
data
.
next_vip_level
:
3
,
curTitle
:
data
.
current_vip_title
,
nextTitle
:
data
.
next_vip_title
,
nextLevel
:
data
.
next_vip_level
,
curLevel
:
data
.
current_vip_level
,
yearCost
:
Number
(
data
.
current_year_cost
).
toFixed
(
2
),
totalCost
:
(
+
data
.
current_total_cost
).
toFixed
(
2
),
...
...
apps/me/views/partial/vip.hbs
View file @
1f309b5
...
...
@@ -33,22 +33,24 @@
</div>
</div>
<p
class=
"ps"
>
VIP金额累计需订单成功签收满15天且无退换货
</p>
<div
class=
"amount-length"
>
<span
class=
"line"
></span>
<span
class=
"line-black"
style=
"width:
{{
proportion
}}
;
{{#if
hasConsume
}}
display: block;
{{/if}}
"
></span>
<span
class=
"left-r"
>
<i
class=
"r-icon"
></i>
{{
curTitle
}}
</span>
<span
class=
"right-r"
>
<i
class=
"r-icon"
></i>
{{
nextTitle
}}
</span>
<span
class=
"price-box"
>
{{
nextCost
}}
</span>
</div>
{{#
unless
platinum
}}
<div
class=
"amount-length"
>
<span
class=
"line"
></span>
<span
class=
"line-black"
style=
"width:
{{
proportion
}}
;
{{#if
hasConsume
}}
display: block;
{{/if}}
"
></span>
<span
class=
"left-r"
>
<i
class=
"r-icon"
></i>
{{
curTitle
}}
</span>
<span
class=
"right-r"
>
<i
class=
"r-icon"
></i>
{{
nextTitle
}}
</span>
<span
class=
"price-box"
>
{{
nextCost
}}
</span>
</div>
{{/
unless
}}
</div>
</div>
<div
class=
"history"
>
<div
class=
"history"
{{#if
platinum
}}
style=
"padding-top: 40px;"
{{/if}}
>
<div
class=
"level"
>
历史消费总额:
<span
class=
"hisamout"
>
¥
{{
totalCost
}}
</span>
</div>
...
...
Please
register
or
login
to post a comment