Browse Source

bug fix: 三维文物iframe不加载;二维文物列表只有一列

任一存 2 năm trước cách đây
mục cha
commit
1ed1679a61

+ 1 - 1
src/components/RelicDetail.vue

@@ -116,7 +116,7 @@ export default {
     this.title = this.$route.query.name
     this.title = this.$route.query.name
     this.dimNumber = this.$route.query.dimNumber
     this.dimNumber = this.$route.query.dimNumber
 
 
-    this.iframeSrc = `http://4dscene.4dage.com/culturalrelics/YHTLSJNG/Model2.html?m=${this.$route.query.bs}`
+    this.iframeSrc = `https://4dscene.4dage.com/culturalrelics/YHTLSJNG/Model2.html?m=${this.$route.query.bs}`
     if (this.$route.query.imgNum && this.$route.query.imgNum > 1) {
     if (this.$route.query.imgNum && this.$route.query.imgNum > 1) {
       for (let index = 0; index < this.$route.query.imgNum; index++) {
       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'}`)
         this.imageList.push(`${this.$cdnPath}${this.dimNumber}D/${this.$route.query.bs}_${index + 1}.${this.dimNumber === 3 ? 'png' : 'jpg'}`)

+ 1 - 1
src/views/RelicsAppr.vue

@@ -367,7 +367,7 @@ export default {
     padding: 9rem 0 4rem 0;
     padding: 9rem 0 4rem 0;
     display: flex;
     display: flex;
     flex-wrap: wrap;
     flex-wrap: wrap;
-    gap: 1.9rem;
+    gap: 2.5rem 1.6rem;
     > li {
     > li {
       width: 20.83rem;
       width: 20.83rem;
       height: 19.33rem;
       height: 19.33rem;