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