新增页面
This commit is contained in:
@@ -16,33 +16,33 @@
|
||||
|
||||
<view class='user-info-card'>
|
||||
<image class='user-avatar' :src='bannerList[0]' mode='aspectFill' />
|
||||
<text class='user-name'>设计小仙女</text>
|
||||
<view class='integral-view'>
|
||||
<text class='user-name primary-text-color'>设计小仙女</text>
|
||||
<view class='integral-view primary-text-color'>
|
||||
<text>1000</text>
|
||||
<text>积分</text>
|
||||
</view>
|
||||
<view class='divider' style='height: 83rpx' />
|
||||
<view class='balance-view'>
|
||||
<text>998.00</text>
|
||||
<text class='accent-text-color'>998.00</text>
|
||||
<text>余额(元)</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class='menu-view'>
|
||||
<view>
|
||||
<image :src='assetsUrl+"ic_member_card.png"' style='width: 108rpx;height: 72rpx;padding: 11rpx 0' />
|
||||
<view @click.stop='goPath("/pages/mine/subs/recharge/index")'>
|
||||
<image :src='assetsUrl("ic_member_card.png")' style='width: 108rpx;height: 72rpx;padding: 11rpx 0' />
|
||||
<text>会员充值</text>
|
||||
</view>
|
||||
<view class='divider' style='margin: 0;height: 153rpx' />
|
||||
<view>
|
||||
<image :src='assetsUrl + "ic_coupon.png"' style='width: 108rpx;height: 95rpx' />
|
||||
<view @click.stop='goPath("/pages/mine/subs/coupon/coupon-list")'>
|
||||
<image :src='assetsUrl("ic_coupon.png")' style='width: 108rpx;height: 95rpx' />
|
||||
<text>优惠券</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class='second-menu-view'>
|
||||
<view v-for='(item, index) in submenuList' :key='index'>
|
||||
<view class='menu-item' @click='toPath(item.path)'>
|
||||
<view class='menu-item' @click='goPath(item.path)'>
|
||||
<image :src='item.icon' />
|
||||
<text>{{ item.title }}</text>
|
||||
</view>
|
||||
@@ -65,6 +65,7 @@
|
||||
<script setup lang='ts'>
|
||||
import { useUserStore } from '@/store';
|
||||
import { assetsUrl } from '@/utils/assets';
|
||||
import { goPath } from '@/utils';
|
||||
|
||||
const store = useUserStore();
|
||||
|
||||
@@ -77,18 +78,18 @@ const currentBannerIndex = ref(0);
|
||||
const submenuList = [
|
||||
{
|
||||
title: '注册有礼',
|
||||
icon: assetsUrl + 'ic_register_gift.png',
|
||||
icon: assetsUrl('ic_register_gift.png'),
|
||||
path: '/pages/order/order'
|
||||
},
|
||||
{
|
||||
title: '团购秒杀',
|
||||
icon: assetsUrl + 'ic_groupbuy.png',
|
||||
icon: assetsUrl('ic_groupbuy.png'),
|
||||
path: '/pages/order/order'
|
||||
},
|
||||
{
|
||||
title: '入群有礼',
|
||||
icon: assetsUrl + 'ic_group_gift.png',
|
||||
path: '/pages/order/order'
|
||||
icon: assetsUrl('ic_group_gift.png'),
|
||||
path: '/pages/home/subs/group/join'
|
||||
}
|
||||
];
|
||||
|
||||
@@ -164,7 +165,6 @@ console.log('store.user_name', store.user_name);
|
||||
flex: 1;
|
||||
font-size: 30rpx;
|
||||
font-weight: bold;
|
||||
color: #333333;
|
||||
margin-left: 16rpx;
|
||||
}
|
||||
|
||||
@@ -177,13 +177,11 @@ console.log('store.user_name', store.user_name);
|
||||
text:nth-child(1) {
|
||||
font-size: 36rpx;
|
||||
font-weight: bold;
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
text:nth-child(2) {
|
||||
font-size: 26rpx;
|
||||
font-weight: 400;
|
||||
color: #333333;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
}
|
||||
@@ -194,7 +192,6 @@ console.log('store.user_name', store.user_name);
|
||||
text:nth-child(1) {
|
||||
font-size: 36rpx;
|
||||
font-weight: bold;
|
||||
color: #F32B2B;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user