mirror of
http://36.133.248.69:3088/admin/RentWeAppFront.git
synced 2026-03-07 17:32:25 +08:00
需求变更进行调整
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user