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

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

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

Loading…
Cancel
Save