- Changed API base URLs in app.js to point to the production server for deployment. - Updated the my page UI by refining labels and removing unnecessary text for a cleaner look. - Adjusted CSS styles to enhance layout and reduce whitespace, improving overall user experience. This update aims to ensure proper API connectivity and enhance the visual presentation of the user interface.
37 lines
1.2 KiB
Plaintext
37 lines
1.2 KiB
Plaintext
<!--custom-tab-bar/index.wxml-->
|
|
<view class="tab-bar" wx:if="{{tabList.length}}">
|
|
<view class="tab-bar-border"></view>
|
|
|
|
<block wx:for="{{tabList}}" wx:key="pagePath">
|
|
<view
|
|
wx:if="{{item.isSpecial}}"
|
|
class="tab-bar-item special-item"
|
|
data-path="{{item.pagePath}}"
|
|
data-index="{{index}}"
|
|
bindtap="switchTab"
|
|
>
|
|
<view class="special-button {{selected === index ? 'special-active' : ''}}">
|
|
<image class="special-icon" src="{{item.iconPath}}" mode="aspectFit"></image>
|
|
</view>
|
|
<view class="tab-bar-text special-text" style="color: {{selected === index ? selectedColor : color}}">{{item.text}}</view>
|
|
</view>
|
|
|
|
<view
|
|
wx:else
|
|
class="tab-bar-item"
|
|
data-path="{{item.pagePath}}"
|
|
data-index="{{index}}"
|
|
bindtap="switchTab"
|
|
>
|
|
<view class="icon-wrapper">
|
|
<image
|
|
class="tab-icon {{selected === index ? 'icon-active' : ''}}"
|
|
src="{{item.iconPath}}"
|
|
mode="aspectFit"
|
|
></image>
|
|
</view>
|
|
<view class="tab-bar-text" style="color: {{selected === index ? selectedColor : color}}">{{item.text}}</view>
|
|
</view>
|
|
</block>
|
|
</view>
|