Files
amb_wechatapp/public/assets/h5/js/pages-app-agent-log-customer-detail-detail.12dd11ac.js
T

1 line
19 KiB
JavaScript

(self["webpackChunktuzhi"]=self["webpackChunktuzhi"]||[]).push([[8617],{81927:function(t,a,o){var e=o(77050);e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.id,e,""]]),e.locals&&(t.exports=e.locals);var n=o(56).Z;n("7b93d6a0",e,!0,{sourceMap:!1,shadowMode:!1})},32330:function(t,a,o){var e=o(46515);e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.id,e,""]]),e.locals&&(t.exports=e.locals);var n=o(56).Z;n("68195f01",e,!0,{sourceMap:!1,shadowMode:!1})},59713:function(t,a,o){var e=o(33322);e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.id,e,""]]),e.locals&&(t.exports=e.locals);var n=o(56).Z;n("608ae1c4",e,!0,{sourceMap:!1,shadowMode:!1})},70291:function(t,a,o){var e=o(80645);e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.id,e,""]]),e.locals&&(t.exports=e.locals);var n=o(56).Z;n("578cfdbd",e,!0,{sourceMap:!1,shadowMode:!1})},93135:function(t,a,o){"use strict";var e;o.d(a,{Z:function(){return u}});var n,i=function(){var t=this,a=t.$createElement,o=t._self._c||a;return t.isInIframe?t._e():o("div",{staticClass:"footer-box"},[o("div",{staticClass:"links"},[o("span",{on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.$nav.to("/pages/index/index","local","reLaunch")}}},[t._v("店铺主页")]),o("span",{on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.$nav.to("/pages/user/index/index","local","reLaunch")}}},[t._v("个人中心")]),o("span",{on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.$nav.to("/pages/order/list/list","local","reLaunch")}}},[t._v("订单列表")]),"1"===t.$tools.systemConfig("app_complaint")?o("span",{on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.$nav.to("/pages/app/complaint/index/index","local","navigateTo")}}},[t._v("投诉")]):t._e()]),o("div",{staticClass:"copyright",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.jump.apply(void 0,arguments)}}},[t.$tools.systemConfig("name")?o("span",[t._v(t._s(t.$tools.systemConfig("name")))]):t._e(),t.$tools.systemConfig("copyright")?o("span",[t._v("@"+t._s(t.$tools.systemConfig("copyright")))]):t._e()])])},r=[],d={components:{},data:function(){return{show:!1,isInIframe:!1}},props:{},mounted:function(){this.checkIframe()},methods:{checkIframe:function(){try{"undefined"!==typeof window&&window.self&&window.top?this.isInIframe=window.self!==window.top:this.isInIframe=!1}catch(t){this.isInIframe=!1}},jump:function(){var t=this.$tools.systemConfig("copyright_link");t&&this.$nav.to(t,"url")}},watch:{}},s=d,l=(o(81927),o(69453)),c=(0,l.Z)(s,i,r,!1,null,"69123308",null,!1,e,n),u=c.exports},193:function(t,a,o){"use strict";var e;o.d(a,{Z:function(){return p}});var n,i=function(){var t=this,a=t.$createElement,o=t._self._c||a;return t.show?o("v-uni-view",{staticClass:"u-loading-icon",class:[t.vertical&&"u-loading-icon--vertical"],style:[t.$u.addStyle(t.customStyle)]},[t.webviewHide?t._e():o("v-uni-view",{ref:"ani",staticClass:"u-loading-icon__spinner",class:["u-loading-icon__spinner--"+t.mode],style:{color:t.color,width:t.$u.addUnit(t.size),height:t.$u.addUnit(t.size),borderTopColor:t.color,borderBottomColor:t.otherBorderColor,borderLeftColor:t.otherBorderColor,borderRightColor:t.otherBorderColor,"animation-duration":t.duration+"ms","animation-timing-function":"semicircle"===t.mode||"circle"===t.mode?t.timingFunction:""}},["spinner"===t.mode?t._l(t.array12,(function(t,a){return o("v-uni-view",{key:a,staticClass:"u-loading-icon__dot"})})):t._e()],2),t.text?o("v-uni-text",{staticClass:"u-loading-icon__text",style:{fontSize:t.$u.addUnit(t.textSize),color:t.textColor}},[t._v(t._s(t.text))]):t._e()],1):t._e()},r=[],d=(o(91038),o(78783),o(9653),{props:{show:{type:Boolean,default:uni.$u.props.loadingIcon.show},color:{type:String,default:uni.$u.props.loadingIcon.color},textColor:{type:String,default:uni.$u.props.loadingIcon.textColor},vertical:{type:Boolean,default:uni.$u.props.loadingIcon.vertical},mode:{type:String,default:uni.$u.props.loadingIcon.mode},size:{type:[String,Number],default:uni.$u.props.loadingIcon.size},textSize:{type:[String,Number],default:uni.$u.props.loadingIcon.textSize},text:{type:[String,Number],default:uni.$u.props.loadingIcon.text},timingFunction:{type:String,default:uni.$u.props.loadingIcon.timingFunction},duration:{type:[String,Number],default:uni.$u.props.loadingIcon.duration},inactiveColor:{type:String,default:uni.$u.props.loadingIcon.inactiveColor}}}),s={name:"u-loading-icon",mixins:[uni.$u.mpMixin,uni.$u.mixin,d],data:function(){return{array12:Array.from({length:12}),aniAngel:360,webviewHide:!1,loading:!1}},computed:{otherBorderColor:function(){var t=uni.$u.colorGradient(this.color,"#ffffff",100)[80];return"circle"===this.mode?this.inactiveColor?this.inactiveColor:t:"transparent"}},watch:{show:function(t){}},mounted:function(){this.init()},methods:{init:function(){setTimeout((function(){}),20)},addEventListenerToWebview:function(){var t=this,a=getCurrentPages(),o=a[a.length-1],e=o.$getAppWebview();e.addEventListener("hide",(function(){t.webviewHide=!0})),e.addEventListener("show",(function(){t.webviewHide=!1}))}}},l=s,c=(o(32330),o(69453)),u=(0,c.Z)(l,i,r,!1,null,"ed811d64",null,!1,e,n),p=u.exports},11778:function(t,a,o){"use strict";o.d(a,{Z:function(){return p}});var e,n={uTransition:o(74787).Z,uLoadingIcon:o(193).Z},i=function(){var t=this,a=t.$createElement,o=t._self._c||a;return o("u-transition",{attrs:{show:t.loading,"custom-style":{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:t.bgColor,display:"flex"}}},[o("v-uni-view",{staticClass:"u-loading-page"},[o("v-uni-view",{staticClass:"u-loading-page__warpper"},[o("v-uni-view",{staticClass:"u-loading-page__warpper__loading-icon"},[t.image?o("v-uni-image",{staticClass:"u-loading-page__warpper__loading-icon__img",attrs:{src:t.image,mode:"widthFit"}}):o("u-loading-icon",{attrs:{mode:t.loadingMode,size:"28",color:t.loadingColor}})],1),t._t("default",[o("v-uni-text",{staticClass:"u-loading-page__warpper__text",style:{fontSize:t.$u.addUnit(t.fontSize),color:t.color}},[t._v(t._s(t.loadingText))])])],2)],1)],1)},r=[],d=(o(9653),{props:{loadingText:{type:[String,Number],default:uni.$u.props.loadingPage.loadingText},image:{type:String,default:uni.$u.props.loadingPage.image},loadingMode:{type:String,default:uni.$u.props.loadingPage.loadingMode},loading:{type:Boolean,default:uni.$u.props.loadingPage.loading},bgColor:{type:String,default:uni.$u.props.loadingPage.bgColor},color:{type:String,default:uni.$u.props.loadingPage.color},fontSize:{type:[String,Number],default:uni.$u.props.loadingPage.fontSize},loadingColor:{type:String,default:uni.$u.props.loadingPage.loadingColor}}}),s={name:"u-loading-page",mixins:[uni.$u.mpMixin,uni.$u.mixin,d],data:function(){return{}},methods:{}},l=s,c=(o(59713),o(69453)),u=(0,c.Z)(l,i,r,!1,null,"508ca898",null,!1,n,e),p=u.exports},22426:function(t,a,o){"use strict";o.r(a),o.d(a,{default:function(){return p}});var e,n,i={uLoadingPage:o(11778).Z,tzBox:o(26720).Z,tzFooter:o(93135).Z},r=function(){var t=this,a=t.$createElement,o=t._self._c||a;return o("v-uni-view",{staticClass:"container"},[o("u-loading-page",{attrs:{loading:t.loading||!t.data.user}}),t.data.user&&!t.loading?[o("tz-box",{attrs:{bgColor:"none"}},[o("div",{staticClass:"customer-item"},[o("div",{staticClass:"customer-item-cover"},[o("img",{attrs:{src:t.data.user.avatar}})]),o("div",{staticClass:"customer-item-info"},[o("div",{staticClass:"customer-item-header"},[o("div",{staticClass:"customer-item-name"},[o("div",[t._v(t._s(t.data.user.nickname))]),o("div",{staticClass:"customer-item-list"},[t._v("最近下单: "+t._s(t.data.order.order_last_time?t.$tools.formatDate(t.data.order.order_last_time):"-"))])])])])]),o("div",{staticClass:"total-box"},[o("div",{staticClass:"total-item"},[o("div",{staticClass:"total-item-name"},[t._v("待结算订单金额(元)")]),o("div",{staticClass:"total-item-value"},[t._v(t._s(t.data.order.price_waiting))])]),o("div",{staticClass:"total-item"},[o("div",{staticClass:"total-item-name"},[t._v("待结算订单数")]),o("div",{staticClass:"total-item-value"},[t._v(t._s(t.data.order.order_waiting_count))])]),o("div",{staticClass:"total-item"},[o("div",{staticClass:"total-item-name"},[t._v("已结算订单金额(元)")]),o("div",{staticClass:"total-item-value"},[t._v(t._s(t.data.order.price_success))])]),o("div",{staticClass:"total-item"},[o("div",{staticClass:"total-item-name"},[t._v("已结算订单数")]),o("div",{staticClass:"total-item-value"},[t._v(t._s(t.data.order.order_success_count))])])]),o("div",{staticClass:"order-log",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.$nav.to("/pages/app/agent/log/earnings/log/log?uid="+t.data.user_id)}}},[t._v("订单收益记录 >")])]),o("tz-box",{attrs:{bgColor:"none",padding:"0 15px 15px"}},[o("div",{staticClass:"detail-list"},[o("div",{staticClass:"detail-item"},[o("div",{staticClass:"detail-item-name"},[t._v("绑定时间")]),o("div",{staticClass:"detail-item-value"},[t._v(t._s(t.$tools.formatDate(t.data.createtime)))])])])])]:t._e(),o("tz-footer")],2)},d=[],s={data:function(){return{pageParams:{id:0},data:{user:{},order:{}},loading:!0}},watch:{},methods:{getData:function(){e.loading=!0,uni.showLoading({title:"请稍后"}),e.$api("app.agent.customer.getCustomerDetail",{user_id:e.pageParams.id}).then((function(t){1===t.code?(e.data=t.data,e.loading=!1):setTimeout((function(){e.$nav.back(1)}),1400),uni.hideLoading()})),uni.stopPullDownRefresh()},refresh:function(){e.getData()}},onLoad:function(t){e=this,e.pageParams=e.$nav.parsePageParams(t),this.getData()},onPullDownRefresh:function(){e.refresh()}},l=s,c=(o(70291),o(69453)),u=(0,c.Z)(l,r,d,!1,null,"55fd3aa8",null,!1,i,n),p=u.exports},77050:function(t,a,o){"use strict";o.r(a);var e=o(43481),n=o.n(e),i=o(2400),r=o.n(i),d=r()(n());d.push([t.id,".footer-box[data-v-69123308]{margin-top:40px;padding-bottom:60px}.links[data-v-69123308]{text-align:center}.links span[data-v-69123308]{color:#4e5969;font-size:12px;margin:10px 8px}.copyright[data-v-69123308]{width:100%;text-align:center;margin:15px 0;color:#c9cdd4;font-size:12px;font-family:serif}",""]),a["default"]=d},46515:function(t,a,o){"use strict";o.r(a);var e=o(43481),n=o.n(e),i=o(2400),r=o.n(i),d=r()(n());d.push([t.id,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n *@import \'/static/themes/css/arco.css\';\n*/uni-button[data-v-ed811d64]::after{content:none!important}\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-view[data-v-ed811d64], uni-scroll-view[data-v-ed811d64], uni-swiper-item[data-v-ed811d64]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-loading-icon[data-v-ed811d64]{flex-direction:row;align-items:center;justify-content:center;color:#c8c9cc}.u-loading-icon__text[data-v-ed811d64]{margin-left:4px;color:#606266;font-size:14px;line-height:20px}.u-loading-icon__spinner[data-v-ed811d64]{width:30px;height:30px;position:relative;box-sizing:border-box;max-width:100%;max-height:100%;-webkit-animation:u-rotate-data-v-ed811d64 1s linear infinite;animation:u-rotate-data-v-ed811d64 1s linear infinite}.u-loading-icon__spinner--semicircle[data-v-ed811d64]{border-width:2px;border-color:transparent;border-top-right-radius:100px;border-top-left-radius:100px;border-bottom-left-radius:100px;border-bottom-right-radius:100px;border-style:solid}.u-loading-icon__spinner--circle[data-v-ed811d64]{border-top-right-radius:100px;border-top-left-radius:100px;border-bottom-left-radius:100px;border-bottom-right-radius:100px;border-width:2px;border-top-color:#e5e5e5;border-right-color:#e5e5e5;border-bottom-color:#e5e5e5;border-left-color:#e5e5e5;border-style:solid}.u-loading-icon--vertical[data-v-ed811d64]{flex-direction:column}[data-v-ed811d64]:host{font-size:0;line-height:1}.u-loading-icon__spinner--spinner[data-v-ed811d64]{-webkit-animation-timing-function:steps(12);animation-timing-function:steps(12)}.u-loading-icon__text[data-v-ed811d64]:empty{display:none}.u-loading-icon--vertical .u-loading-icon__text[data-v-ed811d64]{margin:6px 0 0;color:#606266}.u-loading-icon__dot[data-v-ed811d64]{position:absolute;top:0;left:0;width:100%;height:100%}.u-loading-icon__dot[data-v-ed811d64]:before{display:block;width:2px;height:25%;margin:0 auto;background-color:currentColor;border-radius:40%;content:" "}.u-loading-icon__dot[data-v-ed811d64]:nth-of-type(1){-webkit-transform:rotate(30deg);transform:rotate(30deg);opacity:1}.u-loading-icon__dot[data-v-ed811d64]:nth-of-type(2){-webkit-transform:rotate(60deg);transform:rotate(60deg);opacity:.9375}.u-loading-icon__dot[data-v-ed811d64]:nth-of-type(3){-webkit-transform:rotate(90deg);transform:rotate(90deg);opacity:.875}.u-loading-icon__dot[data-v-ed811d64]:nth-of-type(4){-webkit-transform:rotate(120deg);transform:rotate(120deg);opacity:.8125}.u-loading-icon__dot[data-v-ed811d64]:nth-of-type(5){-webkit-transform:rotate(150deg);transform:rotate(150deg);opacity:.75}.u-loading-icon__dot[data-v-ed811d64]:nth-of-type(6){-webkit-transform:rotate(180deg);transform:rotate(180deg);opacity:.6875}.u-loading-icon__dot[data-v-ed811d64]:nth-of-type(7){-webkit-transform:rotate(210deg);transform:rotate(210deg);opacity:.625}.u-loading-icon__dot[data-v-ed811d64]:nth-of-type(8){-webkit-transform:rotate(240deg);transform:rotate(240deg);opacity:.5625}.u-loading-icon__dot[data-v-ed811d64]:nth-of-type(9){-webkit-transform:rotate(270deg);transform:rotate(270deg);opacity:.5}.u-loading-icon__dot[data-v-ed811d64]:nth-of-type(10){-webkit-transform:rotate(300deg);transform:rotate(300deg);opacity:.4375}.u-loading-icon__dot[data-v-ed811d64]:nth-of-type(11){-webkit-transform:rotate(330deg);transform:rotate(330deg);opacity:.375}.u-loading-icon__dot[data-v-ed811d64]:nth-of-type(12){-webkit-transform:rotate(1turn);transform:rotate(1turn);opacity:.3125}@-webkit-keyframes u-rotate-data-v-ed811d64{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes u-rotate-data-v-ed811d64{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}',""]),a["default"]=d},33322:function(t,a,o){"use strict";o.r(a);var e=o(43481),n=o.n(e),i=o(2400),r=o.n(i),d=r()(n());d.push([t.id,"@charset \"UTF-8\";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n *@import '/static/themes/css/arco.css';\n*/uni-button[data-v-508ca898]::after{content:none!important}\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-view[data-v-508ca898], uni-scroll-view[data-v-508ca898], uni-swiper-item[data-v-508ca898]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-loading-page[data-v-508ca898]{\ndisplay:flex;\nflex-direction:column;flex:1;align-items:center;justify-content:center}.u-loading-page__warpper[data-v-508ca898]{margin-top:-150px;justify-content:center;align-items:center;color:#c8c8c8;font-size:19px;\ndisplay:flex;\nflex-direction:column}.u-loading-page__warpper__loading-icon[data-v-508ca898]{margin-bottom:10px}.u-loading-page__warpper__loading-icon__img[data-v-508ca898]{width:40px;height:40px}.u-loading-page__warpper__text[data-v-508ca898]{font-size:19px;color:#c8c8c8}",""]),a["default"]=d},80645:function(t,a,o){"use strict";o.r(a);var e=o(43481),n=o.n(e),i=o(2400),r=o.n(i),d=r()(n());d.push([t.id,"@charset \"UTF-8\";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n *@import '/static/themes/css/arco.css';\n*/.customer-item[data-v-55fd3aa8]{padding:15px 15px 0;background-color:#fff;display:flex;justify-content:space-between}.customer-item-header[data-v-55fd3aa8]{padding-bottom:10px;border-bottom:1px solid #f2f3f5;margin-bottom:10px}.customer-item[data-v-55fd3aa8]:last-child{margin-bottom:0}.customer-item-name[data-v-55fd3aa8]{color:#1d2129;font-size:14px}.customer-item-cover[data-v-55fd3aa8],.customer-item-cover img[data-v-55fd3aa8]{width:45px;height:45px;border-radius:50%}.customer-item-info[data-v-55fd3aa8]{width:calc(100% - 60px)}.customer-item-list[data-v-55fd3aa8]{margin-top:5px;font-size:12px;color:#86909c}.total-box[data-v-55fd3aa8]{background-color:#fff;padding:0 15px 15px;display:flex;justify-content:space-between;flex-wrap:wrap}.total-item[data-v-55fd3aa8]{width:50%}.total-box .total-item[data-v-55fd3aa8]:nth-last-child(2),.total-box .total-item[data-v-55fd3aa8]:nth-last-child(1){margin-top:10px}.total-item-name[data-v-55fd3aa8]{font-size:12px;color:#86909c}.total-item-value[data-v-55fd3aa8]{font-size:16px;color:#1d2129;font-weight:600;margin-top:5px}.order-log[data-v-55fd3aa8]{background-color:#fff;text-align:center;border-top:1px solid #f2f3f5;width:100%;height:40px;line-height:40px;font-size:12px;color:#0968f6}.detail-list[data-v-55fd3aa8]{background-color:#fff;padding:15px}.detail-item[data-v-55fd3aa8]{font-size:14px;display:flex;justify-content:space-between;color:#4e5969;margin-top:10px}.detail-item-name[data-v-55fd3aa8]{color:#86909c}.detail-item[data-v-55fd3aa8]:first-child{margin-top:0}uni-button[data-v-55fd3aa8]::after{content:none!important}\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */",""]),a["default"]=d}}]);