fix progress
This commit is contained in:
@ -131,13 +131,17 @@
|
||||
</t-button>
|
||||
</view>
|
||||
</view>
|
||||
<progress
|
||||
wx:if="{{isSaving}}"
|
||||
class="progress"
|
||||
percent="{{saveProgress.toFixed(2) * 100}}"
|
||||
show-info
|
||||
stroke-width="4"
|
||||
/>
|
||||
<view wx:if="{{isSaving}}" class="uploading">
|
||||
<progress
|
||||
class="progress"
|
||||
percent="{{uploadProgress}}"
|
||||
stroke-width="6"
|
||||
/>
|
||||
<view class="text">
|
||||
<view>{{uploaded}} / {{uploadTotal}}</view>
|
||||
<view>{{uploadSpeed}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="ctrl">
|
||||
<t-button class="delete" theme="danger" bind:tap="deleteJournal" disabled="{{isSaving}}">删除记录</t-button>
|
||||
<t-button
|
||||
@ -145,7 +149,7 @@
|
||||
theme="primary"
|
||||
bind:tap="save"
|
||||
disabled="{{(!idea && mediaList.length === 0 && newMediaList.length === 0) || isSaving}}"
|
||||
>{{saveText}}</t-button>
|
||||
>保存</t-button>
|
||||
</view>
|
||||
</block>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user