This commit is contained in:
3321822538@qq.com 2025-07-03 14:20:19 +08:00
parent 47763fea17
commit 50f4f5ca11
4 changed files with 52 additions and 4 deletions

36
page_user/vr.vue Normal file
View File

@ -0,0 +1,36 @@
<template>
<view class="page">
<u-navbar title="VR" :border-bottom="false" :background="bgc" back-icon-color="#262B37" title-color='#262B37'
title-size='36' height='36' id="navbar">
</u-navbar>
<web-view :src="url"></web-view>
</view>
</template>
<script>
export default {
data() {
return {
bgc: {
backgroundColor: "#fff",
},
url:'https://bao.chuangtewl.com/photoSphereViewer?storeId='
}
},
onLoad() {
this.url = this.url + this.$store.state.storeId
console.log(this.url);
},
methods: {
}
}
</script>
<style lang="scss">
page {
background: #fff;
}
</style>

View File

@ -83,6 +83,13 @@
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
},{
"path": "vr",
"style": {
"navigationBarTitleText": "上传",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
},{
"path": "pingzhuo/cjpinzhuo",
"style": {

View File

@ -10,6 +10,9 @@
<view class="jilu neon-button" style="top: 500rpx;" @click="btnbd(3)">
点单
</view>
<view class="jilu neon-button" style="top: 600rpx;" @click="btnbd(4)">
VR
</view>
<view class="boxpic">
<image class="bd" @click="btnbd(1)" src="https://api.ccttiot.com/smartmeter/img/static/uQdax0INyCWNnNqWXerD"
mode=""></image>
@ -64,6 +67,10 @@
uni.navigateTo({
url:'/page_user/diandan/index'
})
}else if(num == 4){
uni.navigateTo({
url:'/page_user/vr'
})
}
} else if (res.code == 401) {
uni.showModal({

View File

@ -1,8 +1,6 @@
<template>
<view class="page">
<u-navbar :is-back="false" :title="tittxt" :border-bottom="false" :background="bgc" title-color='#fff' title-size='36' height='36' >
</u-navbar>
<u-navbar :is-back="false" :title="tittxt" :border-bottom="false" :background="bgc" title-color='#fff' title-size='36' height='36' ></u-navbar>
<view class="imgbox">
<image src="https://api.ccttiot.com/smartmeter/img/static/uGfU2kTWiHxXEWrNAOuA" mode=""></image>
</view>
@ -103,7 +101,7 @@
},
async ceshi() {
this.$u.get("/getInfo").then((res) => {
console.log('进入跳转');
console.log('登录成功进行跳转页面');
uni.reLaunch({
url:'/pages/myorder/index?q=' + this.q
})