fix(home): 宜忌恢复点击放大+生肖移到日历/月历切换按钮旁边
Publish Mini Program Dev Version / publish (push) Failing after 11s
Publish Mini Program Dev Version / publish (push) Failing after 11s
1. 大框内的宜忌区域加回 bindtap=openZoom(data-type=yiji),点击可全屏查看放大宜忌 2. 生肖(马年)从导航栏右侧移到左侧切换按钮旁边 3. 标题改为绝对定位居中,保持导航栏对称
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
<!-- 自定义导航栏 -->
|
||||
<view class="custom-nav" style="padding-top: {{statusBarHeight}}px;">
|
||||
<view class="nav-inner" style="height: {{navBarHeight}}px;">
|
||||
<view class="nav-toggle" bindtap="toggleView">
|
||||
<text class="nav-toggle-text">{{viewMode === 'day' ? '月历' : '日历'}}</text>
|
||||
</view>
|
||||
<text class="nav-title font-chinese">老黄历</text>
|
||||
<view class="nav-right">
|
||||
<view class="nav-left">
|
||||
<view class="nav-toggle" bindtap="toggleView">
|
||||
<text class="nav-toggle-text">{{viewMode === 'day' ? '月历' : '日历'}}</text>
|
||||
</view>
|
||||
<text class="nav-zodiac">{{dayInfo.zodiac}}年</text>
|
||||
</view>
|
||||
<text class="nav-title font-chinese">老黄历</text>
|
||||
<view class="nav-placeholder"></view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -64,8 +65,8 @@
|
||||
星期{{dayItem.dayInfo.weekDay}} · {{dayItem.legalHoliday ? dayItem.legalHoliday + ' · 放假' : (dayItem.workday ? '工作日 · 上班' : '周末 · 休息')}}
|
||||
</view>
|
||||
|
||||
<!-- 宜忌(在大框里面) -->
|
||||
<view class="day-frame-yiji">
|
||||
<!-- 宜忌(在大框里面,点击放大) -->
|
||||
<view class="day-frame-yiji" bindtap="openZoom" data-type="yiji" data-date="{{dayItem.key}}">
|
||||
<view class="frame-yiji-row">
|
||||
<view class="frame-yiji-title yi">宜</view>
|
||||
<view class="frame-yiji-items">
|
||||
|
||||
Reference in New Issue
Block a user