style:修改个人设置页面和藏品详细页的样式
This commit is contained in:
parent
d992462b06
commit
7921d22b7d
@ -584,6 +584,23 @@ const hiddenBlockNumber = computed(() => {
|
||||
return `${str.substring(0, 6)}******`;
|
||||
});
|
||||
|
||||
// 隐藏交易哈希(保留前6位 + 6个*)
|
||||
const hiddenTxHash = computed(() => {
|
||||
const hash = assetData.value.tx_hash;
|
||||
if (!hash) return '******';
|
||||
if (hash.length <= 6) return hash + '******';
|
||||
return `${hash.substring(0, 6)}******`;
|
||||
});
|
||||
|
||||
// 隐藏区块链编号(保留前6位 + 6个*)
|
||||
const hiddenBlockNumber = computed(() => {
|
||||
const num = assetData.value.block_number;
|
||||
if (!num) return '******';
|
||||
const str = String(num);
|
||||
if (str.length <= 6) return str + '******';
|
||||
return `${str.substring(0, 6)}******`;
|
||||
});
|
||||
|
||||
// 复制完整哈希
|
||||
const copyHash = () => {
|
||||
const hash = assetData.value.tx_hash;
|
||||
@ -627,7 +644,6 @@ const loadData = async () => {
|
||||
isLiked.value = res.data.asset.is_liked || res.data.is_liked || false;
|
||||
likeCount.value = asset.like_count || 0;
|
||||
|
||||
<<<<<<< HEAD
|
||||
// 加载贴纸素材
|
||||
if (asset.material_relations || asset.materials) {
|
||||
loadStickersForAsset(asset.material_relations || asset.materials)
|
||||
@ -635,9 +651,6 @@ const loadData = async () => {
|
||||
|
||||
if (asset.remain_time > 0) {
|
||||
remainSeconds.value = asset.remain_time;
|
||||
=======
|
||||
if (asset.exhibition_expire_at) {
|
||||
>>>>>>> ebe57bc078a35ed4c13ccf966c8f7b5af6327c61
|
||||
startCountdown();
|
||||
}
|
||||
console.log(res.data)
|
||||
@ -784,15 +797,11 @@ onLoad((options) => {
|
||||
assetIdParam.value = options?.asset_id || '';
|
||||
orderIdParam.value = options?.order_id || '';
|
||||
fromParam.value = options?.from || '';
|
||||
<<<<<<< HEAD
|
||||
studioKindParam.value = options?.studio_kind || '';
|
||||
craftConfirmMode.value = fromParam.value === 'craft_confirm';
|
||||
if (craftConfirmMode.value) {
|
||||
loadCraftConfirm();
|
||||
}
|
||||
=======
|
||||
loadCurrentUser();
|
||||
>>>>>>> ebe57bc078a35ed4c13ccf966c8f7b5af6327c61
|
||||
});
|
||||
|
||||
onShow(() => {
|
||||
@ -1172,6 +1181,30 @@ onUnmounted(() => {
|
||||
text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
|
||||
}
|
||||
|
||||
/* 收益 */
|
||||
.earnings-area {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10rpx;
|
||||
background: linear-gradient(to bottom right,
|
||||
#F0E4B1 0%,
|
||||
#F08399 50%,
|
||||
#B94E73 100%);
|
||||
border-radius: 999rpx;
|
||||
box-shadow:
|
||||
0 4rpx 12rpx rgba(255, 143, 158, 0.2),
|
||||
inset 0 2rpx 4rpx rgba(255, 255, 255, 0.4);
|
||||
padding: 10rpx 28rpx;
|
||||
}
|
||||
|
||||
.earnings-text {
|
||||
font-size: 32rpx;
|
||||
font-weight: bold;
|
||||
color: #e6e6e6;
|
||||
font-family: 'yt', sans-serif;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
/* 倒计时 */
|
||||
.countdown-area {
|
||||
display: flex;
|
||||
@ -1522,6 +1555,7 @@ onUnmounted(() => {
|
||||
margin-bottom: 8rpx;
|
||||
/* transform: scale(1.2); */
|
||||
}
|
||||
<<<<<<< HEAD
|
||||
|
||||
<<<<<<< HEAD
|
||||
.craft-confirm-scroll {
|
||||
@ -1597,4 +1631,11 @@ onUnmounted(() => {
|
||||
font-size: 16rpx;
|
||||
}
|
||||
>>>>>>> ebe57bc078a35ed4c13ccf966c8f7b5af6327c61
|
||||
=======
|
||||
.visit-text{
|
||||
color: #FFFFFF;
|
||||
font-size:16rpx;
|
||||
}
|
||||
|
||||
>>>>>>> af74dd5 (style:修改个人设置页面和藏品详细页的样式)
|
||||
</style>
|
||||
|
||||
@ -2,7 +2,6 @@
|
||||
<view class="profile-container">
|
||||
<!-- 背景图片 - 固定在容器上 -->
|
||||
<image class="background-image" src="/static/square/squearbj.png" mode="aspectFill"></image>
|
||||
|
||||
<scroll-view class="profile-scroll" scroll-y :show-scrollbar="false" :enable-back-to-top="true">
|
||||
<!-- 上半部分:用户信息卡片 -->
|
||||
<view class="top-section">
|
||||
@ -1322,7 +1321,6 @@ onShow(() => {
|
||||
align-items: flex-start;
|
||||
/* gap: 30rpx; */
|
||||
margin-bottom: 0;
|
||||
|
||||
}
|
||||
|
||||
.avatar-container {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user