require("../../../common/manifest.js")
require("../../../common/vendor.js")
global.webpackJsonpMpvue([2],{"3t3a":function(t,e,s){"use strict";var r=s("fDiH"),n=s("zXD6");var a=function(t){s("arUs")},i=s("ybqe")(r.a,n.a,a,"data-v-287b579d",null);e.a=i.exports},"4+BO":function(t,e,s){"use strict";e.a={name:"order_list",props:["status","orders"],data:function(){return{}},methods:{},mounted:function(){},created:function(){this}}},"99nV":function(t,e,s){"use strict";var r=s("4+BO"),n=s("IMS1");var a=function(t){s("Ulor")},i=s("ybqe")(r.a,n.a,a,null,null);e.a=i.exports},IMS1:function(t,e,s){"use strict";var r={render:function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{attrs:{id:"order_list_container"}},t._l(t.orders,function(e,r){return s("van-card",{key:r,attrs:{mpcomid:"0_"+r}},[s("div",{staticClass:"flex justify-between",slot:"title"},[s("div",[s("text",{staticClass:"text-gray"},[t._v("订单号 ")]),t._v(" "),s("text",{},[t._v(t._s(e.sn))])]),t._v(" "),s("div",[s("text",{staticClass:"text-gray"},[t._v(t._s(e.create_time))]),t._v(" "),s("view",{staticClass:"text-right"},[s("text",[t._v("交易成功")])])])]),t._v(" "),s("div",{staticClass:"thumb_container",slot:"thumb"},[s("img",{staticClass:"order_icon",attrs:{src:"https://img.shuimuai.com/web/icon_dingdan.png",alt:""}})]),t._v(" "),s("div",{slot:"desc"},[s("div",[s("text",{staticClass:"text-gray"},[t._v("消费产品 ")]),t._v(" "),s("text",[t._v(t._s(e.goods_name)+" x 1")])]),t._v(" "),s("div",{staticClass:"padding-tb-lg flex justify-between align-center"},[s("div",[s("text",{staticClass:"text-gray"},[t._v("付款方式 ")]),t._v(" "),s("text",{staticClass:"text-bold"},[t._v("微信支付")])]),t._v(" "),s("div",[s("text",{staticClass:"text-gray"},[t._v("实付款 ")]),t._v(" "),s("text",{staticClass:"text-gray text-xxl"},[t._v(t._s(e.price))])])])]),t._v(" "),s("div",{slot:"price"},[s("button",{staticClass:"cu-btn",attrs:{"open-type":"contact"}},[t._v("联系客服")])],1)])}))},staticRenderFns:[]};e.a=r},Ulor:function(t,e){},arUs:function(t,e){},b0Zg:function(t,e,s){"use strict";e.a=function(){var t={access_token:wx.getStorageSync("token")};return r.a.post("order/order-list",t)};var r=s("0qyJ");s("IcnI")},bCvP:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=s("5nAL"),n=s.n(r),a=s("3t3a");n.a.config.errorHandler=function(t){console&&console.error&&console.error(t)},new n.a(a.a).$mount()},fDiH:function(t,e,s){"use strict";var r,n=s("99nV"),a=s("b0Zg"),i=s("0xDb");e.a={name:"uc_orders_container",components:{order_list:n.a},data:function(){return{orders:[]}},methods:{get_order_list:function(){Object(a.a)().then(function(t){var e=t.data;r.orders=e.data,r.orders.forEach(function(t,e){r.orders[e].create_time=Object(i.e)(1e3*t.create_time)}),console.log(r.orders)})}},mounted:function(){this.get_order_list()},created:function(){r=this},onLoad:function(){}}},zXD6:function(t,e,s){"use strict";var r={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"uc_orders_container"},[this.orders.length>0?e("order_list",{attrs:{orders:this.orders,mpcomid:"1"}}):e("van-empty",{attrs:{description:"暂无数据",mpcomid:"0"}})],1)},staticRenderFns:[]};e.a=r}},["bCvP"]);