Commit d4f9b065 authored by 吴春's avatar 吴春

取票码生成

parent 601c5275
......@@ -82,6 +82,7 @@
<Compile Include="Handlers\SysMessageHandler.cs" />
<Compile Include="Handlers\SystemSettingHandler.cs" />
<Compile Include="Handlers\TheaterHandler.cs" />
<Compile Include="Handlers\TheaterOrderHandler.cs" />
<Compile Include="Services\ActionLogService.cs" />
<Compile Include="DependencyRegistrar.cs" />
<Compile Include="Handlers\PhoneMsgHandler.cs" />
......
......@@ -95,7 +95,7 @@ namespace EheMall.Admin.PermissionService.Initialize
_eventBus.Subscribe<OrderBillingDeleteCommand>(new OrderBillingHandler());
_eventBus.Subscribe<OrderBillingUpdateCommand>(new OrderBillingHandler());
_eventBus.Subscribe<OrderBillingUploadAuditCommand>(new OrderBillingHandler());
_eventBus.Subscribe<MemberOrderCommand>(new TheaterOrderHandler());
#endregion
#region 官网
......
using EheMall.Attributes;
using EheMall.EntityFramework.Repositories;
using EheMall.EntityFramework.Services;
using EheMall.Events;
using EheMall.Extensions;
using EheMall.Models;
using EheMall.Models.Commands;
using EheMall.Models.Enums;
using EheMall.Models.Models;
using EheMall.Mvc;
using EheMall.ServiceCenter;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace EheMall.Business.Handlers
{
/// <summary>
/// 代理商/旅行社下单
/// </summary>
public class TheaterOrderHandler : ICommandHandlers,
IEventHandler<MemberOrderCommand>
{
[AutofacResolve]
private IRepository<TheaterOrder> _repository { get; set; }
[AutofacResolve]
private IRepository<OrderDetail> _repositoryOrderDetail { get; set; }
[AutofacResolve]
private IRepository<OrderSeat> _repositoryOrderSeat { get; set; }
private static object _lock = new object();
public void HandleEvent(MemberOrderCommand eventData)
{
lock (_lock) //lock 关键字可确保当一个线程位于代码的临界区时,另一个线程不会进入该临界区。
{
TheaterOrder entity = new TheaterOrder();
entity.ID = Guid.NewGuid();
entity.iMemberType = eventData.iMemberType;
entity.OrderNo = (eventData.iLogUserId.ToString().Split('-')[1] + DateTime.Now.ToString("yyyyMMddHHmmssfff")).ToUpper(); //年月日时分秒
entity.bIsDeleted = false;
entity.sPhone = eventData.Mobile;
entity.sIDCard = eventData.IdentityCard;
entity.TheaterID = eventData.TheaterID;
entity.ScreeningID = eventData.ScreeningID;
entity.OrderState = Models.Enums.OrderStateEnum.Normal;
entity.OrderPayState = Models.Enums.OrderPayStateEnum.DueIn;
entity.OrderReturnState = Models.Enums.OrderReturnStateEnum.DueIn;
RNGCryptoServiceProvider csp = new RNGCryptoServiceProvider();
byte[] byteCsp = new byte[4];
csp.GetBytes(byteCsp);
entity.CollectingTickets = GetWeekNow()+ BitConverter.ToString(byteCsp).Replace("-", "");
entity.iBuyID = eventData.iLogUserId;
entity.iBuyCount = eventData.ParticularlyNum + eventData.FirstNum + eventData.ScondNum + eventData.ThirdNum;
entity.TotalPrice = eventData.TotalPrice;
entity.CreateDate = System.DateTime.Now;
var data = _repository.Insert(entity);
//订单详情
eventData.OrderDetail.OrderID = entity.ID;
_repositoryOrderDetail.Insert(eventData.OrderDetail);
//订单座位
foreach (var item in eventData.OrderSeatList)//订单座位
{
item.OrderID = entity.ID;
_repositoryOrderSeat.Insert(item);
}
this.WriteLog(data, _unitOfWork.Commit());
}
}
private string GetWeekNow()
{
string strWeek = System.DateTime.Now.DayOfWeek.ToString();
switch (strWeek)
{
case "Monday":
return "MO";
case "Tuesday":
return "TU";
case "Wednesday":
return "WE";
case "Thursday":
return "TH";
case "Friday":
return "FR";
case "Saturday":
return "SA";
case "Sunday":
return "SU";
}
return "";
}
}
}
......@@ -42,5 +42,17 @@ namespace EheMall.Business.Services
var list = DBHelper.Query<OrderDetail>(sqlStr);
return list;
}
public IEnumerable<OrderDetail> GetListByScreeningID(Guid ScreeningID)
{
string where = string.Empty;
if (ScreeningID != Guid.Empty)
{
where += string.Format(" and b.ScreeningID= '{0}'", ScreeningID);
}
string sqlStr = string.Format("SELECT * FROM OrderDetail as a LEFT JOIN TheaterOrder as b on a.OrderID=b.ID WHERE a.bIsDeleted=0 and b.bIsDeleted=0 and b.OrderState!=4 {0}", where);
var list = DBHelper.Query<OrderDetail>(sqlStr);
return list;
}
}
}
......@@ -41,5 +41,22 @@ namespace EheMall.Business.Services
var list = DBHelper.Query<OrderSeat>(sqlStr);
return list;
}
/// <summary>
/// 根据场次id获取订单座位信息
/// </summary>
/// <param name="ScreeningIDs"></param>
/// <returns></returns>
public IEnumerable<OrderSeat> GetListByScreeningIDs(Guid ScreeningID)
{
string where = string.Empty;
if (ScreeningID != Guid.Empty)
{
where += string.Format(" and b.ScreeningID ='{0}'", ScreeningID);
}
string sqlStr = string.Format("SELECT * FROM OrderSeat as a LEFT JOIN TheaterOrder as b on a.OrderID=b.ID WHERE a.bIsDeleted=0 {0}", where);
var list = DBHelper.Query<OrderSeat>(sqlStr);
return list;
}
}
}
......@@ -36,7 +36,7 @@ namespace EheMall.Business.Services
}
if (inputs.IsExitsAndNotEmpty("StartTime"))
{
sCondition.AppendFormat(" And StartTime >= '{0}'", inputs["StartTime"] + " 00:00:00");
sCondition.AppendFormat(" And StartTime >= '{0}'", inputs["StartTime"] + " " + System.DateTime.Now.ToString("HH:mm:ss"));
}
if (inputs.IsExitsAndNotEmpty("EndTime"))
{
......@@ -136,7 +136,7 @@ order by s.StartTime asc
}
if (inputs.IsExitsAndNotEmpty("StartTime"))
{
sCondition.AppendFormat(" And StartTime >= '{0}'", inputs["StartTime"] + " 00:00:00");
sCondition.AppendFormat(" And StartTime >= '{0}'", inputs["StartTime"] + " " + System.DateTime.Now.ToString("HH:mm:ss"));
}
if (inputs.IsExitsAndNotEmpty("EndTime"))
{
......@@ -171,7 +171,14 @@ left join Theater t on s.{nameof(Screening.TheaterId)}=t.ID)
public IEnumerable<Screening> GetListBy(JObject inputs)
{
StringBuilder sCondition = new StringBuilder();
if (inputs.IsExitsAndNotEmpty("Status"))
{
sCondition.AppendFormat(" And s.Status = {0}", inputs["Status"]);
}
if (inputs.IsExitsAndNotEmpty("StartTime"))
{
sCondition.AppendFormat(" And s.StartTime >= '{0}'", inputs["StartTime"] + " " + System.DateTime.Now.ToString("HH:mm:ss"));
}
sCondition.Append(" AND s.bIsDeleted=0 ");
var list = DBHelper.Query<Screening>($@"
select s.*,t.sName as TheaterName
......
......@@ -74,7 +74,7 @@ namespace EheMall.Business.Services
return list;
}
public IEnumerable<TheaterOrder> GetListByArticleTypeID(Guid TheaterID, Guid ScreeningID, int iMemberType, int OrderState)
public IEnumerable<TheaterOrder> GetListByArticleTypeID(Guid TheaterID, Guid ScreeningID, int iMemberType, int OrderState, int type = 0)
{
string where = string.Empty;
if (TheaterID != Guid.Empty)
......@@ -89,16 +89,25 @@ namespace EheMall.Business.Services
{
where += string.Format(" and TheaterID='{0}'", iMemberType);
}
if (OrderState > 0)
if (type == 0)
{
where += string.Format(" and OrderState='{0}'", OrderState);
if (OrderState > 0)
{
where += string.Format(" and OrderState='{0}'", OrderState);
}
}
else {
if (OrderState > 0)
{
where += string.Format(" and OrderState!='{0}'", OrderState);
}
}
string sqlStr = string.Format("SELECT * FROM TheaterOrder WHERE bIsDeleted=0 {0}", where);
var list = DBHelper.Query<TheaterOrder>(sqlStr);
return list;
}
/// <summary>
/// 抢票系统获取订单
/// </summary>
......@@ -248,7 +257,8 @@ LEFT JOIN Theater AS t ON A.TheaterID=t.ID)",
{
item.ReceivedMoney = item.TotalPrice;
}
else {
else
{
item.ReceivedMoney = 0;
}
//待收 应 - (已收 - 退款)
......@@ -265,7 +275,8 @@ LEFT JOIN Theater AS t ON A.TheaterID=t.ID)",
{
item.OutstandingMoney = item.TotalPrice - item.ReceivedMoney + item.ReturnPrice;
}
else {
else
{
item.OutstandingMoney = item.TotalPrice - item.ReceivedMoney;
}
}
......
using EheMall.Events;
using EheMall.Models.Enums;
using EheMall.Models.Models;
using System;
using System.Collections.Generic;
namespace EheMall.Models.Commands
{
public class MemberOrderCommand : ICommand
{
/// <summary>
/// 剧场id
/// </summary>
public Guid TheaterID { get; set; }
/// <summary>
/// 场次id
/// </summary>
public Guid ScreeningID { get; set; }
/// <summary>
/// 身份证
/// </summary>
public string IdentityCard { get; set; }
public string Mobile { get; set; }
public MemberTypeEnum iMemberType { get; set; }
/// <summary>
/// 特票
/// </summary>
public int ParticularlyNum { get; set; }
/// <summary>
/// 甲票
/// </summary>
public int FirstNum { get; set; }
/// <summary>
/// 乙票
/// </summary>
public int ScondNum { get; set; }
/// <summary>
/// 丙票
/// </summary>
public int ThirdNum { get; set; }
/// <summary>
/// 总价格
/// </summary>
public decimal TotalPrice { get; set; }
/// <summary>
/// 订单详情
/// </summary>
public OrderDetail OrderDetail { get; set; }
/// <summary>
/// 订单座位
/// </summary>
public List<OrderSeat> OrderSeatList { get; set; }
}
}
......@@ -133,6 +133,7 @@
<Compile Include="Commands\消息管理\MsgUpdateCommand.cs" />
<Compile Include="Commands\消息管理\MsgCreateCommand.cs" />
<Compile Include="Commands\短信\SendMsgCommand.cs" />
<Compile Include="Commands\订单管理\MemberOrderCommand.cs" />
<Compile Include="Commands\订单管理\OrderBillingCreateCommand.cs" />
<Compile Include="Commands\订单管理\OrderBillingDeleteCommand.cs" />
<Compile Include="Commands\订单管理\OrderBillingUpdateCommand.cs" />
......
......@@ -69,5 +69,33 @@ namespace EheMall.Models.Models
/// 创建时间
/// </summary>
public DateTime CreateDate { get; set; }
/// <summary>
/// 特票
/// </summary>
[NotMapped]
public int ParticularlyNum { get; set; }
/// <summary>
/// 甲票
/// </summary>
[NotMapped]
public int FirstNum { get; set; }
/// <summary>
/// 乙票
/// </summary>
[NotMapped]
public int ScondNum { get; set; }
/// <summary>
/// 丙票
/// </summary>
[NotMapped]
public int ThirdNum { get; set; }
}
}
......@@ -40,5 +40,12 @@ namespace EheMall.ServiceCenter
/// <param name="OrderID"></param>
/// <returns></returns>
IEnumerable<OrderDetail> GetListByArticleTypeID(Guid OrderID);
/// <summary>
/// 根据剧场id获取订单信息
/// </summary>
/// <param name="OrderID"></param>
/// <returns></returns>
IEnumerable<OrderDetail> GetListByScreeningID(Guid ScreeningID);
}
}
......@@ -38,5 +38,12 @@ namespace EheMall.ServiceCenter
/// <param name="OrderID"></param>
/// <returns></returns>
IEnumerable<OrderSeat> GetListByArticleTypeID(Guid OrderID);
/// <summary>
/// 根据场次id获取订单座位信息
/// </summary>
/// <param name="OrderID"></param>
/// <returns></returns>
IEnumerable<OrderSeat> GetListByScreeningIDs(Guid ScreeningID);
}
}
......@@ -47,7 +47,7 @@ namespace EheMall.ServiceCenter
IEnumerable<TheaterOrder> GetOrderCount(JObject inputs);
IEnumerable<TheaterOrder> GetListByArticleTypeID(Guid TheaterID, Guid ScreeningID, int iMemberType, int OrderState);
IEnumerable<TheaterOrder> GetListByArticleTypeID(Guid TheaterID, Guid ScreeningID, int iMemberType, int OrderState,int type=0);
IEnumerable<TheaterOrder> MemberHistoryOrderList(JObject inputs, out long iCount);
......
......@@ -24,6 +24,7 @@ namespace EheMall.Web.Areas.Admin.Controllers
_ScreeningService = EngineContext.Current.ResolveOptional<IScreeningService>();
}
#region 订单列表信息
public ActionResult Index()
{
var languageList = Helpers.EnumHelper.GetEnumList(typeof(Models.Enums.MemberTypeEnum)).OrderBy(x => x.Value).ToList();
......@@ -63,5 +64,15 @@ namespace EheMall.Web.Areas.Admin.Controllers
string sResult = GetAdminPageList(_TheaterOrderServices.GetList, Request.QueryString);
return sResult;
}
#endregion
public ActionResult SaleTicket()
{
return View();
}
}
}
\ No newline at end of file
This diff is collapsed.
......@@ -2118,6 +2118,197 @@ select {
text-decoration: underline;
}
/*购票页面样式*/
.productList {
width: 100%;
height: 195px;
background-color: #F7F7F7;
}
.pro_Left {
float: left;
width: 122px;
height: 162px;
margin: 20px;
}
.pro_Left img {
width: 100%;
height: 100%;
}
.pro_Right {
float: left;
}
.pro_Title {
font-size: 16px;
font-weight: bold;
margin: 25px 0 32px 0;
}
.pro_List {
font-size: 12px;
color: #000;
margin-bottom: 10px;
}
.pro_Time {
font-size: 14px;
}
.TicketList {
border: 1px solid #D2D2D2;
padding: 0 20px;
margin-top: 30px;
}
.TicketName {
font-size: 16px;
color: #000;
font-weight: bold;
margin: 20px 0;
}
.TicketContent {
width: 100%;
min-height: 50px;
margin-top: 20px;
}
.Ticket_List {
width: 304px;
height: 88px;
float: left;
cursor: pointer;
border: 1px solid #fff;
margin-right: 20px;
background: url(../Sp_img/ticket.png) no-repeat;
}
.Ticket_left {
float: left;
width: 88px;
margin-top: 10px;
border-right: 2px dashed #d1d1d1;
height: 77%;
background: url(../Sp_img/guocui.png) no-repeat center;
background-size: 50px 50px;
}
.Ticket_left_wu {
float: left;
width: 88px;
margin-top: 10px;
border-right: 2px dashed #d1d1d1;
height: 77%;
background: url(../Sp_img/wupiao.png) no-repeat center;
background-size: 50px 50px;
}
.Ticket_right {
float: right;
width: 200px;
height: 80px;
}
.Ticket_type {
float: left;
margin-top: 25px;
}
.Ticket_Price {
float: left;
margin: 15px 0 0 20px;
}
.Ticket_type {
font-size: 12px;
color: #000000;
}
.yuan {
font-size: 16px;
color: #B6B0AA;
}
.Price_yuan {
font-size: 44px;
color: #B6B0AA;
font-weight: bold;
}
.ticket_input {
width: 190px;
height: 34px;
padding-left: 10px;
border: 1px solid #A38D61;
margin-right: 20px;
}
.price_heji {
font-size: 18px;
color: #F67F00;
}
.buyTicket {
margin-bottom: 30px;
}
.Ticketline {
width: 100%;
height: 1px;
border-bottom: 1px dashed #BBBBBB;
}
.Ticket_Total {
display: inline-block;
width: 60px;
margin-right: 20px;
text-align: right;
}
.T_Total {
color: #F69100;
font-size: 28px;
}
.last_input {
margin-bottom: 30px;
}
.Ticket_validate {
width: 200px;
height: 36px;
display: inline-block;
border: 1px solid #A38D61;
}
.Ticket_sureBtn {
width: 100px;
height: 34px;
background-color: #8C1324;
color: #fff;
font-size: 14px;
margin: 30px 0 30px 83px;
cursor: pointer;
}
.validate_input {
width: 106px;
height: 14px;
border-right: 1px solid #CCCCCC;
margin: 10px 0 0 10px;
}
.getValidate {
margin-left: 10px;
}
.Tchecked {
border: 1px dashed #d1d1d1;
}
......

<!DOCTYPE html>
<html>
......@@ -52,14 +52,7 @@
<script src="js/jquery.min.js"></script>
<script src="js/jquery.flexslider-min.js"></script>
<script>
$(function () {
$('.flexslider').flexslider({
directionNav: true,
pauseOnAction: false
});
});
</script>
<script type="text/javascript">
function Login() {
var uname = $("#userid").val();
......
......@@ -41,7 +41,6 @@ namespace EheMall.Web.Areas.TicketMall.Controllers
return Json(new { valid = false, message = "用户被锁定,限制登录" });
Session["Member"] = list[0];
this._auth.SignIn("MemberID", list[0].ID.ToString(), true);
return Redirect("/Mobile/Home");
}
return Json(new { valid = bIsExists, message = bIsExists ? "用户登录成功" : "用户名或密码错误!" });
}
......
......@@ -20,7 +20,7 @@
<div class="orderbox">
<h2><b><img src="/Areas/TicketMall/Content/Sp_img/p01.png" width="21" height="19"> </b>打印账单</h2>
<div class="column clearfix">
@*<div class="column clearfix">
<ul>
<li>
<a href="DyZd.html" class="curre">全部账单</a>
......@@ -28,7 +28,7 @@
</ul>
</div>
</div>*@
<div id="DivMessageList">
<div class="billist" id="hotcont">
......
This diff is collapsed.
......@@ -95,6 +95,7 @@
}
});
} else {
$(this).prop("disable", false);
layer.msg('反馈失败', { icon: 2 });
}
}
......
......@@ -85,13 +85,13 @@
<div class="selectbox fl">
</div>
<p>
上映时间:
<span>
<input type="text" readonly id="StartTime" value="2019-01-14" name="StartTime" />
</span>
<span> <a href="javascript:void(0)" onclick="GetTimeData()">查询</a></span>
</p>
<p>
上映时间:
<span>
<input type="text" readonly id="StartTime" name="StartTime" value="@System.DateTime.Now.ToString("yyyy-MM-dd")" />
</span>
<span> <a href="javascript:void(0)" onclick="GetTimeData()">查询</a></span>
</p>
</div>
</div>
......@@ -111,37 +111,33 @@
</div>
@section Scripts
{
<script src="~/Areas/TicketMall/Content/js/lib/jquery.min.js"></script>
<script src="~/Areas/TicketMall/Content/js/jquery.flexslider-min.js"></script>
<script src="~/Areas/TicketMall/Content/js/lib/jquery.pagination.js"></script>
<script type="text/javascript">
layui.use('laydate', function () {
var laydate = layui.laydate;
//执行一个laydate实例
laydate.render({
elem: '#StartTime' //指定元素
, min: 0
elem: '#StartTime', //指定元素
min: 0
});
});
function GetTimeData() {
TotalPage();
Init(0);
}
$(function () {
//$('.flexslider').flexslider({
// directionNav: true,
// pauseOnAction: false
//});
});
var pageSize =8; //每页显示多少条记录
var total; //总共多少记录
$(function () {
$('.flexslider').flexslider({
directionNav: true,
pauseOnAction: false
});
TotalPage();
Init(0); //注意参数,初始页面默认传到后台的参数,第一页是0;
});
function PageCallback(index, jq) { //前一个表示您当前点击的那个分页的页数索引值,后一个参数表示装载容器。
Init(index);
......@@ -165,7 +161,7 @@
num_edge_entries: 1, //两侧显示的首尾分页的条目数
});
}
},
error: function () {
alert("请求超时,请重试!");
......@@ -185,7 +181,7 @@
$("#hotcont").html(data ? data : "");
},
error: function () {
layer.msg('请求超时,请重试', { icon: 2 });
layer.msg('请求超时,请重试', { icon: 2 });
}
});
};
......
......@@ -50,13 +50,15 @@
</div>
</div>
</div>
<!--场次-->
@Html.Partial("_PageFooter")
</div>
</div>
<div id="codeInfo">
</div>
@section Scripts
{
<script src="~/Areas/TicketMall/Content/js/lib/jquery.min.js"></script>
......@@ -67,25 +69,24 @@
$('.column').find("a").click(function () {
$('.column').find("a").removeClass("curre");
$(this).addClass("curre");
$("#OrderState").val($(this).data("type"));
// $("#OrderState").val($(this).data("type"));
TotalPage();
Init(0);
});
});
function GetQecode(data) {
$.ajax({
type: "post",
url: "/Funtion/GetQecode",
data: { "id": data },
success: function (data) {
layer.open({
type: 1,
skin: 'layui-layer-rim', //加上边框
area: ['600px', '380px'], //宽高
content: '<h2 style="text-align:center">取票码</h2><br/><p style="text-align:center">' + data.no + '</p><br/><p style="text-align:center"><img src="' + data.url + '" /></p><br/><p style="color:red;text-align:center">请不要把二维码泄露于他人,以防他人冒领此票。</p>'
});
function GetQecode(obj, divID) {
$("#codeInfo").html($("#" + divID).html());
layer.open({
type: 1,
skin: 'layui-layer-rim', //加上边框
area: ['600px', '380px'], //宽高
content: $("#codeInfo"),
end: function () {//销毁事件
$("#codeInfo").html("");
$("#codeInfo").hide();
}
});
}
......@@ -122,7 +123,7 @@
},
error: function () {
layer.msg('请求超时,请重试', { icon: 2 });
layer.msg('请求超时,请重试', { icon: 2 });
}
});
}
......@@ -139,7 +140,7 @@
$("#hotcont").html(data ? data : "");
},
error: function () {
layer.msg('请求超时,请重试', { icon: 2 });
layer.msg('请求超时,请重试', { icon: 2 });
}
});
};
......
......@@ -52,12 +52,7 @@
else
{
<ul>
<li>
暂无数据
</li>
</ul>
<div style="text-align:center;margin-top:20px"><img src="/Areas/TicketMall/Content/Sp_img/no.png" /></div>
}
......
......@@ -10,14 +10,14 @@
{
<li>
<div class="pic">
<a href="XjShow.html">
<a href="/TicketMall/Home/BuyTickets?ScreeningID=@item.ID">
<img src="@item.Image" alt="" width="253" height="181">
</a>
</div>
<div class="text">
<span>@item.Name</span>
<div class="vote">
<a href="XjShow.html">抢票</a>
<a href="/TicketMall/Home/BuyTickets?ScreeningID=@item.ID">抢票</a>
</div>
</div>
</li>
......@@ -27,12 +27,7 @@
}
else
{
<ul class="orderlist clearfix">
<li>
暂无数据
</li>
</ul>
<div style="text-align:center;margin:20px 0px;"><img src="/Areas/TicketMall/Content/Sp_img/no.png" /></div>
}
......
......@@ -18,12 +18,7 @@
}
else
{
<ul class="orderlist clearfix">
<li>
暂无数据
</li>
</ul>
<div style="text-align:center;margin:20px 0px;"><img src="/Areas/TicketMall/Content/Sp_img/no.png" /></div>
}
......
......@@ -75,9 +75,12 @@
</h3>
@if (item.OrderState == EheMall.Models.Enums.OrderStateEnum.Normal)
{
<a href="javascript:void(0)" onclick="GetQecode(23)">取票码</a>
}
<a href="javascript:void(0)" onclick="GetQecode(this,'@item.ID')">取票码</a>
<div style="display:none;" id="@item.ID">
<p style="text-align:center"><img src="@Url.Action("qrCode")?orderID=@(HttpUtility.UrlEncode(item.ID.ToString()))" /></p><br /><p style="color:red;text-align:center">请不要把二维码泄露于他人,以防他人冒领此票。</p>
</div>
}
</li>
</ul>
</div>
......@@ -89,13 +92,5 @@
}
else
{
<ul class="orderlist clearfix">
<li>
<div class="order_top">
<div class="fl" style="text-align:center;">
暂无数据
</div>
</div>
</li>
</ul>
<div style="text-align:center;margin:20px 0px;"><img src="/Areas/TicketMall/Content/Sp_img/no.png" /></div>
}
......@@ -60,6 +60,7 @@
<script type="text/javascript">
function Login() {
debugger;
var uname = $("#userid").val();
if (uname == "") {
layer.msg('请输入账户名');
......
......@@ -15,12 +15,11 @@
<link href="/Areas/TicketMall/Content/layui/css/layui.css" rel="stylesheet" />
<link rel="stylesheet" href="/Areas/TicketMall/Content/css/jquery.ui.css" />
<script src="/Areas/TicketMall/Content/js/jquery.min.js"></script>
<script src="/Areas/TicketMall/Content/js/jquery.flexslider-min.js"></script>
<script type="text/javascript" src="/Areas/TicketMall/Content/js/jquery.ui.js"></script>
<script type="text/javascript" src="/Areas/TicketMall/Content/js/moment.min.js"></script>
<script src="/Areas/TicketMall/Content/js/layer/layer.js"></script>
<script src="/Areas/TicketMall/Content/layui/layui.js"></script>
@RenderSection("styles", false)
</head>
<body>
......
......@@ -339,6 +339,7 @@
<Content Include="Areas\TicketMall\Content\layui\lay\modules\laydate.js" />
<Content Include="Areas\TicketMall\Content\layui\modules\laydate.js" />
<Content Include="Areas\TicketMall\Content\login.html" />
<Content Include="Areas\TicketMall\Content\Sp_img\no.png" />
<Content Include="Areas\TicketMall\Content\Sp_img\201811060903.jpg" />
<Content Include="Areas\TicketMall\Content\Sp_img\201815060905.jpg" />
<Content Include="Areas\TicketMall\Content\Sp_img\2018151611154411.jpg" />
......@@ -804,6 +805,8 @@
<Content Include="Areas\Admin\Views\MemberOrderT\OrderStatistics.cshtml" />
<Content Include="Areas\TicketMall\Views\Home\_Index.cshtml" />
<Content Include="Areas\TicketMall\Views\Home\Index.cshtml" />
<Content Include="Areas\TicketMall\Views\Home\BuyTickets.cshtml" />
<Content Include="Areas\Admin\Views\TheaterOrder\SaleTicket.cshtml" />
<None Include="Properties\PublishProfiles\publish.pubxml" />
<None Include="Scripts\jquery-1.8.0.intellisense.js" />
<Content Include="Scripts\jquery-1.10.2.js" />
......
......@@ -3,11 +3,10 @@
<PropertyGroup>
<NameOfLastUsedPublishProfile>publish</NameOfLastUsedPublishProfile>
<WebStackScaffolding_ControllerDialogWidth>600</WebStackScaffolding_ControllerDialogWidth>
<WebStackScaffolding_IsLayoutPageSelected>False</WebStackScaffolding_IsLayoutPageSelected>
<WebStackScaffolding_IsPartialViewSelected>True</WebStackScaffolding_IsPartialViewSelected>
<WebStackScaffolding_IsLayoutPageSelected>True</WebStackScaffolding_IsLayoutPageSelected>
<WebStackScaffolding_IsPartialViewSelected>False</WebStackScaffolding_IsPartialViewSelected>
<WebStackScaffolding_IsReferencingScriptLibrariesSelected>False</WebStackScaffolding_IsReferencingScriptLibrariesSelected>
<WebStackScaffolding_LayoutPageFile>
</WebStackScaffolding_LayoutPageFile>
<WebStackScaffolding_LayoutPageFile>~/Areas/TicketMall/Views/Shared/_Layout.cshtml</WebStackScaffolding_LayoutPageFile>
<WebStackScaffolding_IsAsyncSelected>False</WebStackScaffolding_IsAsyncSelected>
<UseIISExpress>true</UseIISExpress>
<ProjectView>ProjectFiles</ProjectView>
......
This diff is collapsed.
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