@uxda/appkit 4.2.86 → 4.2.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -7108,11 +7108,10 @@ var script$b = /* @__PURE__ */ defineComponent({
|
|
|
7108
7108
|
src: userInfo.value.avatar,
|
|
7109
7109
|
alt: ""
|
|
7110
7110
|
}, null, 8, _hoisted_25)) : (openBlock(), createElementBlock("img", _hoisted_26)),
|
|
7111
|
-
|
|
7112
|
-
key: 2,
|
|
7111
|
+
createElementVNode("div", {
|
|
7113
7112
|
class: "upload-avatar-popup-btn",
|
|
7114
7113
|
onClick: toUpload
|
|
7115
|
-
}, "\u66F4\u6362\u5934\u50CF")
|
|
7114
|
+
}, "\u66F4\u6362\u5934\u50CF")
|
|
7116
7115
|
])
|
|
7117
7116
|
]),
|
|
7118
7117
|
_: 1
|
|
@@ -9209,7 +9208,7 @@ var script$2 = /* @__PURE__ */ defineComponent({
|
|
|
9209
9208
|
rules: ["required"]
|
|
9210
9209
|
}, {
|
|
9211
9210
|
append: withCtx(() => [
|
|
9212
|
-
|
|
9211
|
+
!\u5DF2\u8BA4\u8BC1.value ? (openBlock(), createBlock(unref(script$G), {
|
|
9213
9212
|
key: 0,
|
|
9214
9213
|
onComplete: onOcrComplete
|
|
9215
9214
|
})) : createCommentVNode("v-if", true)
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<ns-input label="你的姓名" name="姓名" v-model="formData.姓名" placeholder="请输入或拍照识别" :maxlength="30" :disabled="已认证"
|
|
7
7
|
:rules="['required']">
|
|
8
8
|
<template #append>
|
|
9
|
-
<ocr-icon v-if="
|
|
9
|
+
<ocr-icon v-if="!已认证" @complete="onOcrComplete" />
|
|
10
10
|
</template>
|
|
11
11
|
</ns-input>
|
|
12
12
|
<ns-input label="身份证号码" name="身份证号码" placeholder="请输入身份证号码" :maxlength="30" v-model="formData.身份证号码"
|
|
@@ -58,7 +58,6 @@ import { useNutshell } from "@uxda/nutshell/taro";
|
|
|
58
58
|
import isMobilePhone from "validator/es/lib/isMobilePhone";
|
|
59
59
|
import isIdentityCard from "validator/es/lib/isIdentityCard";
|
|
60
60
|
import { useHttp } from "../api";
|
|
61
|
-
import { isApp } from '../../utils/utils'
|
|
62
61
|
|
|
63
62
|
const props = withDefaults(
|
|
64
63
|
defineProps<{
|
|
@@ -122,7 +122,7 @@
|
|
|
122
122
|
<img class="upload-avatar-popup-avatar" mode="aspectFit" v-if="userInfo.avatar" :src="userInfo.avatar" alt="" />
|
|
123
123
|
<img class="upload-avatar-popup-avatar" mode="aspectFit" v-else
|
|
124
124
|
src="https://cdn.ddjf.com/static/images/wx-yunservice/account-head.png" alt="" />
|
|
125
|
-
<div class="upload-avatar-popup-btn" @click="toUpload"
|
|
125
|
+
<div class="upload-avatar-popup-btn" @click="toUpload">更换头像</div>
|
|
126
126
|
</div>
|
|
127
127
|
</nut-popup>
|
|
128
128
|
</template>
|