页面修改

This commit is contained in:
2025-08-26 16:08:30 +08:00
parent c74e635212
commit ed68fafa5d
2 changed files with 40 additions and 22 deletions

49
package-lock.json generated
View File

@@ -1,32 +1,49 @@
{ {
"name": "Aidex", "name": "Aidex",
"version": "2.3.0", "version": "2.3.0",
"lockfileVersion": 1, "lockfileVersion": 3,
"requires": true, "requires": true,
"dependencies": { "packages": {
"@icon-park/vue": { "": {
"version": "1.3.5", "name": "Aidex",
"resolved": "https://registry.nlark.com/@icon-park/vue/download/@icon-park/vue-1.3.5.tgz", "version": "2.3.0",
"integrity": "sha1-twRuLCtdpexNZz/7Wta8gL6loTs=", "license": "MIT",
"requires": { "dependencies": {
"@vue/babel-helper-vue-jsx-merge-props": "^1.0.0", "@icon-park/vue": "^1.3.5",
"csstype": "^3.0.3" "vue-i18n": "^8.20.0"
} }
}, },
"@vue/babel-helper-vue-jsx-merge-props": { "node_modules/@icon-park/vue": {
"version": "1.3.5",
"resolved": "https://registry.npmmirror.com/@icon-park/vue/download/@icon-park/vue-1.3.5.tgz",
"integrity": "sha1-twRuLCtdpexNZz/7Wta8gL6loTs=",
"dependencies": {
"@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
"csstype": "^3.0.3"
},
"engines": {
"node": ">= 8.0.0",
"npm": ">= 5.0.0"
},
"peerDependencies": {
"vue": "2.x"
}
},
"node_modules/@vue/babel-helper-vue-jsx-merge-props": {
"version": "1.2.1", "version": "1.2.1",
"resolved": "https://registry.npm.taobao.org/@vue/babel-helper-vue-jsx-merge-props/download/@vue/babel-helper-vue-jsx-merge-props-1.2.1.tgz", "resolved": "https://registry.npmmirror.com/@vue/babel-helper-vue-jsx-merge-props/download/@vue/babel-helper-vue-jsx-merge-props-1.2.1.tgz",
"integrity": "sha1-MWJKelBfsU2h1YAjclpMXycOaoE=" "integrity": "sha1-MWJKelBfsU2h1YAjclpMXycOaoE="
}, },
"csstype": { "node_modules/csstype": {
"version": "3.0.9", "version": "3.0.9",
"resolved": "https://registry.nlark.com/csstype/download/csstype-3.0.9.tgz?cache=0&sync_timestamp=1631540658518&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fcsstype%2Fdownload%2Fcsstype-3.0.9.tgz", "resolved": "https://registry.npmmirror.com/csstype/download/csstype-3.0.9.tgz",
"integrity": "sha1-ZBCvMbJr0FIJM9AsvGT86c4/vws=" "integrity": "sha1-ZBCvMbJr0FIJM9AsvGT86c4/vws="
}, },
"vue-i18n": { "node_modules/vue-i18n": {
"version": "8.20.0", "version": "8.20.0",
"resolved": "https://registry.npmjs.org/vue-i18n/-/vue-i18n-8.20.0.tgz", "resolved": "https://registry.npmmirror.com/vue-i18n/download/vue-i18n-8.20.0.tgz",
"integrity": "sha512-ZiAOoeR4d/JtKpbjipx3I80ey7cYG1ki5gQ7HwzWm4YFio9brA15BEYHjalEoBaEfzF5OBEZP+Y2MvAaWnyXXg==" "integrity": "sha512-ZiAOoeR4d/JtKpbjipx3I80ey7cYG1ki5gQ7HwzWm4YFio9brA15BEYHjalEoBaEfzF5OBEZP+Y2MvAaWnyXXg==",
"deprecated": "Vue I18n v8.x has reached EOL and is no longer actively maintained. About maintenance status, see https://vue-i18n.intlify.dev/guide/maintenance.html"
} }
} }
} }

View File

@@ -468,7 +468,10 @@ export default {
// 上传成功回调 // 上传成功回调
success: (res) => { success: (res) => {
console.log('上传成功', res); console.log('上传成功', res);
uni.showToast({
title: "上传图片成功!",
icon: "success"
})
// this.formData.facePictures = res.data.ossId; // this.formData.facePictures = res.data.ossId;
// 准备提交数据 // 准备提交数据
const submitData = { const submitData = {
@@ -496,12 +499,10 @@ export default {
}) })
}else{ }else{
uni.showToast({ uni.showToast({
title: '上传失败', title: '提交失败',
icon: 'none' icon: 'none'
}); });
} }
// uni.showToast({ // uni.showToast({
// title: '上传成功', // title: '上传成功',
// icon: 'success' // icon: 'success'
@@ -509,9 +510,9 @@ export default {
}, },
// 上传失败回调 // 上传失败回调
fail: (err) => { fail: (err) => {
console.error('上传失败', err); console.error('提交失败', err);
uni.showToast({ uni.showToast({
title: '上传失败', title: '提交失败',
icon: 'none' icon: 'none'
}); });
}, },