This commit is contained in:
Fine 2022-08-23 13:11:00 +08:00
parent 8e7f8f0d80
commit dbe73848c1
2 changed files with 9 additions and 14 deletions

View File

@ -48,11 +48,11 @@ const { t } = useI18n();
min-width: 700px; min-width: 700px;
overflow: auto; overflow: auto;
position: relative; position: relative;
width: calc(100% - 320px); width: calc(100% - 330px);
} }
.text { .text {
width: calc(100% - 320px); width: calc(100% - 330px);
text-align: center; text-align: center;
margin-top: 30px; margin-top: 30px;
} }

View File

@ -66,9 +66,12 @@ limitations under the License. -->
dateFormat(i.taskStartTime + i.fixedTriggerDuration * 1000) dateFormat(i.taskStartTime + i.fixedTriggerDuration * 1000)
}} }}
</span> </span>
<a class="profile-btn r" @click="viewDetail = true"> <span class="ml-10" @click="viewDetail = true">
<Icon iconName="view" size="middle" /> <Icon iconName="view" size="middle" />
</a> </span>
<span class="ml-5" v-if="index === 0 && inProcess">
<Icon iconName="retry" :loading="true" size="middle" />
</span>
</div> </div>
</td> </td>
</tr> </tr>
@ -222,7 +225,7 @@ watch(
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.profile-task-list { .profile-task-list {
width: 320px; width: 330px;
height: calc(100% - 10px); height: calc(100% - 10px);
overflow: auto; overflow: auto;
border-right: 1px solid rgba(0, 0, 0, 0.1); border-right: 1px solid rgba(0, 0, 0, 0.1);
@ -233,7 +236,7 @@ watch(
} }
.profile-td { .profile-td {
padding: 10px; padding: 10px 0 10px 10px;
border-bottom: 1px solid rgba(0, 0, 0, 0.07); border-bottom: 1px solid rgba(0, 0, 0, 0.07);
&.selected { &.selected {
@ -273,14 +276,6 @@ watch(
width: 100%; width: 100%;
} }
.profile-btn {
color: #3d444f;
padding: 1px 3px;
border-radius: 2px;
font-size: 12px;
float: right;
}
.new-task { .new-task {
float: right; float: right;
margin-right: 3px; margin-right: 3px;