2025-10-16

收货地址页面40%
This commit is contained in:
2025-10-16 17:23:57 +08:00
parent 28e36b5625
commit 980cc496ba
3 changed files with 92 additions and 8 deletions

View File

@@ -81,7 +81,7 @@
</view>
</view>
</view>
<view class="menu-list">
<view class="menu-item">
<u-image src="/static/my/01.png" width="40%" mode="widthFix"></u-image>
@@ -113,7 +113,7 @@
充值中心
</view>
</view>
<view class="menu-item">
<view class="menu-item" @click="handleShippingAddress">
<u-image src="/static/my/06.png" width="40%" mode="widthFix"></u-image>
<view class="menu-text">
收货地址
@@ -147,6 +147,12 @@
const user = ref()
const handleShippingAddress = () => {
uni.navigateTo({
url: '/pages/my/shippingAddress'
})
}
onMounted(() => {
user.value = uni.getStorageSync("user")
console.log(user.value);
@@ -294,23 +300,23 @@
}
}
.menu-list{
.menu-list {
background: #F5F8FF;
margin-top: 20rpx;
padding: 20rpx 0 0 0;
border-radius: 24rpx;
display: flex;
flex-wrap: wrap;
.menu-item{
.menu-item {
display: flex;
flex-direction: column;
align-items: center;
width: 25%;
margin-bottom: 20rpx;
.menu-text{
.menu-text {
font-family: Work Sans;
font-weight: 400;
font-style: Regular;