PageSourceSearch

https://static.szwego.com/wsxc_album/js/930.40e30f76.js

js szwego.com collected 2026-10-04 00:19:21 UTC 13,949 bytes, 1 lines download raw bytes

1"use strict";(self["webpackChunkwsxc_album"]=self["webpackChunkwsxc_album"]||[]).push([[930],{50930:function(e,t,r){r.r(t),r.d(t,{default:function(){return W}});var n=r(10020),i=r(34293),a=r(98681),o=r(95627),s=r(63887),c=r(3846),l=r(60738),u=r(52100),h=r(83763),d=r(41594),p=r.n(d),f=r(65026),m=r(31348),y=r.p+"img/pay_over_guide.506620bd.png",g=r(40531),v=r(39525),w=r(75244),_=r(74337),A=r(62704),x=r(84583),b=r.n(x),S=r(86379),P=r(18809),k=["className","price","num","tag","total_price","showPayGuide","getPrePayLink","pay_list","onPaySuccess","highlightShow","prePayParams","paymentSwitch","paymentLimitation"],C=function(e){var t=e.className,r=e.price,n=e.num,a=e.tag,o=e.total_price,s=e.showPayGuide,c=e.getPrePayLink,l=e.pay_list,u=e.onPaySuccess,h=e.highlightShow,d=e.prePayParams,p=e.paymentSwitch,f=e.paymentLimitation,m=(0,A.A)(e,k),y=b()("f-flex f-vc relative ovh",(0,_.A)({},t,t)),g=b()("f-flex f-vc f-hc f12",{"warn-color":!h,g9:h}),v={root:(0,i.A)({margin:"1.2em .5em 0",padding:"30px 15px",borderRadius:3,boxShadow:"0 1px 5px rgba(0, 0, 0, .2)",backgroundColor:"#fff"},e.style),priceBox:{position:"absolute",top:0,bottom:0,left:0,width:50,borderRight:"1px dashed",transform:"rotateZ(45deg) translate(0%, -50%)",transformOrigin:"0 0"},price:{transform:"rotateZ(-90deg) translateY(10px)"},num:{marginLeft:"1em"}};return(0,P.jsxs)("div",(0,i.A)((0,i.A)({},m),{},{className:y,style:v.root,children:[(0,P.jsx)("div",{className:g,style:v.priceBox,children:(0,P.jsxs)("span",{style:v.price,children:[r,"元/张"]})}),(0,P.jsxs)("div",{className:"f-flex-1",style:v.num,children:[(0,P.jsxs)("span",{className:"f24",children:[n,"张 · "]}),(0,P.jsx)("span",{className:"f14",children:"年会员卡 "}),(0,P.jsx)("span",{className:"warn-color f12",children:a})]}),(0,P.jsx)("div",{children:(0,P.jsx)(S.A,{plain:!0,size:"small",getPrePayLink:c,pay_list:l,onPaySuccess:u,total_price:o,showPayGuide:s,payGoodsType:p?"proxyVipCard":void 0,paymentLimitation:f,prePayParams:(0,i.A)({},d),children:(0,P.jsxs)("span",{className:"f12",children:[(0,P.jsx)("strong",{className:"f20",children:o}),"元"]})})})]}))},j=C,E=r(50624),L=r(85592),M=r(54451),O=r.n(M),N=r(35843),G=r(56666);function T(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",i=r.toStringTag||"@@toStringTag";function a(r,n,i,a){var c=n&&n.prototype instanceof s?n:s,l=Object.create(c.prototype);return D(l,"_invoke",function(r,n,i){var a,s,c,l=0,u=i||[],h=!1,d={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,r){return a=t,s=0,c=e,d.n=r,o}};function p(r,n){for(s=r,c=n,t=0;!h&&l&&!i&&t<u.length;t++){var i,a=u[t],p=d.p,f=a[2];r>3?(i=f===n)&&(c=a[(s=a[4])?5:(s=3,3)],a[4]=a[5]=e):a[0]<=p&&((i=r<2&&p<a[1])?(s=0,d.v=n,d.n=a[1]):p<f&&(i=r<3||a[0]>n||n>f)&&(a[4]=r,a[5]=n,d.n=f,s=0))}if(i||r>1)return o;throw h=!0,n}return function(i,u,f){if(l>1)throw TypeError("Generator is already running");for(h&&1===u&&p(u,f),s=u,c=f;(t=s<2?e:c)||!h;){a||(s?s<3?(s>1&&(d.n=-1),p(s,c)):d.n=c:d.v=c);try{if(l=2,a){if(s||(i="next"),t=a[i]){if(!(t=t.call(a,c)))throw TypeError("iterator result is not an object");if(!t.done)return t;c=t.value,s<2&&(s=0)}else 1===s&&(t=a.return)&&t.call(a),s<2&&(c=TypeError("The iterator does not provide a '"+i+"' method"),s=1);a=e}else if((t=(h=d.n<0)?c:r.call(n,d))!==o)break}catch(t){a=e,s=1,c=t}finally{l=1}}return{value:t,done:h}}}(r,i,a),!0),l}var o={};function s(){}function c(){}function l(){}t=Object.getPrototypeOf;var u=[][n]?t(t([][n]())):(D(t={},n,function(){return this}),t),h=l.prototype=s.prototype=Object.create(u);function d(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,l):(e.__proto__=l,D(e,i,"GeneratorFunction")),e.prototype=Object.create(h),e}return c.prototype=l,D(h,"constructor",l),D(l,"constructor",c),c.displayName="GeneratorFunction",D(l,i,"GeneratorFunction"),D(h),D(h,i,"Generator"),D(h,n,function(){return this}),D(h,"toString",function(){return"[object Generator]"}),(T=function(){return{w:a,m:d}})()}function D(e,t,r,n){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}D=function(e,t,r,n){function a(t,r){D(e,t,function(e){return this._invoke(t,r,e)})}t?i?i(e,t,{value:r,enumerable:!n,configurable:!n,writable:!n}):e[t]=r:(a("next",0),a("throw",1),a("return",2))},D(e,t,r,n)}function I(e,t,r){return t=(0,u.A)(t),(0,c.A)(e,(0,l.A)()?Reflect.construct(t,r||[],(0,u.A)(e).constructor):t.apply(e,r))}var B=isMobile.WegoAlbumPC()||!isMobile.any(),F=O().getIsAb,W=function(e){function t(e){var r;return(0,o.A)(this,t),r=I(this,t,[e]),r._handleCertificationClose
1=function(){_wx.is_wx()?wx.closeWindow():isMobile.AppClient()?appShare(29):window.history.length>1?window.history.go(-1):window.location.hash="workbench"},r.checkModalDisplay=(0,a.A)(T().m(function e(){var t,n;return T().w(function(e){while(1)switch(e.n){case 0:return t=(0,L.c7)(N.R.NEW_CARD_GUIDE_RECORD),t||(r.setState({showMsg:"拉新卡"}),(0,L.cT)(N.R.NEW_CARD_GUIDE_RECORD,1)),e.n=1,F(void 0,G.S.COMMON_CARD_OFFLINE);case 1:if(n=e.v,!n){e.n=2;break}return r.setState({commonCardOfflineSwitch:n}),e.a(2);case 2:return e.a(2)}},e)})),r._handleShowMsg=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return function(){r.setState({showMsg:e})}},r._handleHideMsg=function(){r.setState({showMsg:""})},r.getMsg=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t={"通用卡":"适合销售给未开通过会员的新用户和续费的用户。","拉新卡":"适合销售给未开通过会员的新用户,续费的用户无法购买。"};return t[e]},r._showPayGuide=function(){r.setState({showPayGuideConfirm:!0})},r._hidePayGuide=function(){r.setState({showPayGuideConfirm:!1})},r.state={showLoading:!0,showError:!1,errCode:0,errMsg:"",showSuccess:!1,level_name:"",cards:[],pay_list:[],payIndex:[],showMsg:"",paymentSwitch:!1,paymentLimitation:!1,commonCardOfflineSwitch:!1,certificationBlocked:!1,certificationTipsS
1how:!1,customerImg:""},r}return(0,h.A)(t,e),(0,s.A)(t,[{key:"componentWillUnmount",value:function(){_wx.hideMenu()}},{key:"componentDidMount",value:function(){var e=this.props.htmlTitle;setHtmlTitle(e),this._initPage()}},{key:"_initPage",value:function(){var e=(0,a.A)(T().m(function e(){var t,r,n,i,a,o,s,c;return T().w(function(e){while(1)switch(e.p=e.n){case 0:return e.p=0,e.n=1,wgoo.$http.get("/increase/api/v3/proxy/user/getProxyUserStatus",{},{handleError:!1});case 1:if(t=e.v,r=t.errcode,n=t.result,i=void 0===n?{cardStatus:1}:n,0!==r||0!==Number(null===i||void 0===i?void 0:i.cardStatus)){e.n=6;break}return a="",e.p=2,e.n=3,wgoo.$http.get("/increase/api/v3/qiwei/addConfig/findOne",{positionKey:"contact_customer_agent_consulting_app"},{handleError:!1});case 3:s=e.v,0===s.errcode&&null!==(o=s.result)&&void 0!==o&&o.length&&(a=(null===(c=s.result[0])||void 0===c?void 0:c.imgUrl)||""),e.n=5;break;case 4:e.p=4,e.v;case 5:return this.setState({showLoading:!1,certificationBlocked:!0,certificationTipsShow:!0,customerImg:a}),e.a(2);case 6:e.n=8;break;case 7:e.p=7,e.v;case 8:this._fetchData(),this._fetchSwitch(),this._fetchAb(),m.a0.track("agent_page_view",{screen_nama:"代理商购卡页",subscription_method:(0,g.$Z)("sale")||getPar("sale")?"内部销售渠道":"官方"}),this.checkModalDisplay();case 9:return e.a(2)}},e,this,[[2,4],[0,7]])}));function t(){return e.apply(this,arguments)}return t}()},{key:"changePayList",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=this.state.paymentSwitch;return!t&&L.du&&(e=e.filter(function(e){return 2!=e.payType})),B&&(e=e.filter(function(e){return 3==e.payType})),e.map(function(e){return e.pay_type=e.payType,e.pay_name=e.payName,e})}},{key:"_fetchData",value:function(){var e=this,t=this.props.getUrl,r="".concat(t);ajaxFnExt(r,function(t){var r={};0==t.errcode?r=(0,i.A)((0,i.A)({},e.state),t.result):(r.showError=!0,r.errCode=t.errcode,r.errMsg=t.errmsg),r.showLoading=!1,e.setState(r)})}},{key:"_fetchSwitch",value:function(){var e=(0,a.A)(T().m(function e(){var t,r,n,i;return T().w(function(e){while(1)switch(e.p=e.n){case 0:return e.p=0,t="/increase/api/v3/dict/isAb",e.n=1,wgoo.$http.get(t,{configKey:"ab_take_vip_card_payment"},{handleError:!1});case 1:r=e.v,n=r.result,i=r.errcode,0==i&&this.setState({paymentSwitch:n}),e.n=3;break;case 2:e.p=2,e.v;case 3:return e.a(2)}},e,this,[[0,2]])}));function t(){return e.apply(this,arguments)}return t}()},{key:"_fetchAb",value:function(){var e=(0,a.A)(T().m(function e(){var t,r,n,i;return T().w(function(e){while(1)switch(e.p=e.n){case 0:return e.p=0,t="/increase/api/v3/dict/isAb",e.n=1,wgoo.$http.get(t,{configKey:"ab_take_vip_card_limitation"},{handleError:!1});case 1:r=e.v,n=r.result,i=r.errcode,0===i&&this.setState({paymentLimitation:n}),e.n=3;break;case 2:e.p=2,e.v;case 3:return e.a(2)}},e,this,[[0,2]])}));function t(){return e.apply(this,arguments)}return t}()},{key:"render",value:function(){var e=this,t=this.state,r=t.showLoading,n=t.showError,i=t.showSuccess,a=t.generalCardList,o=void 0===a?[]:a,s=t.newCardList,c=void 0===s?[]:s,l=t.commonCardOfflineSwitch,u=t.certificationBlocked,h=t.certificationTipsS
1how,d=t.customerImg,p={root:{marginBottom:"3em"},title:{marginTop:"3em",color:"#fb397b",fontSize:17},icon:{width:17,marginLeft:5}};if(r)return(0,P.jsx)(f.Qp,{});if(u)return(0,P.jsx)(w.d,{visible:h,customerImg:d,onClose:this._handleCertificationClose});if(n)return this._renderError();if(i)return this._renderSuccess();var m=!l&&!(null===o||void 0===o||!o.length);return(0,P.jsxs)("div",{style:p.root,children:[m&&(0,P.jsxs)(P.Fragment,{children:[(0,P.jsxs)(f.iw,{className:"f-flex f-vc",style:p.title,children:["通用卡",(0,P.jsx)("img",{src:E.A,style:p.icon,alt:"",onClick:this._handleShowMsg("通用卡")})]}),null===o||void 0===o?void 0:o.map(function(t,r){return e._renderItem(t,r)})]}),c&&(0,P.jsxs)(f.iw,{className:"f-flex f-vc",style:p.title,children:["拉新卡",(0,P.jsx)("img",{src:E.A,style:p.icon,alt:"",onClick:this._handleShowMsg("拉新卡")})]}),c.map(function(t,r){return e._renderItem(t,r)}),this._renderMsg(),this._renderPayGuide(),this._renderFooter()]})}},{key:"_renderMsg",value:function(){var e=this.state.showMsg,t={show:!!e,title:e,children:this.getMsg(e),buttons:[{type:"primary",label:"我知道了",onClick:this._handleHideMsg}]};return(0,P.jsx)(f.pT,(0,i.A)({},t))}},{key:"_renderPayGuide",value:function(){var e=this.state.showPayGuideConfirm,t={show:e,title:"温馨提示",children:(0,P.jsxs)("div",{className:"f-sub-mb",children:[(0,P.jsx)("div",{children:"请前往微购相册 App 进卡: 【我】-【代理商工作台】-【进会员卡】"}),(0,P.jsx)("img",{style:{width:"100%"},src:y})]}),buttons:[{type:"primary",label:"我知道了",onClick:this._hidePayGuide}]};return(0,P.jsx)(f.pT,(0,i.A)({},t))}},{key:"_renderError",value:function(){var e=this.state,t=e.errMsg,r=e.errCode;return(0,P.jsx)(v.M,{errMsg:t,errCode:r})}},{key:"_renderSuccess",value:function(){var e=this.state,t=e.errMsg,r=e.cards,i=e.payIndex,a=e.android_link,o=e.ios_link,s=(0,n.A)(i,2),c=s[0],l=s[1],u=r[l]||{},h=u.type,d=void 0===h?"会员卡":h,p=u.list,f=void 0===p?[]:p,m=f[c]||{},y=m.num,g=y&&(0,P.jsxs)("div",{children:["恭喜您拿卡成功:",(0,P.jsx)("span",{className:"warn-color",children:y}),"张 · 年",d]});return(0,P.jsx)(v.vZ,{type:"agent",title:t,android_link:a,ios_link:o,children:g})}},{key:"_renderItem",value:function(e,t){var r=e.goodsCode,n=e.price,a=e.buyNum,o=e.tagType,s=e.highlightShow,c=e.unitPrice,l=this.props,u=l.getPrePayLink,h=l.tagTypeList,d=l.getPrePayLinkOld,p=this.state,f=p.payTypeList,m=p.paymentSwitch,y=p.paymentLimitation,g={key:t,price:c,num:a,tag:h[o],total_price:n,getPrePayLink:m?u:"".concat(d,"&purchase_id=").concat(r),pay_list:this.changePayList(f),onPaySuccess:this._handleShowSuccess.bind(this,t),showPayGuide:this._showPayGuide,highlightShow:s,prePayParams:{goodsCode:r},paymentSwitch:m,paymentLimitation:y};return(0,P.jsx)(j,(0,i.A)({},g))}},{key:"_handleShowSuccess",value:function(e,t,r){var n=e.errmsg,i=e.android_link,a=e.ios_link;this.setState({showSuccess:!0,payIndex:[t,r],android_link:i,ios_link:a,errMsg:n})}},{key:"_renderFooter",value:function(){var e=this.props.footLink,t=e.label,r=e.href;return(0,P.jsx)("div",{className:"weui_padding text-center f14",style:{marginTop:"1em"},children:(0,P.jsx)("a",{className:"ios-blue",href:r,children:t})})}}])}(p().Component);W.defaultProps={htmlTitle:"代理商拿卡标准",getUrl:"/increase/api/v3/proxy/goods/findPriceInfoList",getPrePayLinkOld:"/service/income/pre_pay.jsp?order_type=purchase",getPrePayLink:"/increase/api/v3/proxy/goods/pay/prePay",footLink:{label:"代理商拿卡等级与标准",href:"/wsxc_article/index.html#?articleId=397"},tagTypeList:[void 0,"推荐","优惠","超值"]}},50624:function(e,t){t.A="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAASFBMVEUAAACWmqCXn5+Wm5+Wm6CXn5+WmqCYmp+Wmp+XmqCXl5+Wmp+VmZ+WmaCWmqCWmZ+Xm6GWm6CWmqCWmqCZnKGWm5+Wm5+WmqCpSe6PAAAAF3RSTlMA7xBAvyDfMGCfIJCAcLCgf8+/0F9QcOpu44gAAAJpSURBVFjDtVfbltsgDDTm6gB24mzK//9pt2B7qIVw0p6dp90QjUYXFDR0obWVWg//glH62aQNDxXk+JF1VCKdody7HDcvUhNi0u+YL6mDa4q7qDyaefqGetQU977752E8x8qZdfNBbDoivkQnYU7t3JGVv5vL9rlUCKNjb2BO4AwYOHvfrfa4gKFtH6/K9IthiCU/criELZn+OtVPZHvLWVEG8Xc1S3Jg34XMX36SBND4+3kIVQClz1tZt7ZVFX8KItfGjMT6niN7RE1OzOERAhwJFe3/aqdB1wIUuRhpB4oGrLnpNj3ZEzoAsgBhWxJEido1BahtCG2TcW1KiPiqO3tApUJqKXQH7Zg9NQs1VX97nCFwMe6+5mYEFumg35h3XQERnAn2f5pJikUXfNEQHigIJYCuB3zVIc5JafhqNfqfJJisD74ActVzM9IbDH0srEnFVTOLuhBMlwPI0ZOlEEgQdOz9wBDYwXYJbqWRl4EjkBchLPDPhIBytjDiRlCobSQgxxSSrzEayOAuEbjerM3kKCev4MXUZ28gz3oph0tPXcB15uoIbcx1xmT4ELnDxmO6OaaO7qU7ESjc1pVtZGP5LnDtsQ5wFxFjHUNzbVYqw3ICJgwnKgEHaWQykDTz4wqs8MP+uGJo+dabSgg/cpe0qk/47IER6SV9Jq4SbG7Nfz+ySFrfZJCiHW9I+PwyfiSAMkz9p66HPcdgXEe+gT3PcP3cD+wDEgsHFY+FoyPxZrDyuKoiOmLleaJ+bBhYOKdvzKZexMIPrn2g4BZPz5rThFFrFT9bn2XAwmlmL3nr/vov7cX6/xvGtVpePtByUwAAAABJRU5ErkJggg=="}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.