This commit is contained in:
砂糖
2025-07-12 11:52:05 +08:00
parent ad58cb208e
commit b659f91245
3 changed files with 13 additions and 23 deletions

View File

@@ -21,8 +21,7 @@
"Camera" : {},
"Record" : {},
"Geolocation" : {},
"Maps" : {},
"Push" : {}
"Maps" : {}
},
"distribute" : {
"android" : {
@@ -121,22 +120,7 @@
}
}
},
"nativePlugins" : {
"Tuoyun-OpenIMSDK" : {
"__plugin_info__" : {
"name" : "OpenIM SDK",
"description" : "OpenIM由IM技术专家打造的基于 Go 实现的即时通讯IM项目从服务端到客户端SDK开源即时通讯IM整体解决方案可以轻松替代第三方IM云服务打造具备聊天、社交功能的app。",
"platforms" : "Android,iOS",
"url" : "https://ext.dcloud.net.cn/plugin?id=6577",
"android_package_name" : "fad.im",
"ios_bundle_id" : "fad.im",
"isCloud" : true,
"bought" : 1,
"pid" : "6577",
"parameters" : {}
}
}
},
"nativePlugins" : {},
"uniStatistics" : {
"enable" : false
}

View File

@@ -322,10 +322,10 @@ export default {
'ppt': 'file-text',
'pptx': 'file-text',
'txt': 'file-text',
'jpg': 'image',
'jpeg': 'image',
'png': 'image',
'gif': 'image',
'jpg': 'file-text',
'jpeg': 'file-text',
'png': 'file-text',
'gif': 'file-text',
'zip': 'folder',
'rar': 'folder',
'7z': 'folder',
@@ -337,7 +337,12 @@ export default {
// 获取文件名
getFileName(fileName) {
if (!fileName) return ''
return fileName.includes('/') ? fileName.split('/').pop() : fileName
const name = fileName.includes('/') ? fileName.split('/').pop() : fileName
// 如果文件名超过20个字符截取前17个字符并添加省略号
if (name.length > 20) {
return name.substring(0, 17) + '...'
}
return name
},
// 格式化文件大小
@@ -519,6 +524,7 @@ export default {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 400rpx;
}
.file-size {

BIN
unpackage/release/fad.wgt Normal file

Binary file not shown.