Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-portal-fe2
·
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
wangwei
7 years ago
Commit
0123e40469cff4c264691c663e664bc13e3bf3dd
1 parent
6a4a99f5
首页改版
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
19 deletions
code/apps/resource/views/__partail/weiqingting.html
code/static/js.jquery/module/resource/partials/Button1.js
code/static/js.jquery/module/resource/partials/addObj.js
code/static/js.jquery/module/resource/resourceManage/ContentManage.js
code/apps/resource/views/__partail/weiqingting.html
View file @
0123e40
...
...
@@ -888,7 +888,7 @@
<
div
class
=
"row"
>
<
label
class
=
"col-sm-2 control-label"
>
活动
ID
<
/label
>
<
div
class
=
"col-sm-8"
>
<
input
value
=
"[[contentData.data.activityId]]"
class
=
"form-control observe input-form
"
data
-
field
=
"activityId"
placeholder
=
"商品池ID"
/>
<
input
value
=
"[[contentData.data.activityId]]"
id
=
"activityId"
class
=
"form-control observe input-form number
"
data
-
field
=
"activityId"
placeholder
=
"商品池ID"
/>
<
/div
>
<
/div
>
<
/div
>
...
...
@@ -1241,18 +1241,6 @@
<script
type=
"text/template"
id=
"shopFloor-template"
>
<
input
type
=
"button"
class
=
"btn btn-info btn-xs addBtn addShopBtn"
data
-
event
=
"shopFloor.list"
value
=
"添加店铺信息"
style
=
"margin:10px;"
>
<
br
>
<
div
class
=
"panel-body"
>
<
div
class
=
"row"
>
<
div
class
=
"col-sm-8"
>
<
select
class
=
"form-control observe input-form"
name
=
"goodsType"
value
=
"[[contentData.data.goodsType]]"
data
-
field
=
"goodsType"
required
>
<
option
value
=
"-1"
>
店铺商品
<
/option
>
<
option
value
=
"1"
>
7
天上新
<
/option
>
<
option
value
=
"2"
>
15
天上新
<
/option
>
<
option
value
=
"0"
>
默认
<
/option
>
<
/select
>
<
/div
>
<
/div
>
<
/div
>
<
div
class
=
"rows"
>
<
div
>
<
ul
class
=
"draggable"
data
-
array
=
"data"
>
...
...
code/static/js.jquery/module/resource/partials/Button1.js
View file @
0123e40
...
...
@@ -1646,7 +1646,6 @@ var Button = [
dialog
:
"shopFloor-template"
,
template_name
:
"shopFloor"
,
data
:
{
"goodsType"
:
""
,
"list"
:[]
},
"isNewFloor"
:
"1"
...
...
code/static/js.jquery/module/resource/partials/addObj.js
View file @
0123e40
...
...
@@ -190,7 +190,6 @@ var addObj = {
},
"alt"
:
""
,
"src"
:
""
,
"imageRatio"
:
""
},
tabFloor_list
:
{
"tabName"
:
""
,
...
...
code/static/js.jquery/module/resource/resourceManage/ContentManage.js
View file @
0123e40
...
...
@@ -1732,10 +1732,12 @@ $(document).on("keyup", "#brandsearch", function () {
});
/****************************************************************************************************/
//输入限制
$
(
document
).
on
(
"keyup"
,
".number"
,
function
()
{
$
(
this
).
val
(
$
(
this
).
val
().
replace
(
/
\D
/g
,
''
));
$
(
document
).
on
(
"keyup"
,
"#activityId"
,
function
(){
var
reg
=
/^
[
0-9
]
+$/
;
var
txt
=
$
(
this
).
val
();
if
(
!
reg
.
test
(
txt
)){
$
(
this
).
val
(
""
);
}
});
//双击弹窗
...
...
Please
register
or
login
to post a comment