Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DCloud
uni-starter
提交
a7b7de30
U
uni-starter
项目概览
DCloud
/
uni-starter
通知
4684
Star
229
Fork
210
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
3
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
uni-starter
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
3
Issue
3
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
a7b7de30
编写于
12月 12, 2024
作者:
Anne_LXM
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更新 依赖的uni-id-pages的版本为1.1.23
上级
29218dcb
变更
31
展开全部
隐藏空白更改
内联
并排
Showing
31 changed file
with
1014 addition
and
948 deletion
+1014
-948
uni_modules/uni-data-checkbox/changelog.md
uni_modules/uni-data-checkbox/changelog.md
+2
-0
uni_modules/uni-data-checkbox/components/uni-data-checkbox/clientdb.js
...ni-data-checkbox/components/uni-data-checkbox/clientdb.js
+15
-15
uni_modules/uni-data-checkbox/components/uni-data-checkbox/uni-data-checkbox.vue
...eckbox/components/uni-data-checkbox/uni-data-checkbox.vue
+850
-846
uni_modules/uni-data-checkbox/package.json
uni_modules/uni-data-checkbox/package.json
+7
-4
uni_modules/uni-forms/changelog.md
uni_modules/uni-forms/changelog.md
+6
-0
uni_modules/uni-forms/components/uni-forms-item/uni-forms-item.vue
...es/uni-forms/components/uni-forms-item/uni-forms-item.vue
+7
-2
uni_modules/uni-forms/components/uni-forms/uni-forms.vue
uni_modules/uni-forms/components/uni-forms/uni-forms.vue
+13
-6
uni_modules/uni-forms/package.json
uni_modules/uni-forms/package.json
+3
-2
uni_modules/uni-id-common/package.json
uni_modules/uni-id-common/package.json
+3
-4
uni_modules/uni-id-pages/changelog.md
uni_modules/uni-id-pages/changelog.md
+7
-5
uni_modules/uni-id-pages/common/store.js
uni_modules/uni-id-pages/common/store.js
+12
-9
uni_modules/uni-id-pages/components/uni-id-pages-fab-login/uni-id-pages-fab-login.vue
...ponents/uni-id-pages-fab-login/uni-id-pages-fab-login.vue
+25
-25
uni_modules/uni-id-pages/package.json
uni_modules/uni-id-pages/package.json
+6
-4
uni_modules/uni-id-pages/static/app-plus/apple.png
uni_modules/uni-id-pages/static/app-plus/apple.png
+0
-0
uni_modules/uni-id-pages/static/app-plus/uni-fab-login/alipay.png
...les/uni-id-pages/static/app-plus/uni-fab-login/alipay.png
+0
-0
uni_modules/uni-id-pages/static/app-plus/uni-fab-login/apple.png
...ules/uni-id-pages/static/app-plus/uni-fab-login/apple.png
+0
-0
uni_modules/uni-id-pages/static/app-plus/uni-fab-login/douyin.png
...les/uni-id-pages/static/app-plus/uni-fab-login/douyin.png
+0
-0
uni_modules/uni-id-pages/static/app-plus/uni-fab-login/facebook.png
...s/uni-id-pages/static/app-plus/uni-fab-login/facebook.png
+0
-0
uni_modules/uni-id-pages/static/app-plus/uni-fab-login/google.png
...les/uni-id-pages/static/app-plus/uni-fab-login/google.png
+0
-0
uni_modules/uni-id-pages/static/app-plus/uni-fab-login/qq.png
...modules/uni-id-pages/static/app-plus/uni-fab-login/qq.png
+0
-0
uni_modules/uni-id-pages/static/app-plus/uni-fab-login/sinaweibo.png
.../uni-id-pages/static/app-plus/uni-fab-login/sinaweibo.png
+0
-0
uni_modules/uni-id-pages/static/app-plus/uni-fab-login/taobao.png
...les/uni-id-pages/static/app-plus/uni-fab-login/taobao.png
+0
-0
uni_modules/uni-id-pages/static/app-plus/uni-fab-login/univerify.png
.../uni-id-pages/static/app-plus/uni-fab-login/univerify.png
+0
-0
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/common/sensitive-aes-cipher.js
...d/cloudfunctions/uni-id-co/common/sensitive-aes-cipher.js
+4
-4
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/package.json
...i-id-pages/uniCloud/cloudfunctions/uni-id-co/package.json
+2
-2
uni_modules/uni-load-more/changelog.md
uni_modules/uni-load-more/changelog.md
+6
-0
uni_modules/uni-load-more/components/uni-load-more/uni-load-more.vue
.../uni-load-more/components/uni-load-more/uni-load-more.vue
+7
-2
uni_modules/uni-load-more/package.json
uni_modules/uni-load-more/package.json
+7
-9
uni_modules/uni-popup/changelog.md
uni_modules/uni-popup/changelog.md
+8
-0
uni_modules/uni-popup/components/uni-popup/uni-popup.vue
uni_modules/uni-popup/components/uni-popup/uni-popup.vue
+23
-8
uni_modules/uni-popup/package.json
uni_modules/uni-popup/package.json
+1
-1
未找到文件。
uni_modules/uni-data-checkbox/changelog.md
浏览文件 @
a7b7de30
## 1.0.6(2024-10-22)
-
新增 当 multiple 为 false 且传递的 value 为 数组时,使用数组第一项用作反显
## 1.0.5(2024-03-20)
-
修复 单选模式下选中样式不生效的bug
## 1.0.4(2024-01-27)
...
...
uni_modules/uni-data-checkbox/components/uni-data-checkbox/clientdb.js
浏览文件 @
a7b7de30
...
...
@@ -32,19 +32,19 @@ export default {
errorMessage
:
''
}
},
created
()
{
let
db
=
null
;
let
dbCmd
=
null
;
if
(
this
.
collection
){
this
.
db
=
uniCloud
.
database
();
this
.
dbCmd
=
this
.
db
.
command
;
}
created
()
{
let
db
=
null
;
let
dbCmd
=
null
;
this
.
_isEnded
=
false
if
(
this
.
collection
){
this
.
db
=
uniCloud
.
database
();
this
.
dbCmd
=
this
.
db
.
command
;
}
this
.
_isEnded
=
false
this
.
$watch
(()
=>
{
var
al
=
[]
let
al
=
[]
attrs
.
forEach
(
key
=>
{
al
.
push
(
this
[
key
])
})
...
...
@@ -87,7 +87,7 @@ export default {
// #ifdef MP-TOUTIAO
let
changeName
let
events
=
this
.
$scope
.
dataset
.
eventOpts
for
(
var
i
=
0
;
i
<
events
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
events
.
length
;
i
++
)
{
let
event
=
events
[
i
]
if
(
event
[
0
].
includes
(
'
^load
'
))
{
changeName
=
event
[
1
][
0
][
0
]
...
...
@@ -117,9 +117,9 @@ export default {
// #ifdef H5
beforeDestroy
()
{
if
(
process
.
env
.
NODE_ENV
===
'
development
'
&&
window
.
unidev
)
{
var
cd
=
this
.
_debugDataList
var
dl
=
unidev
.
clientDB
.
data
for
(
var
i
=
dl
.
length
-
1
;
i
>=
0
;
i
--
)
{
let
cd
=
this
.
_debugDataList
let
dl
=
unidev
.
clientDB
.
data
for
(
let
i
=
dl
.
length
-
1
;
i
>=
0
;
i
--
)
{
if
(
dl
[
i
]
===
cd
)
{
dl
.
splice
(
i
,
1
)
break
...
...
@@ -313,4 +313,4 @@ export default {
}
}
}
}
}
uni_modules/uni-data-checkbox/components/uni-data-checkbox/uni-data-checkbox.vue
浏览文件 @
a7b7de30
此差异已折叠。
点击以展开。
uni_modules/uni-data-checkbox/package.json
浏览文件 @
a7b7de30
{
"id"
:
"uni-data-checkbox"
,
"displayName"
:
"uni-data-checkbox 数据选择器"
,
"version"
:
"1.0.
5
"
,
"version"
:
"1.0.
6
"
,
"description"
:
"通过数据驱动的单选框和复选框"
,
"keywords"
:
[
"uni-ui"
,
...
...
@@ -43,12 +43,15 @@
"platforms"
:
{
"cloud"
:
{
"tcb"
:
"y"
,
"aliyun"
:
"y"
"aliyun"
:
"y"
,
"alipay"
:
"n"
},
"client"
:
{
"App"
:
{
"app-vue"
:
"y"
,
"app-nvue"
:
"y"
"app-vue"
:
"y"
,
"app-nvue"
:
"y"
,
"app-harmony"
:
"u"
,
"app-uvue"
:
"u"
},
"H5-mobile"
:
{
"Safari"
:
"y"
,
...
...
uni_modules/uni-forms/changelog.md
浏览文件 @
a7b7de30
## 1.4.13(2024-10-08)
-
修复 校验规则在抖音开发者工具上不生效的bug,详见:
[
https://ask.dcloud.net.cn/question/191933
](
https://ask.dcloud.net.cn/question/191933
)
## 1.4.12 (2024-9-21)
-
修复 form上次修改的问题
## 1.4.11 (2024-9-14)
-
修复 binddata的兼容性问题
## 1.4.10(2023-11-03)
-
优化 labelWidth 描述错误
## 1.4.9(2023-02-10)
...
...
uni_modules/uni-forms/components/uni-forms-item/uni-forms-item.vue
浏览文件 @
a7b7de30
...
...
@@ -56,8 +56,13 @@
export
default
{
name
:
'
uniFormsItem
'
,
options
:
{
virtualHost
:
true
options
:
{
// #ifdef MP-TOUTIAO
virtualHost
:
false
,
// #endif
// #ifndef MP-TOUTIAO
virtualHost
:
true
// #endif
},
provide
()
{
return
{
...
...
uni_modules/uni-forms/components/uni-forms/uni-forms.vue
浏览文件 @
a7b7de30
...
...
@@ -67,8 +67,13 @@
export
default
{
name
:
'
uniForms
'
,
emits
:
[
'
validate
'
,
'
submit
'
],
options
:
{
virtualHost
:
true
options
:
{
// #ifdef MP-TOUTIAO
virtualHost
:
false
,
// #endif
// #ifndef MP-TOUTIAO
virtualHost
:
true
// #endif
},
props
:
{
// 即将弃用
...
...
@@ -180,15 +185,17 @@
}
}
if
(
!
formVm
)
return
console
.
error
(
'
当前 uni-froms 组件缺少 ref 属性
'
);
formVm
.
setValue
(
name
,
value
);
if
(
formVm
.
model
)
formVm
.
model
[
name
]
=
value
if
(
formVm
.
modelValue
)
formVm
.
modelValue
[
name
]
=
value
if
(
formVm
.
value
)
formVm
.
value
[
name
]
=
value
}
}
}
// #endif
// 子组件实例数组
this
.
childrens
=
[]
// TODO 兼容旧版 uni-data-picker ,新版本中无效,只是避免报错
this
.
childrens
=
[]
// TODO 兼容旧版 uni-data-picker ,新版本中无效,只是避免报错
this
.
inputChildrens
=
[]
this
.
setRules
(
this
.
rules
)
},
...
...
@@ -394,4 +401,4 @@
<
style
lang=
"scss"
>
.uni-forms
{}
</
style
>
</
style
>
uni_modules/uni-forms/package.json
浏览文件 @
a7b7de30
{
"id"
:
"uni-forms"
,
"displayName"
:
"uni-forms 表单"
,
"version"
:
"1.4.1
0
"
,
"version"
:
"1.4.1
3
"
,
"description"
:
"由输入框、选择器、单选框、多选框等控件组成,用以收集、校验、提交数据"
,
"keywords"
:
[
"uni-ui"
,
...
...
@@ -46,7 +46,8 @@
"platforms"
:
{
"cloud"
:
{
"tcb"
:
"y"
,
"aliyun"
:
"y"
"aliyun"
:
"y"
,
"alipay"
:
"n"
},
"client"
:
{
"App"
:
{
...
...
uni_modules/uni-id-common/package.json
浏览文件 @
a7b7de30
...
...
@@ -10,16 +10,15 @@
"权限"
],
"repository"
:
"https://gitcode.net/dcloud/uni-id-common"
,
"engines"
:
{
"HBuilderX"
:
"^3.1.0"
"engines"
:
{
},
"dcloudext"
:
{
"sale"
:
{
"regular"
:
{
"price"
:
"0.00"
"price"
:
0
},
"sourcecode"
:
{
"price"
:
"0.00"
"price"
:
0
}
},
"contact"
:
{
...
...
uni_modules/uni-id-pages/changelog.md
浏览文件 @
a7b7de30
## 1.1.22(2024-09-13)
-
注册登录时去除字符串两端的空白字符
-
删除static目录下重复资源
## 1.1.21(2024-08-02)
-
uni-id-co 修复联登更新用户信息接口存在手机号或者邮箱时没有设置认证状态
## 1.1.23(2024-11-05)
-
uni-id-co 修复 没有配置敏感信息解密密钥时导致登录报错的问题
## 1.1.22(2024-09-13)
-
注册登录时去除字符串两端的空白字符
-
删除static目录下重复资源
## 1.1.21(2024-08-02)
-
uni-id-co 修复联登更新用户信息接口存在手机号或者邮箱时没有设置认证状态
## 1.1.20(2024-04-28)
-
uni-id-co 兼容uni-app-x对客户端uniPlatform的调整(uni-app-x内uniPlatform区分app-android、app-ios)
## 1.1.19(2024-03-20)
...
...
uni_modules/uni-id-pages/common/store.js
浏览文件 @
a7b7de30
...
...
@@ -6,13 +6,12 @@ const db = uniCloud.database();
const
usersTable
=
db
.
collection
(
'
uni-id-users
'
)
let
hostUserInfo
=
uni
.
getStorageSync
(
'
uni-id-pages-userInfo
'
)
||
{}
// console.log( hostUserInfo);
const
data
=
{
userInfo
:
hostUserInfo
,
hasLogin
:
Object
.
keys
(
hostUserInfo
).
length
!=
0
}
// console.log('data', data);
// 定义 mutations, 修改属性
export
const
mutations
=
{
// data不为空,表示传递要更新的值(注意不是覆盖是合并),什么也不传时,直接查库获取更新
...
...
@@ -37,6 +36,10 @@ export const mutations = {
})
}
else
{
// 不等待联网查询,立即更新用户_id确保store.userInfo中的_id是最新的
const
_id
=
uniCloud
.
getCurrentUserInfo
().
uid
this
.
setUserInfo
({
_id
},{
cover
:
true
})
// 查库获取用户信息,更新store.userInfo
const
uniIdCo
=
uniCloud
.
importObject
(
"
uni-id-co
"
,
{
customUI
:
true
})
...
...
@@ -58,7 +61,7 @@ export const mutations = {
}
}
},
async
setUserInfo
(
data
,
{
cover
}
=
{
cover
:
false
})
{
setUserInfo
(
data
,
{
cover
}
=
{
cover
:
false
})
{
// console.log('set-userInfo', data);
let
userInfo
=
cover
?
data
:
Object
.
assign
(
store
.
userInfo
,
data
)
store
.
userInfo
=
Object
.
assign
({},
userInfo
)
...
...
@@ -78,13 +81,12 @@ export const mutations = {
}
uni
.
removeStorageSync
(
'
uni_id_token
'
);
uni
.
setStorageSync
(
'
uni_id_token_expired
'
,
0
)
this
.
setUserInfo
({},{
cover
:
true
})
uni
.
$emit
(
'
uni-id-pages-logout
'
)
uni
.
redirectTo
({
url
:
`/
${
pagesJson
.
uniIdRouter
&&
pagesJson
.
uniIdRouter
.
loginPage
?
pagesJson
.
uniIdRouter
.
loginPage
:
'
uni_modules/uni-id-pages/pages/login/login-withoutpwd
'
}
`
,
});
uni
.
$emit
(
'
uni-id-pages-logout
'
)
this
.
setUserInfo
({},{
cover
:
true
})
},
loginBack
(
e
=
{})
{
const
{
uniIdRedirectUrl
=
''
}
=
e
let
delta
=
0
;
//判断需要返回几层
...
...
@@ -118,9 +120,9 @@ export const mutations = {
if
(
delta
)
{
const
page
=
pagesJson
.
pages
[
0
]
return
uni
.
switchTab
({
url
:
`/
${
page
.
path
}
`
})
return
uni
.
reLaunch
({
url
:
`/
${
page
.
path
}
`
})
}
uni
.
navigateBack
({
...
...
@@ -139,6 +141,7 @@ export const mutations = {
duration
:
3000
});
}
// 异步调用(更新用户信息)防止获取头像等操作阻塞页面返回
this
.
updateUserInfo
()
uni
.
$emit
(
'
uni-id-pages-login-success
'
)
...
...
uni_modules/uni-id-pages/components/uni-id-pages-fab-login/uni-id-pages-fab-login.vue
浏览文件 @
a7b7de30
...
...
@@ -66,47 +66,47 @@
{
"
id
"
:
"
apple
"
,
"
text
"
:
"
苹果登录
"
,
"
logo
"
:
"
/uni_modules/uni-id-pages/static/app/uni-fab-login/apple.png
"
,
"
logo
"
:
"
/uni_modules/uni-id-pages/static/app
-plus
/uni-fab-login/apple.png
"
,
},
{
"
id
"
:
"
univerify
"
,
"
text
"
:
"
一键登录
"
,
"
logo
"
:
"
/uni_modules/uni-id-pages/static/app/uni-fab-login/univerify.png
"
,
"
logo
"
:
"
/uni_modules/uni-id-pages/static/app
-plus
/uni-fab-login/univerify.png
"
,
},
{
"
id
"
:
"
taobao
"
,
"
text
"
:
"
淘宝登录
"
,
//暂未提供该登录方式的接口示例
"
logo
"
:
"
/uni_modules/uni-id-pages/static/app/uni-fab-login/taobao.png
"
,
"
logo
"
:
"
/uni_modules/uni-id-pages/static/app
-plus
/uni-fab-login/taobao.png
"
,
},
{
"
id
"
:
"
facebook
"
,
"
text
"
:
"
脸书登录
"
,
//暂未提供该登录方式的接口示例
"
logo
"
:
"
/uni_modules/uni-id-pages/static/app/uni-fab-login/facebook.png
"
,
"
logo
"
:
"
/uni_modules/uni-id-pages/static/app
-plus
/uni-fab-login/facebook.png
"
,
},
{
"
id
"
:
"
alipay
"
,
"
text
"
:
"
支付宝登录
"
,
//暂未提供该登录方式的接口示例
"
logo
"
:
"
/uni_modules/uni-id-pages/static/app/uni-fab-login/alipay.png
"
,
"
logo
"
:
"
/uni_modules/uni-id-pages/static/app
-plus
/uni-fab-login/alipay.png
"
,
},
{
"
id
"
:
"
qq
"
,
"
text
"
:
"
QQ登录
"
,
//暂未提供该登录方式的接口示例
"
logo
"
:
"
/uni_modules/uni-id-pages/static/app/uni-fab-login/qq.png
"
,
"
logo
"
:
"
/uni_modules/uni-id-pages/static/app
-plus
/uni-fab-login/qq.png
"
,
},
{
"
id
"
:
"
google
"
,
"
text
"
:
"
谷歌登录
"
,
//暂未提供该登录方式的接口示例
"
logo
"
:
"
/uni_modules/uni-id-pages/static/app/uni-fab-login/google.png
"
,
"
logo
"
:
"
/uni_modules/uni-id-pages/static/app
-plus
/uni-fab-login/google.png
"
,
},
{
"
id
"
:
"
douyin
"
,
"
text
"
:
"
抖音登录
"
,
//暂未提供该登录方式的接口示例
"
logo
"
:
"
/uni_modules/uni-id-pages/static/app/uni-fab-login/douyin.png
"
,
"
logo
"
:
"
/uni_modules/uni-id-pages/static/app
-plus
/uni-fab-login/douyin.png
"
,
},
{
"
id
"
:
"
sinaweibo
"
,
"
text
"
:
"
新浪微博
"
,
//暂未提供该登录方式的接口示例
"
logo
"
:
"
/uni_modules/uni-id-pages/static/app/uni-fab-login/sinaweibo.png
"
,
"
logo
"
:
"
/uni_modules/uni-id-pages/static/app
-plus
/uni-fab-login/sinaweibo.png
"
,
}
// #endif
],
...
...
@@ -211,22 +211,22 @@
}
else
if
(
this
.
getRoute
(
2
)
==
path
)
{
// 如果上一个页面就是,马上要打开的页面,直接返回。防止重复开启
uni
.
navigateBack
();
}
else
if
(
this
.
getRoute
(
1
)
!=
path
)
{
if
(
index
===
0
){
uni
.
navigateTo
({
url
:
path
,
animationType
:
'
slide-in-left
'
,
complete
(
e
)
{
// console.log(e);
}
})
}
else
{
uni
.
redirectTo
({
url
:
path
,
animationType
:
'
slide-in-left
'
,
complete
(
e
)
{
// console.log(e);
}
})
if
(
index
===
0
){
uni
.
navigateTo
({
url
:
path
,
animationType
:
'
slide-in-left
'
,
complete
(
e
)
{
// console.log(e);
}
})
}
else
{
uni
.
redirectTo
({
url
:
path
,
animationType
:
'
slide-in-left
'
,
complete
(
e
)
{
// console.log(e);
}
})
}
}
else
{
console
.
log
(
'
出乎意料的情况,path:
'
+
path
);
...
...
uni_modules/uni-id-pages/package.json
浏览文件 @
a7b7de30
{
"id"
:
"uni-id-pages"
,
"displayName"
:
"uni-id-pages"
,
"version"
:
"1.1.2
2
"
,
"version"
:
"1.1.2
3
"
,
"description"
:
"云端一体简单、统一、可扩展的用户中心页面模版"
,
"keywords"
:
[
"用户管理"
,
...
...
@@ -64,9 +64,11 @@
"vue3"
:
"y"
},
"App"
:
{
"app-vue"
:
"y"
,
"app-nvue"
:
"u"
},
"app-vue"
:
"y"
,
"app-nvue"
:
"u"
,
"app-harmony"
:
"u"
,
"app-uvue"
:
"u"
},
"H5-mobile"
:
{
"Safari"
:
"y"
,
"Android Browser"
:
"y"
,
...
...
uni_modules/uni-id-pages/static/app-plus/apple.png
0 → 100644
浏览文件 @
a7b7de30
10.0 KB
uni_modules/uni-id-pages/static/app-plus/uni-fab-login/alipay.png
0 → 100644
浏览文件 @
a7b7de30
3.9 KB
uni_modules/uni-id-pages/static/app-plus/uni-fab-login/apple.png
0 → 100644
浏览文件 @
a7b7de30
3.2 KB
uni_modules/uni-id-pages/static/app-plus/uni-fab-login/douyin.png
0 → 100644
浏览文件 @
a7b7de30
3.1 KB
uni_modules/uni-id-pages/static/app-plus/uni-fab-login/facebook.png
0 → 100644
浏览文件 @
a7b7de30
3.0 KB
uni_modules/uni-id-pages/static/app-plus/uni-fab-login/google.png
0 → 100644
浏览文件 @
a7b7de30
4.2 KB
uni_modules/uni-id-pages/static/app-plus/uni-fab-login/qq.png
0 → 100644
浏览文件 @
a7b7de30
3.4 KB
uni_modules/uni-id-pages/static/app-plus/uni-fab-login/sinaweibo.png
0 → 100644
浏览文件 @
a7b7de30
4.0 KB
uni_modules/uni-id-pages/static/app-plus/uni-fab-login/taobao.png
0 → 100644
浏览文件 @
a7b7de30
4.2 KB
uni_modules/uni-id-pages/static/app-plus/uni-fab-login/univerify.png
0 → 100644
浏览文件 @
a7b7de30
3.3 KB
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/common/sensitive-aes-cipher.js
浏览文件 @
a7b7de30
...
...
@@ -21,10 +21,10 @@ function checkSecret (secret) {
}
}
function
encryptData
(
text
=
''
)
{
if
(
!
text
)
return
text
const
encryptSecret
=
this
.
config
.
sensitiveInfoEncryptSecret
if
(
!
text
||
!
encryptSecret
)
return
text
checkSecret
(
encryptSecret
)
const
iv
=
encryptSecret
.
slice
(
-
16
)
...
...
@@ -40,10 +40,10 @@ function encryptData (text = '') {
}
function
decryptData
(
text
=
''
)
{
if
(
!
text
)
return
text
const
encryptSecret
=
this
.
config
.
sensitiveInfoEncryptSecret
if
(
!
text
||
!
encryptSecret
)
return
text
checkSecret
(
encryptSecret
)
const
iv
=
encryptSecret
.
slice
(
-
16
)
...
...
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/package.json
浏览文件 @
a7b7de30
...
...
@@ -21,7 +21,7 @@
"keepRunningAfterReturn"
:
false
},
"origin-plugin-dev-name"
:
"uni-id-pages"
,
"origin-plugin-version"
:
"1.1.2
2
"
,
"origin-plugin-version"
:
"1.1.2
3
"
,
"plugin-dev-name"
:
"uni-id-pages"
,
"plugin-version"
:
"1.1.2
2
"
"plugin-version"
:
"1.1.2
3
"
}
\ No newline at end of file
uni_modules/uni-load-more/changelog.md
浏览文件 @
a7b7de30
## 1.3.6(2024-10-15)
-
修复 微信小程序中的getSystemInfo警告
## 1.3.5(2024-10-12)
-
修复 微信小程序中的getSystemInfo警告
## 1.3.4(2024-10-12)
-
修复 微信小程序中的getSystemInfo警告
## 1.3.3(2022-01-20)
-
新增 showText属性 ,是否显示文本
## 1.3.2(2022-01-19)
...
...
uni_modules/uni-load-more/components/uni-load-more/uni-load-more.vue
浏览文件 @
a7b7de30
...
...
@@ -36,8 +36,13 @@
<
script
>
let
platform
setTimeout
(()
=>
{
platform
=
uni
.
getSystemInfoSync
().
platform
setTimeout
(()
=>
{
// #ifdef MP-WEIXIN
platform
=
uni
.
getDeviceInfo
().
platform
// #endif
// #ifndef MP-WEIXIN
platform
=
uni
.
getSystemInfoSync
().
platform
// #endif
},
16
)
import
{
...
...
uni_modules/uni-load-more/package.json
浏览文件 @
a7b7de30
{
"id"
:
"uni-load-more"
,
"displayName"
:
"uni-load-more 加载更多"
,
"version"
:
"1.3.
3
"
,
"version"
:
"1.3.
6
"
,
"description"
:
"LoadMore 组件,常用在列表里面,做滚动加载使用。"
,
"keywords"
:
[
"uni-ui"
,
...
...
@@ -16,11 +16,7 @@
"directories"
:
{
"example"
:
"../../temps/example_temps"
},
"dcloudext"
:
{
"category"
:
[
"前端组件"
,
"通用组件"
],
"dcloudext"
:
{
"sale"
:
{
"regular"
:
{
"price"
:
"0.00"
...
...
@@ -37,7 +33,8 @@
"data"
:
"无"
,
"permissions"
:
"无"
},
"npmurl"
:
"https://www.npmjs.com/package/@dcloudio/uni-ui"
"npmurl"
:
"https://www.npmjs.com/package/@dcloudio/uni-ui"
,
"type"
:
"component-vue"
},
"uni_modules"
:
{
"dependencies"
:
[
"uni-scss"
],
...
...
@@ -45,7 +42,8 @@
"platforms"
:
{
"cloud"
:
{
"tcb"
:
"y"
,
"aliyun"
:
"y"
"aliyun"
:
"y"
,
"alipay"
:
"n"
},
"client"
:
{
"App"
:
{
...
...
@@ -83,4 +81,4 @@
}
}
}
}
\ No newline at end of file
}
uni_modules/uni-popup/changelog.md
浏览文件 @
a7b7de30
## 1.9.5(2024-10-15)
-
修复 微信小程序中的getSystemInfo警告
## 1.9.4(2024-10-12)
-
修复 微信小程序中的getSystemInfo警告
## 1.9.3(2024-10-12)
-
修复 微信小程序中的getSystemInfo警告
## 1.9.2(2024-09-21)
-
修复 uni-popup在android上的重复点击弹出位置不正确的bug
## 1.9.1(2024-04-02)
-
修复 uni-popup-dialog vue3下使用value无法进行绑定的bug(双向绑定兼容旧写法)
## 1.9.0(2024-03-28)
...
...
uni_modules/uni-popup/components/uni-popup/uni-popup.vue
浏览文件 @
a7b7de30
...
...
@@ -192,6 +192,17 @@
},
mounted
()
{
const
fixSize
=
()
=>
{
// #ifdef MP-WEIXIN
const
{
windowWidth
,
windowHeight
,
windowTop
,
safeArea
,
screenHeight
,
safeAreaInsets
}
=
uni
.
getWindowInfo
()
// #endif
// #ifndef MP-WEIXIN
const
{
windowWidth
,
windowHeight
,
...
...
@@ -200,6 +211,7 @@
screenHeight
,
safeAreaInsets
}
=
uni
.
getSystemInfoSync
()
// #endif
this
.
popupWidth
=
windowWidth
this
.
popupHeight
=
windowHeight
+
(
windowTop
||
0
)
// TODO fix by mehaotian 是否适配底部安全区 ,目前微信ios 、和 app ios 计算有差异,需要框架修复
...
...
@@ -350,6 +362,7 @@
this
.
showPopup
=
true
this
.
showTrans
=
true
this
.
$nextTick
(()
=>
{
this
.
showPoptrans
()
if
(
this
.
messageChild
&&
this
.
type
===
'
message
'
)
{
this
.
messageChild
.
timerClose
()
}
...
...
@@ -372,8 +385,7 @@
}
// TODO 兼容 type 属性 ,后续会废弃
if
(
type
)
return
this
.
showPopup
=
true
this
.
showTrans
=
true
this
.
showPoptrans
()
},
/**
* 中间弹出样式处理
...
...
@@ -403,8 +415,7 @@
}
// TODO 兼容 type 属性 ,后续会废弃
if
(
type
)
return
this
.
showPopup
=
true
this
.
showTrans
=
true
this
.
showPoptrans
()
},
left
(
type
)
{
this
.
popupstyle
=
'
left
'
...
...
@@ -423,8 +434,7 @@
}
// TODO 兼容 type 属性 ,后续会废弃
if
(
type
)
return
this
.
showPopup
=
true
this
.
showTrans
=
true
this
.
showPoptrans
()
},
right
(
type
)
{
this
.
popupstyle
=
'
right
'
...
...
@@ -443,8 +453,13 @@
}
// TODO 兼容 type 属性 ,后续会废弃
if
(
type
)
return
this
.
showPopup
=
true
this
.
showTrans
=
true
this
.
showPoptrans
()
},
showPoptrans
(){
this
.
$nextTick
(()
=>
{
this
.
showPopup
=
true
this
.
showTrans
=
true
})
}
}
}
...
...
uni_modules/uni-popup/package.json
浏览文件 @
a7b7de30
{
"id"
:
"uni-popup"
,
"displayName"
:
"uni-popup 弹出层"
,
"version"
:
"1.9.
1
"
,
"version"
:
"1.9.
5
"
,
"description"
:
" Popup 组件,提供常用的弹层"
,
"keywords"
:
[
"uni-ui"
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录