text: (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-user-atte"],{"6c5c":function(t,a,i){var e=i("24fb");a=e(!1),a.push([t.i,'.settle[data-v-237dc493]{padding:5vw}.tiptext[data-v-237dc493]{font-size:4.4vw;padding-top:10vw;text-align:center}.bg-fff[data-v-237dc493]{padding-bottom:10vw}.settle .flex-sub[data-v-237dc493]{position:relative;margin:5vw;text-align:center;height:45vw;border-radius:1.5vw;border:1px solid #fff}.settle .title[data-v-237dc493]{margin-top:26vw;font-size:4.5vw;font-weight:700}.settle .cuIcon-roundcheckfill[data-v-237dc493]{position:absolute;font-size:7vw;left:50%;margin-left:-3.5vw;bottom:3vw}.settle .icon[data-v-237dc493]{position:absolute;font-size:18vw;left:8.5vw;top:6vw}.paymentbtn[data-v-237dc493]{font-size:4.8vw;font-weight:700;margin:auto;width:80vw;text-align:center;line-height:12vw;border-radius:12vw;background-color:#e71d36;color:#fff;box-shadow:0 0 0 6px hsla(0,0%,87.1%,.3)}.bg-red[data-v-237dc493]{background-color:#fff0ff;color:#ff6f94}.bg-red.active[data-v-237dc493]{border:1px solid #ff6f94}.bg-blue[data-v-237dc493]{background-color:#f0f4ff;color:#7183ee}.bg-blue.active[data-v-237dc493]{border:1px solid #7183ee}.cu-dialog[data-v-237dc493]{background-color:initial;width:auto;padding:4vw;height:auto}.cu-bar .action:first-child>uni-text[class*="cuIcon-"][data-v-237dc493]{margin:0}.cu-bar.tabbar .action [class*="cuIcon-"][data-v-237dc493]{width:auto}.cuIcon-close[data-v-237dc493]:before{background-color:rgba(0,0,0,.5);padding:1.5vw;border-radius:50%}.wechat[data-v-237dc493]{width:200px;height:200px}.tip[data-v-237dc493]{color:#fff;margin:2vw 0;font-size:3.4vw}',""]),t.exports=a},"7c4a":function(t,a,i){"use strict";i.r(a);var e=i("c4dc"),n=i.n(e);for(var o in e)"default"!==o&&function(t){i.d(a,t,(function(){return e[t]}))}(o);a["default"]=n.a},babe:function(t,a,i){"use strict";i.r(a);var e=i("c1ae"),n=i("7c4a");for(var o in n)"default"!==o&&function(t){i.d(a,t,(function(){return n[t]}))}(o);i("fd7a");var c,s=i("f0c5"),u=Object(s["a"])(n["default"],e["b"],e["c"],!1,null,"237dc493",null,!1,e["a"],c);a["default"]=u.exports},c1ae:function(t,a,i){"use strict";var e,n=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("v-uni-view",[i("uni-top-bar"),i("v-uni-view",{staticClass:"hongren",style:{top:t.height+43+"px"}},[i("v-uni-view",{staticClass:"bg-fff"},[i("v-uni-view",{staticClass:"tiptext"},[t._v("认证后享有更多曝光")]),i("v-uni-view",{staticClass:"flex settle"},[i("v-uni-view",{staticClass:"flex-sub bg-red light",class:{active:1==t.choice},on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.navToatte(1)}}},[i("v-uni-view",{staticClass:"cuIcon-group_fill icon"}),1==t.choice?i("v-uni-view",{staticClass:"cuIcon-roundcheckfill"}):t._e(),i("v-uni-view",{staticClass:"title"},[t._v("红人入驻")])],1),i("v-uni-view",{staticClass:"flex-sub bg-blue light",class:{active:2==t.choice},on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.navToatte(2)}}},[i("v-uni-view",{staticClass:"cuIcon-selectionfill icon"}),2==t.choice?i("v-uni-view",{staticClass:"cuIcon-roundcheckfill"}):t._e(),i("v-uni-view",{staticClass:"title"},[t._v("商家入驻")])],1)],1),i("v-uni-view",{staticClass:"paymentbtn",attrs:{"data-target":"Image"},on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.navToDetailPage.apply(void 0,arguments)}}},[t._v("马上入驻")])],1)],1),i("v-uni-view",{staticClass:"cu-modal",class:"Image"==t.modalName?"show":"",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.hideModal.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"cu-dialog"},[i("v-uni-view",{staticClass:"bg-img"},[i("img",{staticClass:"wechat",attrs:{src:"https://www.hongrensutui.com/h5/img/wechat.png",mode:"widthFix"}}),i("v-uni-view",{staticClass:"tip"},[t._v("免费入驻微信：zhuoyu10086")]),i("v-uni-view",{staticClass:"cu-bar justify-center text-white"},[i("v-uni-view",{staticClass:"action",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.hideModal.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"cuIcon-close"})],1)],1)],1)],1)],1)],1)},o=[];i.d(a,"b",(function(){return n})),i.d(a,"c",(function(){return o})),i.d(a,"a",(function(){return e}))},c4dc:function(t,a,i){"use strict";var e=i("ee27");i("d3b7"),i("25f0"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=e(i("9dcd")),o={components:{uniTopBar:n.default},data:function(){return{modalName:null,choice:"",userInfo:"",height:""}},onLoad:function(t){var a=this;this.height=this.StatusBar,t.invite&&(uni.getStorageSync("invite")||uni.setStorageSync("invite",t.invite)),t.code?uni.getStorage({key:"invite",success:function(i){uni.request({url:"https://www.hongrensutui.com/api/index/user",data:{code:t.code,invite:i.data},method:"POST",success:function(t){uni.removeStorageSync("invite"),a.userInfo=t.data.data.info,uni.setStorageSync("userInfo",t.data.data.info),a.share(t.data.data.info.company_id,t.data.data.info.id)}})},fail:function(i){uni.request({url:"https://www.hongrensutui.com/api/index/user",data:{code:t.code},method:"POST",success:function(t){a.userInfo=t.data.data.info,uni.setStorageSync("userInfo",t.data.data.info),a.share(t.data.data.info.company_id,t.data.data.info.id)}})}}):uni.getStorage({key:"userInfo",success:function(t){""!=t.data?a.updateuser(t.data.id):wxlogin()},fail:function(t){wxlogin()}})},methods:{updateuser:function(t){var a=this;t&&uni.request({url:"https://www.hongrensutui.com/api/index/userinfo",data:{id:t},method:"POST",success:function(t){t.data.data.info?(self.userInfo=t.data.data.info,uni.setStorageSync("userInfo",t.data.data.info),a.share(t.data.data.info.company_id,t.data.data.info.id)):wxlogin()}})},navToatte:function(t){this.choice=t},navToDetailPage:function(t){var a=this;a.userInfo?1==a.choice?uni.navigateTo({url:"/pages/user/attewh"}):2==a.choice?uni.request({url:"https://www.hongrensutui.com/api/index/userinfo",data:{id:a.userInfo.id},method:"POST",success:function(t){return uni.setStorageSync("userInfo",t.data.data.info),a.userInfo=t.data.data.info,1==a.userInfo.type&&1==a.userInfo.examine?(uni.showToast({icon:"none",title:"您的商家入驻信息正在审核中..."}),!1):1==a.userInfo.type&&2==a.userInfo.examine?(uni.showToast({icon:"none",title:"您已经入驻成功"}),!1):void uni.navigateTo({url:"/pages/user/attesj"})}}):uni.showToast({icon:"none",title:"请选择商家或网红"}):uni.showModal({title:"提示",content:"当前未登录，是否登录",success:function(t){t.confirm&&wxlogin()}})},hideModal:function(t){this.modalName=null},share:function(t){function a(a,i){return t.apply(this,arguments)}return a.toString=function(){return t.toString()},a}((function(t,a){var i="红人速推 | 网红直播带货一站式服务平台",e="红人速推就是网红多 商家多，直播带货就上红人速推。",n="http://www.hongrensutui.com/uploads/share/home_logo2.png";share(i,e,n,a)}))}};a.default=o},e2f7:function(t,a,i){var e=i("6c5c");"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var n=i("4f06").default;n("4fb5b0a4",e,!0,{sourceMap:!1,shadowMode:!1})},fd7a:function(t,a,i){"use strict";var e=i("e2f7"),n=i.n(e);n.a}}]);