Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOOD
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
whb
10 years ago
Commit
bf7abc27648e90a8cf07a71412596341d0d809d2
1 parent
6191e51b
字符处理
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
res/js/mobile.js
res/js/yohood.js
website/view/script/brand/index.php
res/js/mobile.js
View file @
bf7abc2
...
...
@@ -98,7 +98,7 @@ define('mobile', function(require, exports) {
type
:
"post"
,
url
:
"/brand/getbrand"
,
data
:
{
brand
:
brand
brand
:
encodeURIComponent
(
brand
)
},
dataType
:
'json'
,
success
:
function
(
data
)
{
...
...
@@ -111,7 +111,7 @@ define('mobile', function(require, exports) {
});
$
(
".brand-content"
).
html
(
template
.
replace
(
'{li}'
,
html
));
}
else
{
$
(
".brand-content"
).
html
(
noSearchTemplate
.
replace
(
'{brand}'
,
brand
));
$
(
".brand-content"
).
html
(
noSearchTemplate
.
replace
(
'{brand}'
,
tools
.
escapeHTML
(
brand
).
replace
(
/
\"
/g
,
"“"
).
replace
(
/
\'
/g
,
"‘"
)
));
}
}
});
...
...
res/js/yohood.js
View file @
bf7abc2
...
...
@@ -373,7 +373,7 @@ define('yohood', function(require, exports) {
$
(
".brand-content"
).
html
(
template
.
replace
(
'{li}'
,
html
));
}
else
{
$
(
".brand-content"
).
html
(
""
);
$
(
".brand-content"
).
html
(
noSearchTemplate
.
replace
(
'{brand}'
,
tools
.
escapeHTML
(
brand
)));
$
(
".brand-content"
).
html
(
noSearchTemplate
.
replace
(
'{brand}'
,
tools
.
escapeHTML
(
brand
)
.
replace
(
/
\"
/g
,
"“"
).
replace
(
/
\'
/g
,
"‘"
)
));
}
}
});
...
...
website/view/script/brand/index.php
View file @
bf7abc2
...
...
@@ -29,7 +29,7 @@
<div
class=
"brand-main"
>
<?php
if
(
$this
->
view
->
brandTotal
)
:?>
<
div
class
="
search
-
wrap
">
<input type="
text
" placeholder="
搜索品牌
...
" maxlength="
5
0
">
<input type="
text
" placeholder="
搜索品牌
...
" maxlength="
3
0
">
<a href="
javascript
:
;
" class="
search
-
btn
iconfont
"></a>
</div>
<div class="
brand
-
content
">
...
...
Please
register
or
login
to post a comment