You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
4.9 KiB
1 lines
4.9 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-renzheng-index"],{"187f":function(n,e,t){"use strict";t("6a54");var a=t("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(t("2634")),s=a(t("2fdc")),r={data:function(){return{userInfo:{}}},onShow:function(){this.baseUrl=this.$baseUrl,this.getUserInfo()},methods:{getUserInfo:function(){var n=this;return(0,s.default)((0,i.default)().mark((function e(){var t,a,s,r;return(0,i.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,n.$api.findUserInfo({userId:uni.getStorageSync("userInfo").id});case 2:t=e.sent,a=t.code,s=t.data,r=t.msg,200==a?n.userInfo=s:uni.showToast({title:r,position:"bottom",icon:"none"});case 7:case"end":return e.stop()}}),e)})))()},openPage:function(n){if(1==n){if(1==this.userInfo.phoneFlag)return;uni.navigateTo({url:"/pages/users/renzheng/phone"})}else if(2==n){if(1==this.userInfo.realnameFlag)return;uni.navigateTo({url:"/pages/users/renzheng/shiming"})}else if(3==n){if(1==this.userInfo.faceFlag)return;uni.navigateTo({url:"/pages/users/renzheng/zhenren"})}}}};e.default=r},"2aad":function(n,e,t){"use strict";t.r(e);var a=t("c9e2"),i=t("2c06");for(var s in i)["default"].indexOf(s)<0&&function(n){t.d(e,n,(function(){return i[n]}))}(s);t("332f");var r=t("828b"),o=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,"19b70ed9",null,!1,a["a"],void 0);e["default"]=o.exports},"2c06":function(n,e,t){"use strict";t.r(e);var a=t("187f"),i=t.n(a);for(var s in a)["default"].indexOf(s)<0&&function(n){t.d(e,n,(function(){return a[n]}))}(s);e["default"]=i.a},"332f":function(n,e,t){"use strict";var a=t("abe0"),i=t.n(a);i.a},abe0:function(n,e,t){var a=t("bd93");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[n.i,a,""]]),a.locals&&(n.exports=a.locals);var i=t("967d").default;i("550a6c86",a,!0,{sourceMap:!1,shadowMode:!1})},bd93:function(n,e,t){var a=t("c86c");e=a(!1),e.push([n.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.renzheng[data-v-19b70ed9]{padding:%?25?%;overflow:hidden}.renzheng .title[data-v-19b70ed9]{color:#222;font-weight:500;font-size:%?30?%}.renzheng .tips[data-v-19b70ed9]{font-weight:500;font-size:%?24?%;color:#999;margin-top:%?20?%}.renzheng .item[data-v-19b70ed9]{height:%?120?%;background:#fff;border-radius:%?20?%;box-sizing:border-box;padding:0 %?30?%;display:flex;align-items:center;justify-content:space-between;font-weight:500;font-size:%?30?%;color:#222;margin-top:%?20?%}.renzheng .item .btn[data-v-19b70ed9]{width:%?150?%;line-height:%?60?%;background:#ededed;border-radius:%?60?%;text-align:center;font-weight:500;font-size:%?28?%;color:#222}.renzheng .item .btn-on[data-v-19b70ed9]{background:#faefef;color:#e70c0c}',""]),n.exports=e},c9e2:function(n,e,t){"use strict";t.d(e,"b",(function(){return a})),t.d(e,"c",(function(){return i})),t.d(e,"a",(function(){}));var a=function(){var n=this,e=n.$createElement,t=n._self._c||e;return t("v-uni-view",{staticClass:"renzheng"},[t("v-uni-view",{staticClass:"titlle"},[n._v("小贴士:")]),t("v-uni-view",{staticClass:"tips"},[n._v("平台提倡真实交友,完成认证用户才能享受到平台各项权益")]),t("v-uni-view",{staticClass:"item",on:{click:function(e){arguments[0]=e=n.$handleEvent(e),n.openPage(1)}}},[n._v("手机认证"),t("v-uni-view",{staticClass:"btn",class:1==n.userInfo.phoneFlag?"btn-on":""},[n._v(n._s(1==n.userInfo.phoneFlag?"已认证":"未认证"))])],1),t("v-uni-view",{staticClass:"item",on:{click:function(e){arguments[0]=e=n.$handleEvent(e),n.openPage(2)}}},[n._v("实名认证"),t("v-uni-view",{staticClass:"btn",class:1==n.userInfo.realnameFlag?"btn-on":""},[n._v(n._s(1==n.userInfo.realnameFlag?"已认证":"未认证"))])],1),1==n.userInfo.realnameFlag?t("v-uni-view",{staticClass:"item",on:{click:function(e){arguments[0]=e=n.$handleEvent(e),n.openPage(3)}}},[n._v("真人认证"),t("v-uni-view",{staticClass:"btn",class:1==n.userInfo.faceFlag?"btn-on":""},[n._v(n._s(1==n.userInfo.faceFlag?"已认证":"未认证"))])],1):n._e()],1)},i=[]}}]); |