Browse Source

添加系统信息卡片

Xfy
徐飞洋 4 weeks ago
parent
commit
d71fc965ec
  1. 27
      pages/profile/index.wxml

27
pages/profile/index.wxml

@ -101,21 +101,16 @@
</view>
</view>
<view class="card" wx:if="{{false}}">
<view class="title">身份管理</view>
<button
class="btn"
style="background-color: {{userType === 'buyer' || userType === 'both' ? '#888' : '#07c160'}}; color: white;"
bindtap="setAsBuyer"
>
{{userType === 'buyer' || userType === 'both' ? '已设为买家' : '设为买家'}}
</button>
<button
class="btn"
style="background-color: {{userType === 'seller' || userType === 'both' ? '#888' : '#1677ff'}}; color: white;"
bindtap="setAsSeller"
>
{{userType === 'seller' || userType === 'both' ? '已设为卖家' : '设为卖家'}}
</button>
<!-- 版本信息 -->
<view class="card">
<view class="title">系统信息</view>
<view style="padding: 20rpx 0;">
<view style="font-size: 26rpx; color: #333; margin-bottom: 16rpx;">
当前版本:{{versionInfo.version || '2.6.10'}}
</view>
<view style="font-size: 26rpx; color: #333; margin-bottom: 16rpx;">
上次更新:{{versionInfo.lastUpdate || '2026-02-8'}}
</view>
</view>
</view>
</view>
Loading…
Cancel
Save