diff --git a/src/components/order-list/order-list-cell.vue b/src/components/order-list/order-list-cell.vue index 2060d5383f1715bf0d486f3928eb0e19872cd8eb..74b05a546542a0cb0b147f990bc4b028e9e83179 100644 --- a/src/components/order-list/order-list-cell.vue +++ b/src/components/order-list/order-list-cell.vue @@ -11,7 +11,7 @@ cellItem.approval_second_level != 0 || cellItem.pay_status == -1 " - class="cell_del_btn" + class="cell_del_btn" @click="delOrder(cellItem.order_id)" > 删除 @@ -71,16 +71,24 @@
-
计次收费:200金币/1000次.时长收费:2000金币/月
+
+ {{ cellItem.spec_type == 1 ? "计次收费" : "时长收费" }}: + {{ cellItem.single_money }}金币/ + {{ cellItem.spec_type == 1 ? cellItem.spec_count + "次" : "月" }} +
-
- {{ - cellItem.spec_app == 0 - ? "申请获取应用镜像部署权限:2000金币/月" - : "申请获取应用镜像开发权限:2000金币/月" - }} -
+
+ {{ + cellItem.spec_app == 0 + ? "申请获取应用镜像部署权限:" + + cellItem.single_money + + "金币/月" + : "申请获取应用镜像开发权限:" + + cellItem.single_money + + "金币/月" + }} +
- 不限时长 + {{ + cellItem.duration != 0 && cellItem.duration_unit == 1 + ? cellItem.duration + "个月" + : cellItem.duration != 0 && cellItem.duration_unit == 2 + ? cellItem.duration + "年" + : "不限时长" + }}
-
- 200金币 -
+
{{ cellItem.total_money }}金币
diff --git a/src/components/service-info/app-info.vue b/src/components/service-info/app-info.vue index d0115a96e14c4596d4ae111b565c06e711485e72..28f1d7ae0d95e7f34e06958f0e6df6c7c506f68a 100644 --- a/src/components/service-info/app-info.vue +++ b/src/components/service-info/app-info.vue @@ -34,6 +34,19 @@ +
+
+ 价  格: + {{ specification && specification.single_money ? specification.single_money * duration : 0 }} + 金币 +
+
+ 月售: + {{ data.mount_count }} 笔 + + {{ data.scoreDetail.avgScore }} +
+
规  格:
@@ -47,6 +60,16 @@
+
+ 购买时长: +
+ +
+
加入购物车 @@ -80,7 +103,13 @@ export default { }, ], specificationID: 1, + duration: 1, }), + computed: { + actionDisabled() { + return this.specifications.length == 0; + }, + }, methods: { changeSpecification({ value }) { this.specificationID = value; @@ -253,6 +282,55 @@ export default { margin-left: 20px; font-size: 16px; } +.and_wid { + background-color: #f9fafc; + border-radius: 8px; + padding: 20px; + display: flex; + justify-content: space-between; + margin-top: 20px; + align-items: center; +} +.dbn_wkdn { + color: #8890a7; + font-size: 14px; +} +.ndwa_indowa { + color: #e56600; + font-size: 26px; + font-weight: bold; +} +.kfdf_jffa { + color: #e56600; + font-size: 14px; +} +.nmd_kwd { + color: #8890a7; +} +.ndwa_dn { + color: #242c43; +} +.dn_wjd { + color: #ea7d19; + font-size: 18px; + position: relative; +} +.dwin_diwa { + width: 14px; + height: 14px; + margin-left: 20px; + margin-right: 4px; + position: relative; +} +.dn_wjd::after { + content: ""; + position: absolute; + width: 2px; + height: 16px; + background-color: #e3e5ef; + top: 5px; + left: -35px; +}