optimize a page
This commit is contained in:
1 parent
32b3421eb6
commit
a173c22633
4 files changed
+104
-18
No files matched your search
@@ -12,10 +12,10 @@
|
||||
<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" bind:tap="popup_history">
|
||||
<view class='buttom_startPage' id="buttom_startPage2" bind:tap="{{function_startPage2}}">
|
||||
<image src="{{imgUrl_startPage2}}" mode="'aspectFit'" style="height: 100rpx;width: 100rpx;" />
|
||||
</view>
|
||||
<view class='buttom_startPage' id="buttom_startPage3" bind:tap="popup_collect">
|
||||
<view class='buttom_startPage' id="buttom_startPage3" bind:tap="{{function_startPage3}}">
|
||||
<image src="{{imgUrl_startPage3}}" mode="'aspectFit'" style="height: 100rpx;width: 100rpx;" />
|
||||
</view>
|
||||
<view class='buttom_startPage' id="buttom_startPage4">
|
||||
@@ -30,7 +30,7 @@
|
||||
<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>
|
||||
@@ -54,20 +54,36 @@
|
||||
|
||||
<!-- 历史记录界面 -->
|
||||
<view id="page_history" class="miao_page">
|
||||
<view class="title">搜索历史</view>
|
||||
<view id="page_history_back" bind:tap="exit_history">
|
||||
<image src="./static/icons/back.svg" mode="aspectFit" />
|
||||
<view class="title">
|
||||
<view>历史记录</view>
|
||||
<view class="page_back" bind:tap="exit_history">
|
||||
<image src="./static/icons/back.svg" mode="aspectFit" />
|
||||
</view>
|
||||
</view>
|
||||
<view class="date1">{{currentDate}}</view>
|
||||
<!-- <view class="date1">{{currentDate}}</view>
|
||||
<view class="picture1">picture1</view>
|
||||
<view class="picture2">picture2</view>
|
||||
<view class="picture2">picture2</view> -->
|
||||
|
||||
<view class="content">
|
||||
<view class="history_part" wx:for="{{data_history_test}}" wx:for-index="date" wx:for-item="arr">
|
||||
<view class="history_time">{{date}}</view>
|
||||
<view class="history_content">
|
||||
<view class="picture" wx:for="{{arr}}" wx:for-item="content">
|
||||
<!-- {{content}} -->
|
||||
<image src="{{imgUrl_startPage2}}" mode="'aspectFit'" style="height: 150rpx;width: 150rpx;" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 我的收藏界面 -->
|
||||
<view id="page_collect" class="miao_page">
|
||||
<view class="title">我的收藏</view>
|
||||
<view id="page_collect_back" bind:tap="exit_collect">
|
||||
<image src="./static/icons/back.svg" mode="aspectFit" />
|
||||
<view class="title">
|
||||
<view>我的收藏</view>
|
||||
<view class="page_back" bind:tap="exit_collect">
|
||||
<image src="./static/icons/back.svg" mode="aspectFit" />
|
||||
</view>
|
||||
</view>
|
||||
<view class="collect1">收藏1</view>
|
||||
<view class="collect2">收藏2</view>
|
||||
|
||||
Reference in new issue
Block a user