Commit 291befb2 by jscat

nyx weapp: 删除map组件

parent 78f7e7f1
{
{
"usingComponents": {},
"navigationBarTitleText": "酒肆地图"
}
\ No newline at end of file
<view class="page">
<view class="page">
<!-- 城市选择view -->
<view class="container">
<view class='address'>
<view class='selectAddress'>
<picker mode="selector" range="{{city}}" value="{{cityIndex}}" bindchange="onCityPicker" class='address_province'>
<text>{{city[cityIndex]}}</text>
<image src='../../icon/down.png' style='width: 56rpx;height: 56rpx;' class='selecrtImg'></image>
</picker>
<picker mode="selector" range="{{district}}" value="{{districtIndex}}" bindchange="onDistrictPicker" class='address_province'>
<text>{{district[districtIndex]}}</text>
<image src='../../icon/down.png' style='width: 56rpx;height: 56rpx;' class='selecrtImg'></image>
</picker>
<view class='address_province'>
<text>已复工{{numBar[districtIndex]}}家</text>
</view>
</view>
</view>
</view>
<!-- 地图显示view -->
<view class="imageView" style="height:{{imgViewHeight}}px;position:fixed; top:80rpx;">
<image src="{{tempImageSrc}}" style="width:{{imgWidth}}px;height:{{imgHeight}}px;top:{{imgTop}}px;left:{{imgLeft}}px" disable-scroll="true" bindtouchstart="uploadScaleStart" bindtouchmove="uploadScaleMove" bindtouchend="uploadScaleEnd" bindtap='uploadLongPress'></image>
<block wx:for="{{allText}}" >
<!-- 添加文字页面 -->
<!-- image left:textL-15px;top:textT-15;width:60rps;height:60rpx -->
<!-- text left:textL+15px;top:textT-15; -->
<image src="../../icon/tag.png" style="left:{{item.textL-imgTagWidth*deviceRatio/2}}px;top:{{item.textT-imgTagWidth*deviceRatio/2}}px;position:absolute;width:{{imgTagWidth}}rpx;height:{{imgTagWidth}}rpx" bind:tap="onSelectTap" id="{{index}}"></image>
<text class="active-text" style="left:{{item.textL+imgTagWidth*deviceRatio/2}}px;top:{{item.textT-60*deviceRatio/2}}px;">{{item.name}}</text>
</block>
</view>
<!-- 主页面-底部-->
<view class="toolbar-bottom" hidden="{{indexTagSelected==-1}}">
<view class="weui-cell__bd" style="padding-left:60rpx;">
<view class="weui-media-box__desc" style="font-family:'Microsoft YaHei';font-size:20px;color:rgba(0,0,0,1);">{{allText[indexTagSelected].name}}
</view>
<view class="weui-flex__item" >
<image style="width:25rpx;height:25rpx" src="/icon/discover2.png" />
<span style="font-size:15px;color:rgba(120, 120, 120);">
{{allText[indexTagSelected].address}}
</span>
</view>
</view>
</view>
<block wx:if="{{indexTagAdd==true}}">
<form catchsubmit="onAddMember" >
<view class="message-input">
<input class="showSend" placeholder="请输入店名" name="name" type="text" />
<input class="showSend" placeholder="请输入地址" name="address" type="text"/>
<input type="text" style="display:none" name="initTextL" value='{{newTag.initTextL}}'/>
<input type="text" style="display:none" name="initTextT" value='{{newTag.initTextT}}'/>
<input type="text" style="display:none" name="textL" value='{{newTag.textL}}'/>
<input type="text" style="display:none" name="textT" value='{{newTag.textT}}'/>
<button type="default" formType="submit">添加</button>
</view>
</form>
</block>
</view>
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论