@@ -16,6 +16,9 @@ Component({
type: Function
}
},
+ options: {
+ addGlobalClass: true
+ },
data: {
show: false,
seconds: 60
@@ -10,8 +10,8 @@
font-weight: bold;
background: #9CBAFB;
color: #fff;
-
+
.begin{
background: #E7EEFF;
color: #3874F6;
@@ -1,2 +1,5 @@
-<view class="info {{show?'begin':''}}" bindtap="talking">{{show?seconds+'S':'语'}}</view>
+<view class="info {{show?'begin':''}}" bindtap="talking">
+ <text wx:if="{{show}}">{{seconds}}S</text>
+ <text wx:else class="iconfont icon-biaoqian" style="color:inherit !important;font-size: 24rpx;"></text>
+</view>
<van-overlay show="{{ show }}" bind:click="onClose" root-portal />