Browse Source

添加系统信息卡片

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

29
pages/profile/index.wxml

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