3248关注9356浏览
<form bindsubmit="formSubmit" report-submit='true'>
<map id="myMap" scale="18" show-location style="width: 100%; height: 100vh;" longitude="{{locationInfo.longitude}}" latitude="{{locationInfo.latitude}}" markers="{{markers}}" bindmarkertap="markerClick" bindregionchange='move'>
<cover-view class='{{showbottomView?"bottom_view":"hide"}}' catchtap='dis'>
<cover-view class='bottom_view_top_view'>
<!-- class='bottom_view_top_left_view' -->
<cover-view >
<cover-view class='shopname_text'>{{currentShop.shopName}}</cover-view>
<cover-view class='shopaddress_text'>{{currentShop.shopAddress}}</cover-view>
</cover-view>
<cover-view class='right'>
<cover-view class='line'></cover-view>
<!-- class='bottom_view_top_right_view' -->
<cover-view class='bottom_view_top_right_view' bindtap='mapnavigation'>
<cover-image class='daohang_image' src='../images/nomanshop/daohang.png'></cover-image>
<cover-view class='shopaddress_text'>{{currentShop.dis}}</cover-view>
</cover-view>
</cover-view>
</cover-view>
<cover-view wx:if="{{currentShop.bluetoothDevice.length==0}}" class='bottom_view_button' catchtap='openDoor'>
<cover-view>购物</cover-view>
</cover-view>
<cover-view wx:else class='bottom_view_button' catchtap='openDoor'>
<cover-view>开门</cover-view>
</cover-view>
</cover-view>
</map>
</form>
.bottom_view_top_right_view{
display: flex;
flex-direction: column;
align-items: center;
}
.bottom_view_top_left_view{
display: flex;
flex-direction: column;
}
-
至过去的我
2044人对此回答表示赞同
我是未来的你,你现在是不是在年找寻小程序答案。你不要感觉诧异,给你来信原因,就是让你不在后悔。今天去学习如何推广小程序,相信......点击查看更多> -
Aaron
19人对此回答表示赞同
不是很清楚你表述的问题,请具体描述,不然大家也不知道你想解决什么问题,最好能提供复现问题的简单代码片段。
展开191回复分享发布于 6年前评论(1)
收起评论
-
文心雕龙
7人对此回答表示赞同
我这个代码片段怎么没办法小程序真机调试
展开70回复分享发布于 6年前评论(0)
收起评论
wechatide://minicode/jbjM6HmH7Xba