fix: 完善我的模块UI
This commit is contained in:
parent
adc087ebfe
commit
24e369f4d0
@ -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": []
|
||||||
}
|
}
|
||||||
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user