change name
This commit is contained in:
+62
-41
@@ -1,43 +1,64 @@
|
|||||||
{
|
{
|
||||||
"name" : "MyCamera",
|
"name": "MyCamera",
|
||||||
"appid" : "__UNI__E01D2E1",
|
"appid": "__UNI__E01D2E1",
|
||||||
"description" : "",
|
"description": "",
|
||||||
"versionName" : "1.0.0",
|
"versionName": "1.0.0",
|
||||||
"versionCode" : "100",
|
"versionCode": "100",
|
||||||
"uni-app-x" : {},
|
"uni-app-x": {},
|
||||||
/* 快应用特有相关 */
|
/* 快应用特有相关 */
|
||||||
"quickapp" : {},
|
"quickapp": {},
|
||||||
/* 小程序特有相关 */
|
/* 小程序特有相关 */
|
||||||
"mp-weixin" : {
|
"mp-weixin": {
|
||||||
"appid" : "",
|
"appid": "",
|
||||||
"setting" : {
|
"setting": {
|
||||||
"urlCheck" : false
|
"urlCheck": false
|
||||||
},
|
},
|
||||||
"usingComponents" : true
|
"usingComponents": true
|
||||||
},
|
},
|
||||||
"mp-alipay" : {
|
"mp-alipay": {
|
||||||
"usingComponents" : true
|
"usingComponents": true
|
||||||
},
|
},
|
||||||
"mp-baidu" : {
|
"mp-baidu": {
|
||||||
"usingComponents" : true
|
"usingComponents": true
|
||||||
},
|
},
|
||||||
"mp-toutiao" : {
|
"mp-toutiao": {
|
||||||
"usingComponents" : true
|
"usingComponents": true
|
||||||
},
|
},
|
||||||
"uniStatistics" : {
|
"uniStatistics": {
|
||||||
"enable" : false
|
"enable": false
|
||||||
},
|
},
|
||||||
"vueVersion" : "3",
|
"vueVersion": "3",
|
||||||
"app" : {
|
"app": {
|
||||||
"distribute" : {
|
"distribute": {
|
||||||
"icons" : {
|
"icons": {
|
||||||
"android" : {
|
"android": {
|
||||||
"hdpi" : "",
|
"hdpi": "",
|
||||||
"xhdpi" : "",
|
"xhdpi": "",
|
||||||
"xxhdpi" : "",
|
"xxhdpi": "",
|
||||||
"xxxhdpi" : ""
|
"xxxhdpi": ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"app-android": {
|
||||||
|
"distribute": {
|
||||||
|
"modules": {},
|
||||||
|
"icons": {
|
||||||
|
"hdpi": "",
|
||||||
|
"xhdpi": "",
|
||||||
|
"xxhdpi": "",
|
||||||
|
"xxxhdpi": ""
|
||||||
|
},
|
||||||
|
"splashScreens": {
|
||||||
|
"default": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"app-ios": {
|
||||||
|
"distribute": {
|
||||||
|
"modules": {},
|
||||||
|
"icons": {},
|
||||||
|
"splashScreens": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -17,8 +17,8 @@
|
|||||||
<button @click="_addFrameCallback">设置监听</button>
|
<button @click="_addFrameCallback">设置监听</button>
|
||||||
<button @click="_startFrame">开启监听</button>
|
<button @click="_startFrame">开启监听</button>
|
||||||
<button @click="_stopFrame">关闭监听</button>
|
<button @click="_stopFrame">关闭监听</button>
|
||||||
<xf-camera style="height:750rpx; background-color: red;" @error="onError" :flash="flash"
|
<my-camera style="height:750rpx; background-color: red;" @error="onError" :flash="flash"
|
||||||
:position="device"></xf-camera>
|
:position="device"></my-camera>
|
||||||
<image v-if="imagePath" mode="aspectFit" :src="imagePath"></image>
|
<image v-if="imagePath" mode="aspectFit" :src="imagePath"></image>
|
||||||
</view>
|
</view>
|
||||||
<!-- #ifdef APP -->
|
<!-- #ifdef APP -->
|
||||||
@@ -48,7 +48,7 @@
|
|||||||
CameraFrameListenerStartOption,
|
CameraFrameListenerStartOption,
|
||||||
StopOption,
|
StopOption,
|
||||||
OnCameraFrameListenerOption
|
OnCameraFrameListenerOption
|
||||||
} from '@/uni_modules/XF-cameraUTS'
|
} from '@/uni_modules/MY-cameraUTS'
|
||||||
|
|
||||||
// import {
|
// import {
|
||||||
// startVideo,
|
// startVideo,
|
||||||
|
|||||||
Reference in New Issue
Block a user