部分样式修改
This commit is contained in:
parent
b6a11dddcb
commit
158d9be603
@ -58,16 +58,6 @@ a:hover {
|
|||||||
padding: 20px;
|
padding: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
//外框样式
|
|
||||||
.container-frame {
|
|
||||||
padding: 10px;
|
|
||||||
border: 1px solid rgb(235, 235, 235);
|
|
||||||
border-image: initial;
|
|
||||||
border-radius: 3px;
|
|
||||||
transition: 0.2s;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
//搜索栏样式
|
//搜索栏样式
|
||||||
.filter-container {
|
.filter-container {
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="form-container container-frame">
|
<el-card class="form-container" shadow="never">
|
||||||
<el-form :model="brand" :rules="rules" ref="brandFrom" label-width="150px">
|
<el-form :model="brand" :rules="rules" ref="brandFrom" label-width="150px">
|
||||||
<el-form-item label="品牌名称:" prop="name">
|
<el-form-item label="品牌名称:" prop="name">
|
||||||
<el-input v-model="brand.name"></el-input>
|
<el-input v-model="brand.name"></el-input>
|
||||||
@ -40,7 +40,7 @@
|
|||||||
<el-button v-if="!isEdit" @click="resetForm('brandFrom')">重置</el-button>
|
<el-button v-if="!isEdit" @click="resetForm('brandFrom')">重置</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</el-card>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import {createBrand, getBrand, updateBrand} from '@/api/brand'
|
import {createBrand, getBrand, updateBrand} from '@/api/brand'
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<div class="filter-container container-frame">
|
<el-card class="filter-container" shadow="never">
|
||||||
<div>
|
<div>
|
||||||
<i class="el-icon-search"></i>
|
<i class="el-icon-search"></i>
|
||||||
<span>筛选搜索</span>
|
<span>筛选搜索</span>
|
||||||
@ -19,18 +19,17 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</el-card>
|
||||||
<div class="operate-container container-frame">
|
<el-card class="operate-container" shadow="never">
|
||||||
|
<i class="el-icon-tickets"></i>
|
||||||
<i class="el-icon-tickets" style="margin-top: 5px"></i>
|
<span>数据列表</span>
|
||||||
<span style="margin-top: 5px">数据列表</span>
|
|
||||||
<el-button
|
<el-button
|
||||||
class="btn-add"
|
class="btn-add"
|
||||||
@click="addBrand()"
|
@click="addBrand()"
|
||||||
size="mini">
|
size="mini">
|
||||||
添加
|
添加
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</el-card>
|
||||||
<div class="table-container">
|
<div class="table-container">
|
||||||
<el-table ref="brandTable"
|
<el-table ref="brandTable"
|
||||||
:data="list"
|
:data="list"
|
||||||
|
@ -1,11 +1,18 @@
|
|||||||
<template>
|
<template>
|
||||||
<div> {{msg}}</div>
|
<el-card class="form-container" shadow="never">
|
||||||
|
<el-tabs v-model="activeName" type="card" @tab-click="handleClick">
|
||||||
|
<el-tab-pane label="first" name="first">first</el-tab-pane>
|
||||||
|
<el-tab-pane label="second" name="second">second</el-tab-pane>
|
||||||
|
<el-tab-pane label="third" name="third">third</el-tab-pane>
|
||||||
|
<el-tab-pane label="fourth" name="fourth">fourth</el-tab-pane>
|
||||||
|
</el-tabs>
|
||||||
|
</el-card>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
name: 'addProduct',
|
name: 'addProduct',
|
||||||
data() {
|
data() {
|
||||||
return {msg: '添加商品'}
|
return {activeName: 'first'}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<div class="filter-container container-frame">
|
<el-card class="filter-container" shadow="never">
|
||||||
<div>
|
<div>
|
||||||
<i class="el-icon-search"></i>
|
<i class="el-icon-search"></i>
|
||||||
<span>筛选搜索</span>
|
<span>筛选搜索</span>
|
||||||
@ -65,18 +65,17 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</el-card>
|
||||||
<div class="operate-container container-frame">
|
<el-card class="operate-container" shadow="never">
|
||||||
|
<i class="el-icon-tickets"></i>
|
||||||
<i class="el-icon-tickets" style="margin-top: 5px"></i>
|
<span>数据列表</span>
|
||||||
<span style="margin-top: 5px">数据列表</span>
|
|
||||||
<el-button
|
<el-button
|
||||||
class="btn-add"
|
class="btn-add"
|
||||||
@click="handleAddItem()"
|
@click="handleAddItem()"
|
||||||
size="mini">
|
size="mini">
|
||||||
添加
|
添加
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</el-card>
|
||||||
<div class="table-container">
|
<div class="table-container">
|
||||||
<el-table ref="productTable"
|
<el-table ref="productTable"
|
||||||
:data="list"
|
:data="list"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="form-container container-frame">
|
<el-card class="form-container" shadow="never">
|
||||||
<el-form :model="productAttr" :rules="rules" ref="productAttrFrom" label-width="150px">
|
<el-form :model="productAttr" :rules="rules" ref="productAttrFrom" label-width="150px">
|
||||||
<el-form-item label="属性名称:" prop="name">
|
<el-form-item label="属性名称:" prop="name">
|
||||||
<el-input v-model="productAttr.name"></el-input>
|
<el-input v-model="productAttr.name"></el-input>
|
||||||
@ -63,7 +63,7 @@
|
|||||||
<el-button v-if="!isEdit" @click="resetForm('productAttrFrom')">重置</el-button>
|
<el-button v-if="!isEdit" @click="resetForm('productAttrFrom')">重置</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</el-card>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<div class="operate-container container-frame">
|
<el-card class="operate-container" shadow="never">
|
||||||
<i class="el-icon-tickets" style="margin-top: 5px"></i>
|
<i class="el-icon-tickets" style="margin-top: 5px"></i>
|
||||||
<span style="margin-top: 5px">数据列表</span>
|
<span style="margin-top: 5px">数据列表</span>
|
||||||
<el-button
|
<el-button
|
||||||
@ -9,7 +9,7 @@
|
|||||||
size="mini">
|
size="mini">
|
||||||
添加
|
添加
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</el-card>
|
||||||
<div class="table-container">
|
<div class="table-container">
|
||||||
<el-table ref="productAttrCateTable"
|
<el-table ref="productAttrCateTable"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<div class="operate-container container-frame">
|
<el-card class="operate-container" shadow="never">
|
||||||
|
|
||||||
<i class="el-icon-tickets" style="margin-top: 5px"></i>
|
<i class="el-icon-tickets" style="margin-top: 5px"></i>
|
||||||
<span style="margin-top: 5px">数据列表</span>
|
<span style="margin-top: 5px">数据列表</span>
|
||||||
@ -10,7 +10,7 @@
|
|||||||
size="mini">
|
size="mini">
|
||||||
添加
|
添加
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</el-card>
|
||||||
<div class="table-container">
|
<div class="table-container">
|
||||||
<el-table ref="productAttrTable"
|
<el-table ref="productAttrTable"
|
||||||
:data="list"
|
:data="list"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="form-container container-frame">
|
<el-card class="form-container" shadow="never">
|
||||||
<el-form :model="productCate"
|
<el-form :model="productCate"
|
||||||
:rules="rules"
|
:rules="rules"
|
||||||
ref="productCateFrom"
|
ref="productCateFrom"
|
||||||
@ -64,7 +64,7 @@
|
|||||||
<el-button v-if="!isEdit" @click="resetForm('productCateFrom')">重置</el-button>
|
<el-button v-if="!isEdit" @click="resetForm('productCateFrom')">重置</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</el-card>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container">
|
||||||
<div class="operate-container container-frame">
|
<el-card class="operate-container" shadow="never">
|
||||||
<i class="el-icon-tickets" style="margin-top: 5px"></i>
|
<i class="el-icon-tickets" style="margin-top: 5px"></i>
|
||||||
<span style="margin-top: 5px">数据列表</span>
|
<span style="margin-top: 5px">数据列表</span>
|
||||||
<el-button
|
<el-button
|
||||||
@ -9,7 +9,7 @@
|
|||||||
size="mini">
|
size="mini">
|
||||||
添加
|
添加
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</el-card>
|
||||||
<div class="table-container">
|
<div class="table-container">
|
||||||
<el-table ref="productCateTable"
|
<el-table ref="productCateTable"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user