|
|
@@ -98,13 +98,19 @@ export default {
|
|
|
},
|
|
|
computed: {
|
|
|
url() {
|
|
|
+ let pageUrl = this.pageUrl;
|
|
|
+ let id = this.info.id;
|
|
|
+ if (pageUrl === 'assetDetail') {
|
|
|
+ pageUrl = 'productDetail';
|
|
|
+ id = this.info.publicCollectionId;
|
|
|
+ }
|
|
|
if (this.isLogin) {
|
|
|
return resolveUrl(
|
|
|
this.$baseUrl,
|
|
|
- '9th/' + this.pageUrl + '?id=' + this.info.id + '&invitor=' + this.$store.state.userInfo.id
|
|
|
+ '9th/' + pageUrl + '?id=' + id + '&invitor=' + this.$store.state.userInfo.id
|
|
|
);
|
|
|
} else {
|
|
|
- return resolveUrl(this.$baseUrl, '9th/' + this.pageUrl + '?id=' + this.info.id);
|
|
|
+ return resolveUrl(this.$baseUrl, '9th/' + pageUrl + '?id=' + id);
|
|
|
}
|
|
|
},
|
|
|
banners() {
|