webpackJsonp([24],{"1zhT":function(t,o,s){t.exports=s.p+"static/img/win.64bfd1c.png"},MTFU:function(t,o){},fmui:function(t,o,s){"use strict";Object.defineProperty(o,"__esModule",{value:!0});var r=s("0xDb"),e=s("3KG0"),_={name:"orderInfo",filters:{formatDate:function(t){t*=1e3;var o=new Date(t);return Object(e.a)(o,"yyyy-MM-dd hh:mm:ss")}},data:function(){return{orderId:"",orderInfo:{},winLottery:[]}},mounted:function(){this.orderId=this.$route.query.id,this.getOrderInfo()},methods:{getOrderInfo:function(){var t=this,o={id:this.orderId};this.$api.lottery.orderInfo(o).then(function(o){t.orderInfo=o.data,t.winLottery=o.data.lottery.lottery_codes})},copy:function(t){var o=this;Object(r.b)(t,function(){o.$toast(o.$t("已经复制"))})}}},i={render:function(){var t=this,o=t.$createElement,r=t._self._c||o;return r("div",{staticClass:"orderInfo"},[r("app-nav",{attrs:{back:!0}},[t._v("投注详情")]),t._v(" "),0!=Object.keys(t.orderInfo).length?[r("div",{staticClass:"orderInfo_top"},[r("p",{staticClass:"orderInfo_top_text1"},[t._v("澳门六合彩")]),t._v(" "),r("p",{staticClass:"orderInfo_top_text2"},[t._v("第"+t._s(t.orderInfo.issue)+"期")]),t._v(" "),0==t.orderInfo.lottery_status?r("p",{staticClass:"orderInfo_top_text3"},[t._v("待开奖")]):t._e(),t._v(" "),1==t.orderInfo.lottery_status?r("p",{staticClass:"orderInfo_top_text3"},[t._v("中奖金额 "+t._s(t.orderInfo.win_amount)+"元")]):t._e(),t._v(" "),2==t.orderInfo.lottery_status?r("p",{staticClass:"orderInfo_top_text3"},[t._v("没有中奖,再接再厉")]):t._e(),t._v(" "),3==t.orderInfo.lottery_status?r("p",{staticClass:"orderInfo_top_text3"},[t._v("和局")]):t._e()]),t._v(" "),r("div",{staticClass:"orderInfo_info"},[1==t.orderInfo.lottery_status||2==t.orderInfo.lottery_status||3==t.orderInfo.lottery_status?[r("div",{staticClass:"orderInfo_info_div"},[r("span",{staticClass:"orderInfo_info_div_l"},[t._v("开奖号码")]),t._v(" "),r("div",{staticClass:"orderInfo_info_div_r"},[r("div",{staticClass:"orderInfo_info_div_r_k"},[t._l(t.winLottery.slice(0,6),function(o,s){return r("div",{key:s,staticClass:"lottery"},[r("p",{staticClass:"lottery_num",class:"蓝"==o.color?"blue":"红"==o.color?"red":"绿"==o.color?"green":""},[t._v("\n "+t._s(o.code)+"\n ")]),t._v(" "),r("p",{staticClass:"lottery_text"},[t._v(t._s(o.zodiac))])])}),t._v(" "),r("div",{staticClass:"lottery"},[r("van-icon",{staticClass:"lottery_f",attrs:{name:"plus"}})],1),t._v(" "),r("div",{staticClass:"lottery"},[r("p",{staticClass:"lottery_num",class:"蓝"==t.winLottery[6].color?"blue":"红"==t.winLottery[6].color?"red":"绿"==t.winLottery[6].color?"green":""},[t._v("\n "+t._s(t.winLottery[6].code)+"\n ")]),t._v(" "),r("p",{staticClass:"lottery_text"},[t._v(t._s(t.winLottery[6].zodiac))])])],2)])]),t._v(" "),r("div",{staticClass:"orderInfo_info_div"},[r("span",{staticClass:"orderInfo_info_div_l"},[t._v("五行")]),t._v(" "),r("div",{staticClass:"orderInfo_info_div_r",staticStyle:{"font-size":"0.32rem"}},[t._v(t._s(t.orderInfo.lottery.five_elements))])]),t._v(" "),r("div",{staticClass:"orderInfo_info_div"},[r("span",{staticClass:"orderInfo_info_div_l"},[t._v("特头")]),t._v(" "),r("div",{staticClass:"orderInfo_info_div_r",staticStyle:{"font-size":"0.32rem"}},[t._v(t._s(t.orderInfo.lottery.special_head))])]),t._v(" "),r("div",{staticClass:"orderInfo_info_div"},[r("span",{staticClass:"orderInfo_info_div_l"},[t._v("特尾")]),t._v(" "),r("div",{staticClass:"orderInfo_info_div_r",staticStyle:{"font-size":"0.32rem"}},[t._v(t._s(t.orderInfo.lottery.special_mantissa))])])]:t._e(),t._v(" "),r("div",{staticClass:"orderInfo_info_div"},[r("span",{staticClass:"orderInfo_info_div_l"},[t._v("投注号码")]),t._v(" "),r("div",{staticClass:"orderInfo_info_div_r"},[r("span",{staticClass:"orderInfo_info_div_r_h"},t._l(t.orderInfo.number,function(o,s){return r("i",{key:s},[s>0?r("i",[t._v(",")]):t._e(),t._v("\n "+t._s(o)+"\n ")])}))])]),t._v(" "),r("div",{staticClass:"orderInfo_info_div"},[r("span",{staticClass:"orderInfo_info_div_l"},[t._v("玩法名称")]),t._v(" "),r("div",{staticClass:"orderInfo_info_div_r",staticStyle:{"font-size":"0.32rem"}},[t._v("\n "+t._s(t.orderInfo.game==t.orderInfo.gameplay?t.orderInfo.game:t.orderInfo.game+"_"+t.orderInfo.gameplay)+"\n ")])]),t._v(" "),r("div",{staticClass:"orderInfo_info_div"},[r("span",{staticClass:"orderInfo_info_div_l"},[t._v("注单单号")]),t._v(" "),r("div",{staticClass:"orderInfo_info_div_r"},[r("span",[t._v(t._s(t.orderInfo.ordernum))]),t._v(" "),r("span",{staticClass:"copy",on:{click:function(o){t.copy(t.orderInfo.ordernum)}}},[t._v("复制")])])]),t._v(" "),r("div",{staticClass:"orderInfo_info_div"},[r("span",{staticClass:"orderInfo_info_div_l"},[t._v("投注时间")]),t._v(" "),r("div",{staticClass:"orderInfo_info_div_r"},[t._v(t._s(t._f("formatDate")(t.orderInfo.created_at)))])]),t._v(" "),r("div",{staticClass:"orderInfo_info_div",staticStyle:{"margin-top":"0.4rem"}},[r("span",{staticClass:"orderInfo_info_div_l"},[t._v("投注金额")]),t._v(" "),r("div",{staticClass:"orderInfo_info_div_r"},[t._v("1注"+t._s(t.orderInfo.amount)+"元")])]),t._v(" "),r("div",{staticClass:"orderInfo_info_div"},[r("span",{staticClass:"orderInfo_info_div_l"},[t._v("投注赔率")]),t._v(" "),r("div",{staticClass:"orderInfo_info_div_r"},[t._v(t._s(t.orderInfo.odds))])])],2),t._v(" "),1==t.orderInfo.lottery_status?r("img",{staticClass:"whetherWin",attrs:{src:s("1zhT"),alt:""}}):t._e(),t._v(" "),2==t.orderInfo.lottery_status?r("img",{staticClass:"whetherWin",attrs:{src:s("m6Tw"),alt:""}}):t._e()]:t._e()],2)},staticRenderFns:[]};var n=s("VU/8")(_,i,!1,function(t){s("MTFU")},"data-v-02afba67",null);o.default=n.exports},m6Tw:function(t,o,s){t.exports=s.p+"static/img/lose.9821b7e.png"}}); //# sourceMappingURL=24.51fbeffcb51a7fdf0734.js.map