SOS
This commit is contained in:
1 parent
fac7123cd1
commit
5e90a8b670
7 files changed
+543
-163
No files matched your search
@@ -116,7 +116,7 @@
|
||||
<view class="picture" wx:for="{{arr}}" wx:for-item="res" >
|
||||
<!-- {{content}} -->
|
||||
<!-- https://www.cnblogs.com/china-fanny/p/11213746.html#:~:text=%E5%A6%82%E4%BD%95%E6%98%BE%E7%A4%BA%20%EF%BC%9F%20%E4%BD%BF%E7%94%A8image%E6%A0%87%E7%AD%BE%EF%BC%8Csrc%E5%B1%9E%E6%80%A7%E6%B7%BB%E5%8A%A0,data%3Aimage%2Fpng%3Bbase64%2C%20%EF%BC%88%E6%B3%A8%E6%84%8F%EF%BC%9A%E8%8B%A5imgData%E8%BF%94%E5%9B%9E%E6%95%B0%E6%8D%AE%E4%B8%AD%E5%90%AB%E6%9C%89data%3Aimage%2Fpng%3Bbase64%2C%E6%97%B6%EF%BC%8Csrc%E7%9B%B4%E6%8E%A5%E5%86%99src%3D%22%20%7B%20%7BimgData%7D%7D%22%E5%8D%B3%E5%8F%AF%EF%BC%89 -->
|
||||
<image src="{{ res.imgUrl }}" mode="'aspectFit'" style="height: 150rpx;width: 150rpx;"bind:tap="show_result_wxml" data-index="{{ res.res }}" />
|
||||
<image src="{{ res.imgUrl }}" mode="'aspectFit'" style="height: 150rpx;width: 150rpx;"bind:tap="show_result_wxml" data-index="{{ res }}" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -133,7 +133,7 @@
|
||||
</view>
|
||||
<view class="content">
|
||||
<view wx:for="{{ data_collect }}" wx:for-item="n">
|
||||
<view class="node" style="background-color: {{ n.riskBgColor }};" bind:tap="show_result_wxml" data-index="{{ n.res }}">
|
||||
<view class="node" style="background-color: {{ n.riskBgColor }};" bind:tap="show_result_wxml" data-index="{{ n }}">
|
||||
<view class="node_content">
|
||||
<view class="node_date">{{ n.date }}</view>
|
||||
<image class="node_img" src="{{ n.imgUrl }}" mode="'aspectFit'"/>
|
||||
@@ -164,10 +164,19 @@
|
||||
<!-- 查询结果页面 -->
|
||||
<view id="page_result">
|
||||
<view class="title">
|
||||
<view>{{"查询结果"}}</view>
|
||||
<view>{{resultTitle}}</view>
|
||||
<view class="page_back" bind:tap="exit_result">
|
||||
<image src="./static/icons/back.svg" mode="aspectFit" />
|
||||
</view>
|
||||
<view class="page_star" bind:tap="popup_setRemark" data-index="{{}}" wx:if="{{ data_resultPage.tr=='heart' }}">
|
||||
<image src="./static/icons/heart.svg" mode="aspectFit" wx:if="{{ data_resultPage.tr=='heart' }}"/>
|
||||
</view>
|
||||
<view class="page_star" bind:tap="popup_removeCollectionVerify" wx:if="{{ data_resultPage.tr=='delete' }}">
|
||||
<image src="./static/icons/delete.svg" mode="aspectFit" wx:if="{{ data_resultPage.tr=='delete' }}"/>
|
||||
</view>
|
||||
<view class="page_editRemark" bind:tap="popup_editRemark" wx:if="{{ data_resultPage.tr=='delete' }}">
|
||||
<image src="./static/icons/edit.svg" mode="aspectFit" wx:if="{{ data_resultPage.tr=='delete' }}"/>
|
||||
</view>
|
||||
</view>
|
||||
<view class="content">
|
||||
<!-- 丑出天际 -->
|
||||
@@ -187,7 +196,7 @@
|
||||
<view class="search_icon">
|
||||
<image src="./static/icons/search.svg" mode="aspectFit" />
|
||||
</view>
|
||||
<input class="search_input" id="input_libSearch" bindinput="readInput_result" placeholder=" 输入中/英文名称搜索"/>
|
||||
<input class="search_input" bindinput="readInput_result" placeholder=" 输入中/英文名称搜索"/>
|
||||
</view>
|
||||
<!-- <view class="search_button" bind:tap="readInput_lib">搜索</view> -->
|
||||
</view>
|
||||
@@ -227,6 +236,40 @@
|
||||
|
||||
<!-- 成分详细信息 -->
|
||||
<view id="composition_info"></view>
|
||||
|
||||
<!-- 半透明遮罩2 -->
|
||||
<view id="curtain2" hidden="{{curtain2_hidden}}"></view>
|
||||
<!-- 收藏的时候设置备注的输入框 -->
|
||||
<view id="star_setRemark">
|
||||
<view class="title">
|
||||
<view>{{"输入备注,至多八字"}}</view>
|
||||
</view>
|
||||
<view class="input">
|
||||
<input id="input_setRemark" bindinput='getInputRemark' placeholder="___________________" maxlength="8"/>
|
||||
</view>
|
||||
<view class="verify" bind:tap="add_collection">确认</view>
|
||||
<view class="cancel" bind:tap="exit_setRemark">取消</view>
|
||||
</view>
|
||||
|
||||
<view id="editRemark">
|
||||
<view class="title">
|
||||
<view>{{"修改备注,至多八字"}}</view>
|
||||
</view>
|
||||
<view class="input">
|
||||
<input bindinput='getInputRemark' placeholder="___________________" maxlength="8"/>
|
||||
</view>
|
||||
<view class="verify" bind:tap="editRemark">确认</view>
|
||||
<view class="cancel" bind:tap="exit_editRemark">取消</view>
|
||||
</view>
|
||||
|
||||
<!-- 收藏的时候设置备注的输入框 -->
|
||||
<view id="removeCollectionVerify">
|
||||
<view class="title">
|
||||
<view>{{"确认移除收藏?"}}</view>
|
||||
</view>
|
||||
<view class="verify" bind:tap="remove_collection">确认</view>
|
||||
<view class="cancel" bind:tap="exit_removeCollectionVerify">取消</view>
|
||||
</view>
|
||||
|
||||
<!-- <view class="testButtom1" bind:tap="popup_result">强制显示查询结果</view>
|
||||
<view class="testButtom2" bind:tap="updateHistory">测试更新历史记录</view>
|
||||
|
||||
Reference in new issue
Block a user