切换导航条
此项目
正在载入...
登录
王智
/
sedum
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
王智
4 years ago
提交
1b3a6762923727ce47b827e84c030484fa3a5121
1 个父辈
efd503bc
xiugao
显示空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
34 行增加
和
0 行删除
public/assets/js/backend/four_baogao.js
public/assets/js/backend/four_baogao.js
查看文件 @
1b3a676
...
...
@@ -92,6 +92,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
var
SeasonType
=
document
.
getElementById
(
"c-season_type"
);
var
BodyType
=
document
.
getElementById
(
"c-body_type"
);
var
WorkType
=
document
.
getElementById
(
"c-work_type"
);
var
FaceType
=
document
.
getElementById
(
"c-face_type"
);
var
web1
=
document
.
getElementById
(
"web1"
);
var
goods1
=
document
.
getElementById
(
"goods1"
);
var
web2
=
document
.
getElementById
(
"web2"
);
...
...
@@ -102,6 +103,8 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
var
goods4
=
document
.
getElementById
(
"goods4"
);
var
web5
=
document
.
getElementById
(
"web5"
);
var
goods5
=
document
.
getElementById
(
"goods5"
);
var
web6
=
document
.
getElementById
(
"web6"
);
var
goods6
=
document
.
getElementById
(
"goods6"
);
SportType
.
onchange
=
function
()
{
if
(
SportType
.
value
==
1
)
{
web1
.
style
.
display
=
'none'
;
...
...
@@ -147,6 +150,15 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
goods5
.
style
.
display
=
'none'
;
}
};
FaceType
.
onchange
=
function
()
{
if
(
FaceType
.
value
==
1
)
{
web6
.
style
.
display
=
'none'
;
goods6
.
style
.
display
=
'block'
;
}
else
{
web6
.
style
.
display
=
'block'
;
goods6
.
style
.
display
=
'none'
;
}
};
Controller
.
api
.
bindevent
();
},
edit
:
function
()
{
...
...
@@ -155,6 +167,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
var
SeasonType
=
Config
.
SeasonType
;
var
BodyType
=
Config
.
BodyType
;
var
WorkType
=
Config
.
WorkType
;
var
FaceType
=
Config
.
FaceType
;
var
web1
=
document
.
getElementById
(
"web1"
);
var
goods1
=
document
.
getElementById
(
"goods1"
);
var
web2
=
document
.
getElementById
(
"web2"
);
...
...
@@ -165,6 +178,8 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
var
goods4
=
document
.
getElementById
(
"goods4"
);
var
web5
=
document
.
getElementById
(
"web5"
);
var
goods5
=
document
.
getElementById
(
"goods5"
);
var
web6
=
document
.
getElementById
(
"web6"
);
var
goods6
=
document
.
getElementById
(
"goods6"
);
if
(
SportType
==
1
)
{
web1
.
style
.
display
=
'none'
;
goods1
.
style
.
display
=
'block'
;
...
...
@@ -202,11 +217,21 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
goods5
.
style
.
display
=
'none'
;
}
};
FaceType
.
onchange
=
function
()
{
if
(
FaceType
==
1
)
{
web6
.
style
.
display
=
'none'
;
goods6
.
style
.
display
=
'block'
;
}
else
{
web6
.
style
.
display
=
'block'
;
goods6
.
style
.
display
=
'none'
;
}
};
var
SportType2
=
document
.
getElementById
(
"c-sport_type"
);
var
EatType2
=
document
.
getElementById
(
"c-eat_type"
);
var
SeasonType2
=
document
.
getElementById
(
"c-season_type"
);
var
BodyType2
=
document
.
getElementById
(
"c-body_type"
);
var
WorkType2
=
document
.
getElementById
(
"c-work_type"
);
var
FaceType2
=
document
.
getElementById
(
"c-FaceType2"
);
SportType2
.
onchange
=
function
()
{
if
(
SportType2
.
value
==
1
)
{
web1
.
style
.
display
=
'none'
;
...
...
@@ -252,6 +277,15 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
goods5
.
style
.
display
=
'none'
;
}
};
FaceType2
.
onchange
=
function
()
{
if
(
FaceType2
.
value
==
1
)
{
web6
.
style
.
display
=
'none'
;
goods6
.
style
.
display
=
'block'
;
}
else
{
web6
.
style
.
display
=
'block'
;
goods6
.
style
.
display
=
'none'
;
}
};
Controller
.
api
.
bindevent
();
},
api
:
{
...
...
请
注册
或
登录
后发表评论