fix travel location attachment style

This commit is contained in:
Timi
2025-12-18 19:33:31 +08:00
parent 2966289930
commit 107177d095
5 changed files with 108 additions and 109 deletions

View File

@ -84,11 +84,10 @@
grid-template-columns: repeat(3, 1fr);
.media-item {
width: 100%;
height: 200rpx;
width: 220rpx;
height: 220rpx;
overflow: hidden;
position: relative;
border-radius: 12rpx;
.thumbnail {
width: 100%;

View File

@ -126,9 +126,6 @@ Page({
}
});
}
console.log(mediaItems);
this.setData({
location: {
...location,

View File

@ -90,9 +90,9 @@
</t-cell-group>
<!-- 照片/视频 -->
<t-cell-group wx:if="{{location.mediaItems && 0 < location.mediaItems.length}}" class="section media">
<view slot="title" class="title">照片/视频</view>
<view slot="title" class="title">照片视频</view>
<t-cell>
<view class="media-grid">
<view slot="title" class="media-grid">
<view
wx:for="{{location.mediaItems}}"
wx:key="attachmentId"