首页+图书详情

This commit is contained in:
@fawn-nine
2023-09-18 18:05:27 +08:00
parent 21029b054c
commit 8ebf79f301
5 changed files with 331 additions and 439 deletions

View File

@@ -315,11 +315,13 @@
methods: {
// 根据bookid查询商品id
getProid(){
console.log(this.bookid,'this.bookid传过来的值')
this.$http
.post('book/shopproduct/bookinfo/' + this.bookid)
.then(res => {
if (res.code == 0) {
this.shangIDNum = res.shopProduct.productId
console.log(this.shangIDNum,'this.shangIDNum')
// console.log(res,'详情res')
this.getShangList(this.shangIDNum);
this.getData()