This commit is contained in:
shuhongfan
2023-09-04 16:40:17 +08:00
commit cf5ac25c14
8267 changed files with 1305066 additions and 0 deletions

View File

@@ -0,0 +1,102 @@
"use strict";
var common_vendor = require("../../common/vendor.js");
var pages_api_my = require("../../pages/api/my.js");
require("../../utils/request.js");
require("../../utils/env.js");
require("../../pages/api/login.js");
if (!Array) {
const _easycom_uni_popup_dialog2 = common_vendor.resolveComponent("uni-popup-dialog");
const _easycom_uni_popup2 = common_vendor.resolveComponent("uni-popup");
(_easycom_uni_popup_dialog2 + _easycom_uni_popup2)();
}
const _easycom_uni_popup_dialog = () => "../../uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog.js";
const _easycom_uni_popup = () => "../../uni_modules/uni-popup/components/uni-popup/uni-popup.js";
if (!Math) {
(_easycom_uni_popup_dialog + _easycom_uni_popup)();
}
const _sfc_main = {
__name: "index",
setup(__props) {
let src = common_vendor.ref("../../static/idcard-goback.png");
let idCard = common_vendor.ref("");
let name = common_vendor.ref("");
let alertDialog = common_vendor.ref("");
let capsuleTop = common_vendor.ref();
common_vendor.onLoad((options) => {
idCard.value = options.idCard || "";
name.value = options.name;
common_vendor.index.getSystemInfo({
success: (res) => {
capsuleTop.value = common_vendor.index.getMenuButtonBoundingClientRect().top;
}
});
});
const handleTo = () => {
common_vendor.index.navigateBack();
};
const handleDelete = () => {
alertDialog.value.open();
};
const dialogConfirm = () => {
pages_api_my.getRealNameStatusApi({
flag: 0
}).then((res) => {
if (res.code !== 200) {
common_vendor.index.showToast({
title: res.msg,
icon: "none",
duration: 1e3
});
} else {
common_vendor.index.showToast({
title: "\u5220\u9664\u6210\u529F",
icon: "none",
duration: 1e3
});
setTimeout(() => {
common_vendor.index.switchTab({
url: "/pages/my/index"
});
}, 2e3);
}
}).catch(() => {
common_vendor.index.showToast({
title: "\u7F51\u7EDC\u5F02\u5E38",
duration: 2e3,
icon: "none"
});
});
};
const dialogClose = () => {
alertDialog.value.close();
};
return (_ctx, _cache) => {
return {
a: common_vendor.unref(src),
b: common_vendor.o(handleTo),
c: common_vendor.unref(capsuleTop) + 9 + "px",
d: common_vendor.t(common_vendor.unref(name)),
e: common_vendor.t(common_vendor.unref(idCard)),
f: common_vendor.o(handleDelete),
g: common_vendor.o(dialogConfirm),
h: common_vendor.o(dialogClose),
i: common_vendor.p({
type: "info",
cancelColor: "red",
cancelText: "\u53D6\u6D88",
confirmText: "\u786E\u5B9A",
title: "\u786E\u5B9A\u5220\u9664\u5B9E\u540D\u4FE1\u606F\u5417\uFF1F",
content: "\u5220\u9664\u540E\uFF0C\u5BC4\u4EF6\u65F6\u9700\u51FA\u793A\u8EAB\u4EFD\u8BC1\u4EF6\u4F9B\r\n\u5FEB\u9012\u5458\u91CD\u65B0\u91C7\u96C6\u8EAB\u4EFD\u4FE1\u606F"
}),
j: common_vendor.sr(alertDialog, "5f422b5e-0", {
"k": "alertDialog"
}),
k: common_vendor.p({
type: "dialog"
})
};
};
}
};
var MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-5f422b5e"], ["__file", "E:/project/project-wl-yonghuduan-uniapp-vue3/subPages/authentication-success/index.vue"]]);
wx.createPage(MiniProgramPage);

View File

@@ -0,0 +1,9 @@
{
"navigationStyle": "custom",
"navigationBarTitleText": "实名认证",
"enablePullDownRefresh": false,
"usingComponents": {
"uni-popup-dialog": "../../uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog",
"uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup"
}
}

View File

@@ -0,0 +1 @@
<image class="goBack data-v-5f422b5e" src="{{a}}" bindtap="{{b}}" style="{{'top:' + c}}"></image><view class="authentication-success data-v-5f422b5e"><image class="data-v-5f422b5e" src="/static/shiming-success.png"></image><view class="tips data-v-5f422b5e">本人寄件时仅需出示有效身份证件共查阅确认即可,无需再次采集</view><view class="info data-v-5f422b5e"><image src="/static/shiming-success-bg.png" class="bg data-v-5f422b5e"></image><view class="info-top data-v-5f422b5e"><view class="info-person data-v-5f422b5e"><image class="headUrl data-v-5f422b5e" src="/static/head.png"></image><view class="info-box data-v-5f422b5e"><view class="name data-v-5f422b5e">{{d}}</view><view class="identify-num data-v-5f422b5e">{{e}}</view></view></view><image src="/static/shiming-success-img.png" class="success data-v-5f422b5e"></image></view><view class="info-title data-v-5f422b5e"><image class="data-v-5f422b5e" src="/static/anquan.png"></image><view class="data-v-5f422b5e">神领速运保障您的信息安全</view></view></view><view class="btn data-v-5f422b5e" bindtap="{{f}}">删除认证信息</view><uni-popup wx:if="{{k}}" class="r data-v-5f422b5e" u-s="{{['d']}}" u-r="alertDialog" u-i="5f422b5e-0" bind:__l="__l" u-p="{{k}}"><uni-popup-dialog wx:if="{{i}}" class="data-v-5f422b5e" bindconfirm="{{g}}" bindclose="{{h}}" u-i="5f422b5e-1,5f422b5e-0" bind:__l="__l" u-p="{{i}}"></uni-popup-dialog></uni-popup></view>

View File

@@ -0,0 +1,113 @@
/* 水平间距 */
/* 水平间距 */
.goBack.data-v-5f422b5e {
position: absolute;
width: 40rpx;
height: 40rpx;
z-index: 2;
left: 26rpx;
}
.authentication-success.data-v-5f422b5e {
position: relative;
}
.authentication-success image.data-v-5f422b5e {
width: 100%;
height: 540rpx;
}
.authentication-success .tips.data-v-5f422b5e {
position: absolute;
left: 66rpx;
font-size: 26rpx;
font-weight: bold;
color: white;
width: 480rpx;
height: 72rpx;
top: 188rpx;
}
.authentication-success .info.data-v-5f422b5e {
position: relative;
bottom: 230rpx;
height: 278rpx;
background: #FFFFFF;
box-shadow: 0 4rpx 38rpx 0 rgba(66, 77, 84, 0);
border-radius: 24rpx;
margin: 0 30rpx;
position: relative;
}
.authentication-success .info .bg.data-v-5f422b5e {
height: 100%;
position: absolute;
left: 0;
top: 0;
}
.authentication-success .info .info-top.data-v-5f422b5e {
display: flex;
justify-content: space-between;
width: 100%;
height: 100%;
position: relative;
z-index: 3;
}
.authentication-success .info .info-top .success.data-v-5f422b5e {
width: 152rpx;
height: 122rpx;
margin: 22rpx 16rpx 0 0;
}
.authentication-success .info .info-top .info-person.data-v-5f422b5e {
display: flex;
margin: 50rpx 0 0 32rpx;
}
.authentication-success .info .info-top .info-person .headUrl.data-v-5f422b5e {
height: 116rpx;
width: 116rpx;
margin-right: 32rpx;
}
.authentication-success .info .info-top .info-person .info-box .name.data-v-5f422b5e {
font-size: 32rpx;
font-weight: bold;
margin-top: 10rpx;
margin-bottom: 14rpx;
}
.authentication-success .info .info-top .info-person .info-box .identify-num.data-v-5f422b5e {
font-size: 26rpx;
color: #919191;
}
.authentication-success .info .info-title.data-v-5f422b5e {
position: absolute;
bottom: 40rpx;
left: 27rpx;
display: flex;
align-items: center;
font-size: 24rpx;
color: #919191;
}
.authentication-success .info .info-title image.data-v-5f422b5e {
width: 40rpx;
height: 40rpx;
margin-right: 6rpx;
}
.authentication-success .btn.data-v-5f422b5e {
width: 560rpx;
height: 90rpx;
background: #FFFFFF;
border-radius: 44rpx;
margin: 82rpx auto 0;
font-size: 30rpx;
font-weight: bold;
text-align: center;
line-height: 90rpx;
position: relative;
bottom: 230rpx;
}
.authentication-success.data-v-5f422b5e .uni-popup-dialog .uni-button-color {
color: #E84134 !important;
}
.authentication-success.data-v-5f422b5e .uni-popup-dialog .uni-dialog-content {
font-size: 28rpx;
color: #919191;
text-align: center;
}
.authentication-success.data-v-5f422b5e .uni-popup-dialog .uni-dialog-title .uni-dialog-title-text {
font-size: 32rpx;
color: #323233;
}