mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
parent
f17e29309a
commit
f8c09af273
@ -5,12 +5,11 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
display: flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
text-align: center;
|
|
||||||
transform: translate(50%, -50%);
|
transform: translate(50%, -50%);
|
||||||
transform-origin: 100%;
|
transform-origin: 100%;
|
||||||
|
|
||||||
|
@ -2,6 +2,6 @@
|
|||||||
|
|
||||||
<view
|
<view
|
||||||
wx:if="{{ info !== null && info !== '' || dot }}"
|
wx:if="{{ info !== null && info !== '' || dot }}"
|
||||||
class="custom-class van-info {{ utils.bem('info', { dot }) }}"
|
class="van-info {{ utils.bem('info', { dot }) }} custom-class"
|
||||||
style="{{ customStyle }}"
|
style="{{ customStyle }}"
|
||||||
>{{ dot ? '' : info }}</view>
|
>{{ dot ? '' : info }}</view>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user