|
|
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/user"],{46:function(s,e,t){"use strict";(function(s,e){var a=t(4);t(26);a(t(25));var r=a(t(47));s.__webpack_require_UNI_MP_PLUGIN__=t,e(r.default)}).call(this,t(1)["default"],t(2)["createPage"])},47:function(s,e,t){"use strict";t.r(e);var a=t(48),r=t(50);for(var n in r)["default"].indexOf(n)<0&&function(s){t.d(e,s,(function(){return r[s]}))}(n);t(75);var o,i=t(32),u=Object(i["default"])(r["default"],a["render"],a["staticRenderFns"],!1,null,"80842834",null,!1,a["components"],o);u.options.__file="pages/user/user.vue",e["default"]=u.exports},48:function(s,e,t){"use strict";t.r(e);var a=t(49);t.d(e,"render",(function(){return a["render"]})),t.d(e,"staticRenderFns",(function(){return a["staticRenderFns"]})),t.d(e,"recyclableRender",(function(){return a["recyclableRender"]})),t.d(e,"components",(function(){return a["components"]}))},49:function(s,e,t){"use strict";var a;t.r(e),t.d(e,"render",(function(){return r})),t.d(e,"staticRenderFns",(function(){return o})),t.d(e,"recyclableRender",(function(){return n})),t.d(e,"components",(function(){return a}));try{a={uniPopup:function(){return t.e("uni_modules/uni-popup/components/uni-popup/uni-popup").then(t.bind(null,77))}}}catch(i){if(-1===i.message.indexOf("Cannot find module")||-1===i.message.indexOf(".vue"))throw i;console.error(i.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var r=function(){var s=this,e=s.$createElement,t=(s._self._c,s.userInfo.avatar?s.showImg(s.userInfo.avatar):null);s._isMounted||(s.e0=function(e){return s.$refs.popup.close()}),s.$mp.data=Object.assign({},{$root:{m0:t}})},n=!1,o=[];r._withStripped=!0},50:function(s,e,t){"use strict";t.r(e);var a=t(51),r=t.n(a);for(var n in a)["default"].indexOf(n)<0&&function(s){t.d(e,s,(function(){return a[s]}))}(n);e["default"]=r.a},51:function(s,e,t){"use strict";(function(s){var a=t(4);Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=a(t(18)),n={data:function(){return{dfkList:[],differTimeList:[],nowDateTime:"",userInfo:{},orderList:[{src:"https://static.ticket.sz-trip.com/yandu/images/user/dfk.png",title:"待付款",status:"WAIT_PAYMENT"},{src:"https://static.ticket.sz-trip.com/yandu/images/user/dfh.png",title:"待发货",status:"PAYMENT_SUCCESSFULLY"},{src:"https://static.ticket.sz-trip.com/yandu/images/user/dsh.png",title:"待收货",status:"POST"},{src:"https://static.ticket.sz-trip.com/yandu/images/user/tksh.png",title:"退款/售后",status:"WAIT_REFUND,REFUND_SUCCESS,REFUND_REFUSAL,REFUND_ERROR,REFUND_PART"}],cyList:[{src:"https://static.ticket.sz-trip.com/yandu/images/user/yhq.png",title:"优惠券",path:"/subPackages/user/coupon",isShow:!0},{src:"https://static.ticket.sz-trip.com/yandu/images/user/cyxx.png",title:"常用信息",path:"/subPackages/user/travelerList",isShow:!0},{src:"https://static.ticket.sz-trip.com/yandu/images/user/lyzx.png",title:"旅游咨询",path:"",isShow:!0},{src:"https://static.ticket.sz-trip.com/yandu/images/user/tsjb.png",title:"投诉建议",path:"/subPackages/service/service",isShow:!0},{src:"https://static.ticket.sz-trip.com/yandu/images/user/ysgl.png",title:"隐私管理",path:"/subPackages/user/privacy",isShow:!0}]}},onShow:function(){this.userInfo=s.getStorageSync("userInfo")&&JSON.parse(s.getStorageSync("userInfo"))||this.$store.state.user.userInfo||{},console.log(this.userInfo)},methods:{gotoProfile:function(){this.userInfo.token?s.navigateTo({url:"/subPackages/user/profile"}):s.navigateTo({url:"/pages/login/login"})},timeup:function(s){},setOrderId:function(e){var t=this;t.orderId=e,t.Post({order_id:e,type:"miniprogram",platform:"miniprogram"},"/api/pay/unify").then((function(e){e.data&&s.requestPayment({nonceStr:e.data.nonceStr,package:e.data.package,paySign:e.data.paySign,signType:e.data.signType,timeStamp:e.data.timeStamp})}
|