feat: 替换个人设置为图片

This commit is contained in:
zheng020 2026-05-15 15:32:20 +08:00
parent 5edf153521
commit be4574621d
5 changed files with 8 additions and 9 deletions

View File

@ -136,7 +136,7 @@
<text class="chain-value">{{ showBlockNumber ? (assetData.block_number || '未知') :
hiddenBlockNumber }}</text>
<view class="toggle-btn" @tap="showBlockNumber = !showBlockNumber">
<text class="toggle-icon">{{ showBlockNumber ? '👁' : '👁‍🗨' }}</text>
<image class="toggle-icon" :src="showBlockNumber ? '/static/icon/show.png' : '/static/icon/hide.png'" mode="aspectFit"></image>
</view>
</view>
</view>
@ -146,7 +146,7 @@
<text class="chain-value chain-hash" @longpress="copyHash">{{ showTxHash ? displayTxHash
: hiddenTxHash }}</text>
<view class="toggle-btn" @tap="showTxHash = !showTxHash">
<text class="toggle-icon">{{ showTxHash ? '👁' : '👁‍🗨' }}</text>
<image class="toggle-icon" :src="showTxHash ? '/static/icon/show.png' : '/static/icon/hide.png'" mode="aspectFit"></image>
</view>
</view>
</view>
@ -1018,7 +1018,8 @@ onUnmounted(() => {
}
.toggle-icon {
font-size: 28rpx;
width: 32rpx;
height: 32rpx;
}
.chain-hash {

View File

@ -11,7 +11,7 @@
<!-- <text class="nav-title">我的作品</text> -->
<view class="nav-placeholder"></view>
<view class="nav-settings" @tap="goToSettings">
<text class="nav-settings-text">个人设置</text>
<image class="nav-settings-icon" src="/static/icon/settings.png" mode="aspectFit"></image>
</view>
</view>
@ -548,11 +548,9 @@ onShow(() => {
inset 0 2rpx 4rpx rgba(255, 255, 255, 0.4);
}
.nav-settings-text {
font-size: 24rpx;
color: #fff;
text-shadow: 0 2rpx 4rpx rgba(0, 0, 0, 0.8);
font-weight: 400;
.nav-settings-icon {
width: 48rpx;
height: 48rpx;
}
/* 内容区域 */

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB