Commit 536f350c authored by yaya's avatar yaya

feat:已上架商品添加跳转

parent a992596b
......@@ -38,11 +38,13 @@
<div>{{ itemContent.fansNum || '-' }}</div>
</el-form-item>
</el-form>
<div @click="handleToDetail">
<el-form ref="addInviteRef" label-width="200px" style="width: 30%">
<el-form-item label="已上架的商品:">
<el-form-item label="已上架的商品:" >
<div>{{ itemContent.uploadItemNum || '-' }}</div>
</el-form-item>
</el-form>
</div>
</div>
</el-card>
......@@ -115,6 +117,7 @@ import Line2Hidden from '@/components/line2Hidden'
import NoPassIdentifyDialog from './components/NoPassIdentifyDialog'
import ReturnLogisticIdentifyDialog from './components/ReturnLogisticIdentifyDialog'
import { shopManagerDetail, shopManagerCheck } from '@/api/business/shop'
export default {
name: 'ShopManagerDetail',
components: { ReturnLogisticIdentifyDialog, NoPassIdentifyDialog, Line2Hidden },
......@@ -139,6 +142,11 @@ export default {
this.handleGetDetail()
},
methods: {
handleToDetail() {
if (this.itemContent.userId) {
this.$router.push({ path: '/user/userDetail', query: { id: this.itemContent.userId }})
}
},
handleGetDetail() {
const params = {
openShopApplyOrderId: this.openShopApplyOrderId
......@@ -236,14 +244,17 @@ export default {
display: flex;
flex-direction: column;
padding: 0 10px 10px;
.detail_button {
text-align: end;
margin: 16px;
}
.title {
display: flex;
flex-direction: row;
margin-bottom: 10px;
.title_content {
font-weight: 600;
font-size: 22px;
......@@ -251,6 +262,7 @@ export default {
}
}
}
.image_preview {
width: 60px;
height: 60px;
......@@ -258,6 +270,12 @@ export default {
justify-content: center;
}
.table-td-thumb {
width: 60px;
height: 60px;
margin-right: 10px;
}
/deep/ .el-card__body {
padding: 12px;
}
......@@ -265,6 +283,7 @@ export default {
/deep/ .el-form-item {
margin-bottom: 0;
}
/deep/ .el-switch {
height: 30px;
}
......
......@@ -127,7 +127,6 @@ export default {
},
created() {
this.getList()
this.getLogisticsList()
},
methods: {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment