1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-detail-detail"],{"3b8d":function(t,e,n){"use strict";n.r(e),n.d(e,"default",function(){return a});var r=n("795b"),i=n.n(r);function o(t,e,n,r,o,a,c){try{var u=t[a](c),s=u.value}catch(l){return void n(l)}u.done?e(s):i.a.resolve(s).then(r,o)}function a(t){return function(){var e=this,n=arguments;return new i.a(function(r,i){var a=t.apply(e,n);function c(t){o(a,r,i,c,u,"next",t)}function u(t){o(a,r,i,c,u,"throw",t)}c(void 0)})}}},5485:function(t,e,n){"use strict";n.r(e);var r=n("7c3c"),i=n("d047");for(var o in i)"default"!==o&&function(t){n.d(e,t,function(){return i[t]})}(o);n("e8d8");var a,c=n("f0c5"),u=Object(c["a"])(i["default"],r["b"],r["c"],!1,null,"f89ee85c",null,!1,r["a"],a);e["default"]=u.exports},"7c3c":function(t,e,n){"use strict";var r,i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"container"},[n("v-uni-view",{staticClass:"agentinfo-detail"},[n("v-uni-view",{staticClass:"font18"},[t._v("账户 15165363152 是")]),n("v-uni-view",{staticClass:"themeTextColor font18"},[t._v("大卫博士授权代理商")]),n("v-uni-view",{staticClass:"color80 text"},[t._v("— 代理信息 —")]),n("v-uni-view",{staticClass:"main"},[n("v-uni-view",{staticClass:"item"},[n("v-uni-view",{staticClass:"ui-txt-justify-one left"},[t._v("级 别:")]),n("v-uni-view",{staticClass:"right"},[t._v(t._s(t.level))])],1),n("v-uni-view",{staticClass:"item"},[n("v-uni-view",{staticClass:"ui-txt-justify-one left"},[t._v("昵 称:")]),n("v-uni-view",{staticClass:"right"},[t._v(t._s(t.wechat))])],1),n("v-uni-view",{staticClass:"item"},[n("v-uni-view",{staticClass:"ui-txt-justify-one left"},[t._v("姓 名:")]),n("v-uni-view",{staticClass:"right"},[t._v(t._s(t.realname))])],1),n("v-uni-view",{staticClass:"item"},[n("v-uni-view",{staticClass:"ui-txt-justify-one left"},[t._v("身份证号:")]),n("v-uni-view",{staticClass:"right"},[t._v(t._s(t.showCradNum(t.num)))])],1),n("v-uni-view",{staticClass:"item"},[n("v-uni-view",{staticClass:"ui-txt-justify-one left"},[t._v("授权状态:")]),n("v-uni-view",{staticClass:"right themeTextColor"},[t._v(t._s(1===t.status?"已授权":"已过期"))])],1)],1),1===t.status?n("v-uni-view",{staticClass:"btnContainer"},[n("v-uni-button",{staticClass:"seeBtn themeBgColor",attrs:{type:"primary"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toSeeAuth.apply(void 0,arguments)}}},[t._v("查看授权书")])],1):t._e()],1)],1)},o=[];n.d(e,"b",function(){return i}),n.d(e,"c",function(){return o}),n.d(e,"a",function(){return r})},9027:function(t,e,n){var r=n("f0e8");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=n("4f06").default;i("f102bf90",r,!0,{sourceMap:!1,shadowMode:!1})},"96cf":function(t,e){!function(e){"use strict";var n,r=Object.prototype,i=r.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag",s="object"===typeof t,l=e.regeneratorRuntime;if(l)s&&(t.exports=l);else{l=e.regeneratorRuntime=s?t.exports:{},l.wrap=x;var f="suspendedStart",h="suspendedYield",v="executing",p="completed",d={},g={};g[a]=function(){return this};var w=Object.getPrototypeOf,y=w&&w(w(G([])));y&&y!==r&&i.call(y,a)&&(g=y);var m=C.prototype=_.prototype=Object.create(g);k.prototype=m.constructor=C,C.constructor=k,C[u]=k.displayName="GeneratorFunction",l.isGeneratorFunction=function(t){var e="function"===typeof t&&t.constructor;return!!e&&(e===k||"GeneratorFunction"===(e.displayName||e.name))},l.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,C):(t.__proto__=C,u in t||(t[u]="GeneratorFunction")),t.prototype=Object.create(m),t},l.awrap=function(t){return{__await:t}},L(j.prototype),j.prototype[c]=function(){return this},l.AsyncIterator=j,l.async=function(t,e,n,r){var i=new j(x(t,e,n,r));return l.isGeneratorFunction(e)?i:i.next().then(function(t){return t.done?t.value:i.next()})},L(m),m[u]="Generator",m[a]=function(){return this},m.toString=function(){return"[object Generator]"},l.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){while(e.length){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},l.values=G,N.prototype={constructor:N,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(T),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,i){return c.type="throw",c.arg=t,e.next=r,i&&(e.method="next",e.arg=n),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),s=i.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),T(n),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;T(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:G(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),d}}}function x(t,e,n,r){var i=e&&e.prototype instanceof _?e:_,o=Object.create(i.prototype),a=new N(r||[]);return o._invoke=E(t,n,a),o}function b(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(r){return{type:"throw",arg:r}}}function _(){}function k(){}function C(){}function L(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function j(t){function e(n,r,o,a){var c=b(t[n],t,r);if("throw"!==c.type){var u=c.arg,s=u.value;return s&&"object"===typeof s&&i.call(s,"__await")?Promise.resolve(s.__await).then(function(t){e("next",t,o,a)},function(t){e("throw",t,o,a)}):Promise.resolve(s).then(function(t){u.value=t,o(u)},function(t){return e("throw",t,o,a)})}a(c.arg)}var n;function r(t,r){function i(){return new Promise(function(n,i){e(t,r,n,i)})}return n=n?n.then(i,i):i()}this._invoke=r}function E(t,e,n){var r=f;return function(i,o){if(r===v)throw new Error("Generator is already running");if(r===p){if("throw"===i)throw o;return P()}n.method=i,n.arg=o;while(1){var a=n.delegate;if(a){var c=O(a,n);if(c){if(c===d)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=v;var u=b(t,e,n);if("normal"===u.type){if(r=n.done?p:h,u.arg===d)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=p,n.method="throw",n.arg=u.arg)}}}function O(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,O(t,e),"throw"===e.method))return d;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var i=b(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,d;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,d):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function G(t){if(t){var e=t[a];if(e)return e.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function e(){while(++r<t.length)if(i.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=n,e.done=!0,e};return o.next=o}}return{next:P}}function P(){return{value:n,done:!0}}}(function(){return this||"object"===typeof self&&self}()||Function("return this")())},a6e9:function(t,e,n){"use strict";var r=n("288e");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("28a5"),n("96cf");var i=r(n("3b8d")),o={data:function(){return{phone:"",level:"",num:"",status:"",wechat:"",realname:""}},onShow:function(){var t=(0,i.default)(regeneratorRuntime.mark(function t(){var e,n,r,i,o,a,c;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,uni.getStorageSync("info");case 3:e=t.sent,n=e.phone,r=e.level,i=e.num,o=e.status,a=e.wechat,c=e.realname,this.phone=n,this.level=r,this.num=i,this.status=o,this.wechat=a,this.realname=c,t.next=17;break;case 13:t.prev=13,t.t0=t["catch"](0),uni.showToast({title:"获取数据失败",icon:"none",duration:2500}),setTimeout(function(){uni.navigateBack({delta:1})},2500);case 17:case"end":return t.stop()}},t,this,[[0,13]])}));function e(){return t.apply(this,arguments)}return e}(),methods:{showCradNum:function(t){if(!t)return"";var e=t.split("");return 18===e.length?(e.splice(6,8,"xxxx"),e.join("")):15===e.length?(e.splice(6,6,"xxxx"),e.join("")):t},toSeeAuth:function(){uni.navigateTo({url:"../auth/auth?phone=".concat(this.phone)})}}};e.default=o},d047:function(t,e,n){"use strict";n.r(e);var r=n("a6e9"),i=n.n(r);for(var o in r)"default"!==o&&function(t){n.d(e,t,function(){return r[t]})}(o);e["default"]=i.a},e8d8:function(t,e,n){"use strict";var r=n("9027"),i=n.n(r);i.a},f0e8:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,'.container[data-v-f89ee85c]{background-image:-webkit-linear-gradient(top,#f15a23,#16c797);background-image:linear-gradient(-180deg,#f15a23,#16c797)}.agentinfo-detail[data-v-f89ee85c]{background-color:#fff;position:absolute;left:20px;right:20px;top:20px;bottom:20px;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;padding:30px 20px;border-radius:4px}.font18[data-v-f89ee85c]{font-size:18px}.themeTextColor[data-v-f89ee85c]{color:#f15a23}.color80[data-v-f89ee85c]{color:grey}.text[data-v-f89ee85c]{margin-top:12px;font-size:14px}.main[data-v-f89ee85c]{width:100%;margin-top:20px}.item[data-v-f89ee85c]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;color:#484848;font-size:14px;padding-bottom:6px}.item .left[data-v-f89ee85c]{width:60px;min-width:60px;max-width:60px;margin-right:50px;text-align:left}.ui-txt-justify-one[data-v-f89ee85c]{overflow:hidden;height:24px}.ui-txt-justify-one[data-v-f89ee85c]:after{display:inline-block;content:"";overflow:hidden;width:100%;height:0}.item .right[data-v-f89ee85c]{text-align:right}.btnContainer[data-v-f89ee85c]{position:absolute;bottom:30px;left:15px;right:15px;padding-left:20px;padding-right:20px}.seeBtn[data-v-f89ee85c]{height:44px;width:100%;border-radius:25px}.themeBgColor[data-v-f89ee85c]{color:#fff;background-color:#f15a23;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(.5,#0cb76c),to(#0cb76c))}',""])}}]);
|