cinema-page-selectSeat.623503a1.js 30 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["cinema-page-selectSeat"],{"0e53":function(t,e,a){var i=a("800a"),n=a("0ed4"),o=n;o.v1=i,o.v4=n,t.exports=o},"0ed4":function(t,e,a){var i=a("8b8b"),n=a("3009");t.exports=function(t,e,a){var o=e&&a||0;"string"==typeof t&&(e="binary"===t?new Array(16):null,t=null),t=t||{};var s=t.random||(t.rng||i)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,e)for(var r=0;r<16;++r)e[o+r]=s[r];return e||n(s)}},1205:function(t,e,a){"use strict";a("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("64aa");var i=a("e0a2"),n={name:"TemplateLoading",props:{auto:{type:Boolean,default:!0},zindex:{type:Number},showMask:{type:Boolean,default:!1}},data:function(){return{UNIACID:(0,i.getTicketAcid)(),loading_logo:uni.getStorageSync("LOADING_LOGO")}},methods:{}};e.default=n},"2f5b":function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */\n/* 胶囊*/.tn-custom-nav-bar__back[data-v-63640e0a]{width:100%;height:100%;position:relative;display:flex;justify-content:space-evenly;align-items:center;box-sizing:border-box;background-color:rgba(0,0,0,.15);border-radius:%?1000?%;border:%?1?% solid hsla(0,0%,100%,.5);color:#fff;font-size:18px}.tn-custom-nav-bar__back .icon[data-v-63640e0a]{display:block;flex:1;margin:auto;text-align:center}.tn-custom-nav-bar__back[data-v-63640e0a]:before{content:" ";width:%?1?%;height:110%;position:absolute;top:22.5%;left:0;right:0;margin:auto;-webkit-transform:scale(.5);transform:scale(.5);-webkit-transform-origin:0 0;transform-origin:0 0;pointer-events:none;box-sizing:border-box;opacity:.7;background-color:#fff}@-webkit-keyframes img-data-v-63640e0a{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(-1turn)}}@keyframes img-data-v-63640e0a{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(-1turn);transform:rotate(-1turn)}}@-webkit-keyframes spin-data-v-63640e0a{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(1turn)}}@keyframes spin-data-v-63640e0a{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes spin-reverse-data-v-63640e0a{0%{-webkit-transform:rotate(0deg)}100%{-webkit-transform:rotate(0deg)}}@keyframes spin-reverse-data-v-63640e0a{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(-1turn);transform:rotate(-1turn)}}.loader-wrapper[data-v-63640e0a]{position:absolute;top:0;width:100%;height:100vh;z-index:10;overflow:hidden}.loader-wrapper2[data-v-63640e0a]{position:absolute;width:100%;height:100%;z-index:10;overflow:hidden}.loader[data-v-63640e0a]{display:flex;position:relative;left:50%;top:50%;width:150px;height:150px;margin:-75px 0 0 -75px;border-radius:50%;border:3px solid transparent;border-top-color:#00ffc6;-webkit-animation:spin-data-v-63640e0a 1.7s linear infinite;animation:spin-data-v-63640e0a 1.7s linear infinite;z-index:11}.mask[data-v-63640e0a]{width:100%;height:100%}.showMask[data-v-63640e0a]{background-color:#fff}.loader[data-v-63640e0a]:before{content:"";position:absolute;top:5px;left:5px;right:5px;bottom:5px;border-radius:50%;border:3px solid transparent;border-top-color:#fff00d;-webkit-animation:spin-reverse-data-v-63640e0a 5.6s linear infinite;animation:spin-reverse-data-v-63640e0a 5.6s linear infinite}.loader[data-v-63640e0a]:after{content:"";position:absolute;top:15px;left:15px;right:15px;bottom:15px;border-radius:50%;border:3px solid transparent;border-top-color:#fbbd12;-webkit-animation:spin-data-v-63640e0a 2.3s linear infinite;animation:spin-data-v-63640e0a 2.3s linear infinite}.logo-loading[data-v-63640e0a]{font-size:%?120?%;color:#01beff;margin:auto;align-items:center;display:table-cell;vertical-align:middle;text-align:center;-webkit-animation:img-data-v-63640e0a 1.7s linear infinite;animation:img-data-v-63640e0a 1.7s linear infinite}.diyLoadingLogo[data-v-63640e0a]{width:%?90?%;height:%?90?%;-webkit-animation:img-data-v-63640e0a 1.7s linear infinite;animation:img-data-v-63640e0a 1.7s linear infinite;margin:auto}',""]),t.exports=e},3009:function(t,e){for(var a=[],i=0;i<256;++i)a[i]=(i+256).toString(16).substr(1);t.exports=function(t,e){var i=e||0,n=a;return[n[t[i++]],n[t[i++]],n[t[i++]],n[t[i++]],"-",n[t[i++]],n[t[i++]],"-",n[t[i++]],n[t[i++]],"-",n[t[i++]],n[t[i++]],"-",n[t[i++]],n[t[i++]],n[t[i++]],n[t[i++]],n[t[i++]],n[t[i++]]].join("")}},"352d":function(t,e,a){"use strict";a.r(e);var i=a("42d4"),n=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},"42d4":function(t,e,a){"use strict";a("6a54");var i=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("fd3c"),a("aa9c"),a("473f"),a("bf0f"),a("f7a5"),a("dd2b"),a("5c47"),a("2c10"),a("4100"),a("e966"),a("2797"),a("64aa"),a("f3f7"),a("18f7"),a("de6c"),a("08eb"),a("4626"),a("5ac7"),a("c9b5"),a("ab80");var n=a("941e"),o=i(a("8c27")),s=a("0e53"),r=s.v1,c={name:"selectSeat",components:{loading:o.default},computed:{money:function(){var t=this,e=0;return this.fastPrice=0,this.selectArr.length>0&&this.selectArr.map((function(a,i){e+=a.money,t.fastPrice+=a.fastPrice})),e=e.toFixed(2),e}},data:function(){return{loadingShow:!1,movieInfo:{},showId:"",cinemaId:"",restrictions:"",scheduleArea:[],dataList:[],num:"",selectArr:[],height:"",isLook:!1,acceptChangeseat:1,fastDiscount:1,fastPrice:0,startX:0,startY:0,startDistance:0,scale:1,isScaling:!1,top:0,left:0,startX2:0,startY2:0,isMoving:!1,discount:"",minObject:""}},onLoad:function(t){this.showId=t.showId,this.cinemaId=t.cinemaId,this.movieInfo=uni.getStorageSync("movieInfo"),uni.setNavigationBarTitle({title:t.name}),this.getSct(),this.dataUrl(),this.getReas()},mounted:function(){},methods:{getReas:function(){var t=this;this.loadingShow=!0,(0,n.getIncrease)().then((function(e){console.log(e),t.discount=e,t.loadingShow=!1})).catch((function(e){console.log(e),t.loadingShow=!1}))},getSct:function(){var t=this,e=[];this.loadingShow=!0,e.push(this.showId),(0,n.getScheduleDetailByList)({showIdList:e}).then((function(e){console.log(e[t.showId]);var a=e[t.showId].seatData,i=a.reduce((function(t,e){return null!==e["fastPrice"]&&(null===t||e["fastPrice"]<t["fastPrice"])?e:t}),null);console.log("最小值的对象:",i),t.minObject=i,t.loadingShow=!1})).catch((function(e){console.log(e),t.loadingShow=!1}))},handleTouchStart:function(t){if(2===t.touches.length){var e=t.touches[0].pageX,a=t.touches[0].pageY,i=t.touches[1].pageX,n=t.touches[1].pageY,o=Math.sqrt(Math.pow(e-i,2)+Math.pow(a-n,2));this.startX=(e+i)/2,this.startY=(a+n)/2,this.startDistance=o,this.isScaling=!0}this.scale>1&&(this.startX2=t.touches[0].clientX,this.startY2=t.touches[0].clientY,this.isMoving=!0)},handleTouchMove:function(t){if(this.isScaling&&2===t.touches.length){var e=t.touches[0].pageX,a=t.touches[0].pageY,i=t.touches[1].pageX,n=t.touches[1].pageY,o=Math.sqrt(Math.pow(e-i,2)+Math.pow(a-n,2)),s=o/this.startDistance;s=Math.min(Math.max(s,1),2),this.scale=s,this.scale<=1&&(this.isMoving=!1,this.left=0,this.top=0)}if(this.isMoving){var r=t.touches[0].clientX-this.startX2,c=t.touches[0].clientY-this.startY2;this.left+=r,this.top+=c,this.startX2=t.touches[0].clientX,this.startY2=t.touches[0].clientY}},handleTouchEnd:function(){this.isScaling=!1,this.isMoving=!1},okSub:function(){if(""==this.selectArr)return this.toast("请先选择座位");var t=[],e=r();this.selectArr.map((function(e,a){var i={seatId:e.seatId};t.push(i)}));var a={buySeats:t,acceptChangeseat:this.acceptChangeseat,outId:e.slice(0,32),showId:this.showId,money:this.money,fastDiscount:this.fastDiscount,fastPrice:this.fastPrice};uni.setStorageSync("info",a),this.toPath("/cinema-page/okOrder")},delSub:function(t,e){var a=this;this.dataList.map((function(i,n){i.map((function(n,o){n.seatId==t.seatId&&(0==t.lovestatus?(a.selectArr.splice(e,1),n.select=0,n.img=t.img0):1==t.lovestatus?(n.select=0,n.img=t.img0,a.selectArr.splice(e,1),a.selectArr.splice(e,1),i[o+1].select=0,i[o+1].img=i[o+1].img0):(n.select=0,n.img=t.img0,a.selectArr.splice(e,1),a.selectArr.splice(e-1,1),i[o-1].select=0,i[o-1].img=i[o-1].img0))}))}))},sub:function(t,e,a){if("000"!=e.status&&"LK"!=e.status&&"E"!=e.status){if(this.selectArr.length==this.restrictions&&0==e.select||this.restrictions-this.selectArr.length==1&&0!=e.lovestatus&&0==e.select)return this.toast("最多选择"+this.restrictions+"张票");if(0==e.select)0==e.lovestatus?(e.select=1,e.img=e.img1,this.selectArr.push(e)):1==e.lovestatus?(e.select=1,e.img=e.img1,t[a+1].select=1,t[a+1].img=t[a+1].img1,this.selectArr.push(e),this.selectArr.push(t[a+1])):(e.select=1,e.img=e.img1,t[a-1].select=1,t[a-1].img=t[a-1].img1,this.selectArr.push(t[a-1]),this.selectArr.push(e));else if(0==e.lovestatus){e.select=0,e.img=e.img0;for(var i=0;i<this.selectArr.length;i++)this.selectArr[i].seatId==e.seatId&&this.selectArr.splice(i,1)}else if(1==e.lovestatus){e.select=0,e.img=e.img0,t[a+1].select=0,t[a+1].img=t[a+1].img0;for(var n=0;n<this.selectArr.length;n++)if(this.selectArr[n].seatId==e.seatId){this.selectArr.splice(n,1),this.selectArr.splice(n,1);break}}else{e.select=0,e.img=e.img0,t[a-1].select=0,t[a-1].img=t[a-1].img0;for(var o=0;o<this.selectArr.length;o++)if(this.selectArr[o].seatId==e.seatId){this.selectArr.splice(o,1),this.selectArr.splice(o-1,1);break}}}},dataUrl:function(){var t=this,e=this;this.loadingShow=!0,(0,n.getSeats)({showId:e.showId}).then((function(a){console.log("座位数据",a);var i={A0:{price:0,truePrice:null}};""==a.movieFilmSeatPrices&&(a.movieFilmSeatData.map((function(t,e){null!=t.price&&(t.sectionId="A0",i["A0"].price=t.price)})),a.movieFilmSeatPrices=i),e.fastDiscount=a.fastDiscount/100;var n={};for(var o in a.movieFilmSeatPrices)n[o]=a.movieFilmSeatPrices[o].price;var s={scheduleArea:n,seats:a.movieFilmSeatData,restrictions:a.restrictions},r=[];if(e.restrictions=s.restrictions,Array.isArray(s.scheduleArea))s.seats.map((function(t,e){t.seatNo.match(/\d+/g);t.no=[t.rowNo,t.columnNo],t.money=s.scheduleArea[0],t.select=0,0==t.lovestatus?t.img1="https://qny.wdsp666.com/uploads/images/movie/yes1.png":1==t.lovestatus?t.img1="https://qny.wdsp666.com/uploads/images/movie/m511.png":t.img1="https://qny.wdsp666.com/uploads/images/movie/m522.png","LK"==t.status&&0==t.lovestatus?t.img="https://qny.wdsp666.com/uploads/images/movie/m7.png":"LK"==t.status&&0!=t.lovestatus?1==t.lovestatus?t.img="https://qny.wdsp666.com/uploads/images/movie/m81.png":t.img="https://qny.wdsp666.com/uploads/images/movie/m82.png":"N"==t.status&&0==t.lovestatus?(t.img="https://qny.wdsp666.com/uploads/images/movie/m1.png",t.img0="https://qny.wdsp666.com/uploads/images/movie/m1.png"):1==t.lovestatus?(t.img="https://qny.wdsp666.com/uploads/images/movie/m51.png",t.img0="https://qny.wdsp666.com/uploads/images/movie/m51.png"):(t.img="https://qny.wdsp666.com/uploads/images/movie/m52.png",t.img0="https://qny.wdsp666.com/uploads/images/movie/m52.png")})),s.scheduleArea.map((function(t,a){var i={value:t};e.scheduleArea.push(i)})),r=s.seats;else{var c=[];for(var u in s.scheduleArea){var l={key:u,value:s.scheduleArea[u]};c.push(l)}var d=c.slice().sort((function(t,e){return parseInt(t.value)-parseInt(e.value)}));e.scheduleArea=d,s.seats.map((function(t,e){t.seatNo.match(/\d+/g);t.no=[t.rowNo,t.columnNo],t.select=0,0==t.lovestatus?t.img1="https://qny.wdsp666.com/uploads/images/movie/yes1.png":1==t.lovestatus?t.img1="https://qny.wdsp666.com/uploads/images/movie/m511.png":t.img1="https://qny.wdsp666.com/uploads/images/movie/m522.png",d.map((function(e,a){t.sectionId==e.key&&(t.money=e.value,"LK"==t.status&&0==t.lovestatus?t.img="https://qny.wdsp666.com/uploads/images/movie/m7.png":"LK"==t.status&&0!=t.lovestatus?1==t.lovestatus?t.img="https://qny.wdsp666.com/uploads/images/movie/m81.png":t.img="https://qny.wdsp666.com/uploads/images/movie/m82.png":"N"==t.status&&0==t.lovestatus?(t.img="https://qny.wdsp666.com/uploads/images/movie/m"+(a+1)+".png",t.img0="https://qny.wdsp666.com/uploads/images/movie/m"+(a+1)+".png"):1==t.lovestatus?(t.img="https://qny.wdsp666.com/uploads/images/movie/m51.png",t.img0="https://qny.wdsp666.com/uploads/images/movie/m51.png"):(t.img="https://qny.wdsp666.com/uploads/images/movie/m52.png",t.img0="https://qny.wdsp666.com/uploads/images/movie/m52.png"))}))})),r=s.seats,e.scheduleArea.length>1&&(e.isLook=!0)}var f={};r.forEach((function(t){var e=t.no[0];f[e]||(f[e]=[]),f[e].push(t)}));var h=[];for(var p in f)f[p].sort((function(t,e){return t.no[1]-e.no[1]})),h.push(f[p]);for(var m=-1/0,v=0;v<h.length;v++)for(var g=0;g<h[v].length;g++)Number(h[v][g].columnNo)>m&&(m=Number(h[v][g].columnNo));for(var w=m===-1/0?"":m,b=0;b<h.length;b++){for(var y=new Set(h[b].map((function(t){return parseInt(t.columnNo)}))),_=Array.from(y).sort((function(t,e){return t-e})),S=1;S<=w;S++)_.includes(S)||h[b].push({columnNo:S.toString(),img:"https://qny.wdsp666.com/uploads/images/movie/bai.png",status:"000"});h[b]=h[b].sort((function(t,e){return parseInt(t.columnNo)-parseInt(e.columnNo)}))}e.dataList=h,e.num=w,setTimeout((function(){for(var t=0;t<e.dataList[0].length;t++){var a=e.dataList[0][t];if(""!=a.seatId){var i="#w0w"+t;e.getHeight(i).then((function(t){e.height=t.height}));break}}}),1e3),t.loadingShow=!1})).catch((function(e){console.log(e),t.loadingShow=!1}))},switchChange:function(t){t.detail.value?this.acceptChangeseat=1:this.acceptChangeseat=0}}};e.default=c},"58e6":function(t,e,a){var i=a("c920");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("967d").default;n("267be556",i,!0,{sourceMap:!1,shadowMode:!1})},"65db":function(t,e,a){"use strict";a.r(e);var i=a("1205"),n=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},"800a":function(t,e,a){var i,n,o=a("8b8b"),s=a("3009"),r=0,c=0;t.exports=function(t,e,a){var u=e&&a||0,l=e||[];t=t||{};var d=t.node||i,f=void 0!==t.clockseq?t.clockseq:n;if(null==d||null==f){var h=o();null==d&&(d=i=[1|h[0],h[1],h[2],h[3],h[4],h[5]]),null==f&&(f=n=16383&(h[6]<<8|h[7]))}var p=void 0!==t.msecs?t.msecs:(new Date).getTime(),m=void 0!==t.nsecs?t.nsecs:c+1,v=p-r+(m-c)/1e4;if(v<0&&void 0===t.clockseq&&(f=f+1&16383),(v<0||p>r)&&void 0===t.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");r=p,c=m,n=f,p+=122192928e5;var g=(1e4*(268435455&p)+m)%4294967296;l[u++]=g>>>24&255,l[u++]=g>>>16&255,l[u++]=g>>>8&255,l[u++]=255&g;var w=p/4294967296*1e4&268435455;l[u++]=w>>>8&255,l[u++]=255&w,l[u++]=w>>>24&15|16,l[u++]=w>>>16&255,l[u++]=f>>>8|128,l[u++]=255&f;for(var b=0;b<6;++b)l[u+b]=d[b];return e||s(l)}},"84f8":function(t,e,a){"use strict";a.r(e);var i=a("8597"),n=a("352d");for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("be27");var s=a("828b"),r=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"12daa7b0",null,!1,i["a"],void 0);e["default"]=r.exports},8597:function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var i={loading:a("8c27").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"selectSeat"},[a("v-uni-view",{staticClass:"header"},t._l(t.scheduleArea,(function(e,i){return a("v-uni-view",{key:i,staticClass:"item"},[a("v-uni-image",{attrs:{src:"https://qny.wdsp666.com/uploads/images/movie/m"+(i+1)+".png"}}),t._v(t._s(t.CurrencyUnit)+t._s((t.minObject.fastPrice+t.minObject.fastPrice*t.discount.slow_put_ticket_increase).toFixed(2)))],1)})),1),a("v-uni-view",{staticClass:"name"},[a("v-uni-image",{attrs:{src:"https://api.qianshengqiyuan.com/app_resource/newImg/h.png"}}),a("span",[t._v(t._s(t.movieInfo.hallName))])],1),[a("v-uni-view",{staticClass:"content",on:{touchstart:function(e){arguments[0]=e=t.$handleEvent(e),t.handleTouchStart.apply(void 0,arguments)},touchmove:function(e){arguments[0]=e=t.$handleEvent(e),t.handleTouchMove.apply(void 0,arguments)},touchend:function(e){arguments[0]=e=t.$handleEvent(e),t.handleTouchEnd.apply(void 0,arguments)}}},[a("v-uni-view",{style:{transform:"scale("+t.scale+")",top:t.top+"px",left:t.left+"px"},attrs:{id:"move"}},t._l(t.dataList,(function(e,i){return a("v-uni-view",{key:i,staticClass:"item"},[a("v-uni-view",{style:{height:t.height+"px","line-height":t.height+"px"}},[t._v(t._s(i+1))]),a("v-uni-view",[t._l(t.dataList[i],(function(n,o){return[a("v-uni-image",{key:o,style:{width:100/t.num+"%"},attrs:{id:"w"+i+"w"+o,src:n.img,mode:"widthFix"},on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.sub(e,n,o)}}})]}))],2)],1)})),1)],1)],a("v-uni-view",{staticClass:"footer"},[a("v-uni-view",{staticClass:"f_c"},[a("v-uni-view",[t._v(t._s(t.movieInfo.movieName))]),a("v-uni-view",[a("span",[t._v(t._s(t.movieInfo.data))]),a("span",[t._v(t._s(t.movieInfo.time))]),a("span",[t._v(t._s(t.movieInfo.showVersionType))])]),a("v-uni-view",{staticClass:"line"}),""!=t.selectArr?a("v-uni-view",{staticClass:"content"},t._l(t.selectArr,(function(e,i){return a("v-uni-view",{key:i,staticClass:"item"},[a("v-uni-view",[a("v-uni-view",[t._v(t._s(e.seatNo))]),a("v-uni-view",[t._v(t._s(t.CurrencyUnit)+t._s((t.minObject.fastPrice+t.minObject.fastPrice*t.discount.slow_put_ticket_increase).toFixed(2)))])],1),a("v-uni-view",{on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.delSub(e,i)}}},[t._v("×")])],1)})),1):t._e()],1),a("v-uni-view",{staticClass:"tel_t"},[a("v-uni-view",[a("v-uni-view",[t._v("无座位时,接受系统调座"),a("v-uni-image",{attrs:{src:"https://qny.wdsp666.com/uploads/images/movie/Vector@2x.png"}})],1),a("v-uni-view",[t._v("所选座位已售时,系统自动调至最佳观影座位")])],1),a("v-uni-switch",{attrs:{color:"#FF3F6E",checked:t.acceptChangeseat},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.switchChange.apply(void 0,arguments)}}})],1),a("v-uni-view",{staticClass:"f_b",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.okSub.apply(void 0,arguments)}}},[0==t.money?a("v-uni-view",{staticClass:"xo"},[t._v("确认座位")]):a("v-uni-view",{staticClass:"do"},[t._v("确认座位"),a("p",[t._v(t._s(t.CurrencyUnit)+t._s((t.fastPrice+t.fastPrice*t.discount.slow_put_ticket_increase).toFixed(2))),a("span",[t._v("市场价"+t._s(t.CurrencyUnit)+t._s(t.money)+",")]),a("span",[t._v("已省"+t._s(t.CurrencyUnit)+t._s((t.money-(t.fastPrice+t.fastPrice*t.discount.slow_put_ticket_increase)).toFixed(2)))])])])],1)],1),t.isLook?a("v-uni-view",{staticClass:"isLook",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.isLook=!1}}},[a("v-uni-image",{attrs:{src:"https://api.qianshengqiyuan.com/app_resource/newImg/aa.png",mode:"widthFix"}})],1):t._e(),t.loadingShow?a("loading"):t._e()],2)},o=[]},"8b8b":function(t,e){var a="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(a){var i=new Uint8Array(16);t.exports=function(){return a(i),i}}else{var n=new Array(16);t.exports=function(){for(var t,e=0;e<16;e++)0===(3&e)&&(t=4294967296*Math.random()),n[e]=t>>>((3&e)<<3)&255;return n}}},"8c0a":function(t,e,a){var i=a("2f5b");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("967d").default;n("27fc7364",i,!0,{sourceMap:!1,shadowMode:!1})},"8c27":function(t,e,a){"use strict";a.r(e);var i=a("987c"),n=a("65db");for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("b044");var s=a("828b"),r=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"63640e0a",null,!1,i["a"],void 0);e["default"]=r.exports},"941e":function(t,e,a){"use strict";a("6a54");var i=a("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.regeoDetail=e.getSeats=e.getScheduleDetailByList=e.getSchedule=e.getRegion=e.getMovieShowDate=e.getMovieOnInfoList=e.getMovieDetail=e.getMoverOrderList=e.getMoverInfo=e.getIncrease=e.getComingList=e.getCityByLocationApi=e.getCity1=e.getCinemaList=e.createOrder=void 0;var n=i(a("b128")),o=i(a("7653"));e.getMovieOnInfoList=function(t){var e=t.ci;return o.default.get("api/user.mahua.mahua_movie/getMovieOnInfoList",{ci:e})};e.getComingList=function(t){return(0,n.default)(t),o.default.get("api/user.mahua.mahua_movie/getComingList",{})};e.getCinemaList=function(t){return o.default.post("api/user.mahua.mahua_movie/getCinemaList",t)};e.getMovieDetail=function(t){return o.default.get("api/user.mahua.mahua_movie/getMovieDetail",t)};e.getMovieShowDate=function(t){return o.default.get("api/user.mahua.mahua_movie/getMovieShowDate",t)};e.getRegion=function(t){return o.default.get("api/user.mahua.mahua_movie/getRegion",t)};e.getCity1=function(t){return o.default.get("api/user.mahua.mahua_movie/getCity",t)};e.getSeats=function(t){return o.default.get("api/user.mahua.mahua_movie/getSeats",t)};e.regeoDetail=function(t){return o.default.get("api/map/regeoDetail",t)};e.getSchedule=function(t){return o.default.get("api/user.mahua.mahua_movie/getSchedule",t)};e.createOrder=function(t){return o.default.post("api/user.mahua.mahua_movie_order/createOrder",t)};e.getIncrease=function(t){return o.default.get("api/user.mahua.mahua_movie/getIncrease",t)};e.getScheduleDetailByList=function(t){return o.default.post("api/user.mahua.mahua_movie/getScheduleDetailByList",t)};e.getMoverOrderList=function(t){return o.default.get("api/user.mahua.mahua_movie_order/list",t)};e.getMoverInfo=function(t){return o.default.get("api/user.mahua.mahua_movie_order/detail",t)};e.getCityByLocationApi=function(t){return o.default.get("api/map/getCityByLocation",t)}},"987c":function(t,e,a){"use strict";a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{class:1==this.auto?"loader-wrapper":"loader-wrapper2",style:{zIndex:this.zindex?this.zindex:""}},[e("v-uni-view",{class:this.showMask?"showMask mask":"mask"},[e("v-uni-view",{staticClass:"loader"},[this.loading_logo?e("v-uni-image",{staticClass:"diyLoadingLogo",attrs:{src:this.loading_logo}}):e("v-uni-view",{staticClass:"logo-loading tn-icon-logo-shangpu tn-text-shadow-aquablue"})],1)],1)],1)},n=[]},b044:function(t,e,a){"use strict";var i=a("8c0a"),n=a.n(i);n.a},b128:function(t,e,a){"use strict";a("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(null==t)throw new TypeError("Cannot destructure "+t)},a("7a76"),a("c9b5")},be27:function(t,e,a){"use strict";var i=a("58e6"),n=a.n(i);n.a},c920:function(t,e,a){var i=a("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为Tuniao UI的集成样式文件,为scss预处理器,其中包含了一些"tn-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * Tuniao UI自定义的css类名和scss变量,均以"tn-"开头,不会造成冲突,请放心使用 \n */.selectSeat[data-v-12daa7b0]{min-height:100vh;background:#f7f8fa}.selectSeat > .header[data-v-12daa7b0]{width:100%;height:%?66?%;background:#fff;display:flex;align-items:center}.selectSeat > .header > .item[data-v-12daa7b0]{font-size:%?26?%;color:#707070;display:flex;align-items:center;margin-left:%?40?%}.selectSeat > .header > .item > uni-image[data-v-12daa7b0]{width:%?32?%;height:%?28?%;margin-right:%?8?%}.selectSeat > .name[data-v-12daa7b0]{width:%?516?%;height:%?88?%;margin:%?46?% auto %?20?%;position:relative;text-align:center;line-height:%?94?%;font-size:%?28?%;color:#000}.selectSeat > .name > uni-image[data-v-12daa7b0]{width:100%;height:100%;position:absolute;top:0;left:0;z-index:2}.selectSeat > .name > span[data-v-12daa7b0]{position:relative;z-index:3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selectSeat > .content[data-v-12daa7b0]{width:%?710?%;margin:0 auto;position:relative}.selectSeat > .content > uni-view[data-v-12daa7b0]{position:absolute;width:100%;height:100%;transition:-webkit-transform .3s ease;transition:transform .3s ease;transition:transform .3s ease,-webkit-transform .3s ease\n /* 使用 CSS 过渡 */}.selectSeat > .content > uni-view > .item[data-v-12daa7b0]{display:flex;align-items:center;margin-top:-1px}.selectSeat > .content > uni-view > .item > uni-view[data-v-12daa7b0]:nth-of-type(1){width:%?30?%;background:#adaeb0;text-align:center;color:#fff;font-size:%?22?%}.selectSeat > .content > uni-view > .item > uni-view[data-v-12daa7b0]:nth-of-type(2){width:calc(100% - %?56?%);display:flex;background:#f7f8fa;padding-left:%?26?%}.selectSeat > .content > uni-view > .item > uni-view:nth-of-type(2) > uni-image[data-v-12daa7b0]{width:4%;height:%?10?%}.selectSeat > .content > uni-view > .item[data-v-12daa7b0]:first-of-type{align-items:flex-end}.selectSeat > .content > uni-view > .item:first-of-type > uni-view[data-v-12daa7b0]:nth-of-type(1){padding-top:%?10?%;border-radius:%?40?% %?40?% 0 0}.selectSeat > .content > uni-view > .item[data-v-12daa7b0]:last-of-type{align-items:flex-start}.selectSeat > .content > uni-view > .item:last-of-type > uni-view[data-v-12daa7b0]:nth-of-type(1){padding-bottom:%?10?%;border-radius:0 0 %?40?% %?40?%}.selectSeat > .footer[data-v-12daa7b0]{width:%?690?%;position:fixed;bottom:%?20?%;left:%?30?%}.selectSeat > .footer > .f_t[data-v-12daa7b0]{width:100%;height:%?74?%;border-radius:%?12?%;background:#fff;display:flex;align-items:center;justify-content:space-around}.selectSeat > .footer > .f_t > uni-view[data-v-12daa7b0]{display:flex;align-items:center;font-size:%?26?%;color:#707070}.selectSeat > .footer > .f_t > uni-view > uni-image[data-v-12daa7b0]{width:%?29?%;height:%?26?%}.selectSeat > .footer > .f_t > uni-view > uni-image[data-v-12daa7b0]:last-of-type{margin-right:%?10?%}.selectSeat > .footer > .f_c[data-v-12daa7b0]{padding:%?30?% %?28?% 0;height:auto;border-radius:%?12?%;background:#fff;margin:%?16?% 0 %?28?%;line-height:1}.selectSeat > .footer > .f_c > uni-view[data-v-12daa7b0]:nth-of-type(1){font-size:%?34?%;color:#2c3532;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.selectSeat > .footer > .f_c > uni-view[data-v-12daa7b0]:nth-of-type(2){font-size:%?26?%;color:#6a6f75;margin:%?20?% 0 %?30?%}.selectSeat > .footer > .f_c > uni-view:nth-of-type(2) > span[data-v-12daa7b0]{margin-right:%?8?%}.selectSeat > .footer > .f_c > .line[data-v-12daa7b0]{width:%?638?%;height:1px;background:#f2f2f2;margin:0 auto}.selectSeat > .footer > .f_c > .content[data-v-12daa7b0]{display:flex;flex-wrap:wrap;padding-bottom:%?24?%}.selectSeat > .footer > .f_c > .content > .item[data-v-12daa7b0]{width:%?150?%;display:flex;align-items:center;justify-content:center;background:#f7f8fa;padding:%?10?% 0;border-radius:%?4?%;margin-top:%?16?%;margin-right:%?10?%}.selectSeat > .footer > .f_c > .content > .item > uni-view[data-v-12daa7b0]:nth-of-type(1){margin-right:%?16?%;font-size:%?24?%}.selectSeat > .footer > .f_c > .content > .item > uni-view:nth-of-type(1) > uni-view[data-v-12daa7b0]:nth-of-type(1){color:#000;margin-bottom:%?12?%}.selectSeat > .footer > .f_c > .content > .item > uni-view:nth-of-type(1) > uni-view[data-v-12daa7b0]:nth-of-type(2){color:#fe3e6d}.selectSeat > .footer > .f_c > .content > .item > uni-view[data-v-12daa7b0]:nth-of-type(2){font-size:%?36?%;color:#a1a6ac}.selectSeat > .footer > .f_c > .content > .item[data-v-12daa7b0]:nth-of-type(4n){margin-right:0}.selectSeat > .footer > .tel_t[data-v-12daa7b0]{padding:%?24?% %?28?%;height:auto;border-radius:%?12?%;background:#fff;display:flex;justify-content:space-between;align-items:center}.selectSeat > .footer > .tel_t > uni-view[data-v-12daa7b0]:nth-of-type(1){font-size:%?24?%;line-height:1}.selectSeat > .footer > .tel_t > uni-view:nth-of-type(1) > uni-view[data-v-12daa7b0]:nth-of-type(1){margin-bottom:%?26?%;color:#000;display:flex;align-items:center}.selectSeat > .footer > .tel_t > uni-view:nth-of-type(1) > uni-view:nth-of-type(1) > uni-image[data-v-12daa7b0]{width:%?28?%;height:%?28?%;margin-left:%?8?%}.selectSeat > .footer > .tel_t > uni-view:nth-of-type(1) > uni-view[data-v-12daa7b0]:nth-of-type(2){color:#fe3e6d}.selectSeat > .footer > .tel_t > uni-switch[data-v-12daa7b0]{-webkit-transform:scale(.6);transform:scale(.6)}.selectSeat > .footer > .f_b[data-v-12daa7b0]{width:100%;height:%?82?%;border-radius:%?82?%;text-align:center;background:linear-gradient(91deg,#fe37c5,#fe3f72);margin-top:%?28?%;font-size:%?30?%;color:#fff}.selectSeat > .footer > .f_b .xo[data-v-12daa7b0]{line-height:%?82?%}.selectSeat > .footer > .f_b .do p[data-v-12daa7b0]{font-size:%?26?%}.selectSeat > .footer > .f_b .do p span[data-v-12daa7b0]{opacity:.65}.selectSeat > .footer > .f_b .do p span[data-v-12daa7b0]:nth-of-type(1){text-decoration:line-through}.selectSeat .isLook[data-v-12daa7b0]{width:100%;height:calc(100vh - %?60?%);position:fixed;top:%?60?%;left:0;display:flex;justify-content:center;background:rgba(0,0,0,.7);z-index:5}.selectSeat .isLook > uni-image[data-v-12daa7b0]{width:%?374?%}.selectSeat .popup0[data-v-12daa7b0]{width:%?598?%;height:%?482?%;border-radius:%?16?%;text-align:center;padding:0 %?38?%;background:#fff;overflow:hidden}.selectSeat .popup0 > uni-view[data-v-12daa7b0]:nth-of-type(1){font-size:%?34?%;color:#000;margin:%?58?% 0 %?26?%}.selectSeat .popup0 > uni-view[data-v-12daa7b0]:nth-of-type(2){font-size:%?26?%;color:#72777d;margin-bottom:%?36?%;line-height:1.5;text-align:left;letter-spacing:2px}.selectSeat .popup0 > uni-view:nth-of-type(2) > span[data-v-12daa7b0]{color:#ff3f6e}.selectSeat .popup0 > uni-view[data-v-12daa7b0]:nth-of-type(3){display:flex;align-items:center;justify-content:center}.selectSeat .popup0 > uni-view:nth-of-type(3) > uni-view[data-v-12daa7b0]{width:%?260?%;height:%?90?%;line-height:%?90?%;text-align:center;border-radius:%?16?%;font-size:%?32?%}.selectSeat .popup0 > uni-view:nth-of-type(3) > uni-view[data-v-12daa7b0]:nth-of-type(1){margin-right:%?24?%;border:1px solid #e9e9e9;color:#a4a9ad}.selectSeat .popup0 > uni-view:nth-of-type(3) > uni-view[data-v-12daa7b0]:nth-of-type(2){background:linear-gradient(91deg,#fe37c5,#fe3f72);color:#fff}.selectSeat .height406[data-v-12daa7b0]{height:%?406?%!important}',""]),t.exports=e}}]);