fix: 完善我的模块UI

This commit is contained in:
魏少阳 2025-01-14 16:42:20 +08:00
parent adc087ebfe
commit 24e369f4d0
2 changed files with 27 additions and 9 deletions

View File

@ -52,7 +52,7 @@
"pages": [ "pages": [
{ {
"path": "pages/mine/mine", "path": "pages/mine/mine",
"type": "page", "type": "home",
"style": { "style": {
"navigationStyle": "custom", "navigationStyle": "custom",
"navigationBarTitleText": "首页" "navigationBarTitleText": "首页"
@ -281,4 +281,4 @@
} }
], ],
"subPackages": [] "subPackages": []
} }

View File

@ -72,11 +72,17 @@
<!-- 底部操作区 --> <!-- 底部操作区 -->
<view class="bottom-actions"> <view class="bottom-actions">
<view class="action-item"> <view class="action-item">
<image class="action-icon" src="/static/icons/order.png" /> <image
class="action-icon"
src="https://file.hikmall.com/prod/image/4dbe971d6fac465cb4fed956defd678c.png"
/>
<text>我的订单</text> <text>我的订单</text>
</view> </view>
<view class="action-item"> <view class="action-item">
<image class="action-icon" src="/static/icons/invoice.png" /> <image
class="action-icon"
src="https://file.hikmall.com/prod/image/116e1ea563474601ac075ac5bb312963.png"
/>
<text>发票管理</text> <text>发票管理</text>
</view> </view>
</view> </view>
@ -240,7 +246,7 @@
.service-grid, .service-grid,
.tools-grid { .tools-grid {
display: grid; display: grid;
grid-template-columns: repeat(5, 1fr); grid-template-columns: repeat(4, 1fr);
gap: 16px; gap: 16px;
margin-top: 12px; margin-top: 12px;
.service-item, .service-item,
@ -266,6 +272,17 @@
} }
} }
.service-grid {
grid-template-columns: repeat(5, 1fr);
gap: 8px;
overflow-x: auto; //
.service-item,
.tool-item {
width: 16vw; // item
}
}
.list-section { .list-section {
margin-bottom: 16px; margin-bottom: 16px;
background-color: #fff; background-color: #fff;
@ -296,18 +313,19 @@
.action-item { .action-item {
display: flex; display: flex;
flex-direction: column; flex-direction: row;
gap: 4px; gap: 4px;
align-items: center; align-items: center;
//background-color: red;
.action-icon { .action-icon {
width: 24px; width: 16px;
height: 24px; height: 16px;
} }
text { text {
font-size: 12px; font-size: 12px;
color: #666; color: black;
} }
} }
} }