|
|
@ -13,8 +13,11 @@ |
|
|
|
<image class="icon" :src="icon" /> |
|
|
|
</slot> |
|
|
|
<slot name="content"> |
|
|
|
<rich-text class="content" :nodes="content" :style="{'color': textColor}" :key='count'> |
|
|
|
</rich-text> |
|
|
|
<text class="content" :style="{'color': textColor?textColor:'#000'}" v-if="textColor"> |
|
|
|
{{content}} |
|
|
|
</text> |
|
|
|
<rich-text class="content" :nodes="content" v-else></rich-text> |
|
|
|
|
|
|
|
</slot> |
|
|
|
<view class='split_line'></view> |
|
|
|
<slot name="button"> |
|
|
@ -63,7 +66,7 @@ |
|
|
|
seconds: 0, |
|
|
|
success: () => {} ,// 回调方法 |
|
|
|
version:"", |
|
|
|
textColor:'#000', |
|
|
|
textColor:'', |
|
|
|
count:0 |
|
|
|
} |
|
|
|
}, |
|
|
@ -425,7 +428,7 @@ |
|
|
|
if (data.textColor) { |
|
|
|
this.textColor = data.textColor |
|
|
|
} else { |
|
|
|
this.textColor = '#000' |
|
|
|
this.textColor = '' |
|
|
|
} |
|
|
|
if (data.showConfirmButton === false || data.showConfirmButton === true) { |
|
|
|
this.showConfirmButton = data.showConfirmButton |
|
|
|