diff --git a/src/views/theme/components/rootcompToolbar/toolModule/tool-single-img.vue b/src/views/theme/components/rootcompToolbar/toolModule/tool-single-img.vue index 09282a3..d6c91c3 100644 --- a/src/views/theme/components/rootcompToolbar/toolModule/tool-single-img.vue +++ b/src/views/theme/components/rootcompToolbar/toolModule/tool-single-img.vue @@ -8,19 +8,39 @@ :before-upload="beforeAvatarUpload" :show-file-list="false" > - - + +
选择图片
-
{{tip}}
+
{{tip.label}}
-
+
- - + + @@ -41,12 +61,12 @@ export default { default: '' }, tip: { - type: String, - default: '建议尺寸: 1080*900px, 小于1MB' + type: Object, + default:()=>({}), } }, mounted () { - this.fileUploadURL = process.env.VUE_APP_BASE_API +'/api/canvas/upload?name=demo&type=console' + this.fileUploadURL = process.env.VUE_APP_BASE_API + '/api/canvas/upload?name=demo&type=console' }, methods: { handleAvatarSuccess (res, file) { @@ -71,53 +91,53 @@ export default { diff --git a/src/views/wechat/goods/index.vue b/src/views/wechat/goods/index.vue index 7204269..015db9b 100644 --- a/src/views/wechat/goods/index.vue +++ b/src/views/wechat/goods/index.vue @@ -4,15 +4,39 @@
- - - + + +
- + 同步 + >同步 - - - - + + + + - -

图片规则:图片尺寸最大300像素*300像素;

+ +

+ 图片规则:图片尺寸最大300像素*300像素; +

- - + + - - + + - - + + 一口价 价格区间 显示折扣价 -

商品审核通过已入库,只能修改价格

+

+ 商品审核通过已入库,只能修改价格 +

- - + + - - - - - - - - - - - - + + - - - + + + + + + + + + + + + +
- + - - - - + + + + - - + + - + - + - + @@ -143,21 +272,52 @@