中文文档地址 <a href="http://weiPhoto.jsdoc.top">http://weiPhoto.jsdoc.top</a>
## 安装依赖
```bash
npm install wei-photo --save
```
#### main.js
```js
import Vue from 'vue'
import App from './App.vue'
import weiPhoto from 'wei-photo'
import "wei-photo/style/index.css"
Vue.use(weiPhoto);
Vue.config.productionTip = false;
new Vue({
render: h => h(App),
}).$mount('#app')
```
#### xxx.vue
```html
<template>
<div>
<wei-photo
class="weiPhoto"
v-wei-photo:photo720="options"
:panorama.sync="panorama"
></wei-photo>
</div>
</template>
<script>
export default {
data() {
return {
panorama: '图片路径',
options:{}
};
},
mounted(){
//this.photo720 为组件自定义指令的变量,针对全景组件的操作通过这个变量进行,可以随意命名,
//当需要在一个.vue文件里展示两个全景组件的时候,两个组件的变量名称不可以重复
//它将会将实例化后对象赋值到你当前的组件作用域里
}
};
</script>
<style>
.weiPhoto {
width: 80vw;
height: 80vh;
}
</style>
```
没有合适的资源?快使用搜索试试~ 我知道了~
weiphoto:基于vue2.x的vr全景图片展示,序列帧,vr视频展示插件
共307个文件
jpg:204个
png:33个
js:29个
需积分: 43 10 下载量 41 浏览量
2021-03-21
00:16:49
上传
评论
收藏 87.52MB ZIP 举报
温馨提示
中文文档地址 安装依赖 npm install wei-photo --save main.js import Vue from 'vue' import App from './App.vue' import weiPhoto from 'wei-photo' import "wei-photo/style/index.css" Vue . use ( weiPhoto ) ; Vue . config . productionTip = false ; new Vue ( { render : h => h ( App ) , } ) . $mount ( '#app' ) xxx.vue < template> < div> < wei-photo class =" weiPhoto " v-wei-photo:photo720
资源推荐
资源详情
资源评论
收起资源包目录
weiphoto:基于vue2.x的vr全景图片展示,序列帧,vr视频展示插件 (307个子文件)
index.css 12KB
index.css 12KB
wei-video.css 11KB
wei-video.css 11KB
main.css 11KB
wei-photo.css 11KB
wei-photo.css 11KB
wei-svg-edit.css 10KB
wei-svg-edit.css 10KB
wei-360.css 10KB
wei-360.css 10KB
wei-markers.css 38B
wei-markers.css 38B
.gitignore 276B
v.html 5KB
index.html 2KB
index.html 348B
favicon.ico 4KB
p3.jpeg 5.53MB
p4.jpeg 3.58MB
indexBg.jpg 2.25MB
indexBg.jpg 2.25MB
index_fz_46.jpg 201KB
index_fz_45.jpg 201KB
index_fz_47.jpg 201KB
index_fz_48.jpg 201KB
index_fz_43.jpg 201KB
index_fz_44.jpg 201KB
index_fz_42.jpg 201KB
index_fz_41.jpg 201KB
index_fz_40.jpg 200KB
index_fz_49.jpg 200KB
index_fz_39.jpg 200KB
index_fz_50.jpg 200KB
index_fz_38.jpg 200KB
index_fz_51.jpg 200KB
index_fz_37.jpg 199KB
index_fz_52.jpg 199KB
index_fz_53.jpg 199KB
index_fz_36.jpg 198KB
index_fz_54.jpg 198KB
index_fz_35.jpg 198KB
index_fz_55.jpg 197KB
index_fz_34.jpg 196KB
index_fz_56.jpg 196KB
index_fz_11.jpg 195KB
index_fz_33.jpg 195KB
index_fz_57.jpg 195KB
index_fz_10.jpg 195KB
index_fz_9.jpg 195KB
index_fz_12.jpg 195KB
index_fz_8.jpg 195KB
index_fz_13.jpg 195KB
index_fz_7.jpg 195KB
index_fz_14.jpg 194KB
index_fz_15.jpg 194KB
index_fz_32.jpg 194KB
index_fz_6.jpg 194KB
index_fz_58.jpg 194KB
index_fz_5.jpg 194KB
index_fz_59.jpg 194KB
index_fz_16.jpg 193KB
index_fz_31.jpg 193KB
index_fz_30.jpg 193KB
index_fz_4.jpg 193KB
index_fz_60.jpg 193KB
index_fz_17.jpg 193KB
index_fz_3.jpg 192KB
index_fz_29.jpg 192KB
index_fz_18.jpg 192KB
index_fz_2.jpg 192KB
index_fz_61.jpg 192KB
index_fz_19.jpg 191KB
index_fz_28.jpg 191KB
index_fz_20.jpg 191KB
index_fz_62.jpg 191KB
index_fz_26.jpg 191KB
index_fz_25.jpg 191KB
index_fz_27.jpg 191KB
index_fz_21.jpg 191KB
index_fz_22.jpg 191KB
index_fz_201.jpg 191KB
index_fz_0.jpg 191KB
index_fz_1.jpg 191KB
index_fz_24.jpg 191KB
index_fz_23.jpg 191KB
index_fz_63.jpg 190KB
index_fz_200.jpg 189KB
index_fz_64.jpg 189KB
index_fz_199.jpg 188KB
index_fz_198.jpg 187KB
index_fz_65.jpg 187KB
index_fz_66.jpg 186KB
index_fz_197.jpg 186KB
index_fz_196.jpg 184KB
index_fz_67.jpg 184KB
index_fz_195.jpg 183KB
index_fz_68.jpg 182KB
index_fz_194.jpg 181KB
index_fz_69.jpg 180KB
共 307 条
- 1
- 2
- 3
- 4
资源评论
slaslady
- 粉丝: 37
- 资源: 4620
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功