style: 藏品详细样式修改

This commit is contained in:
zheng020 2026-05-15 15:21:54 +08:00 committed by zerosaturation
parent 9df47da637
commit 19ba97c2e4
2 changed files with 4 additions and 126 deletions

View File

@ -235,21 +235,8 @@
<image class="creator-preview" src="/static/rank/activity-support-icon/tubiao.png" <image class="creator-preview" src="/static/rank/activity-support-icon/tubiao.png"
mode="aspectFill"></image> mode="aspectFill"></image>
</view> </view>
</view> -->
<!-- </view> -->
<!-- 完整链上哈希显示遮罩层 -->
<view v-if="showTxHash" class="txhash-mask" @tap="showTxHash = false">
<view class="txhash-popup" @tap.stop>
<view class="txhash-popup-header">
<text class="txhash-popup-title">链上哈希</text>
<view class="txhash-popup-close" @tap="showTxHash = false">
<image class="close-icon" src="/static/icon/hide.png" mode="aspectFit"></image>
</view>
</view> </view>
<text class="txhash-popup-content" selectable @longpress="copyHash">{{ displayTxHash }}</text>
</view> </view>
</view>
<!-- 链上数据 --> <!-- 链上数据 -->
<view class="chain-section"> <view class="chain-section">
@ -649,8 +636,7 @@ const loadData = async () => {
loadStickersForAsset(asset.material_relations || asset.materials) loadStickersForAsset(asset.material_relations || asset.materials)
} }
if (asset.remain_time > 0) { if (asset.exhibition_expire_at) {
remainSeconds.value = asset.remain_time;
startCountdown(); startCountdown();
} }
console.log(res.data) console.log(res.data)
@ -797,11 +783,6 @@ onLoad((options) => {
assetIdParam.value = options?.asset_id || ''; assetIdParam.value = options?.asset_id || '';
orderIdParam.value = options?.order_id || ''; orderIdParam.value = options?.order_id || '';
fromParam.value = options?.from || ''; fromParam.value = options?.from || '';
studioKindParam.value = options?.studio_kind || '';
craftConfirmMode.value = fromParam.value === 'craft_confirm';
if (craftConfirmMode.value) {
loadCraftConfirm();
}
}); });
onShow(() => { onShow(() => {
@ -1153,7 +1134,6 @@ onUnmounted(() => {
color: #fff; color: #fff;
font-family: 'yt', sans-serif; font-family: 'yt', sans-serif;
font-variant-numeric: tabular-nums; font-variant-numeric: tabular-nums;
text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
} }
/* 收益 */ /* 收益 */
@ -1181,30 +1161,6 @@ onUnmounted(() => {
text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7); 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 { .countdown-area {
display: flex; display: flex;
@ -1555,87 +1511,9 @@ onUnmounted(() => {
margin-bottom: 8rpx; margin-bottom: 8rpx;
/* transform: scale(1.2); */ /* transform: scale(1.2); */
} }
<<<<<<< HEAD .visit-text{
<<<<<<< HEAD
.craft-confirm-scroll {
flex: 1;
height: calc(100vh - 120rpx);
margin-top: 100rpx;
}
.craft-card-section {
margin-top: 24rpx;
}
.craft-card-wrapper {
position: relative;
width: 520rpx;
height: 680rpx;
margin: 0 auto;
}
.craft-lenticular-slot {
position: absolute;
left: 50%;
top: 50%;
width: 78%;
height: 82%;
transform: translate(-50%, -50%) rotate(-6deg);
z-index: 2;
}
.craft-lenticular-card {
width: 100%;
height: 100%;
}
.craft-card-image {
position: absolute;
left: 50%;
top: 50%;
width: 78%;
height: 82%;
transform: translate(-50%, -50%) rotate(-6deg);
z-index: 2;
border-radius: 16rpx;
}
.craft-info-row {
margin-top: 32rpx;
}
.craft-mint-bar {
margin: 48rpx 32rpx 80rpx;
}
.craft-mint-btn {
width: 100%;
height: 96rpx;
line-height: 96rpx;
border-radius: 48rpx;
background: linear-gradient(90deg, #ff6b9d 0%, #ffa8c5 100%);
color: #fff;
font-size: 32rpx;
font-weight: bold;
border: none;
}
.craft-mint-btn[disabled] {
opacity: 0.65;
}
=======
.visit-text {
color: #FFFFFF; color: #FFFFFF;
font-size: 16rpx; font-size: 16rpx;
} }
>>>>>>> ebe57bc078a35ed4c13ccf966c8f7b5af6327c61
=======
.visit-text{
color: #FFFFFF;
font-size:16rpx;
}
>>>>>>> af74dd5 (style:修改个人设置页面和藏品详细页的样式)
</style> </style>

View File

@ -10,12 +10,12 @@ const baseURL = 'http://192.168.110.60:8080' // H5 开发用本机
// #ifdef APP-PLUS // #ifdef APP-PLUS
// 开发调试手机和电脑同一WiFi时用这个改成你电脑IP // 开发调试手机和电脑同一WiFi时用这个改成你电脑IP
// 上线后:改成实际服务器地址 // 上线后:改成实际服务器地址
// const baseURL = 'http://192.168.110.60:8080' const baseURL = 'http://192.168.110.60:8080'
// #endif // #endif
// 服务器地址(正式上线用) // 服务器地址(正式上线用)
// #ifdef APP-PLUS // #ifdef APP-PLUS
const baseURL = 'http://101.132.250.62:8080' // const baseURL = 'http://101.132.250.62:8080'
// #endif // #endif
// 是否使用模拟数据(开发调试时设为 true后端API准备好后改为 false // 是否使用模拟数据(开发调试时设为 true后端API准备好后改为 false