File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,12 @@ Component({
27
27
offset : [ '20rpx' , 32 ] ,
28
28
content : '这是一条带关闭的消息通知' ,
29
29
duration : - 1 ,
30
- action : '按钮' ,
30
+ link : {
31
+ content : '按钮' ,
32
+ navigatorProps : {
33
+ url : '/page/xxx/xxx' ,
34
+ } ,
35
+ } ,
31
36
closeBtn : true ,
32
37
} ) ;
33
38
} ,
Original file line number Diff line number Diff line change 31
31
wx:if="{{_link.content}}"
32
32
class="{{classPrefix}}__link {{prefix}}-class-link"
33
33
style="{{_._style([_link.style, _link.customStyle])}}"
34
+ disabled="{{_link.disabled || false}}"
35
+ hover="{{_link.hover || true}}"
34
36
theme="{{_link.theme || 'primary'}}"
35
37
size="{{_link.size || 'medium'}}"
36
38
prefixIcon="{{_link.prefixIcon || false}}"
37
39
suffixIcon="{{_link.suffixIcon || false}}"
38
- status="{{_link.status || 'normal'}}"
39
40
underline="{{_link.underline || false}}"
40
41
content="{{_link.content || ''}}"
41
42
navigatorProps="{{_link.navigatorProps || null}}"
You can’t perform that action at this time.
0 commit comments