需求变更进行调整

This commit is contained in:
2026-01-30 09:01:38 +08:00
parent 44a4b33502
commit 79a21ff0a5
30 changed files with 1482 additions and 1707 deletions

View File

@@ -18,7 +18,7 @@
<!-- VR -->
<view v-else-if="item.mediaType === 'vr'" class="vr-wrapper">
<image class="vr-cover" :src="item.src" mode="aspectFill" />
<image class="vr-icon" mode="aspectFit" :src="vrIcon" @tap.stop="enterVR()" />
<image class="vr-icon" mode="aspectFit" :src="vrIcon" @tap.stop="enterVR()" />
</view>
</view>
</view>
@@ -85,9 +85,9 @@
type: String,
default: ''
},
vrList:{
type: Array,
default: []
assetsId: {
type: String,
default: ''
}
},
data() {
@@ -151,9 +151,7 @@
beforeUnmount() {
this.stop()
},
onLoad() {
this.fillVrList();
},
onLoad() {},
watch: {
normalizedList(list) {
if (this.current >= list.length) this.current = 0
@@ -231,18 +229,14 @@
enterVR() {
this.stop()
this.stopVideo()
if(this.vrList.length > 0) {
console.log(this.vrViewPage)
// this.$u.route({
// url: this.vrViewPage,
// params: {
// title:"vr看资产",
// vrList: this.vrList
// }
// })
}
this.$u.route({
url: this.vrViewPage,
params: {
title: "vr看资产",
id: this.assetsId
}
})
},
/* 分区跳转 */
jumpToType(item) {
this.stop()
@@ -348,15 +342,15 @@
}
.vr-icon {
position: absolute;
top: 50%;
left: 12%;
transform: translate(-50%, -50%);
width: 100rpx !important;
height: 100rpx !important;
background: rgba(80, 80,80,0.45);
border-radius: 50%;
padding: 12rpx;
position: absolute;
top: 50%;
left: 12%;
transform: translate(-50%, -50%);
width: 100rpx !important;
height: 100rpx !important;
background: rgba(80, 80, 80, 0.45);
border-radius: 50%;
padding: 12rpx;
}
.type-bar {