|
@@ -161,12 +161,17 @@ export default {
|
|
|
this.dimNumber = this.$route.query.dimNumber
|
|
|
|
|
|
this.iframeSrc = `${process.env.VUE_APP_PROTOCOL}4dscene.4dage.com/culturalrelics/YHTLSJNG/Model2.html?m=${this.$route.query.bs}`
|
|
|
- if (this.$route.query.imgNum && this.$route.query.imgNum > 1) {
|
|
|
- for (let index = 0; index < this.$route.query.imgNum; index++) {
|
|
|
- this.imageList.push(`${this.$cdnPath}${this.dimNumber}D/${this.$route.query.bs}_${index + 1}.${this.dimNumber === 3 ? 'png' : 'JPG'}`)
|
|
|
- }
|
|
|
+ if (this.dimNumber === 3) {
|
|
|
+ this.imageList = [`${this.$cdnPath}3D/${this.$route.query.bs}.png`]
|
|
|
} else {
|
|
|
- this.imageList = [`${this.$cdnPath}${this.dimNumber}D/${this.$route.query.bs}.${this.dimNumber === 3 ? 'png' : 'JPG'}`]
|
|
|
+ if (this.$route.query.imgNum === 1) {
|
|
|
+ this.imageList = [`${this.$cdnPath}2D/${this.$route.query.bs}.jpg`]
|
|
|
+ } else {
|
|
|
+ for (let index = 0; index < this.$route.query.imgNum; index++) {
|
|
|
+ this.imageList.push(`${this.$cdnPath}2D/${this.$route.query.bs} (${index + 1}).jpg`)
|
|
|
+ }
|
|
|
+ console.log(this.imageList)
|
|
|
+ }
|
|
|
}
|
|
|
this.detailInfo = [
|
|
|
{
|
|
@@ -179,9 +184,7 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
key: '尺寸',
|
|
|
- value: [this.$route.query.long, this.$route.query.width, this.$route.query.tall].filter((item) => {
|
|
|
- return !!item
|
|
|
- }).join('*') + 'cm',
|
|
|
+ value: this.$route.query.size,
|
|
|
},
|
|
|
{
|
|
|
key: '质地',
|
|
@@ -189,7 +192,7 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
key: '级别',
|
|
|
- value: '一级',
|
|
|
+ value: this.$route.query.estate,
|
|
|
}
|
|
|
]
|
|
|
},
|