提交 2287733f authored 作者: 常超凡's avatar 常超凡
...@@ -7,7 +7,8 @@ ...@@ -7,7 +7,8 @@
"pages/anti/anti", "pages/anti/anti",
"pages/fenggu/AICheck/AICheck", "pages/fenggu/AICheck/AICheck",
"pages/fenggu/takephoto/takephoto", "pages/fenggu/takephoto/takephoto",
"pages/fenggu/success/success" "pages/fenggu/success/success",
"pages/fenggu/example/example"
], ],
"window": { "window": {
"backgroundTextStyle": "light", "backgroundTextStyle": "light",
......
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
</view> </view>
</view> </view>
<view class="photo" style="position: relative;flex:1;background-color: black;"> <view class="photo" style="position: relative;flex:1;background-color: black;">
<!-- <camera style="height: 100%;width: 100%;" flash="on" devic-position="back" frame-size="large"> <camera style="height: 100%;width: 100%;" flash="on" devic-position="back" frame-size="large">
</camera> --> </camera>
<!-- 拍照框(正方形) --> <!-- 拍照框(正方形) -->
<image src="/assets/fenggu/拍照框.png" mode="widthFix" class="focus"/> <image src="/assets/fenggu/拍照框.png" mode="widthFix" class="focus"/>
</view> </view>
......
...@@ -18,6 +18,14 @@ ...@@ -18,6 +18,14 @@
z-index: 9999; z-index: 9999;
} }
.takephoto .focus {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
width: 400rpx;
}
.step,.step-box,.bottom,.tabs { .step,.step-box,.bottom,.tabs {
display: flex; display: flex;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论