- api: AppConfig runtime 返回 reviewMode;Invite/Settings/AppUser 等调整 - 微信小程序与抖音:app 与 tabBar、enterprise/camera/index/upload/profile 对齐审核与邀请逻辑 - 管理端:Dashboard、Settings、Users、UserDetailDialog 等更新 Made-with: Cursor
41 lines
1.5 KiB
Plaintext
41 lines
1.5 KiB
Plaintext
<!-- 自定义 tabBar:顶部分割线 + 三栏;中间单独一列避免浮钮与左右叠层 -->
|
||
<view class="tab-bar">
|
||
<view class="tab-bar-line"></view>
|
||
<view class="tab-bar-inner {{reviewMode ? 'tab-bar-inner--audit' : ''}}">
|
||
<view
|
||
class="tab-item {{selected === 0 ? 'active' : ''}}"
|
||
data-index="0"
|
||
data-path="/pages/index/index"
|
||
bindtap="switchTab"
|
||
>
|
||
<image class="tab-icon" src="{{selected === 0 ? '/images/home-active.png' : '/images/home.png'}}" mode="aspectFit" />
|
||
<text class="tab-text">首页</text>
|
||
</view>
|
||
|
||
<!-- 中间列:非审核模式显示「拍摄」 -->
|
||
<view class="tab-slot-middle" wx:if="{{!reviewMode}}">
|
||
<view
|
||
class="middle-fab {{selected === 1 ? 'active' : ''}}"
|
||
data-index="1"
|
||
data-path="/pages/index/camera"
|
||
bindtap="switchTab"
|
||
>
|
||
<view class="center-circle">
|
||
<image class="center-icon" src="{{selected === 1 ? '/images/camera-active.png' : '/images/camera.png'}}" mode="aspectFit" />
|
||
</view>
|
||
<text class="tab-text tab-text-fab">拍摄</text>
|
||
</view>
|
||
</view>
|
||
|
||
<view
|
||
class="tab-item {{selected === 2 ? 'active' : ''}}"
|
||
data-index="2"
|
||
data-path="/pages/profile/index"
|
||
bindtap="switchTab"
|
||
>
|
||
<image class="tab-icon" src="{{selected === 2 ? '/images/user-active.png' : '/images/user.png'}}" mode="aspectFit" />
|
||
<text class="tab-text">我的</text>
|
||
</view>
|
||
</view>
|
||
</view>
|