diff --git a/src/components/order-list/order-list-cell.vue b/src/components/order-list/order-list-cell.vue index c93446496b03fbbd677338e7a0eddea8e0590e63..d082689a2b49e796362df0c159bd9da71942816d 100644 --- a/src/components/order-list/order-list-cell.vue +++ b/src/components/order-list/order-list-cell.vue @@ -41,21 +41,49 @@
-
规格:日访问次数:{{ cellItem.spec_svc_count }}次,日访问量:{{ cellItem.spec_svc_pv }}
+ +
规格:日访问次数:{{cellItem.spec_svc_count}}次,日访问量:{{cellItem.spec_svc_pv }}
+
规格:日访问次数:{{ cellItem.spec_svc_count }}次,日访问量:{{ cellItem.spec_svc_pv }}
+
申请方式:{{ cellItem.duration_unit == 1 ? $t('lang.by_month') : $t('lang.by_year') }}
-
规格:{{ cellItem.spec_app == 0 ? "申请获取应用镜像部署权限" : "申请获取应用镜像开发权限" }}
+ +
{{ cellItem.spec_app == 0 ? '规格:申请获取应用镜像部署权限' : '规格:申请获取应用镜像开发权限' }}
+
规格:{{ cellItem.spec_app == 0 ? "申请获取应用镜像部署权限" : "申请获取应用镜像开发权限" }}
+
-
- 规格:CPU {{ cellItem.cpu }}核,内存 {{ cellItem.memory }}GB,容器组 {{ cellItem.containers }}个; - 数据盘 {{ cellItem.disk_num }}块,每块数据盘容量 {{ cellItem.disk_cap }}GB -
+ +
规格:CPU {{ cellItem.cpu }}核,内存 {{ cellItem.memory }}GB,容器组 {{ cellItem.containers }}个;数据盘 {{ cellItem.disk_num }}块,每块数据盘容量 {{ cellItem.disk_cap }}GB
+
+ 规格:CPU {{ cellItem.cpu }}核,内存 {{ cellItem.memory }}GB,容器组 {{ cellItem.containers }}个; + 数据盘 {{ cellItem.disk_num }}块,每块数据盘容量 {{ cellItem.disk_cap }}GB +
+
+ +
规格:CPU {{ cellItem.cpu }}核,内存 {{ cellItem.memory }}GB,容器组 {{ cellItem.containers }}个;{{ thisDisks }}
+
+ 规格:CPU {{ cellItem.cpu }}核,内存 {{ cellItem.memory }}GB,容器组 {{ cellItem.containers }}个; + {{ thisDisks }} +
+
单个容器组:CPU最高 {{ cellItem.one_cpu_max }}核,默认 {{ cellItem.one_cpu_min }}核;内存最高 {{ cellItem.one_memory_max }}GB,默认 {{ cellItem.one_memory_min }}GB
@@ -137,11 +165,7 @@
服务评分:
- +
评价详情:
{{ message.content }}
@@ -176,8 +200,19 @@ export default { cellItem: { handler() { this.showMsgBox = false; + }, + }, + }, + computed: { + thisDisks() { + let strings = ""; + if (this.cellItem.adjust_disk) { + this.cellItem.adjust_disk.forEach((item) => { + strings += `数据盘 ${item.disk_num}块,每块数据盘容量 ${item.disk_cap}GB;`; + }); } - } + return strings; + }, }, methods: { addEvaluation() { @@ -523,6 +558,17 @@ export default { /* margin-left: 20px; */ color: #242c43; } +.specification_item { + overflow: hidden; + text-overflow: ellipsis; + display: -webkit-box; + -webkit-line-clamp: 3; + -webkit-box-orient: vertical; +} +.gg { + max-width: 200px; + word-wrap: break-word; +}