From 6a653198c313790f9612c7f1752f2032d4394375 Mon Sep 17 00:00:00 2001 From: Yer <17633066053@163.com> Date: Wed, 19 Jul 2023 14:08:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=AE=B6=E7=AB=AF=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E8=A7=86=E9=A2=91=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buyer/src/pages/article/index.vue | 2 +- manager/vue.config.js | 3 - seller/package.json | 2 +- .../views/goods/goods-seller/draftGoods.vue | 3 +- .../goods/goods-seller/goodsOperationSec.vue | 719 ++++++------------ 5 files changed, 242 insertions(+), 487 deletions(-) diff --git a/buyer/src/pages/article/index.vue b/buyer/src/pages/article/index.vue index ed59795c..2215dce0 100644 --- a/buyer/src/pages/article/index.vue +++ b/buyer/src/pages/article/index.vue @@ -2,7 +2,7 @@
- +

文章帮助中心

diff --git a/manager/vue.config.js b/manager/vue.config.js index cb688fee..7b4da29a 100644 --- a/manager/vue.config.js +++ b/manager/vue.config.js @@ -24,7 +24,6 @@ let externals = { "js-cookie": "Cookies", "sockjs-client": "SockJS", "@antv/g2": "G2", - dplayer: "DPlayer" }; // 使用CDN的内容 @@ -39,8 +38,6 @@ let cdn = { "https://cdn.pickmall.cn/cdn/iview.min.js", "https://cdn.pickmall.cn/cdn/vue-lazyload.min.js", "https://cdn.pickmall.cn/cdn/js.cookie.min.js", - "https://cdn.pickmall.cn/cdn/DPlayer.min.js", - "https://cdn.pickmall.cn/cdn/sockjs.min.js", "https://gw.alipayobjects.com/os/lib/antv/g2/4.1.24/dist/g2.min.js" ] diff --git a/seller/package.json b/seller/package.json index 1931b8a3..0ccadd37 100644 --- a/seller/package.json +++ b/seller/package.json @@ -15,7 +15,7 @@ "@antv/g2": "^4.1.14", "@tinymce/tinymce-vue": "^3.2.0", "axios": "^0.21.1", - "dplayer": "^1.27.0", + "dplayer": "^1.27.1", "js-cookie": "^2.2.1", "node-sass": "^4.14.1", "price-color": "^1.0.2", diff --git a/seller/src/views/goods/goods-seller/draftGoods.vue b/seller/src/views/goods/goods-seller/draftGoods.vue index 54cceefe..470847e9 100644 --- a/seller/src/views/goods/goods-seller/draftGoods.vue +++ b/seller/src/views/goods/goods-seller/draftGoods.vue @@ -84,8 +84,9 @@ export default { { title: "商品价格", key: "price", + width: 120, render: (h, params) => { - return h("priceColorScheme", {props:{value:params.row.price,color:this.$mainColor}} ); + return h("priceColorScheme", {props:{value:params.row.price || 0,color:this.$mainColor}} ); }, }, { diff --git a/seller/src/views/goods/goods-seller/goodsOperationSec.vue b/seller/src/views/goods/goods-seller/goodsOperationSec.vue index 3c2a9767..fdb26aaf 100644 --- a/seller/src/views/goods/goods-seller/goodsOperationSec.vue +++ b/seller/src/views/goods/goods-seller/goodsOperationSec.vue @@ -4,12 +4,7 @@
-
+

基本信息

@@ -21,325 +16,186 @@ > {{ this.baseInfoForm.categoryName[2] }} - + - + - + - +

商品交易信息

- + - - + + 零售型 批发型 - + 虚拟型 - +
- +
-
-
+

商品规格及图片

- +
- -
+ +
- +
- + +
+
+ 上传视频 +
+
+
+ +
+ +
+
+ 已成功上传视频 +
+ + + +
+
+
自定义规格项
-
+
-
- - + + ">
- - + + -
-
-   -
@@ -347,159 +203,81 @@ 规格详细
- + "> -
- - kg +
+ + kg