暂存代码
This commit is contained in:
+17
-7
@@ -27,10 +27,17 @@ const _sfc_main = {
|
||||
async getUserInfo() {
|
||||
const result = await api_auth.getUserInfo();
|
||||
if (result && result.bizcode === 100) {
|
||||
const data = result.data;
|
||||
common_vendor.index.__f__("log", "at pages/mine_authentication_ok/mine_authentication_ok.vue:71", "data", data);
|
||||
result.data;
|
||||
this.currentUserData = result.data || {};
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 重新认证
|
||||
*/
|
||||
reauthenticationFun() {
|
||||
common_vendor.index.navigateTo({
|
||||
url: "/pages/mine_authentication/mine_authentication"
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
@@ -53,7 +60,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
["left-path"]: "/pages/mine/mine"
|
||||
}),
|
||||
b: $data.currentUserData && Object.keys($data.currentUserData).length !== 0
|
||||
}, $data.currentUserData && Object.keys($data.currentUserData).length !== 0 ? {
|
||||
}, $data.currentUserData && Object.keys($data.currentUserData).length !== 0 ? common_vendor.e({
|
||||
c: common_vendor.p({
|
||||
src: "/static/mine/auth_ok.png",
|
||||
mode: "widthFix",
|
||||
@@ -64,16 +71,19 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
fade: true,
|
||||
duration: "450"
|
||||
}),
|
||||
d: common_vendor.t($options.getValue($options.CERT_STATUS_OPTION, $data.currentUserData.certStatus))
|
||||
} : {
|
||||
e: common_vendor.p({
|
||||
d: common_vendor.t($options.getValue($options.CERT_STATUS_OPTION, $data.currentUserData.certStatus)),
|
||||
e: $data.currentUserData.certStatus === 3
|
||||
}, $data.currentUserData.certStatus === 3 ? {
|
||||
f: common_vendor.o((...args) => $options.reauthenticationFun && $options.reauthenticationFun(...args))
|
||||
} : {}) : {
|
||||
g: common_vendor.p({
|
||||
src: "/static/common/not_order.png",
|
||||
width: "80",
|
||||
height: "80",
|
||||
bgColor: "#f1f6ff00"
|
||||
})
|
||||
}, {
|
||||
f: common_vendor.sr("uToastRef", "731ed15b-3")
|
||||
h: common_vendor.sr("uToastRef", "731ed15b-3")
|
||||
});
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-731ed15b"]]);
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
<view class="authentication_ok_warp data-v-731ed15b"><header wx:if="{{a}}" class="data-v-731ed15b" u-i="731ed15b-0" bind:__l="__l" u-p="{{a}}"/><view wx:if="{{b}}" class="authentication_ok_content data-v-731ed15b"><view class="authentication_result data-v-731ed15b"><up-image wx:if="{{c}}" class="data-v-731ed15b" u-i="731ed15b-1" bind:__l="__l" u-p="{{c}}"></up-image><view class="result_value data-v-731ed15b">{{d}}</view></view></view><view wx:else class="not_order_warp data-v-731ed15b"><up-image wx:if="{{e}}" class="data-v-731ed15b" u-i="731ed15b-2" bind:__l="__l" u-p="{{e}}"></up-image><view class="not_order_msg_warp data-v-731ed15b">暂无相关认证信息</view></view><up-toast class="r data-v-731ed15b" u-r="uToastRef" u-i="731ed15b-3" bind:__l="__l"></up-toast></view>
|
||||
<view class="authentication_ok_warp data-v-731ed15b"><header wx:if="{{a}}" class="data-v-731ed15b" u-i="731ed15b-0" bind:__l="__l" u-p="{{a}}"/><view wx:if="{{b}}" class="authentication_ok_content data-v-731ed15b"><view class="authentication_result data-v-731ed15b"><up-image wx:if="{{c}}" class="data-v-731ed15b" u-i="731ed15b-1" bind:__l="__l" u-p="{{c}}"></up-image><view class="result_value data-v-731ed15b">{{d}}</view></view><view wx:if="{{e}}" class="reauthentication_warp data-v-731ed15b"><view class="reauthentication_but_warp data-v-731ed15b" bindtap="{{f}}"> 重新认证 </view></view></view><view wx:else class="not_order_warp data-v-731ed15b"><up-image wx:if="{{g}}" class="data-v-731ed15b" u-i="731ed15b-2" bind:__l="__l" u-p="{{g}}"></up-image><view class="not_order_msg_warp data-v-731ed15b">暂无相关认证信息</view></view><up-toast class="r data-v-731ed15b" u-r="uToastRef" u-i="731ed15b-3" bind:__l="__l"></up-toast></view>
|
||||
+13
@@ -47,6 +47,19 @@
|
||||
color: #666666;
|
||||
line-height: 80rpx;
|
||||
}
|
||||
.authentication_ok_warp .reauthentication_warp.data-v-731ed15b {
|
||||
display: grid;
|
||||
justify-content: center;
|
||||
}
|
||||
.authentication_ok_warp .reauthentication_warp .reauthentication_but_warp.data-v-731ed15b {
|
||||
margin-top: 100rpx;
|
||||
border: 1rpx solid #FF7C41;
|
||||
color: #FF7C41;
|
||||
padding: 8rpx 10rpx;
|
||||
width: 200rpx;
|
||||
border-radius: 10rpx;
|
||||
text-align: center;
|
||||
}
|
||||
.authentication_ok_warp .authentication_info.data-v-731ed15b {
|
||||
background: #F8F8F8;
|
||||
border-radius: 10rpx;
|
||||
|
||||
Reference in New Issue
Block a user