Merge pull request '1' (#21) from zjl into master

Reviewed-on: #21
This commit is contained in:
朱菊兰 2022-11-28 16:53:01 +08:00
commit 62bb4c05e8

View File

@ -1,19 +1,19 @@
<template> <template>
<div class="state-box"> <div class="state-box">
<span v-if="this.injectData.status === 1"> <span v-if="this.injectData.status === 1">
<svg-icon icon-class="yellow_dot" style="font-size: 14px; position: relative; top: .08em" /> <svg-icon icon-class="yellow_dot" class="tip"/>
在途 在途
</span> </span>
<span v-if="this.injectData.status === 2"> <span v-if="this.injectData.status === 2">
<svg-icon icon-class="blue_dot" style="font-size: 14px; position: relative; top: .08em" /> <svg-icon icon-class="blue_dot" class="tip"/>
已下发 已下发
</span> </span>
<span v-if="this.injectData.status === 3"> <span v-if="this.injectData.status === 3">
<svg-icon icon-class="green_dot" style="font-size: 14px; position: relative; top: .08em" /> <svg-icon icon-class="green_dot" class="tip" />
已完成 已完成
</span> </span>
<span v-if="this.injectData.status === 4"> <span v-if="this.injectData.status === 4">
<svg-icon icon-class="orange_dot" style="font-size: 14px; position: relative; top: .08em" /> <svg-icon icon-class="orange_dot" class="tip" />
待下发 待下发
</span> </span>
</div> </div>
@ -44,9 +44,11 @@ export default {
} }
} }
</script> </script>
<style scoped> <style lang="scss" scoped>
.state-box { .state-box {
height: 18px; .tip {
line-height: 18px; font-size: calc(14px * var(--beilv));
vertical-align: middle;
}
} }
</style> </style>