| | |
| | | <div class="rightColumn"> |
| | | <div class="columnItem" v-for="(item, index) in product" :key="index"> |
| | | <div class="title"> |
| | | <img :src="'/httpImage/' + item.logoUrl" alt="" /> |
| | | <ImageShow :src="item.logoUrl"></ImageShow> |
| | | {{ item.modelName }} |
| | | </div> |
| | | <div class="des limitRow2"> |
| | |
| | | </li> |
| | | </ul> |
| | | <price :priceNew="item.priceBase"></price> |
| | | <div class="button" @click="buyProduct(item.modelName)">立即购买</div> |
| | | <div class="button" @click="buyProduct(item.id)">立即购买</div> |
| | | </div> |
| | | </div> |
| | | </template> |
| | |
| | | } |
| | | }, |
| | | methods: { |
| | | buyProduct(modelName) { |
| | | buyProduct(id) { |
| | | this.$router.push({ |
| | | path: "/productDetail", |
| | | query: { |
| | | name: modelName, |
| | | id: id, |
| | | }, |
| | | }); |
| | | }, |