Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DCloud
hello uni-im
提交
820926f7
H
hello uni-im
项目概览
DCloud
/
hello uni-im
通知
2545
Star
37
Fork
16
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
4
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
H
hello uni-im
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
4
Issue
4
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
820926f7
编写于
5月 08, 2024
作者:
DCloud_JSON
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更新 项目依赖的所有 uni_modules 版本
上级
beae4f52
变更
24
展开全部
显示空白变更内容
内联
并排
Showing
24 changed file
with
159 addition
and
127 deletion
+159
-127
uni_modules/uni-id-common/changelog.md
uni_modules/uni-id-common/changelog.md
+2
-0
uni_modules/uni-id-common/package.json
uni_modules/uni-id-common/package.json
+84
-83
uni_modules/uni-id-common/readme.md
uni_modules/uni-id-common/readme.md
+2
-2
uni_modules/uni-id-common/uniCloud/cloudfunctions/common/uni-id-common/index.js
...mon/uniCloud/cloudfunctions/common/uni-id-common/index.js
+1
-1
uni_modules/uni-id-common/uniCloud/cloudfunctions/common/uni-id-common/package.json
...uniCloud/cloudfunctions/common/uni-id-common/package.json
+1
-1
uni_modules/uni-id-pages/changelog.md
uni_modules/uni-id-pages/changelog.md
+2
-0
uni_modules/uni-id-pages/package.json
uni_modules/uni-id-pages/package.json
+3
-2
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/common/utils.js
...d-pages/uniCloud/cloudfunctions/uni-id-co/common/utils.js
+0
-7
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/index.obj.js
...i-id-pages/uniCloud/cloudfunctions/uni-id-co/index.obj.js
+2
-0
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/npm/index.js
...-pages/uniCloud/cloudfunctions/uni-id-co/lib/npm/index.js
+3
-0
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/third-party/apple/account/index.js
...unctions/uni-id-co/lib/third-party/apple/account/index.js
+5
-2
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/config.js
...ges/uniCloud/cloudfunctions/uni-id-co/lib/utils/config.js
+12
-10
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/qq.js
...d-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/qq.js
+2
-0
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/register.js
...s/uniCloud/cloudfunctions/uni-id-co/lib/utils/register.js
+3
-1
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/relate.js
...ges/uniCloud/cloudfunctions/uni-id-co/lib/utils/relate.js
+3
-1
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/weixin.js
...ges/uniCloud/cloudfunctions/uni-id-co/lib/utils/weixin.js
+2
-0
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/verify/send-sms-code.js
...d/cloudfunctions/uni-id-co/module/verify/send-sms-code.js
+1
-1
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/package.json
...i-id-pages/uniCloud/cloudfunctions/uni-id-co/package.json
+2
-4
uni_modules/uni-search-bar/changelog.md
uni_modules/uni-search-bar/changelog.md
+4
-0
uni_modules/uni-search-bar/components/uni-search-bar/uni-search-bar.vue
...i-search-bar/components/uni-search-bar/uni-search-bar.vue
+16
-7
uni_modules/uni-search-bar/package.json
uni_modules/uni-search-bar/package.json
+3
-2
uni_modules/uni-transition/changelog.md
uni_modules/uni-transition/changelog.md
+2
-0
uni_modules/uni-transition/components/uni-transition/uni-transition.vue
...i-transition/components/uni-transition/uni-transition.vue
+1
-1
uni_modules/uni-transition/package.json
uni_modules/uni-transition/package.json
+3
-2
未找到文件。
uni_modules/uni-id-common/changelog.md
浏览文件 @
820926f7
## 1.0.17(2024-04-26)
-
兼容uni-app-x对客户端uniPlatform的调整(uni-app-x内uniPlatform区分app-android、app-ios)
## 1.0.16(2023-04-25)
## 1.0.16(2023-04-25)
-
新增maxTokenLength配置,用于限制数据库用户记录token数组的最大长度
-
新增maxTokenLength配置,用于限制数据库用户记录token数组的最大长度
## 1.0.15(2023-04-06)
## 1.0.15(2023-04-06)
...
...
uni_modules/uni-id-common/package.json
浏览文件 @
820926f7
{
{
"id"
:
"uni-id-common"
,
"id"
:
"uni-id-common"
,
"displayName"
:
"uni-id-common"
,
"displayName"
:
"uni-id-common"
,
"version"
:
"1.0.1
6"
,
"version"
:
"1.0.1
7"
,
"description"
:
"包含uni-id token生成、校验、刷新功能的云函数公共模块"
,
"description"
:
"包含uni-id token生成、校验、刷新功能的云函数公共模块"
,
"keywords"
:
[
"keywords"
:
[
"uni-id-common"
,
"uni-id-common"
,
...
@@ -39,7 +39,8 @@
...
@@ -39,7 +39,8 @@
"platforms"
:
{
"platforms"
:
{
"cloud"
:
{
"cloud"
:
{
"tcb"
:
"y"
,
"tcb"
:
"y"
,
"aliyun"
:
"y"
"aliyun"
:
"y"
,
"alipay"
:
"n"
},
},
"client"
:
{
"client"
:
{
"Vue"
:
{
"Vue"
:
{
...
...
uni_modules/uni-id-common/readme.md
浏览文件 @
820926f7
uni_modules/uni-id-common/uniCloud/cloudfunctions/common/uni-id-common/index.js
浏览文件 @
820926f7
此差异已折叠。
点击以展开。
uni_modules/uni-id-common/uniCloud/cloudfunctions/common/uni-id-common/package.json
浏览文件 @
820926f7
{
{
"name"
:
"uni-id-common"
,
"name"
:
"uni-id-common"
,
"version"
:
"1.0.1
6
"
,
"version"
:
"1.0.1
7
"
,
"description"
:
"uni-id token生成、校验、刷新"
,
"description"
:
"uni-id token生成、校验、刷新"
,
"main"
:
"index.js"
,
"main"
:
"index.js"
,
"homepage"
:
"https://uniapp.dcloud.io/uniCloud/uni-id-common.html"
,
"homepage"
:
"https://uniapp.dcloud.io/uniCloud/uni-id-common.html"
,
...
...
uni_modules/uni-id-pages/changelog.md
浏览文件 @
820926f7
## 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)
## 1.1.19(2024-03-20)
-
uni-id-co 修复 实人认证的认证照片在阿里云服务空间没有保存到指定路径下的Bug
-
uni-id-co 修复 实人认证的认证照片在阿里云服务空间没有保存到指定路径下的Bug
-
uni-id-co 修复 云对象开发依赖未移除的Bug
-
uni-id-co 修复 云对象开发依赖未移除的Bug
...
...
uni_modules/uni-id-pages/package.json
浏览文件 @
820926f7
{
{
"id"
:
"uni-id-pages"
,
"id"
:
"uni-id-pages"
,
"displayName"
:
"uni-id-pages"
,
"displayName"
:
"uni-id-pages"
,
"version"
:
"1.1.
19
"
,
"version"
:
"1.1.
20
"
,
"description"
:
"云端一体简单、统一、可扩展的用户中心页面模版"
,
"description"
:
"云端一体简单、统一、可扩展的用户中心页面模版"
,
"keywords"
:
[
"keywords"
:
[
"用户管理"
,
"用户管理"
,
...
@@ -55,7 +55,8 @@
...
@@ -55,7 +55,8 @@
"platforms"
:
{
"platforms"
:
{
"cloud"
:
{
"cloud"
:
{
"tcb"
:
"y"
,
"tcb"
:
"y"
,
"aliyun"
:
"y"
"aliyun"
:
"y"
,
"alipay"
:
"y"
},
},
"client"
:
{
"client"
:
{
"Vue"
:
{
"Vue"
:
{
...
...
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/common/utils.js
浏览文件 @
820926f7
...
@@ -171,13 +171,6 @@ function getNonceStr (length = 16) {
...
@@ -171,13 +171,6 @@ function getNonceStr (length = 16) {
return
str
.
substring
(
0
,
length
)
return
str
.
substring
(
0
,
length
)
}
}
try
{
require
(
'
lodash.merge
'
)
}
catch
(
error
)
{
console
.
error
(
'
uni-id-co缺少依赖,请在uniCloud/cloudfunctions/uni-id-co目录执行 npm install 安装依赖
'
)
throw
error
}
function
isMatchUserApp
(
userAppList
,
matchAppList
)
{
function
isMatchUserApp
(
userAppList
,
matchAppList
)
{
if
(
userAppList
===
undefined
||
userAppList
===
null
)
{
if
(
userAppList
===
undefined
||
userAppList
===
null
)
{
return
true
return
true
...
...
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/index.obj.js
浏览文件 @
820926f7
...
@@ -111,6 +111,8 @@ module.exports = {
...
@@ -111,6 +111,8 @@ module.exports = {
switch
(
clientPlatform
)
{
switch
(
clientPlatform
)
{
case
'
app
'
:
case
'
app
'
:
case
'
app-plus
'
:
case
'
app-plus
'
:
case
'
app-android
'
:
case
'
app-ios
'
:
clientPlatform
=
'
app
'
clientPlatform
=
'
app
'
break
break
case
'
web
'
:
case
'
web
'
:
...
...
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/npm/index.js
0 → 100644
浏览文件 @
820926f7
此差异已折叠。
点击以展开。
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/third-party/apple/account/index.js
浏览文件 @
820926f7
const
rsaPublicKeyPem
=
require
(
'
../rsa-public-key-pem
'
)
const
rsaPublicKeyPem
=
require
(
'
../rsa-public-key-pem
'
)
const
{
jwtVerify
}
=
require
(
'
../../../npm/index
'
)
let
authKeysCache
=
null
let
authKeysCache
=
null
module
.
exports
=
class
Auth
{
module
.
exports
=
class
Auth
{
...
@@ -44,7 +47,7 @@ module.exports = class Auth {
...
@@ -44,7 +47,7 @@ module.exports = class Auth {
* nonce_supported: true
* nonce_supported: true
* }
* }
*/
*/
const
payload
=
require
(
'
jsonwebtoken
'
).
v
erify
(
const
payload
=
jwtV
erify
(
identityToken
,
identityToken
,
rsaPublicKeyPem
(
usedKey
.
n
,
usedKey
.
e
),
rsaPublicKeyPem
(
usedKey
.
n
,
usedKey
.
e
),
{
{
...
...
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/config.js
浏览文件 @
820926f7
...
@@ -18,7 +18,7 @@ const uniIdConfig = createConfig({
...
@@ -18,7 +18,7 @@ const uniIdConfig = createConfig({
})
})
class
ConfigUtils
{
class
ConfigUtils
{
constructor
({
constructor
({
context
context
}
=
{})
{
}
=
{})
{
this
.
context
=
context
this
.
context
=
context
...
@@ -31,6 +31,8 @@ class ConfigUtils {
...
@@ -31,6 +31,8 @@ class ConfigUtils {
switch
(
uniPlatform
)
{
switch
(
uniPlatform
)
{
case
'
app
'
:
case
'
app
'
:
case
'
app-plus
'
:
case
'
app-plus
'
:
case
'
app-android
'
:
case
'
app-ios
'
:
this
.
platform
=
'
app
'
this
.
platform
=
'
app
'
break
break
case
'
web
'
:
case
'
web
'
:
...
@@ -43,7 +45,7 @@ class ConfigUtils {
...
@@ -43,7 +45,7 @@ class ConfigUtils {
}
}
}
}
getConfigArray
()
{
getConfigArray
()
{
let
configContent
let
configContent
try
{
try
{
configContent
=
require
(
'
uni-config-center/uni-id/config.json
'
)
configContent
=
require
(
'
uni-config-center/uni-id/config.json
'
)
...
@@ -57,12 +59,12 @@ class ConfigUtils {
...
@@ -57,12 +59,12 @@ class ConfigUtils {
return
[
configContent
]
return
[
configContent
]
}
}
getAppConfig
()
{
getAppConfig
()
{
const
configArray
=
this
.
getConfigArray
()
const
configArray
=
this
.
getConfigArray
()
return
configArray
.
find
(
item
=>
item
.
dcloudAppid
===
this
.
appId
)
||
configArray
.
find
(
item
=>
item
.
isDefaultConfig
)
return
configArray
.
find
(
item
=>
item
.
dcloudAppid
===
this
.
appId
)
||
configArray
.
find
(
item
=>
item
.
isDefaultConfig
)
}
}
getPlatformConfig
()
{
getPlatformConfig
()
{
const
appConfig
=
this
.
getAppConfig
()
const
appConfig
=
this
.
getAppConfig
()
if
(
!
appConfig
)
{
if
(
!
appConfig
)
{
throw
new
Error
(
throw
new
Error
(
...
@@ -87,7 +89,7 @@ class ConfigUtils {
...
@@ -87,7 +89,7 @@ class ConfigUtils {
return
Object
.
assign
(
defaultConfig
,
appConfig
,
appConfig
[
platform
])
return
Object
.
assign
(
defaultConfig
,
appConfig
,
appConfig
[
platform
])
}
}
getOauthProvider
({
getOauthProvider
({
provider
provider
}
=
{})
{
}
=
{})
{
const
clientPlatform
=
this
.
platform
const
clientPlatform
=
this
.
platform
...
@@ -101,7 +103,7 @@ class ConfigUtils {
...
@@ -101,7 +103,7 @@ class ConfigUtils {
return
oatuhProivder
return
oatuhProivder
}
}
getOauthConfig
({
getOauthConfig
({
provider
provider
}
=
{})
{
}
=
{})
{
const
config
=
this
.
getPlatformConfig
()
const
config
=
this
.
getPlatformConfig
()
...
@@ -122,7 +124,7 @@ class ConfigUtils {
...
@@ -122,7 +124,7 @@ class ConfigUtils {
return
oauthConfig
return
oauthConfig
}
}
getHooks
()
{
getHooks
()
{
if
(
uniIdConfig
.
hasFile
(
'
hooks/index.js
'
))
{
if
(
uniIdConfig
.
hasFile
(
'
hooks/index.js
'
))
{
return
require
(
return
require
(
uniIdConfig
.
resolve
(
'
hooks/index.js
'
)
uniIdConfig
.
resolve
(
'
hooks/index.js
'
)
...
...
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/qq.js
浏览文件 @
820926f7
...
@@ -10,6 +10,8 @@ function getQQPlatform () {
...
@@ -10,6 +10,8 @@ function getQQPlatform () {
switch
(
platform
)
{
switch
(
platform
)
{
case
'
app
'
:
case
'
app
'
:
case
'
app-plus
'
:
case
'
app-plus
'
:
case
'
app-android
'
:
case
'
app-ios
'
:
return
'
app
'
return
'
app
'
case
'
mp-qq
'
:
case
'
mp-qq
'
:
return
'
mp
'
return
'
mp
'
...
...
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/register.js
浏览文件 @
820926f7
...
@@ -16,7 +16,9 @@ const {
...
@@ -16,7 +16,9 @@ const {
logout
logout
}
=
require
(
'
./logout
'
)
}
=
require
(
'
./logout
'
)
const
PasswordUtils
=
require
(
'
./password
'
)
const
PasswordUtils
=
require
(
'
./password
'
)
const
merge
=
require
(
'
lodash.merge
'
)
const
{
merge
}
=
require
(
'
../npm/index
'
)
async
function
realPreRegister
(
params
=
{})
{
async
function
realPreRegister
(
params
=
{})
{
const
{
const
{
...
...
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/relate.js
浏览文件 @
820926f7
...
@@ -14,7 +14,9 @@ const {
...
@@ -14,7 +14,9 @@ const {
const
{
const
{
batchFindObjctValue
batchFindObjctValue
}
=
require
(
'
../../common/utils
'
)
}
=
require
(
'
../../common/utils
'
)
const
merge
=
require
(
'
lodash.merge
'
)
const
{
merge
}
=
require
(
'
../npm/index
'
)
/**
/**
*
*
...
...
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/lib/utils/weixin.js
浏览文件 @
820926f7
...
@@ -43,6 +43,8 @@ function getWeixinPlatform () {
...
@@ -43,6 +43,8 @@ function getWeixinPlatform () {
switch
(
platform
)
{
switch
(
platform
)
{
case
'
app
'
:
case
'
app
'
:
case
'
app-plus
'
:
case
'
app-plus
'
:
case
'
app-android
'
:
case
'
app-ios
'
:
return
'
app
'
return
'
app
'
case
'
mp-weixin
'
:
case
'
mp-weixin
'
:
return
'
mp
'
return
'
mp
'
...
...
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/module/verify/send-sms-code.js
浏览文件 @
820926f7
...
@@ -49,7 +49,7 @@ module.exports = async function (params = {}) {
...
@@ -49,7 +49,7 @@ module.exports = async function (params = {}) {
this
.
config
.
service
.
sms
&&
this
.
config
.
service
.
sms
&&
this
.
config
.
service
.
sms
.
scene
&&
this
.
config
.
service
.
sms
.
scene
&&
this
.
config
.
service
.
sms
.
scene
[
scene
])
||
{}
this
.
config
.
service
.
sms
.
scene
[
scene
])
||
{}
if
(
!
templateId
)
{
if
(
!
templateId
||
!
templateId
.
replace
(
/
[^
0-9a-zA-Z
]
/g
,
''
))
{
await
require
(
'
../../lib/utils/verify-code
'
)
await
require
(
'
../../lib/utils/verify-code
'
)
.
setMobileVerifyCode
.
call
(
this
,
{
.
setMobileVerifyCode
.
call
(
this
,
{
mobile
:
params
.
mobile
,
mobile
:
params
.
mobile
,
...
...
uni_modules/uni-id-pages/uniCloud/cloudfunctions/uni-id-co/package.json
浏览文件 @
820926f7
{
{
"name"
:
"uni-id-co"
,
"name"
:
"uni-id-co"
,
"version"
:
"1.1.
19
"
,
"version"
:
"1.1.
20
"
,
"description"
:
""
,
"description"
:
""
,
"main"
:
"index.js"
,
"main"
:
"index.js"
,
"keywords"
:
[],
"keywords"
:
[],
"author"
:
"DCloud"
,
"author"
:
"DCloud"
,
"dependencies"
:
{
"dependencies"
:
{
"jsonwebtoken"
:
"8.5.1"
,
"lodash.merge"
:
"^4.6.2"
,
"uni-captcha"
:
"file:../../../../uni-captcha/uniCloud/cloudfunctions/common/uni-captcha"
,
"uni-captcha"
:
"file:../../../../uni-captcha/uniCloud/cloudfunctions/common/uni-captcha"
,
"uni-config-center"
:
"file:../../../../uni-config-center/uniCloud/cloudfunctions/common/uni-config-center"
,
"uni-config-center"
:
"file:../../../../uni-config-center/uniCloud/cloudfunctions/common/uni-config-center"
,
"uni-id-common"
:
"file:../../../../uni-id-common/uniCloud/cloudfunctions/common/uni-id-common"
,
"uni-id-common"
:
"file:../../../../uni-id-common/uniCloud/cloudfunctions/common/uni-id-common"
,
...
...
uni_modules/uni-search-bar/changelog.md
浏览文件 @
820926f7
## 1.3.0(2024-04-22)
-
修复 textColor默认值导致的文字不显示的bug
## 1.2.9(2024-04-17)
-
修复 textColor不生效的bug
## 1.2.8(2024-02-22)
## 1.2.8(2024-02-22)
-
修复 清空按钮emit值错误的bug
-
修复 清空按钮emit值错误的bug
## 1.2.7(2024-02-21)
## 1.2.7(2024-02-21)
...
...
uni_modules/uni-search-bar/components/uni-search-bar/uni-search-bar.vue
浏览文件 @
820926f7
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
</slot>
</slot>
</view>
</view>
<input
v-if=
"show || searchVal"
:focus=
"showSync"
:disabled=
"readonly"
:placeholder=
"placeholderText"
:maxlength=
"maxlength"
<input
v-if=
"show || searchVal"
:focus=
"showSync"
:disabled=
"readonly"
:placeholder=
"placeholderText"
:maxlength=
"maxlength"
class=
"uni-searchbar__box-search-input"
confirm-type=
"search"
type=
"text"
v-model=
"searchVal"
class=
"uni-searchbar__box-search-input"
confirm-type=
"search"
type=
"text"
v-model=
"searchVal"
:style=
"
{color:textColor}"
@confirm="confirm" @blur="blur" @focus="emitFocus"/>
@confirm="confirm" @blur="blur" @focus="emitFocus"/>
<text
v-else
class=
"uni-searchbar__text-placeholder"
>
{{
placeholder
}}
</text>
<text
v-else
class=
"uni-searchbar__text-placeholder"
>
{{
placeholder
}}
</text>
<view
v-if=
"show && (clearButton==='always'||clearButton==='auto'&&searchVal!=='') &&!readonly"
<view
v-if=
"show && (clearButton==='always'||clearButton==='auto'&&searchVal!=='') &&!readonly"
...
@@ -49,6 +49,7 @@
...
@@ -49,6 +49,7 @@
* @value none 一直不显示
* @value none 一直不显示
* @property {String} cancelText 取消按钮的文字
* @property {String} cancelText 取消按钮的文字
* @property {String} bgColor 输入框背景颜色
* @property {String} bgColor 输入框背景颜色
* @property {String} textColor 输入文字颜色
* @property {Boolean} focus 是否自动聚焦
* @property {Boolean} focus 是否自动聚焦
* @property {Boolean} readonly 组件只读,不能有任何操作,只做展示
* @property {Boolean} readonly 组件只读,不能有任何操作,只做展示
* @event {Function} confirm uniSearchBar 的输入框 confirm 事件,返回参数为uniSearchBar的value,e={value:Number}
* @event {Function} confirm uniSearchBar 的输入框 confirm 事件,返回参数为uniSearchBar的value,e={value:Number}
...
@@ -86,6 +87,10 @@
...
@@ -86,6 +87,10 @@
type
:
String
,
type
:
String
,
default
:
"
#F8F8F8
"
default
:
"
#F8F8F8
"
},
},
textColor
:
{
type
:
String
,
default
:
"
#000000
"
},
maxlength
:
{
maxlength
:
{
type
:
[
Number
,
String
],
type
:
[
Number
,
String
],
default
:
100
default
:
100
...
@@ -177,7 +182,9 @@
...
@@ -177,7 +182,9 @@
},
},
clear
()
{
clear
()
{
this
.
searchVal
=
""
this
.
searchVal
=
""
this
.
$emit
(
"
clear
"
,
''
);
this
.
$nextTick
(()
=>
{
this
.
$emit
(
"
clear
"
,
{
value
:
""
})
})
},
},
cancel
()
{
cancel
()
{
if
(
this
.
readonly
)
return
if
(
this
.
readonly
)
return
...
@@ -240,11 +247,11 @@
...
@@ -240,11 +247,11 @@
/* #ifndef APP-NVUE */
/* #ifndef APP-NVUE */
display
:
flex
;
display
:
flex
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
justify-content
:
left
;
/* #endif */
/* #endif */
overflow
:
hidden
;
overflow
:
hidden
;
position
:
relative
;
position
:
relative
;
flex
:
1
;
flex
:
1
;
justify-content
:
left
;
flex-direction
:
row
;
flex-direction
:
row
;
align-items
:
center
;
align-items
:
center
;
height
:
$uni-searchbar-height
;
height
:
$uni-searchbar-height
;
...
@@ -269,7 +276,9 @@
...
@@ -269,7 +276,9 @@
color
:
#333
;
color
:
#333
;
margin-left
:
5px
;
margin-left
:
5px
;
margin-top
:
1px
;
margin-top
:
1px
;
/* #ifndef APP-NVUE */
background-color
:
inherit
;
background-color
:
inherit
;
/* #endif */
}
}
.uni-searchbar__box-icon-clear
{
.uni-searchbar__box-icon-clear
{
...
...
uni_modules/uni-search-bar/package.json
浏览文件 @
820926f7
{
{
"id"
:
"uni-search-bar"
,
"id"
:
"uni-search-bar"
,
"displayName"
:
"uni-search-bar 搜索栏"
,
"displayName"
:
"uni-search-bar 搜索栏"
,
"version"
:
"1.
2.8
"
,
"version"
:
"1.
3.0
"
,
"description"
:
"搜索栏组件,通常用于搜索商品、文章等"
,
"description"
:
"搜索栏组件,通常用于搜索商品、文章等"
,
"keywords"
:
[
"keywords"
:
[
"uni-ui"
,
"uni-ui"
,
...
@@ -45,7 +45,8 @@
...
@@ -45,7 +45,8 @@
"platforms"
:
{
"platforms"
:
{
"cloud"
:
{
"cloud"
:
{
"tcb"
:
"y"
,
"tcb"
:
"y"
,
"aliyun"
:
"y"
"aliyun"
:
"y"
,
"alipay"
:
"n"
},
},
"client"
:
{
"client"
:
{
"App"
:
{
"App"
:
{
...
...
uni_modules/uni-transition/changelog.md
浏览文件 @
820926f7
## 1.3.3(2024-04-23)
-
修复 当元素会受变量影响自动隐藏的bug
## 1.3.2(2023-05-04)
## 1.3.2(2023-05-04)
-
修复 NVUE 平台报错的问题
-
修复 NVUE 平台报错的问题
## 1.3.1(2021-11-23)
## 1.3.1(2021-11-23)
...
...
uni_modules/uni-transition/components/uni-transition/uni-transition.vue
浏览文件 @
820926f7
...
@@ -254,7 +254,7 @@ export default {
...
@@ -254,7 +254,7 @@ export default {
},
},
animationType
(
type
)
{
animationType
(
type
)
{
return
{
return
{
fade
:
type
?
1
:
0
,
fade
:
type
?
0
:
1
,
'
slide-top
'
:
`translateY(
${
type
?
'
0
'
:
'
-100%
'
}
)`
,
'
slide-top
'
:
`translateY(
${
type
?
'
0
'
:
'
-100%
'
}
)`
,
'
slide-right
'
:
`translateX(
${
type
?
'
0
'
:
'
100%
'
}
)`
,
'
slide-right
'
:
`translateX(
${
type
?
'
0
'
:
'
100%
'
}
)`
,
'
slide-bottom
'
:
`translateY(
${
type
?
'
0
'
:
'
100%
'
}
)`
,
'
slide-bottom
'
:
`translateY(
${
type
?
'
0
'
:
'
100%
'
}
)`
,
...
...
uni_modules/uni-transition/package.json
浏览文件 @
820926f7
{
{
"id"
:
"uni-transition"
,
"id"
:
"uni-transition"
,
"displayName"
:
"uni-transition 过渡动画"
,
"displayName"
:
"uni-transition 过渡动画"
,
"version"
:
"1.3.
2
"
,
"version"
:
"1.3.
3
"
,
"description"
:
"元素的简单过渡动画"
,
"description"
:
"元素的简单过渡动画"
,
"keywords"
:
[
"keywords"
:
[
"uni-ui"
,
"uni-ui"
,
...
@@ -43,7 +43,8 @@
...
@@ -43,7 +43,8 @@
"platforms"
:
{
"platforms"
:
{
"cloud"
:
{
"cloud"
:
{
"tcb"
:
"y"
,
"tcb"
:
"y"
,
"aliyun"
:
"y"
"aliyun"
:
"y"
,
"alipay"
:
"n"
},
},
"client"
:
{
"client"
:
{
"App"
:
{
"App"
:
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录