Files
lilishop-ui/seller/src/views/goods/goods-seller/goodsOperation.vue

33 lines
736 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<div class="goods-operation">
<!-- 填写商品详细信息含商品类型商品分类 -->
<second-step ref="second" v-if="activestep === 1"></second-step>
<!-- 发布完成 -->
<third-step ref="third" v-if="activestep === 2"></third-step>
</div>
</template>
<script>
import secondStep from "./goodsOperationSec";
import thirdStep from "./goodsOperationThird";
export default {
name: "addGoods",
components: {
secondStep,
thirdStep,
},
data() {
return {
/** 当前激活步骤1 填写详情2 发布成功 */
activestep: 1,
};
},
mounted() {
window.scrollTo(0, 0);
},
};
</script>
<style lang="scss" scoped>
@import "./addGoods.scss";
</style>