|
@@ -34,6 +34,12 @@ const _sfc_main = {
|
|
|
cameraInitRetries: 0,
|
|
|
// 添加重试计数器
|
|
|
gestureOverlays: [
|
|
|
+ "http://121.36.251.245:9000/minlong/%E5%B7%A6%E6%89%8B%E6%89%8B%E6%8E%8C.png",
|
|
|
+ "http://121.36.251.245:9000/minlong/%E5%B7%A6%E6%89%8B%E6%89%8B%E8%83%8C.png",
|
|
|
+ "http://121.36.251.245:9000/minlong/%E5%B7%A6%E6%89%8B%E6%8F%A1%E6%8B%B3.png",
|
|
|
+ "http://121.36.251.245:9000/minlong/%E5%8F%B3%E6%89%8B%E6%89%8B%E6%8E%8C.png",
|
|
|
+ "http://121.36.251.245:9000/minlong/%E5%8F%B3%E6%89%8B%E6%89%8B%E8%83%8C.png",
|
|
|
+ "http://121.36.251.245:9000/minlong/%E5%8F%B3%E6%89%8B%E6%8F%A1%E6%8B%B3.png"
|
|
|
/* '/static/images/palm_overlay.png', // 手掌正面引导图
|
|
|
'/static/images/back_overlay.png', // 手掌反面引导图
|
|
|
'/static/images/fist_overlay.png' // 握拳引导图 */
|
|
@@ -51,12 +57,12 @@ const _sfc_main = {
|
|
|
cameraPosition: "front",
|
|
|
// 修改默认为前置摄像头
|
|
|
guideIcon: [
|
|
|
- "http://121.36.251.245:9000/minlong/tenant_1/general_uploads/d9082487afc4499c97407aa3cebd1923.jpeg",
|
|
|
- "http://121.36.251.245:9000/minlong/tenant_1/general_uploads/27022cfcc05644aabb415b93cac126b1.jpeg",
|
|
|
- "http://121.36.251.245:9000/minlong/tenant_1/general_uploads/fcfa3bf149cd4edd962d9b8844bed0b0.jpeg",
|
|
|
- "http://121.36.251.245:9000/minlong/tenant_1/general_uploads/d9082487afc4499c97407aa3cebd1923.jpeg",
|
|
|
- "http://121.36.251.245:9000/minlong/tenant_1/general_uploads/27022cfcc05644aabb415b93cac126b1.jpeg",
|
|
|
- "http://121.36.251.245:9000/minlong/tenant_1/general_uploads/fcfa3bf149cd4edd962d9b8844bed0b0.jpeg"
|
|
|
+ "http://121.36.251.245:9000/minlong/%E5%B7%A6%E6%89%8B%E6%89%8B%E6%8E%8C.jpg",
|
|
|
+ "http://121.36.251.245:9000/minlong/%E5%B7%A6%E6%89%8B%E6%89%8B%E8%83%8C.jpg",
|
|
|
+ "http://121.36.251.245:9000/minlong/%E5%B7%A6%E6%89%8B%E5%8D%A7%E6%8B%B3.jpg",
|
|
|
+ "http://121.36.251.245:9000/minlong/%E5%8F%B3%E6%89%8B%E6%89%8B%E6%8E%8C.jpg",
|
|
|
+ "http://121.36.251.245:9000/minlong/%E5%8F%B3%E6%89%8B%E6%89%8B%E8%83%8C.jpg",
|
|
|
+ "http://121.36.251.245:9000/minlong/%E5%8F%B3%E6%89%8B%E5%8D%A7%E6%8B%B3.jpg"
|
|
|
]
|
|
|
};
|
|
|
},
|
|
@@ -488,24 +494,26 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
l: common_vendor.o((...args) => $options.nextStep && $options.nextStep(...args)),
|
|
|
m: !$data.isH5 && $data.showCamera
|
|
|
}, !$data.isH5 && $data.showCamera ? {
|
|
|
- n: $data.cameraPosition,
|
|
|
- o: common_vendor.o((...args) => $options.handleCameraError && $options.handleCameraError(...args)),
|
|
|
- p: $data.cameraMode,
|
|
|
- q: $data.guideIcon[$data.currentStep],
|
|
|
- r: $data.gestureOverlays[$data.currentStep],
|
|
|
- s: common_vendor.t($data.gestureHints[$data.currentStep]),
|
|
|
- t: common_vendor.o((...args) => $options.capturePhotoMP && $options.capturePhotoMP(...args)),
|
|
|
- v: common_vendor.o((...args) => $options.cancelCamera && $options.cancelCamera(...args))
|
|
|
+ n: common_vendor.t($data.gestureHints[$data.currentStep]),
|
|
|
+ o: $data.cameraPosition,
|
|
|
+ p: common_vendor.o((...args) => $options.handleCameraError && $options.handleCameraError(...args)),
|
|
|
+ q: $data.cameraMode,
|
|
|
+ r: $data.guideIcon[$data.currentStep],
|
|
|
+ s: common_vendor.s($data.currentStep >= 3 ? "left:30rpx" : "right:30rpx"),
|
|
|
+ t: $data.gestureOverlays[$data.currentStep],
|
|
|
+ v: common_vendor.o((...args) => $options.capturePhotoMP && $options.capturePhotoMP(...args)),
|
|
|
+ w: common_vendor.o((...args) => $options.cancelCamera && $options.cancelCamera(...args))
|
|
|
} : {}, {
|
|
|
- w: $data.isH5
|
|
|
+ x: $data.isH5
|
|
|
}, $data.isH5 ? {
|
|
|
- x: $data.guideIcon[$data.currentStep],
|
|
|
- y: $data.gestureOverlays[$data.currentStep],
|
|
|
- z: common_vendor.t($data.gestureHints[$data.currentStep]),
|
|
|
- A: common_vendor.o((...args) => $options.capturePhoto && $options.capturePhoto(...args)),
|
|
|
- B: common_vendor.o((...args) => $options.switchCamera && $options.switchCamera(...args)),
|
|
|
- C: common_vendor.o((...args) => $options.cancelCamera && $options.cancelCamera(...args)),
|
|
|
- D: $data.showCamera
|
|
|
+ y: $data.guideIcon[$data.currentStep],
|
|
|
+ z: common_vendor.s($data.currentStep >= 3 ? "left:30rpx" : "right:30rpx"),
|
|
|
+ A: $data.gestureOverlays[$data.currentStep],
|
|
|
+ B: common_vendor.t($data.gestureHints[$data.currentStep]),
|
|
|
+ C: common_vendor.o((...args) => $options.capturePhoto && $options.capturePhoto(...args)),
|
|
|
+ D: common_vendor.o((...args) => $options.switchCamera && $options.switchCamera(...args)),
|
|
|
+ E: common_vendor.o((...args) => $options.cancelCamera && $options.cancelCamera(...args)),
|
|
|
+ F: $data.showCamera
|
|
|
} : {});
|
|
|
}
|
|
|
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|