From 2e104ea49eb4c8fa3e8443d1676ece90a8046207 Mon Sep 17 00:00:00 2001
From: xuwenbo <717567226@qq.com>
Date: Sat, 5 Sep 2020 21:21:37 +0800
Subject: [PATCH] =?UTF-8?q?=E9=98=B2=E6=AD=A2=E6=8F=90=E4=BA=A4=E5=95=86?=
=?UTF-8?q?=E5=93=81=E6=8A=A5=E5=9B=BE=E7=89=87=E9=99=90=E5=88=B6=E5=A4=A7?=
=?UTF-8?q?=E5=B0=8F=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/wechat/goods/index.vue | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/views/wechat/goods/index.vue b/src/views/wechat/goods/index.vue
index a1f16b1..39583db 100644
--- a/src/views/wechat/goods/index.vue
+++ b/src/views/wechat/goods/index.vue
@@ -30,6 +30,11 @@
+
+
+ 图片规则:图片尺寸最大300像素*300像素;
+
+
@@ -147,13 +152,13 @@ import udOperation from '@crud/UD.operation'
import pagination from '@crud/Pagination'
import MaterialList from "@/components/material";
import cgood from '@/views/components/good'
-
+import singlePic from '@/components/singlematerial'
// crud交由presenter持有
const defaultCrud = CRUD({ title: '直播商品', url: 'api/yxWechatLiveGoods', sort: 'goods_id,desc', crudMethod: { ...crudYxWechatLiveGoods }})
const defaultForm = { good: {productId: null,storeName: null,image: null,price: null,otPrice: null}, goodsId: null, productId: null, coverImgeUrl: null, url: null, priceType: null, price: null, price2: null, name: null, thirdPartyTag: null, auditId: null, auditStatus: null }
export default {
name: 'YxWechatLiveGoods',
- components: { pagination, crudOperation, rrOperation, udOperation ,MaterialList,cgood},
+ components: { pagination, crudOperation, rrOperation, udOperation ,MaterialList,cgood,singlePic},
mixins: [presenter(defaultCrud), header(), form(defaultForm), crud()],
data() {
return {
@@ -198,7 +203,6 @@ export default {
handler(val,oldVal){
this.form.productId = val.productId
this.form.name = val.storeName
- this.form.coverImgeUrl = val.image
this.form.price = val.price
this.form.price2 = val.otPrice
this.form.priceType = '3'