<view class="version-badge">
  <text class="version-text">v{{version}}</text>
  <text class="version-detail" wx:if="{{showDetail && buildNumber !== '0'}}">#{{buildNumber}}</text>
  <text class="version-detail" wx:if="{{showDetail && commitSha !== 'unknown'}}">({{commitSha}})</text>
  <text class="version-time" wx:if="{{showTime && formattedTime}}">{{formattedTime}}</text>
</view>
