feat:去除多余的代码
This commit is contained in:
parent
b8e462f9b5
commit
7dbcf50a39
@ -3,7 +3,7 @@
|
|||||||
"appid" : "__UNI__F199FF4",
|
"appid" : "__UNI__F199FF4",
|
||||||
"description" : "",
|
"description" : "",
|
||||||
"versionName" : "1.0.5",
|
"versionName" : "1.0.5",
|
||||||
"versionCode" : 100,
|
"versionCode" : 101,
|
||||||
"transformPx" : false,
|
"transformPx" : false,
|
||||||
/* 5+App特有相关 */
|
/* 5+App特有相关 */
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
|
|||||||
@ -668,7 +668,6 @@ async function loadLikedLenticularLayersForAsset(assetId) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (bgUrl) {
|
if (bgUrl) {
|
||||||
const { buildLenticularLayersTwo } = await import('@/utils/castloveMintForm.js');
|
|
||||||
likedLenticularLayersByAsset.value[assetId] = buildLenticularLayersTwo(bgUrl, subjectUrl);
|
likedLenticularLayersByAsset.value[assetId] = buildLenticularLayersTwo(bgUrl, subjectUrl);
|
||||||
} else {
|
} else {
|
||||||
likedLenticularLayersByAsset.value[assetId] = buildLenticularLayers(subjectUrl);
|
likedLenticularLayersByAsset.value[assetId] = buildLenticularLayers(subjectUrl);
|
||||||
@ -718,7 +717,6 @@ async function loadLenticularLayersForAsset(assetId) {
|
|||||||
}
|
}
|
||||||
// 使用 buildLenticularLayersTwo 或 buildLenticularLayers
|
// 使用 buildLenticularLayersTwo 或 buildLenticularLayers
|
||||||
if (bgUrl) {
|
if (bgUrl) {
|
||||||
const { buildLenticularLayersTwo } = await import('@/utils/castloveMintForm.js');
|
|
||||||
lenticularLayersByAsset.value[assetId] = buildLenticularLayersTwo(bgUrl, subjectUrl);
|
lenticularLayersByAsset.value[assetId] = buildLenticularLayersTwo(bgUrl, subjectUrl);
|
||||||
} else {
|
} else {
|
||||||
lenticularLayersByAsset.value[assetId] = buildLenticularLayers(subjectUrl);
|
lenticularLayersByAsset.value[assetId] = buildLenticularLayers(subjectUrl);
|
||||||
|
|||||||
@ -10,8 +10,9 @@
|
|||||||
<view class="background-overlay"></view>
|
<view class="background-overlay"></view>
|
||||||
|
|
||||||
<!-- Header组件 -->
|
<!-- Header组件 -->
|
||||||
<image class="close-icon-img" src="/static/starbookcontent/tuichu.png" mode="aspectFit" @tap="goBack">
|
<view class="nav-back" @tap="goBack">
|
||||||
</image>
|
<text class="nav-back-icon">←</text>
|
||||||
|
</view>
|
||||||
|
|
||||||
<!-- 用户信息卡片 -->
|
<!-- 用户信息卡片 -->
|
||||||
<view class="user-info-card">
|
<view class="user-info-card">
|
||||||
@ -41,9 +42,12 @@
|
|||||||
<view class="info-row">
|
<view class="info-row">
|
||||||
<text class="info-label">链上地址</text>
|
<text class="info-label">链上地址</text>
|
||||||
<view class="address-row">
|
<view class="address-row">
|
||||||
<text class="info-value address-value" @longpress="copyAddress">{{ displayAddress }}</text>
|
<text class="info-value address-value" @longpress="copyAddress">{{ displayAddress
|
||||||
|
}}</text>
|
||||||
<view class="toggle-btn" @tap="showBlockNumber = !showBlockNumber">
|
<view class="toggle-btn" @tap="showBlockNumber = !showBlockNumber">
|
||||||
<image class="toggle-icon" :src="showBlockNumber ? '/static/icon/show.png' : '/static/icon/hide.png'" mode="aspectFit"></image>
|
<image class="toggle-icon"
|
||||||
|
:src="showBlockNumber ? '/static/icon/show.png' : '/static/icon/hide.png'"
|
||||||
|
mode="aspectFit"></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -53,7 +57,9 @@
|
|||||||
<view class="address-row">
|
<view class="address-row">
|
||||||
<text class="info-value" v-if="mobile">{{ displayMobile }}</text>
|
<text class="info-value" v-if="mobile">{{ displayMobile }}</text>
|
||||||
<view class="toggle-btn" @tap="toggleMobileDisplay">
|
<view class="toggle-btn" @tap="toggleMobileDisplay">
|
||||||
<image class="toggle-icon" :src="showMobile ? '/static/icon/show.png' : '/static/icon/hide.png'" mode="aspectFit"></image>
|
<image class="toggle-icon"
|
||||||
|
:src="showMobile ? '/static/icon/show.png' : '/static/icon/hide.png'"
|
||||||
|
mode="aspectFit"></image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@ -1296,6 +1302,25 @@ onShow(() => {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nav-back {
|
||||||
|
position: relative;
|
||||||
|
top: 96rpx;
|
||||||
|
left: 32rpx;
|
||||||
|
width: 80rpx;
|
||||||
|
height: 80rpx;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
/* background: rgba(255,255,255,0.5);
|
||||||
|
border-radius: 50%; */
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-back-icon {
|
||||||
|
font-size: 48rpx;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
.close-icon-img {
|
.close-icon-img {
|
||||||
width: 48rpx;
|
width: 48rpx;
|
||||||
height: 48rpx;
|
height: 48rpx;
|
||||||
|
|||||||
@ -56,6 +56,7 @@ const onTop3DataLoaded = (items) => {
|
|||||||
z-index: 100;
|
z-index: 100;
|
||||||
padding: 0 16rpx;
|
padding: 0 16rpx;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
top:16rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.banner-swiper {
|
.banner-swiper {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user