Browse Source

feat: 文案更新

master
jiannibang 3 years ago
parent
commit
d94dc757bf
  1. 4
      pages/index/index.wxml
  2. 3
      pages/tabs/tabs.js
  3. 3
      pages/tabs/tabs.wxml
  4. 41
      pages/tabs/tabs.wxss
  5. BIN
      pages/tabs/tip.png
  6. BIN
      pages/tabs/tomob.png

4
pages/index/index.wxml

@ -62,7 +62,7 @@
{{state===states.startScan?'开始定位':'努力定位中'}}
</view>
<view class="meta">
{{state===states.startScan?'请抬起手机,缓慢扫描周围环境。':'请扫描其他区域试试'}}
{{state===states.startScan?'请缓慢扫描周围店铺名称':'请扫描其他区域试试'}}
</view>
<view class="btn" bindtap="exit">返回</view>
</view>
@ -78,4 +78,4 @@
<image wx:if="{{state===states.inNav&&leftYaw===true&&rightYaw===false}}" class="rightyaw" src="./rightyaw.png"></image>
<map2d hidden="{{!(showTabs&&tab===0)}}" floororder="{{floorOrder}}" loc="{{lastLoc}}" searchType="{{searchType}}" bindmap="handleMap" bindpoint="handlePoint"></map2d>
<destination wx:if="{{showTabs&&tab===2&&shop}}" shop="{{shop}}"></destination>
<tabs wx:if="{{showTabs}}" floor="{{floorName}}" tab="{{tab}}" bindrelocate="handleRelocate" bindchange="handleTabChange" bindtomap="handleToMap"></tabs>
<tabs wx:if="{{showTabs}}" floor="{{floorName}}" tab="{{tab}}" bindrelocate="handleRelocate" bindchange="handleTabChange" bindtomap="handleToMap" bindtomob='handleToMap'></tabs>

3
pages/tabs/tabs.js

@ -28,5 +28,8 @@ Component({
handleToMap() {
this.triggerEvent("tomap");
},
handleToMob() {
this.triggerEvent("tomob");
},
},
});

3
pages/tabs/tabs.wxml

@ -11,4 +11,5 @@
当前楼层 <view class="sep"></view>
<view class="value">{{floor}}</view>
</view>
<view class="tip {{tab===0?'high':''}}">请按照导航路线行走</view>
<image class="tomob {{tab===0?'high':''}}" src="./tomob.png" bindtap="handleToMob"></image>
<image class="tip {{tab===0?'high':''}}" src="./tip.png"></image>

41
pages/tabs/tabs.wxss

@ -37,14 +37,27 @@
.relocate {
position: fixed;
z-index: 15 !important;
right: 4px;
width: 46px;
height: 46px;
bottom: 235px;
right: 8px;
width: 38px;
height: 38px;
bottom: 262px;
}
.relocate.high {
bottom: 362px;
bottom: 381px;
}
.tomob {
position: fixed;
z-index: 15 !important;
right: 8px;
width: 128px;
height: 40px;
bottom: 210px;
}
.tomob.high {
bottom: 338px;
}
.floor {
@ -82,24 +95,14 @@
color: #ef9617;
}
.tip {
display: inline-flex;
z-index: 15 !important;
position: fixed;
right: 8px;
bottom: 211px;
padding: 0 10px;
height: 25px;
line-height: 25px;
background: #f37b6f;
backdrop-filter: blur(2px);
border-radius: 50px;
font-family: PingFang SC;
font-style: normal;
font-weight: bold;
font-size: 12px;
color: #ffffff;
bottom: 306px;
width: 112px;
height: 34px;
}
.tip.high {
bottom: 338px;
bottom: 426px;
}

BIN
pages/tabs/tip.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

BIN
pages/tabs/tomob.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Loading…
Cancel
Save