白色主题
This commit is contained in:
@@ -17,7 +17,7 @@ export default class Overlay extends SuperComponent {
|
||||
type: BooleanConstructor;
|
||||
value: boolean;
|
||||
};
|
||||
customStyle: {
|
||||
style: {
|
||||
type: StringConstructor;
|
||||
value: string;
|
||||
};
|
||||
|
||||
@@ -29,7 +29,7 @@ let Overlay = class Overlay extends SuperComponent {
|
||||
type: Boolean,
|
||||
value: true,
|
||||
},
|
||||
customStyle: {
|
||||
style: {
|
||||
type: String,
|
||||
value: '',
|
||||
},
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<view
|
||||
wx:if="{{realVisible && preventScrollThrough}}"
|
||||
class="{{prefix}}-overlay {{transitionClass}}"
|
||||
style="z-index: {{_zIndex}}; {{computedStyle}} {{customStyle}}"
|
||||
style="z-index: {{_zIndex}}; {{computedStyle}} {{style}}"
|
||||
bind:tap="handleClick"
|
||||
catchtouchmove="noop"
|
||||
bind:transitionend="onTransitionEnd"
|
||||
@@ -13,7 +13,7 @@
|
||||
<view
|
||||
wx:elif="{{realVisible}}"
|
||||
class="{{prefix}}-overlay {{transitionClass}}"
|
||||
style="z-index: {{_zIndex}}; {{computedStyle}} {{customStyle}}"
|
||||
style="z-index: {{_zIndex}}; {{computedStyle}} {{style}}"
|
||||
bind:tap="handleClick"
|
||||
bind:transitionend="onTransitionEnd"
|
||||
aria-role="{{ ariaRole || 'button' }}"
|
||||
|
||||
Reference in New Issue
Block a user