From ce8c8245a6734b5623e8fd68c921ffe5a6a15b3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E4=BC=9F=E5=BA=9A?= Date: Thu, 24 Feb 2022 18:43:01 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=8E=BB=E9=99=A4=E9=87=91=E5=B8=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/menu.vue | 2 +- src/components/order-list/order-list-cell.vue | 40 +-- src/components/order-list/order-list-list.vue | 8 +- src/components/service-box.vue | 181 +++++++++++ src/components/service-info/app-info.vue | 134 ++++---- src/components/service-info/service-info.vue | 304 +++++------------- src/components/shop-car-apply/apply_form.vue | 31 +- .../shop-car-apply/apply_service_state.vue | 30 +- .../shop-car-apply/service_list.vue | 16 +- src/components/shop-cloud/shop-cloud-new.vue | 39 --- .../shopping-cart/shopping-cart-cell.vue | 197 ++---------- .../shopping-cart/shopping-cart-com.vue | 70 +--- src/pages/service_shop/cpDetail.vue | 33 +- src/pages/service_shop/gzfwDetail.vue | 41 +-- src/pages/service_shop/shop_car_apply.vue | 53 ++- src/pages/service_shop/sjfwDetail.vue | 41 +-- src/pages/service_shop/skfwDetail.vue | 41 +-- src/pages/service_shop/spfwDetail.vue | 41 +-- src/pages/service_shop/yysdDetail.vue | 44 +-- src/pages/service_shop/zhfwDetail.vue | 41 +-- src/pages/user/order/order_detail.vue | 84 +---- .../workbench/fwgl/apply_service_detail.vue | 31 +- .../fwgl/approval_service_detail.vue | 4 +- src/pages/workbench/yygl/apply_app_detail.vue | 10 +- .../workbench/yygl/approval_app_detail.vue | 10 +- 25 files changed, 661 insertions(+), 865 deletions(-) create mode 100644 src/components/service-box.vue diff --git a/src/components/menu.vue b/src/components/menu.vue index 18505ae..aa94362 100644 --- a/src/components/menu.vue +++ b/src/components/menu.vue @@ -127,7 +127,7 @@ @click="settlement" size="small" class="shop_settlement" - >去购物车申请结算 + >去购物车申请
- + -
-
- {{ cellItem.spcs_type == 1 ? "计次收费" : "时长收费" }}: - {{ cellItem.single_money }}金币/ - {{ cellItem.spcs_type == 1 ? cellItem.spcs_count + "次" : "月" }} -
-
-
-
- {{ - cellItem.spec_app == 0 - ? "申请获取应用镜像部署权限:" + - cellItem.single_money + - "金币/月" - : "申请获取应用镜像开发权限:" + - cellItem.single_money + - "金币/月" - }} -
-
-
+
+ +
+ - +
- +
- {{ + + {{cellItem.order_type == 3? cellItem.duration + '个月' : cellItem.request_start_time && cellItem.request_end_time? cellItem.request_start_time + '~' + cellItem.request_end_time : '-'}}
- -
{{ cellItem.total_money }}金币
-
- +
- 服务信息 + 服务信息 规格 - 购买时长 - 总价 - 申请状态 + 申请使用期限 + + 申请状态 操作
diff --git a/src/components/service-box.vue b/src/components/service-box.vue new file mode 100644 index 0000000..4cf6d45 --- /dev/null +++ b/src/components/service-box.vue @@ -0,0 +1,181 @@ + + + + + + + diff --git a/src/components/service-info/app-info.vue b/src/components/service-info/app-info.vue index 3a0db17..cacaea0 100644 --- a/src/components/service-info/app-info.vue +++ b/src/components/service-info/app-info.vue @@ -3,63 +3,50 @@ :borRadius="8" :paddingNum="32" class="service_info apaas_button" - v-if="data" + v-if="datas" >
- +
- + +
+ + + + + + + + +
- - + + 立即申请 + - - + + 加入购物车 +
-

{{ data.yyjj }}

-
-
- 价  格: - {{ data.price * duration }} - 金币 -
-
- 月售: - {{ data.sale }} 笔 - - {{ data.star }} -
-
-
- 规  格: -
申请获取应用镜像部署权限
-
-
- {{ `申请获取应用镜像部署权限,每月${data.price}金币。` }} -
-
- 购买时长: -
- 月 -
-
-
- - 立即申请 - - - 加入购物车 - +
+ + 部署来源:{{datas.online_state_name}} + 业务领域:{{datas.ywly_name}} + 应用类型:{{datas.type_name}} + + + 提供组织:{{datas.organization_name}} + 联系人:{{datas.username}} + 联系方式:{{datas.phone}} + + + 上线时间:{{helper.dateStringTransform(datas.create_date)}} +
@@ -68,6 +55,7 @@ - diff --git a/src/components/shop-car-apply/apply_service_state.vue b/src/components/shop-car-apply/apply_service_state.vue index d6eca15..33dbe34 100644 --- a/src/components/shop-car-apply/apply_service_state.vue +++ b/src/components/shop-car-apply/apply_service_state.vue @@ -33,22 +33,23 @@ >{{ item.tip }}

{{ data.type }}

-

{{ data.auth }}

+
-

{{data.size}}

+

{{data.auth}}

-
{{ data.num }}
-
{{ data.count }}
+
- + > --> +

{{helper.dateStringTransform(data.fbsj)}}

应用场景:

@@ -78,6 +79,7 @@