123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148 |
- <template>
- <div class="content">
- <div class="container">
- <div class="item">升级包 ID:{{ detail.id }}</div>
- <div class="item">升级包名称:{{ detail.name }}</div>
- <div class="item">所属产品:{{ detail.productName }}</div>
- </div>
- <div class="container">
- <div class="item">升级包签名:d52b637c5eaf2bc9c24008bc4b723600</div>
- <div class="item">升级包版本号:{{ detail.version }}</div>
- <div class="item">创建时间:{{ detail.createdAt }}</div>
- </div>
- <div class="container">
- <div class="item">签名算法:{{ detail.are }}</div>
- <div class="item">升级包状态:未验证</div>
- <div class="item">验证进度:0%</div>
- </div>
- <div class="container">
- <div class="item">升级包描述:{{ detail.describe }}</div>
- <div class="item">推送给设备的自定义信息:{{ detail.info }}</div>
- <div class="item"></div>
- </div>
- </div>
- </template>
- <script lang="ts" setup>
- const props = defineProps({
- detail: {
- type: Object,
- default: () => { }
- },
- })
- </script>
- <style scoped lang="scss">
- .status_list {
- width: 100%;
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 10px;
- .otaflex {
- font-size: 14px;
- display: flex;
- align-items: center;
- margin-left: -6px;
- .otaflex_div1 {
- padding: 0 24px;
- min-width: 200px;
- width: fit-content;
- .otaflex_div2 {
- align-items: center;
- .title {
- color: #666;
- font-size: 14px;
- }
- span {
- display: block;
- border-radius: 50%;
- .on {
- background: #52c41a;
- }
- .off {
- background: #c41a1a;
- }
- .ofn {
- background: rgb(255, 138, 0);
- }
- span {
- position: relative;
- top: -1px;
- display: inline-block;
- width: 10px;
- height: 10px;
- vertical-align: middle;
- border-radius: 50%;
- margin-right: 5px;
- }
- }
- .otaflex_div3 {
- font-size: 24px;
- margin-top: 10px;
- color: #373d41;
- }
- }
- }
- }
- }
- .container {
- display: flex;
- padding: 10px;
- }
- .item {
- flex: 1;
- }
- .desc {
- margin-top: 15px;
- }
- .edit {
- line-height: 40px;
- margin-top: 15px;
- margin-left: 30px;
- }
- .cont_box .pro-status {
- line-height: 40px;
- margin-left: 30px;
- margin-top: 5px;
- .on {
- background: #52c41a;
- }
- .off {
- background: #c41a1a;
- }
- span {
- position: relative;
- top: -1px;
- display: inline-block;
- width: 6px;
- height: 6px;
- vertical-align: middle;
- border-radius: 50%;
- margin-right: 5px;
- }
- }
- </style>
|