|
|
@ -593,226 +593,226 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let modelArr = [
|
|
|
|
let modelArr = [
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/01-01-01/',
|
|
|
|
url: '../../models/01-01-01/',
|
|
|
|
// link: '1'
|
|
|
|
link: '1'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/01-01-02/',
|
|
|
|
url: '../../models/01-01-02/',
|
|
|
|
// link: '2'
|
|
|
|
link: '2'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/01-01-03/',
|
|
|
|
url: '../../models/01-01-03/',
|
|
|
|
// link: '3'
|
|
|
|
link: '3'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/01-01-04/',
|
|
|
|
url: '../../models/01-01-04/',
|
|
|
|
// link: '4'
|
|
|
|
link: '4'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/01-01-05/',
|
|
|
|
url: '../../models/01-01-05/',
|
|
|
|
// link: '5'
|
|
|
|
link: '5'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/01-01-06/',
|
|
|
|
url: '../../models/01-01-06/',
|
|
|
|
// link: '6'
|
|
|
|
link: '6'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/01-02-01/',
|
|
|
|
url: '../../models/01-02-01/',
|
|
|
|
// link: '7'
|
|
|
|
link: '7'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/01-02-02/',
|
|
|
|
url: '../../models/01-02-02/',
|
|
|
|
// link: '8'
|
|
|
|
link: '8'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/01-02-03/',
|
|
|
|
url: '../../models/01-02-03/',
|
|
|
|
// link: '9'
|
|
|
|
link: '9'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/01-02-04/',
|
|
|
|
url: '../../models/01-02-04/',
|
|
|
|
// link: '10'
|
|
|
|
link: '10'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/01-02-05/',
|
|
|
|
url: '../../models/01-02-05/',
|
|
|
|
// link: '11'
|
|
|
|
link: '11'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/01-02-06/',
|
|
|
|
url: '../../models/01-02-06/',
|
|
|
|
// link: '12'
|
|
|
|
link: '12'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/01-02-07/',
|
|
|
|
url: '../../models/01-02-07/',
|
|
|
|
// link: '13'
|
|
|
|
link: '13'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/01-03/',
|
|
|
|
url: '../../models/01-03/',
|
|
|
|
// link: '14'
|
|
|
|
link: '14'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/01-04/',
|
|
|
|
url: '../../models/01-04/',
|
|
|
|
// link: '15'
|
|
|
|
link: '15'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
url: '../../models/01changfang/',
|
|
|
|
url: '../../models/01changfang/',
|
|
|
|
link: '16'
|
|
|
|
link: '16'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/02-01/',
|
|
|
|
url: '../../models/02-01/',
|
|
|
|
// link: '20'
|
|
|
|
link: '20'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/02-01-01/',
|
|
|
|
url: '../../models/02-01-01/',
|
|
|
|
// link: '21'
|
|
|
|
link: '21'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/02-01-02-01/',
|
|
|
|
url: '../../models/02-01-02-01/',
|
|
|
|
// link: '22'
|
|
|
|
link: '22'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/02-01-02-02/',
|
|
|
|
url: '../../models/02-01-02-02/',
|
|
|
|
// link: '23'
|
|
|
|
link: '23'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/02-01-03-01/',
|
|
|
|
url: '../../models/02-01-03-01/',
|
|
|
|
// link: '24'
|
|
|
|
link: '24'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/02-01-03-02/',
|
|
|
|
url: '../../models/02-01-03-02/',
|
|
|
|
// link: '25'
|
|
|
|
link: '25'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/02-02/',
|
|
|
|
url: '../../models/02-02/',
|
|
|
|
// link: '26'
|
|
|
|
link: '26'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/02-02-01/',
|
|
|
|
url: '../../models/02-02-01/',
|
|
|
|
// link: '27'
|
|
|
|
link: '27'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/02-02-02/',
|
|
|
|
url: '../../models/02-02-02/',
|
|
|
|
// link: '28'
|
|
|
|
link: '28'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/02-03/',
|
|
|
|
url: '../../models/02-03/',
|
|
|
|
// link: '29'
|
|
|
|
link: '29'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/02-03-1/',
|
|
|
|
url: '../../models/02-03-1/',
|
|
|
|
// link: '30'
|
|
|
|
link: '30'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/02-03-pt-01/',
|
|
|
|
url: '../../models/02-03-pt-01/',
|
|
|
|
// link: '31'
|
|
|
|
link: '31'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/02-03-pt-02/',
|
|
|
|
url: '../../models/02-03-pt-02/',
|
|
|
|
// link: '32'
|
|
|
|
link: '32'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/02-03-pt-03/',
|
|
|
|
url: '../../models/02-03-pt-03/',
|
|
|
|
// link: '33'
|
|
|
|
link: '33'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/02-03-pt-04/',
|
|
|
|
url: '../../models/02-03-pt-04/',
|
|
|
|
// link: '34'
|
|
|
|
link: '34'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/02-03-pt-05/',
|
|
|
|
url: '../../models/02-03-pt-05/',
|
|
|
|
// link: '35'
|
|
|
|
link: '35'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/02-03-pt-06/',
|
|
|
|
url: '../../models/02-03-pt-06/',
|
|
|
|
// link: '36'
|
|
|
|
link: '36'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/02-04/',
|
|
|
|
url: '../../models/02-04/',
|
|
|
|
// link: '37'
|
|
|
|
link: '37'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/02-04-01-01/',
|
|
|
|
url: '../../models/02-04-01-01/',
|
|
|
|
// link: '38'
|
|
|
|
link: '38'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/02-04-01-02/',
|
|
|
|
url: '../../models/02-04-01-02/',
|
|
|
|
// link: '39'
|
|
|
|
link: '39'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/02-04-02/',
|
|
|
|
url: '../../models/02-04-02/',
|
|
|
|
// link: '40'
|
|
|
|
link: '40'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/02-05/',
|
|
|
|
url: '../../models/02-05/',
|
|
|
|
// link: '41'
|
|
|
|
link: '41'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/02changfang/',
|
|
|
|
url: '../../models/02changfang/',
|
|
|
|
// link: '42'
|
|
|
|
link: '42'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/03-01-01/',
|
|
|
|
url: '../../models/03-01-01/',
|
|
|
|
// link: '51'
|
|
|
|
link: '51'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/03-01-02/',
|
|
|
|
url: '../../models/03-01-02/',
|
|
|
|
// link: '52'
|
|
|
|
link: '52'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/03-02-01/',
|
|
|
|
url: '../../models/03-02-01/',
|
|
|
|
// link: '53'
|
|
|
|
link: '53'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/03-02-02/',
|
|
|
|
url: '../../models/03-02-02/',
|
|
|
|
// link: '54'
|
|
|
|
link: '54'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/03-02-03/',
|
|
|
|
url: '../../models/03-02-03/',
|
|
|
|
// link: '55'
|
|
|
|
link: '55'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/03-02-04/',
|
|
|
|
url: '../../models/03-02-04/',
|
|
|
|
// link: '56'
|
|
|
|
link: '56'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/03-02-05/',
|
|
|
|
url: '../../models/03-02-05/',
|
|
|
|
// link: '57'
|
|
|
|
link: '57'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/03-03/',
|
|
|
|
url: '../../models/03-03/',
|
|
|
|
// link: '58'
|
|
|
|
link: '58'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/03-04/',
|
|
|
|
url: '../../models/03-04/',
|
|
|
|
// link: '59'
|
|
|
|
link: '59'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/03-05/',
|
|
|
|
url: '../../models/03-05/',
|
|
|
|
// link: '60'
|
|
|
|
link: '60'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/03-06/',
|
|
|
|
url: '../../models/03-06/',
|
|
|
|
// link: '61'
|
|
|
|
link: '61'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/03-07/',
|
|
|
|
url: '../../models/03-07/',
|
|
|
|
// link: '62'
|
|
|
|
link: '62'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/03-08/',
|
|
|
|
url: '../../models/03-08/',
|
|
|
|
// link: '63'
|
|
|
|
link: '63'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/03-09/',
|
|
|
|
url: '../../models/03-09/',
|
|
|
|
// link: '64'
|
|
|
|
link: '64'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
{
|
|
|
|
// url: '../../models/03-10/',
|
|
|
|
url: '../../models/03-10/',
|
|
|
|
// link: '65'
|
|
|
|
link: '65'
|
|
|
|
// },
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
@ -848,18 +848,20 @@ export default {
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
setModel(0, 10)
|
|
|
|
setModel(0, 10)
|
|
|
|
|
|
|
|
|
|
|
|
// viewer.operator.enabled = true
|
|
|
|
// viewer.operator.enabled = true
|
|
|
|
|
|
|
|
|
|
|
|
viewer.controls.enablePan = false
|
|
|
|
viewer.controls.enablePan = false
|
|
|
|
viewer.controls.enableRotate = false
|
|
|
|
viewer.controls.enableRotate = false
|
|
|
|
// viewer.controls.enableZoom = false
|
|
|
|
viewer.controls.enableZoom = false
|
|
|
|
|
|
|
|
|
|
|
|
setInterval(() => {
|
|
|
|
|
|
|
|
console.log(viewer.controls.getView())
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, 1000)
|
|
|
|
// setInterval(() => {
|
|
|
|
|
|
|
|
// console.log(viewer.controls.getView())
|
|
|
|
|
|
|
|
// }, 1000)
|
|
|
|
|
|
|
|
|
|
|
|
// 灯光
|
|
|
|
// 灯光
|
|
|
|
// viewer.controls.startAutoRotate(1)
|
|
|
|
// viewer.controls.startAutoRotate(1)
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
methods: {
|
|
|
|
click1(e) {
|
|
|
|
click1(e) {
|
|
|
|