Commit 21649383 authored by 吴春's avatar 吴春

修改订单座位样式

parent cff0a3fc
......@@ -41,22 +41,20 @@
<div class="comDiv">场次:@ScreeningModel.StartTime.ToString("yyyy-MM-dd HH:mm:ss")</div>
</div>
</div>
@if (ViewBag.IsShowDetails == 0)
{
<div class="centerTicket">
<div class="rightCenter">已选座位</div>
<div class="TicketSaleContent seatCked">
<div class="centerTicket">
<div class="rightCenter">已选座位</div>
<div class="TicketSaleContent seatCked">
</div>
</div>
<div class="chooseBtn">
<div class="rightCenter" style="margin-top:10px;">总价</div>
<div class="btnContent">
<div><span style="font-size:14px;">¥</span><span class="tPrice totalPrice"></span></div>
<input type="button" class="sureBtn" value="确认" />
</div>
</div>
<div class="chooseBtn">
<div class="rightCenter" style="margin-top:10px;">总价</div>
<div class="btnContent">
<div><span style="font-size:14px;">¥</span><span class="tPrice totalPrice"></span></div>
<input type="button" class="sureBtn" value="确认" />
</div>
}
</div>
</div>
<div class="seatMainContent">
<div class="seatType">
......@@ -76,6 +74,11 @@
<img src="~/Areas/TicketMall/Content/Sp_img/canChoose.png" alt="" />
<span class="seatName">可换座位</span>
</div>
<div class="seatTypeList">
<img src="~/Areas/TicketMall/Content/Sp_img/nowOrderSeat.png" alt="" />
<span class="seatName">当前订单座位</span>
</div>
</div>
<div class="seatContent">
@if (Model != null)
......@@ -99,7 +102,7 @@
<script type="text/javascript">
$(function () {
//点击选座
$(".seat,.changeseat").click(function() {
$(".seat,.changeseat").click(function () {
if ($(this).hasClass('selected')) {
$(this).removeClass('selected');
} else {
......@@ -123,7 +126,12 @@
count += parseFloat($(this).html());
})
$(".totalPrice").html(count);
});
});
//点击当前订单座位
$(".noworder").click(function () {
$(this).removeClass('noworder').addClass('seat');
})
$(".sureBtn").click(function() {
var FirstNum = 0;
var ScondNum = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment