}else{

if($(e).attr(‘type’) == ‘2’){

$(e).children(“img”).attr(‘src’,‘/home/images/seat_love.png’);

$(e).removeAttr(‘selected’);

}else{

$(e).children(“img”).attr(‘src’,‘/home/images/seat_able.png’);

$(e).removeAttr(‘selected’);

}

}

setSeat();

}

}

function setSeat() {

var html = ‘’;

selectedSeats = new Array();

$(‘td[selected=“selected”]’).each(function(i,e){

var seatno = $(e).attr(‘seatno’);

var seatrow = $(e).attr(‘seatrow’);

var seatcol = $(e).attr(‘seatcol’);

html += ‘

’ + seatrow + “排” + seatcol + “座” + ‘
’;

selectedSeats.push({id:seatno});

});

$(“#seatchoose div.seatinfo”).remove();

$(“#seatchoose”).append(html);

var selectedNum = $(‘td[selected=“selected”]’).length;

if(selectedNum <= 0){

$(“#lblmsg”).show();

}else{

$(“#lblmsg”).hide();

}

$(“.choose-result .total strong”).text(NormalPrice * selectedNum);

$(“.tip em”).text(selectedNum);

}

提交订单:

提交订单模拟支付完成购票操作

影片订单详情/取票:

在我的个人中心查看购票信息、订单详情以及我的评论和余额管理等具体操作、这个整个流程是非常完善的

影院信息:

影院详情:

点击进入查看影院详情信息、电影排片、影院介绍、影院评论等功能

资讯信息:

用户可以查看一些管理员发布的资讯信息、

我的个人中心:

后台主要功能设计:


后台管理员登录页面、后台主要功能有菜单管理、用户管理、角色管理、日志管理、地域信息管理、电影管理、评价管理、影厅管理、拍片管理、资讯管理、资讯分类管理、用户管理、订单管理、支付管理等、太多了我就不一一截图了

后台系统主页:

对影院个数据进行统计、主要统计有、入住影院、场次、注册用户、订单信息、放映场次、充值、票房等数据统计展示。

系统设置:

菜单管理:


点击菜单管理查看后台菜单信息、管理员可以对菜单进行添加、修改、删除等一系列操作。

用户管理:

电影管理:

添加电影信息:

添加电影前端代码:

猫眼电影票网_电影在线选座购票平台

<#include “…/common/head-css.ftl”/>

<#include “…/common/header.ftl”/>

${movie.name}

${movie.rate!“0”}

${movie.abs!"暂无信息"}

导演:

${movie.directedBy}

主演:

${movie.actor}

语言:

${movie.language.getName()}

片长:

${movie.time} 分钟

上映:

${movie.showTime}

剧情:

${movie.info}

${movie.name}

分享

展开

    <#if movie.video?? && movie.video?length gt 0>

    • </#if>

      <#list movie.pictureList as pic>

    • <#if pic_index gt 2>

      <#break>

      </#if>

      </#list>

      剧照:

      ${movie.pictureList?size}

      视频:

      <#if movie.video?? && movie.video?length gt 0>1<#else>0</#if>

      排期购票

      影评

        <#if distinctCinemaHallSessionList?size == 0>

        暂无影院

        <#else>

        <#list distinctCinemaHallSessionList as cinemaHallSession>

        <#if ylrc_area??>

        <#if ylrc_area.id == cinemaHallSession.cinema.area.cityId>

      • ${cinemaHallSession.cinema.name}

        </#if>

        <#else>

      • ${cinemaHallSession.cinema.name}

        </#if>

        </#list>

        </#if>

        影院:

          <#if distinctShowDateCinemaHallSessionList?size == 0>

          暂无排期

          <#else>

          <#list distinctShowDateCinemaHallSessionList as cinemaHallSession>

          <#if ylrc_area??>

          <#if ylrc_area.id == cinemaHallSession.cinema.area.cityId>

        • ${cinemaHallSession.showDate}

          </#if>

          <#else>

        • ${cinemaHallSession.showDate}

          </#if>

          </#list>

          </#if>

          日期:

          用户评论

          共${commentList?size}条评论

          请评分

          发表评论

          <#if ylrc_account??>

          <#else>

          </#if>

            <#list commentList as comment>

          • ${comment.account.nickname!comment.account.mobile?replace(comment.account.mobile?substring(3,7),“****”)}

            ${comment.content}

            ${comment.createTime}

            </#list>

            <#if commentList?? && commentList?size gt 0>

            <#else>

            还没有评论,抢个沙发~

            </#if>

            正在热映

              <#list topMovieList as topMovie>

            • <#if topMovie.name?length gt 25>

              ${topMovie.name?substring(0,25)}…

              <#else>

              ${topMovie.name}

              </#if>

              ${topMovie.abs!“暂无”}

              </#list>

                <#list movie.pictureList as pic>

              • </#list>

                  <#list movie.pictureList as pic>

                • </#list>

                    <#if movie.video?? && movie.video?length gt 0>

                  • </#if>

                    <#include “…/common/footer-js.ftl”/>

                    <#include “…/common/footer.ftl”/>

                    <#include “…/common/login-dialog.ftl”/>

                  Logo

                  魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

                  更多推荐