优化布局

This commit is contained in:
张文涛 2024-10-31 21:07:24 +08:00
parent 96bbbd253f
commit 91f6ef243e
2 changed files with 3 additions and 2 deletions

View File

@ -5,7 +5,7 @@
<view class="status-bar bg-white pt-30"></view>
<!-- 头像栏 -->
<view class="flex items-center wrap-card" hover-class="bg-gray-100" @click="$u.route('/pages/mine/edit-info')">
<image class="header-img" src="/static/img/header/a.svg" mode=""
<image class="header-img" src="/static/img/demo/avatar.jpeg" mode=""
@click.stop="$u.route('/pages/mine/edit-info')">
</image>
<view class="flex flex-col flex-1 px-20">
@ -224,6 +224,7 @@
width: 100rpx;
height: 100rpx;
border-radius: 100%;
box-shadow: inset 0rpx -1rpx 0rpx 0rpx #EEEEEE;
}
.wrap-cards {

View File

@ -2,7 +2,7 @@
<!-- 新鲜事/话题列表 -->
<view class="topic-list flex items-center">
<image style="width: 200rpx; height: 150rpx;" :src="item.cover" lazy-load mode="aspectFill"></image>
<view class="my-20 " style="width: 500rpx; border: solid 1px red;">
<view class="my-20 " style="width: 460rpx;">
<view class="text-black text-32 asset_name">{{item.asset_name}}</view>
<view class="text-gray-400 text-26 my-10 digest">{{item.digest}}</view>
<view class="operation">