1 line
38 KiB
JavaScript
1 line
38 KiB
JavaScript
![]() |
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-user_invoice_order-index"],{"029d":function(e,t,a){var r=a("5402");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);var i=a("4f06").default;i("7bb4229c",r,!0,{sourceMap:!1,shadowMode:!1})},"0cf8":function(e,t,a){"use strict";a("7a82");var r=a("4ea4").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(a("5530")),o=(r(a("bc32")),a("c6da"),a("cf53"),a("26cb")),n=(r(a("e92e")),a("0cdc")),d=(r(a("80a6")),a("42d4")),s=(getApp(),{name:"Authorize",props:{isAuto:{type:Boolean,default:!0},isGoIndex:{type:Boolean,default:!0},isShowAuth:{type:Boolean,default:!1}},components:{},data:function(){return{title:"用户登录",info:"请登录,将为您提供更好的服务!",isWeixin:this.$wechat.isWeixin(),canUseGetUserProfile:!1,code:null,top:0,mp_is_new:this.$Cache.get("MP_VERSION_ISNEW")||!1,editModal:!1}},computed:(0,i.default)((0,i.default)({},(0,o.mapGetters)(["isLogin","userInfo","viewColor"])),(0,n.configMap)(["routine_logo"])),watch:{isLogin:function(e){!0===e&&this.$emit("onLoadFun",this.userInfo)},isShowAuth:function(e){this.getCode(this.isShowAuth)}},created:function(){this.top=uni.getSystemInfoSync().windowHeight/2-70,wx.getUserProfile&&(this.canUseGetUserProfile=!0),this.setAuthStatus(),this.getCode(this.isShowAuth)},methods:{setAuthStatus:function(){},getCode:function(e){e&&(this.code=1)},toWecahtAuth:function(){(0,d.toLogin)(!0)},getUserProfile:function(){(0,d.toLogin)(!0),uni.navigateTo({url:"/pages/users/login/login_copy"})},close:function(){var e=getCurrentPages();e[e.length-1];this.$emit("authColse",!1),this.isGoIndex?uni.switchTab({url:"/pages/index/index"}):this.$emit("authColse",!1)}}});t.default=s},"14a3":function(e,t,a){"use strict";a("7a82"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,a("a9e3"),a("d3b7"),a("159b"),a("99af");a("829c");var r=a("26cb"),i={props:{evaluate:{type:Number,default:0},activityType:{type:Number,default:0},cartInfo:{type:Array,default:function(){return[]}},orderId:{type:String,default:""},jump:{type:Boolean,default:!1},orderData:{type:Object,default:function(){return{}}}},computed:(0,r.mapGetters)(["viewColor"]),data:function(){return{totalNmu:"",isTimePay:!1}},watch:{cartInfo:function(e,t){var a=0;e.forEach((function(e,t){a+=e.cart_num})),this.totalNmu=a}},onShow:function(){this.isPayBalance()},mounted:function(){},methods:{evaluateTap:function(e,t){uni.navigateTo({url:"/pages/users/goods_comment_con/index?uni=".concat(e,"&order_id=").concat(t)})},isPayBalance:function(){10===this.orderData.status&&(new Date<new Date(this.orderData.presellOrder.final_start_time)?this.isTimePay=!1:new Date>=new Date(this.orderData.presellOrder.final_start_time)&&new Date<=new Date(this.orderData.presellOrder.final_start_time)&&(this.isTimePay=!0))},jumpCon:function(e){this.jump&&(2==this.activityType?uni.navigateTo({url:"/pages/activity/presell_details/index?id=".concat(e)}):uni.navigateTo({url:"/pages/goods_details/index?id=".concat(e)}))},refund:function(e){0==this.evaluate?uni.navigateTo({url:"/pages/users/refund/confirm?order_id="+this.orderId+"&type=1&ids="+e.order_product_id+"&refund_type=1"}):uni.navigateTo({url:"/pages/users/refund/select?order_id="+this.orderId+"&type=1&ids="+e.order_product_id})}}};t.default=i},"14f6":function(e,t,a){"use strict";a.d(t,"b",(function(){return r})),a.d(t,"c",(function(){return i})),a.d(t,"a",(function(){}));var r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",{staticClass:"orderGoods",style:e.viewColor},[a("v-uni-view",{staticClass:"goodWrapper"},[a("v-uni-view",{staticClass:"title"},[e._v("共"+e._s(e.cartInfo.length)+"件商品")]),e._l(e.cartInfo,(function(t,r){return a("v-uni-view",{key:r},[a("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[a("v-uni-view",{staticClass:"pictrue",on:{click:function(a){arguments[0]=a=e.$handleEvent(a),e.jumpCon(t.product_id)}}},[a("v-uni-image",{attrs:{src:t.cart_info.productAttr&&t.cart_info.productAttr.image||
|