导游中台-游客端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
12 KiB

10 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["subPackages-order-trades"],{"30f7":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},i("7a76"),i("c9b5")},"35b2":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"bg"},[i("v-uni-view",{staticClass:"top-box"},[i("v-uni-view",{staticClass:"search-box flex-between"},[i("v-uni-view",{staticClass:"left"},[i("v-uni-image",{attrs:{src:"https://static.ticket.sz-trip.com/tourist/index/search.png"}}),i("v-uni-input",{attrs:{type:"text",placeholder:"请输入关键字"},model:{value:t.keywords,callback:function(e){t.keywords=e},expression:"keywords"}})],1),i("v-uni-view",{staticClass:"search-btn flex-center",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onReload()}}},[t._v("搜索")])],1),i("v-uni-view",{staticClass:"common-box"},t._l(t.typeList,(function(e,n){return i("v-uni-view",{key:n,class:["common-type",t.typeIndex==n?"active":""],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.setType(n)}}},[t._v(t._s(e.name))])})),1)],1),t.list.length>0?i("v-uni-view",t._l(t.list,(function(e,n){return i("v-uni-navigator",{key:e.id,staticClass:"item",attrs:{url:"/subPackages/order/orderDetail?id="+e.order_id}},[i("v-uni-view",{staticClass:"item-top flex-between"},[i("v-uni-view",[i("v-uni-view",[t._v(t._s(1==e.order_child[0].type_id?"线路产品":"导游服务"))]),i("v-uni-view",[t._v("订单号:"+t._s(e.order_id))])],1),i("v-uni-view",{staticClass:"item-state"},[t._v(t._s(e.status_text))])],1),i("v-uni-view",{staticClass:"item-center"},[i("v-uni-image",{staticClass:"item-img",attrs:{src:t.showImg(e.order_child[0].specifications_image)}}),i("v-uni-view",{staticClass:"item-content flex-column"},[i("v-uni-view",{staticClass:"title text-overflow"},[t._v(t._s(e.order_name))]),i("v-uni-view",{staticStyle:{"margin-bottom":"10rpx"}},t._l(e.order_child,(function(e,n){return i("v-uni-view",{key:e.id,staticClass:"subtitle flex-between"},[i("v-uni-view",[t._v(t._s(e.specifications_name))]),i("v-uni-view",[t._v("¥"+t._s(e.pay_money)),i("span",{staticStyle:{"margin-left":"30rpx"}},[t._v("x"+t._s(e.num))])])],1)})),1),i("v-uni-view",{staticClass:"subtitle",staticStyle:{"text-align":"right",color:"#333333"}},[t._v("共"+t._s(e.order_child.length)+"件商品")]),i("v-uni-view",{staticClass:"price"},[i("v-uni-view",{staticClass:"subtitle",staticStyle:{"margin-right":"15rpx"}},[t._v("总价¥"+t._s(e.money/100))]),t._v("实付款"),i("span",[t._v(t._s(e.pay_money/100))])],1)],1)],1),i("v-uni-view",{staticClass:"item-btns"},["PAYMENT_SUCCESSFULLY"==e.status?i("v-uni-view",{on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),function(){return t.refund(e.order_id,n)}.apply(void 0,arguments)}}},[t._v("申请退款")]):t._e(),"WAIT_PAYMENT"==e.status?i("v-uni-view",{on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),function(){return t.closeOrder(e.order_id,e)}.apply(void 0,arguments)}}},[t._v("关闭订单")]):t._e(),"CLOSED"==e.status?i("v-uni-view",{on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.gotoDetailByTypeId(e.order_child[0].goods_id,e.order_child[0].type_id)}}},[t._v("再次购买")]):t._e(),"WAIT_PAYMENT"==e.status?i("v-uni-view",{staticClass:"pay-btn",on:{click:function(i){i.stopPropagation(),arguments[0]=i=t.$handleEvent(i),t.setOrderId(e.order_id)}}},[t._v("立即支付")]):t._e()],1)],1)})),1):t._e(),0===t.list.length?i("v-uni-view",{staticClass:"noDate"},[i("v-uni-view",[t._v("暂无订单")])],1):t._e()],1)},o=[]},4733:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){if(Array.isArray(t))return(0,n.default)(t)};var n=function(t){return t&&t.__esM