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'