mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-17 14:42:51 +00:00
perf: 优化录音load效果
This commit is contained in:
parent
4506ba8cd3
commit
4f4c6de8a2
@ -180,7 +180,7 @@
|
|||||||
:style="recordTransferStyle"
|
:style="recordTransferStyle"
|
||||||
@click="stopRecord">
|
@click="stopRecord">
|
||||||
<div v-if="recordDuration > 0" class="record-duration">{{recordFormatDuration}}</div>
|
<div v-if="recordDuration > 0" class="record-duration">{{recordFormatDuration}}</div>
|
||||||
<div v-else class="record-loading"><Loading/></div>
|
<div v-else class="record-loading"><Loading type="pure"/></div>
|
||||||
<div class="record-cancel" @click.stop="stopRecord(true)">{{$L(touchLimitY ? '松开取消' : '向上滑动取消')}}</div>
|
<div class="record-cancel" @click.stop="stopRecord(true)">{{$L(touchLimitY ? '松开取消' : '向上滑动取消')}}</div>
|
||||||
</div>
|
</div>
|
||||||
</transition>
|
</transition>
|
||||||
|
|||||||
@ -634,7 +634,7 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
.common-loading {
|
.common-pureing {
|
||||||
width: 24px;
|
width: 24px;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user