change name

This commit is contained in:
xsl
2026-03-11 18:19:37 +08:00
parent bbda7591eb
commit 1b32c572a3
2 changed files with 66 additions and 45 deletions
+62 -41
View File
@@ -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": {}
}
}
} }
+3 -3
View File
@@ -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,