49 lines
2.5 KiB
Plaintext
49 lines
2.5 KiB
Plaintext
<!--index.wxml-->
|
|
<view class="container">
|
|
|
|
<!-- 开始界面 -->
|
|
<view class="miao_page" id = 'startPage'>
|
|
<view class="buttom_startPage" id="gotoSearch" bind:tap="popup_camera">
|
|
<!-- 最大的固定是搜索 -->
|
|
<image src="./static/icons/camera.svg" mode="'aspectFit'" style="height: 180rpx;width: 180rpx;margin-right:50rpx;" />
|
|
<view class="text_startPage">立即搜索</view>
|
|
<!-- <view class="text_startPage1">拍照搜索</view> -->
|
|
</view>
|
|
<view class='buttom_startPage' id="buttom_startPage1">
|
|
<image src="{{imgUrl_startPage1}}" mode="'aspectFit'" style="height: 100rpx;width: 100rpx;margin-right:30rpx;" />
|
|
<view class="text_startPage">{{text_startPage1}}</view>
|
|
</view>
|
|
<view class='buttom_startPage' id="buttom_startPage2">
|
|
<image src="{{imgUrl_startPage2}}" mode="'aspectFit'" style="height: 100rpx;width: 100rpx;" />
|
|
</view>
|
|
<view class='buttom_startPage' id="buttom_startPage3">
|
|
<image src="{{imgUrl_startPage3}}" mode="'aspectFit'" style="height: 100rpx;width: 100rpx;" />
|
|
</view>
|
|
<view class='buttom_startPage' id="buttom_startPage4">
|
|
<view class="text_startPage">{{text_startPage4}}</view>
|
|
<image src="{{imgUrl_startPage4}}" mode="'aspectFit'" style="height: 100rpx;width: 100rpx;margin-left:30rpx;" />
|
|
</view>
|
|
<view class="buttom_startPage" id="tips_startPage" hidden="{{tip_hidden}}" style="justify-content: left;">
|
|
<view class="tip_head" style="margin-left: 15rpx;font-weight: 600;">Daliy Tips:</view>
|
|
<view class="tip_content">{{tip_content}}</view>
|
|
</view>
|
|
<view class="buttom_startPage test" id='test' bind:tap="startPage_Bottons_leave">测试移去</view>
|
|
<view class="buttom_startPage test" id='test2' bind:tap="popup_camera">弹出相机</view>
|
|
</view>
|
|
|
|
<!-- 相机界面 -->
|
|
<view id='page_camera' class="miao_page">
|
|
<camera id='camera' device-position="back" flash="off"></camera>
|
|
<view id="page_camera_background"></view>
|
|
<view id="buttom_takePhoto" bind:tap="takePhoto">
|
|
<view id="buttom_takePhoto1">
|
|
</view>
|
|
</view>
|
|
<view id="page_camera_back" bind:tap="exit_camera">
|
|
<image src="./static/icons/back.svg" mode="aspectFit" />
|
|
</view>
|
|
<view id="page_camera_local">
|
|
<image src="./static/icons/local_Img.svg" mode="aspectFit" />
|
|
</view>
|
|
</view>
|
|
</view> |