mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-17 08:03:49 +08:00
@@ -124,6 +124,11 @@
|
||||
<span class="ts-remove ts-ecprice"
|
||||
>¥{{ curItem.rsp }}
|
||||
</span>
|
||||
<span class="ts-record" v-if="curItem.basePoint!==0">
|
||||
购买该商品你将获得{{curItem.basePoint}}积分
|
||||
</span>
|
||||
|
||||
<!-- <span class="rc-title">购买该商品你将得到22积分</span> -->
|
||||
</div>
|
||||
<div class="rc-productdetai" v-if="userbuy">
|
||||
<div>
|
||||
@@ -374,6 +379,7 @@ export default {
|
||||
title: curItem.productName,
|
||||
}
|
||||
];
|
||||
console.log(curItem);
|
||||
return {
|
||||
crumbs,
|
||||
activeIndexa,
|
||||
@@ -463,6 +469,7 @@ export default {
|
||||
|
||||
mounted() {
|
||||
this.checkIsLogin();
|
||||
// console.log(this.curItem);
|
||||
if (this.usermessage !== "" || this.usermessage.data !== undefined) {
|
||||
this.usermessage = this.$store.state.userInfo;
|
||||
this.productCode = this.$route.query.productCode;
|
||||
@@ -535,6 +542,8 @@ export default {
|
||||
async userquery() {
|
||||
let data = await goodsmessage(this.productCode);
|
||||
if (data) {
|
||||
console.log(data)
|
||||
debugger
|
||||
this.newlist = data.data;
|
||||
}
|
||||
this.productAttachmentList = this.newlist[0].productAttachmentList;
|
||||
@@ -547,6 +556,8 @@ export default {
|
||||
let data = await oncequery(this.productCode);
|
||||
let outputObj = {};
|
||||
if (data) {
|
||||
console.log(data);
|
||||
debugger
|
||||
outputObj = data;
|
||||
outputObj.productName = data.name;
|
||||
outputObj.picture = 'https://royalcanincn.escase.cn/jc/royalcanin/'+outputObj.picture;
|
||||
|
||||
Reference in New Issue
Block a user