Yao 3d016db8b0
[improvement] 移除多余的日志信息 (#144)
* 正式编译移除 console 信息

* 移除无须的 warn
2018-03-11 20:35:43 +08:00

19 lines
578 B
Plaintext

<template name="capsule">
<view class="zan-capsule zan-capsule--{{type}}">
<block wx:if="{{color}}">
<view
class="zan-capsule__left"
style="background: {{ color }}; border-color: {{ color }}"
>{{ leftText }}</view>
<view
class="zan-capsule__right"
style="color: {{ color }}; border-color: {{ color }}"
>{{ rightText }}</view>
</block>
<block wx:else>
<view class="zan-capsule__left">{{ leftText }}</view>
<view class="zan-capsule__right">{{ rightText }}</view>
</block>
</view>
</template>