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
| <template>
| <view class="container">
| <uni-steps :options="publishSteps" :active="currentStep" active-color='#f31947'></uni-steps>
| <choose-categery v-if="currentStep===0"></choose-categery>
| </view>
| </template>
|
| <script>
| import chooseCategery from './chooseCategery.vue';
| export default {
| components: { chooseCategery },
| data() {
| return {
| currentStep:0,
| publishSteps: [{
| title: ' 选择商品品类'
| },
| {
| title: ' 填写商品详情'
| },
| {
| title: ' 商品发布成功'
| }
| ],
| }
| }
|
| }
| </script>
|
| <style>
| .container {
| width: 750rpx;
| padding: 32rpx;
| box-sizing: border-box;
| }
| </style>
|
|