Toggle navigation
Toggle navigation
This project
Loading...
Sign in
liuloulou
/
yohobuy-portal-fe2
·
Commits
Go to a project
GitLab
Go to dashboard
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
Plain Diff
Browse Files
Authored by
ping
9 years ago
Commit
df0bf02e77f723e6d5cc1470288b719a9f3f195a
2 parents
e7b371a3
5a26cc22
Merge branch 'portal_dev_4.9' into grey
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
11 deletions
code/apps/guang/views/info/Index.html
code/apps/operations/views/category/Edit.html
code/apps/resource/views/__partail/taoyu2.html
code/static/js.jquery/common/edit2.js
code/static/js.jquery/module/operations/salecategory/Index.js
code/apps/guang/views/info/Index.html
View file @
df0bf02
...
...
@@ -52,7 +52,7 @@
<div
class=
"panel-col"
>
<select
id=
"appType"
class=
"form-control"
>
<option
value=
"-1"
>
是否BLK
商品
</option>
<option
value=
"-1"
>
是否BLK
资讯
</option>
<option
value=
"1"
>
是BLK
</option>
<option
value=
"0"
>
非BLK
</option>
</select>
...
...
code/apps/operations/views/category/Edit.html
View file @
df0bf02
...
...
@@ -37,7 +37,7 @@
<
div
class
=
"form-group"
>
<
label
class
=
"col-sm-1 control-label"
>
英文名称
<
/label
>
<
div
class
=
"col-sm-9"
>
<
input
type
=
"text"
value
=
"[[sortNameEn]]"
class
=
"form-control observe"
data
-
field
=
"sortNameEn"
placeholder
=
"英文名称"
required
>
<
input
type
=
"text"
value
=
"[[sortNameEn]]"
class
=
"form-control observe"
data
-
field
=
"sortNameEn"
placeholder
=
"英文名称"
>
<
/div
>
<
/div><!-- form-group --
>
<
div
class
=
"form-group"
>
...
...
code/apps/resource/views/__partail/taoyu2.html
View file @
df0bf02
...
...
@@ -439,12 +439,16 @@
<p
class=
"title"
>
[[module.contentData.data.title.name]]
<a
class=
"more"
href=
"#"
>
[[module.contentData.data.title.more_name]]
</a></p>
[[/if]]
<p
class=
"big-pic"
><img
src=
"[[module.contentData.data.list[0].src]]"
></p>
<div
class=
"col-sm-6 matchImage"
style=
"padding-left: 3px"
>
<img
src=
"[[module.contentData.data.list[1].src]]"
>
</div>
<div
class=
"col-sm-6 matchImage"
>
<img
style=
"height: 50%;width: 100%"
src=
"[[module.contentData.data.list[2].src]]"
>
<div>
<div
class=
"col-sm-4 matchImage"
>
<img
src=
"[[module.contentData.data.list[0].src]]"
>
</div>
<div
class=
"col-sm-4 matchImage"
>
<img
src=
"[[module.contentData.data.list[1].src]]"
>
</div>
<div
class=
"col-sm-4 matchImage"
>
<img
src=
"[[module.contentData.data.list[2].src]]"
>
</div>
</div>
</div>
</div>
\ No newline at end of file
...
...
code/static/js.jquery/common/edit2.js
View file @
df0bf02
...
...
@@ -95,7 +95,7 @@ components.prototype={
//下拉选择
$
(
"select"
,
that
.
el
).
each
(
function
()
{
var
value
=
$
.
trim
(
$
(
this
).
val
());
var
name
=
$
(
this
).
children
(
":first"
).
text
().
replace
(
/
[
请选择
]
/g
,
""
);
var
name
=
$
(
this
).
children
(
":first"
).
text
().
replace
(
/
请选择
/g
,
""
);
if
(
$
(
this
).
attr
(
"required"
)
&&
(
value
==
-
1
||
value
==
""
))
{
err
.
push
(
"<p>请选择 "
+
name
+
"</p>"
);
...
...
code/static/js.jquery/module/operations/salecategory/Index.js
View file @
df0bf02
...
...
@@ -190,9 +190,8 @@ $(document).on('click', '.add-sub-category', function() {
data
.
curParent
=
res
.
data
.
categoryName
;
data
.
subCategoryName
=
res
.
data
.
categoryName
;
data
.
parentId
=
res
.
data
.
categoryId
;
data
.
sub
=
"sub"
;
//添加子分类时不允许编辑BLK判断用
data
.
appType
=
res
.
data
.
appType
;
initForm
(
data
);
console
.
info
(
data
.
parentId
);
tabTreeArr
=
[];
tabTree
=
new
common
.
tabTree
(
".sortTree"
,
{
status
:
1
,
...
...
Please
register
or
login
to post a comment