master
panqihua 2 years ago
parent ab8a2b6d5a
commit c9f9997c17
  1. 4
      src/views/components/inventory/components/add_product.vue
  2. 5
      src/views/components/inventory/index.vue
  3. 7
      src/views/platform/user/follower.vue

@ -50,8 +50,8 @@
<span
class="upload-tip">145*145单张图片大小不超过{{ maxFileSizeM }}支持格式jpgpng最多上传8张</span>
</el-upload>
<div class="title">商品详情</div>
<h1>富文本编辑器</h1>
<div class="title mb20">商品详情</div>
<Editor/>
<el-divider/>
<el-button type="primary" @click="save">保存</el-button>
<el-button @click="$emit('close')">关闭</el-button>

@ -1,6 +1,7 @@
<template>
<!--TODO:权限逻辑没做先通过路由参数控制-->
<div v-if="showList">
<el-tabs v-model="activeName" type="card" class="custom-tab">
<el-tabs v-model="activeName" type="card" class="custom-tab" v-if="$route.query.type==='platform'">
<el-tab-pane label="全部商品(120)" name="all">
全部商品
</el-tab-pane>
@ -18,6 +19,8 @@
</div>
<add-product v-else @close="showList = true"/>
</template>
<script>
import BaseForm from './components/form'
import AddProduct from './components/add_product'

@ -66,10 +66,11 @@
</template>
<script>
import { listFollower } from "@/api/platform/follower";
import { getAvatar } from "@/utils";
import { listFollower } from '@/api/platform/follower'
import { getAvatar } from '@/utils'
export default {
name: "Follower",
name: 'Follower',
props: {
userId: Number
},

Loading…
Cancel
Save