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
zhangxiaoru
9 years ago
Commit
3fa291650f5dd3442866567140560e8c04ad5a4e
1 parent
5b306640
exchange
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
15 additions
and
8 deletions
apps/brand/models/brand.js
apps/brand/views/partial/list.hbs
apps/me/models/returns.js
apps/me/views/partial/exchange-detail.hbs
public/js/editorial/list.page.js
public/js/me/exchange-detail.page.js
apps/brand/models/brand.js
View file @
3fa2916
...
...
@@ -42,7 +42,6 @@ const _processListData = (list) => {
// key: index,
// brands: value
// });
});
listKey
.
sort
();
...
...
apps/brand/views/partial/list.hbs
View file @
3fa2916
...
...
@@ -7,7 +7,7 @@
<li>
<a
data-key=
"
{{
key
}}
"
href=
"
{{
brandDomain
}}
"
target=
"_blank"
>
<img
class=
"lazy"
data-original=
"
{{
image
brandIco
270
190
}}
"
>
<span>
{{
brandName
}}
</span>
<span>
{{
brandName
En
}}
</span>
</a>
</li>
{{/
each
}}
...
...
apps/me/models/returns.js
View file @
3fa2916
...
...
@@ -628,8 +628,6 @@ const _setExchangeDetailData = (data) => {
sendBack
:
true
,
cancel
:
true
,
location
:
true
// takeGoods: true
});
}
else
{
Object
.
assign
(
list
,
{
...
...
@@ -722,7 +720,7 @@ const getExchangeDetailData = (id, uid) => {
returnsAPI
.
getExpressCompanyAsync
()
]).
then
(
result
=>
{
let
exchangeData
=
{};
// console.log(result)
Object
.
assign
(
exchangeData
,
_setSideMenu
(
'我的退/换货'
));
exchangeData
=
{
title
:
'换货申请'
,
...
...
@@ -731,6 +729,7 @@ const getExchangeDetailData = (id, uid) => {
if
(
result
[
0
]
&&
result
[
0
].
data
)
{
let
data
=
result
[
0
].
data
;
data
.
expressId
=
data
.
notice
.
express_id
;
if
(
result
[
1
]
&&
result
[
1
].
data
)
{
data
.
expressList
=
_setExpressData
(
result
[
1
].
data
);
...
...
apps/me/views/partial/exchange-detail.hbs
View file @
3fa2916
...
...
@@ -66,7 +66,7 @@
{{#if
logistics
}}
<div
class=
"return-express"
>
{{#if
expressNumber
}}
<div
class=
"show-content"
data-id=
"
{{
i
d
}}
"
>
<div
class=
"show-content"
data-id=
"
{{
expressI
d
}}
"
>
<h4
class=
"third-title"
>
寄回物流信息
<label
class=
"reset-express btn white"
>
修改
</label></h4>
<p>
请您耐心等待,我们会在收到货物后快速为您处理
</p>
<p>
物流公司:
{{
expressCompany
}}
</p>
...
...
@@ -89,7 +89,7 @@
</dd>
<dd>
快递单号:
<input
type=
"text"
class=
"express-code"
placeholder=
"填写快递单号"
value=
"
{{
n
umber
}}
"
>
<input
type=
"text"
class=
"express-code"
placeholder=
"填写快递单号"
value=
"
{{
expressN
umber
}}
"
>
</dd>
<dd>
<span
class=
"submit-express btn"
>
提交
</span>
...
...
public/js/editorial/list.page.js
View file @
3fa2916
...
...
@@ -44,3 +44,12 @@ $('.editorial-list-page').on('click', '.like-icon', function() {
}).
on
(
'mouseenter mouseleave'
,
'.like-icon'
,
function
()
{
$
(
this
).
closest
(
'.like'
).
toggleClass
(
'hover'
);
});
$
(
'.msg-title'
).
each
(
function
()
{
var
$this
=
$
(
this
),
$text
=
$this
.
text
();
if
(
$text
.
length
>
68
)
{
$this
.
html
(
$text
.
substring
(
0
,
64
)
+
'...'
);
}
});
\ No newline at end of file
...
...
public/js/me/exchange-detail.page.js
View file @
3fa2916
...
...
@@ -76,7 +76,7 @@ $submitExpress.click(function() {
$showExpress
.
on
(
'click'
,
'.reset-express'
,
function
()
{
var
expressId
=
$showExpress
.
data
(
'id'
);
$expressCo
de
.
val
(
expressId
);
$expressCo
mpany
.
val
(
expressId
);
$showExpress
.
addClass
(
'hide'
);
$editExpress
.
removeClass
(
'hide'
);
});
...
...
Please
register
or
login
to post a comment