From 317a22179e00174a6a7cf33dbc463390175e9c12 Mon Sep 17 00:00:00 2001 From: liushiwei <499672082@qq.com> Date: Wed, 27 Sep 2023 09:00:28 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/css/styles.scss | 2 +- src/components/AiPayment.vue | 38 ++++++++++++++++++++++------------ src/view/Home.vue | 3 ++- src/view/Welcome.vue | 3 --- src/view/product/NiubiCopy.vue | 33 ++++++++++++++++------------- 5 files changed, 47 insertions(+), 32 deletions(-) diff --git a/src/assets/css/styles.scss b/src/assets/css/styles.scss index 7cee37d..401b334 100644 --- a/src/assets/css/styles.scss +++ b/src/assets/css/styles.scss @@ -1,4 +1,4 @@ -@each $c in (333, 666, 999, red) { +@each $c in (333, 666, 999, f00) { @each $t, $v in (c:color, bg:background) { .#{$t}-#{$c} { #{$v}: #{'#'+$c}; diff --git a/src/components/AiPayment.vue b/src/components/AiPayment.vue index 62abaa8..58134a6 100644 --- a/src/components/AiPayment.vue +++ b/src/components/AiPayment.vue @@ -5,23 +5,33 @@
-
-
+
+
-
+
+
+
+
+
+
+
-
    -
  • +
      +
    • +
    +
      +
    -
    请选择
    支付方案
    +
    请选择
    项目
    - 应付金额:¥{{ amount }} + 应付金额:
    ¥{{ selected.price }}
    微信扫码支付 @@ -47,11 +57,12 @@ export default { return { search: {module: "0"}, show: true, - descriptions: ["抢仓发货", "数据下载", "复制商品", "会员服务"], + descriptionsModule0: ["抢仓发货", "数据下载", "复制商品", "会员服务"], + descriptionsModule1: ["智能复制"], payments: [], qrcode: "", amount: 0, - selected: "" + selected: {} } }, computed: { @@ -67,10 +78,11 @@ export default { } }) }, - getQrcode(priceConfigId) { - this.selected = priceConfigId + getQrcode(item) { + + this.selected = item this.$http.post("/api/order/createOrder", null, { - params: {priceConfigId} + params: {priceConfigId: item.id} }).then(res => { if (res?.data?.id) { return res.data.id diff --git a/src/view/Home.vue b/src/view/Home.vue index cb1cfde..a13489a 100644 --- a/src/view/Home.vue +++ b/src/view/Home.vue @@ -88,8 +88,9 @@ title="用户激活" :visible="$store.state.activeDlgShow" :close-on-click-modal="false" - width="30%" + width="1200" :before-close="handleClose"> + 取 消 确 定 diff --git a/src/view/Welcome.vue b/src/view/Welcome.vue index 810146c..40dee74 100644 --- a/src/view/Welcome.vue +++ b/src/view/Welcome.vue @@ -32,7 +32,6 @@
    -
    dsad @@ -59,11 +58,9 @@