1 line
6.6 KiB
JavaScript
1 line
6.6 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-25a9dba4"],{"413a":function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,"#Registration-detail .detail-content .top[data-v-42d0dc1c]{padding:.5rem .8rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;background-color:#fff}#Registration-detail .detail-content .top .left-image[data-v-42d0dc1c]{width:8rem;height:6rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}#Registration-detail .detail-content .top .left-image img[data-v-42d0dc1c]{width:100%;height:100%}#Registration-detail .detail-content .top .right-info[data-v-42d0dc1c]{margin-left:.5rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:baseline;-webkit-align-items:baseline;-ms-flex-align:baseline;align-items:baseline;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}#Registration-detail .detail-content .top .right-info .address[data-v-42d0dc1c]{text-align:right;width:100%;color:#999;margin-bottom:5px}#Registration-detail .detail-content .top .right-info .title[data-v-42d0dc1c]{margin-bottom:5px;text-align:left;display:-webkit-box;overflow:hidden;white-space:normal;text-overflow:ellipsis;word-wrap:break-word;-webkit-line-clamp:2;-webkit-box-orient:vertical}#Registration-detail .detail-content .top .right-info .status[data-v-42d0dc1c]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;width:100%}#Registration-detail .detail-content .top .right-info .status .people[data-v-42d0dc1c]{margin-right:10px;color:#f15353}#Registration-detail .detail-content .top .time[data-v-42d0dc1c]{margin-top:5px;color:#999;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}#Registration-detail .detail-content .bottom[data-v-42d0dc1c]{margin-top:1rem;background-color:#fff;padding-bottom:10px}#Registration-detail .detail-content .bottom .yd-cell-item[data-v-42d0dc1c]{padding:0 .8rem!important;border-bottom:1px solid #ccc}#Registration-detail .detail-content .bottom .yd-cell-item .yd-cell-left[data-v-42d0dc1c]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}#Registration-detail .detail-content .bottom .yd-cell-item .yd-cell-left b[data-v-42d0dc1c]{color:#f15353}#Registration-detail .detail-content .bottom .piture[data-v-42d0dc1c]{padding:0 .8rem}#Registration-detail .detail-content .bottom .piture p[data-v-42d0dc1c]{text-align:left;margin-bottom:5px;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}#Registration-detail .detail-content .bottom .piture p b[data-v-42d0dc1c]{color:#f15353}#Registration-detail .detail-content .bottom .piture .piture-image[data-v-42d0dc1c]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;width:100%;font-size:0}#Registration-detail .detail-content .bottom .piture .piture-image div[data-v-42d0dc1c]:nth-child(4n){margin-right:0}#Registration-detail .detail-content .bottom .piture .piture-image div[data-v-42d0dc1c]{width:22.5%;margin-top:1rem;margin-right:3.33%}#Registration-detail .detail-content .bottom .piture .piture-image div img[data-v-42d0dc1c]{width:100%;height:100%}",""]),t.exports=e},"413c":function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{attrs:{id:"Registration-detail"}},[i("c-title",{attrs:{hide:!1,text:"报名详情"}}),i("div",{staticClass:"detail-content"},[i("div",{staticClass:"top"},[i("div",{staticClass:"left-image"},[i("img",{attrs:{src:t.has_one_activity.thumb}})]),i("div",{staticClass:"right-info"},[i("p",{staticClass:"title"},[t._v(t._s(t.has_one_activity.title))]),i("p",{staticClass:"address"},[t._v(t._s(t.city.substr(0,2))+"|"+t._s(t.has_one_activity.address))]),i("p",{staticClass:"status"},[i("span",{staticClass:"people"},[t._v("人数:"+t._s(t.detail.number)+"人")]),t.has_one_order.price>0?i("span",[t._v("实付:"+t._s(t.$i18n.t("money"))+t._s(t.has_one_order.price))]):t._e(),t.has_one_order.price<=0?i("span",[t._v("免费")]):t._e()])]),i("div",{staticClass:"time"},[i("i",{staticClass:"iconfont icon-record_time"}),i("span",[t._v(t._s(t.timestampToTime(t.has_one_activity.start_time)))]),i("span",[t._v("至"+t._s(t.timestampToTime(t.has_one_activity.end_time)))])])]),i("diyform",{attrs:{datas:t.datas,payStatus:t.payStatus,form_data_id:t.fun.isTextEmpty(t.form_data_id)?"":t.form_data_id,type:t.type}})],1)],1)},d=[],o=(i("e7e5"),i("d399")),n=i("6968"),s=i("42f8"),l={data:function(){return{payStatus:"",form_data_id:"",id:"",detail:{},has_one_activity:{},city:"",type:"Detail",datas:{params:{},data:{form_id:""}},has_one_order:{}}},activated:function(){this.$route.params.id?(this.id=this.$route.params.id,this.getData()):this.$router.go(-1)},mounted:function(){},methods:{timestampToTime:function(t){var e=new Date(1e3*t),i=e.getFullYear()+"-",a=(e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"-",d=this.change(e.getDate())+" ",o=this.change(e.getHours())+":",n=this.change(e.getMinutes())+":",s=this.change(e.getSeconds());return i+a+d+o+n+s},change:function(t){return t<10?"0"+t:t},getData:function(){var t=this,e={order_id:this.id};$http.get("plugin.activity-apply.api.order.getMyEnrol",e,"获取中").then((function(e){1==e.result?(t.detail=e.data,t.has_one_activity=t.detail.has_one_activity,t.city=t.has_one_activity.city_name,t.datas.data.form_id=t.detail.form_data_id.form_id,t.form_data_id=t.detail.form_data_id.form_data_id,t.payStatus=t.detail.status,t.has_one_order=t.detail.has_one_order):Object(o["a"])(e.msg)}),(function(t){}))}},components:{cTitle:n["a"],diyform:s["a"]}},r=l,c=r,p=(i("7b8e"),i("2877")),m=Object(p["a"])(c,a,d,!1,null,"42d0dc1c",null);e["default"]=m.exports},"7b8e":function(t,e,i){"use strict";i("a35b")},a35b:function(t,e,i){var a=i("413a");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var d=i("499e").default;d("4ae3c588",a,!0,{sourceMap:!1,shadowMode:!1})}}]); |