Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
Theater
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴春
Theater
Commits
f8839c1c
Commit
f8839c1c
authored
Mar 04, 2019
by
吴春
Browse files
Options
Browse Files
Download
Plain Diff
提交
parents
a0270c62
07e529b2
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
21 deletions
+21
-21
Aliyun.Net.SDK.Core.dll
DLL/Aliyun.Net.SDK.Core.dll
+0
-0
aliyun-net-sdk-core.dll
DLL/aliyun-net-sdk-core.dll
+0
-0
aliyun-net-sdk-dysmsapi.dll
DLL/aliyun-net-sdk-dysmsapi.dll
+0
-0
TheaterSeat.cshtml
...ll.Web/Areas/Admin/Views/TheaterManage/TheaterSeat.cshtml
+19
-19
NoticeShow.cshtml
EheMall.Web/Areas/TicketMall/Views/Home/NoticeShow.cshtml
+2
-2
No files found.
DLL/Aliyun.Net.SDK.Core.dll
0 → 100644
View file @
f8839c1c
File added
DLL/aliyun-net-sdk-core.dll
0 → 100644
View file @
f8839c1c
File added
DLL/aliyun-net-sdk-dysmsapi.dll
0 → 100644
View file @
f8839c1c
File added
EheMall.Web/Areas/Admin/Views/TheaterManage/TheaterSeat.cshtml
View file @
f8839c1c
...
...
@@ -22,7 +22,7 @@
display
:
inline-block
;
margin
:
0px
auto
;
padding-top
:
8px
;
min-height
:
5
00px
;
min-height
:
3
00px
;
border
:
1px
solid
#e5e5e5
;
position
:
relative
;
}
...
...
@@ -42,7 +42,7 @@
.row_input
{
width
:
40px
;
height
:
27px
;
margin-bottom
:
6px
;
margin-bottom
:
6px
!important
;
}
.seats-block
.row
{
...
...
@@ -263,7 +263,6 @@
var
self
=
this
;
function
MyViewModel
()
{
//定义数组对象
// self.SeatData = ko.observableArray([]);
self
.
InitSeat
=
function
()
{
...
...
@@ -577,7 +576,6 @@
SeatData
()[
rowIndex
].
noLenth
=
_thisLen
;
SeatData
()[
rowIndex
].
myArr
=
[];
if
(
_thisLen
==
0
)
{
var
louIndex
=
[];
var
tangIndex
=
[];
...
...
@@ -633,6 +631,14 @@
console
.
log
((
i
+
1
-
lourow
-
TangCount
),
"排"
);
}
}
$
(
".row_input"
).
each
(
function
(
x
)
{
//console.log($(this),'thsithisthis');
console
.
log
(
$
(
this
).
val
(),
'vvvvvvvv'
)
if
(
$
(
this
).
val
()
==
''
)
{
$
(
this
).
addClass
(
'noSeat'
);
}
})
SeatData
.
replace
(
SeatData
()[
i
],
newObj
);
}
...
...
@@ -693,11 +699,14 @@
event
.
stopPropagation
();
// 阻止事件冒泡
}
});
//$(".seats-container").click(function () {
// istuo = true;
//})
// 鼠标移动时计算遮罩的位置,宽 高
$
(
".seats-container"
).
mousemove
(
function
(
ev
)
{
//if (!flag) return;//只有开启了拖拽,才进行mouseover操作
var
_offTopPage
=
$
(
document
).
scrollTop
();
var
divLeft
=
$
(
".seats-container"
).
offset
().
left
+
$
(
".seats-container"
).
width
();
if
(
ev
.
buttons
==
1
&&
isSetSeat
==
true
)
{
if
(
ev
.
pageX
<
oldLeft
)
{
//向左拖
moveSelected
.
style
.
left
=
ev
.
pageX
+
'px'
;
...
...
@@ -713,9 +722,13 @@
}
ev
.
preventDefault
();
// 阻止默认行为
ev
.
stopPropagation
();
// 阻止事件冒泡
$
(
".seat_menu"
).
css
({
"display"
:
'none'
});
}
});
//$(".seats-container").mouseleave(function (ev) {
// clearDragData();
//});
$
(
".seats-container"
).
on
(
'contextmenu'
,
function
(
ev
)
{
//-------------禁用系统的右键功能-----------
$
(
document
).
bind
(
'contextmenu'
,
function
(
ev
)
{
...
...
@@ -769,6 +782,7 @@
if
((
leftFlag
||
rightFlag
)
&&
(
topFlag
||
bottomFlag
))
{
selectedList
.
push
(
blockList
[
i
]);
$
(
blockList
[
i
]).
removeClass
(
'seat'
);
reSeat
();
if
(
$
(
blockList
[
i
]).
hasClass
(
'seled'
))
{
$
(
blockList
[
i
]).
removeClass
(
'seled'
);
$
(
blockList
[
i
]).
addClass
(
'seat'
);
...
...
@@ -779,20 +793,6 @@
$
(
blockList
[
i
]).
removeClass
(
'twoArea'
);
$
(
blockList
[
i
]).
removeClass
(
'threeArea'
);
$
(
blockList
[
i
]).
removeClass
(
'specialArea'
);
if
((
$
(
blockList
[
i
]).
hasClass
(
'seled'
)
&&
$
(
blockList
[
i
]).
hasClass
(
'noSeat'
))
||
$
(
blockList
[
i
]).
hasClass
(
'seat'
)
&&
$
(
blockList
[
i
]).
hasClass
(
'noSeat'
))
{
$
(
blockList
[
i
]).
removeClass
(
'noSeat'
);
var
rowId
=
parseInt
(
$
(
blockList
[
i
]).
attr
(
'data_row_id'
))
-
1
;
var
newObj
=
self
.
clone
(
SeatData
()[
rowId
]);
var
iiii
=
parseInt
(
parseInt
(
$
(
blockList
[
i
]).
attr
(
'data_column_id'
)));
newObj
.
ColumnArray
[
iiii
].
SeatClassStr
=
"seled"
;
newObj
.
noLenth
=
1
;
console
.
log
(
newObj
);
SeatData
.
replace
(
SeatData
()[
rowId
],
newObj
);
reSeat
(
rowId
);
}
}
}
}
...
...
EheMall.Web/Areas/TicketMall/Views/Home/NoticeShow.cshtml
View file @
f8839c1c
...
...
@@ -9,7 +9,7 @@
<div class="w1240">
<div class="
sideright fl white
">
<div class="
fl white" style="padding:30px;
">
<div class="orderbox">
...
...
@@ -27,7 +27,7 @@
</p>
@if (!string.IsNullOrWhiteSpace(Model.sIconUrl))
{
<p style='text-align:center'><img src="@Model.sIconUrl" /></p>
<p style='text-align:center'><img s
tyle="width:100%;" s
rc="@Model.sIconUrl" /></p>
}
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment