create.vue
1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<template>
<div>
<Row>
<Steps :current="step.value">
<Step title="类目选择"></Step>
<Step title="基础信息"></Step>
<Step title="网销信息"></Step>
</Steps>
</Row>
<Row>
<router-view :step="step" :product="product"></router-view>
</Row>
</div>
</template>
<script>
import makeProduct from './store';
export default {
data() {
return {
step: {
value: 0
},
product: makeProduct()
};
}
};
</script>
<style lang="scss">
.create-group {
font-size: 18px;
font-weight: bold;
line-height: 40px;
margin-top: 10px;
margin-bottom: 10px;
}
.create-group-indicator {
display: inline-block;
border: 3px solid black;
height: 20px;
vertical-align: text-top;
}
.create-group-title {
}
.create-group-sub-title {
color: #CC9900;
}
.create-item-title {
font-size: 15px;
font-weight: bold;
background-color: #FAFAFA;
height: 40px;
line-height: 40px;
margin-bottom: 20px;
margin-top: 20px;
}
</style>