点击事件之后,从底部弹出一个新的框显示详细信息,大致效果如下:
当点击某个测试块时,要实现从底部弹出一个新的页面显示该测试的具体信息
页面主要代码部分
<!--屏幕背景变暗的背景 -->
<view class="commodity_screen" bindtap="hideModal" wx:if="{
{showModalStatus}}"></view>
<!--弹出框 -->
<scroll-view scroll-y="true" style="height:100vh;"
<block wx:for="{
{data}}" wx:key="index">
<!--该部分循环展示测试块-->
</block>
<view animation="{
{animationData}}