Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
vk-uni
vk-uview-ui
比较版本
b1eae4435b1db5c7fc590af1a5b97ed1c3cf812d...6c090371224271e7efec237b63c72a687398f547
vk-uview-ui
项目概览
vk-uni
/
vk-uview-ui
9 个月 前同步成功
通知
0
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
vk-uview-ui
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
源分支
6c090371224271e7efec237b63c72a687398f547
选择Git版本
...
目标分支
b1eae4435b1db5c7fc590af1a5b97ed1c3cf812d
选择Git版本
比较
Commits (2)
https://gitcode.net/vk-uni/vk-uview-ui/-/commit/35d890b5c5f69b46081f3e383899148866cfeefa
update uni_modules/vk-uview-ui/components/u-button/u-button.vue.
2023-02-17T06:25:35+00:00
wflee
liwenfengsss@gmail.com
Signed-off-by: <span data-trailer="Signed-off-by:"><a href="mailto:liwenfengsss@gmail.com" title="liwenfengsss@gmail.com"></a><a href="javascript:void(0)" class="avatar s16 avatar-inline identicon bg5" style="text-decoration: none">N</a><a href="mailto:liwenfengsss@gmail.com" title="liwenfengsss@gmail.com">wflee</a> <<a href="mailto:liwenfengsss@gmail.com" title="liwenfengsss@gmail.com">liwenfengsss@gmail.com</a>></span>
https://gitcode.net/vk-uni/vk-uview-ui/-/commit/6c090371224271e7efec237b63c72a687398f547
!7 update uni_modules/vk-uview-ui/components/u-button/u-button.vue.
2023-02-21T03:48:07+00:00
VK
370725567@qq.com
Merge pull request !7 from wflee/N/A
隐藏空白更改
内联
并排
Showing
1 changed file
with
7 addition
and
2 deletion
+7
-2
uni_modules/vk-uview-ui/components/u-button/u-button.vue
uni_modules/vk-uview-ui/components/u-button/u-button.vue
+7
-2
未找到文件。
uni_modules/vk-uview-ui/components/u-button/u-button.vue
浏览文件 @
6c090371
...
...
@@ -30,6 +30,7 @@
@error="error"
@opensetting="opensetting"
@launchapp="launchapp"
@chooseavatar="chooseavatar"
:style="[customStyle, {
overflow: ripple ? 'hidden' : 'visible'
}]"
...
...
@@ -80,11 +81,12 @@
* @event {Function} error 当使用开放能力时,发生错误的回调
* @event {Function} opensetting 在打开授权设置页并关闭后回调
* @event {Function} launchapp 打开 APP 成功的回调
* @event {Function} chooseavatar 获取用户头像,可以从@chooseavatar回调中获取到头像信息,open-type="chooseAvatar"时有效
* @example <u-button>月落</u-button>
*/
export
default
{
name
:
'
u-button
'
,
emits
:
[
"
click
"
,
"
getphonenumber
"
,
"
getuserinfo
"
,
"
error
"
,
"
opensetting
"
,
"
launchapp
"
],
emits
:
[
"
click
"
,
"
getphonenumber
"
,
"
getuserinfo
"
,
"
error
"
,
"
opensetting
"
,
"
launchapp
"
,
"
chooseavatar
"
],
props
:
{
// 是否细边框
hairLine
:
{
...
...
@@ -342,7 +344,10 @@ export default {
},
launchapp
(
res
)
{
this
.
$emit
(
'
launchapp
'
,
res
);
}
},
chooseavatar
(
res
)
{
this
.
$emit
(
'
chooseavatar
'
,
res
);
}
}
};
</
script
>
...
...