登录逻辑+注册有礼
This commit is contained in:
@@ -7,23 +7,23 @@
|
||||
/>
|
||||
|
||||
<view class='top-row'>
|
||||
<image :src=' assetsUrl("ic_coupon.png")' />
|
||||
<image :src='userInfo.image' />
|
||||
|
||||
<view class='u-flex-column'>
|
||||
<text>设计小仙女</text>
|
||||
<text>15542535625</text>
|
||||
<text>{{ userInfo.nickName}}</text>
|
||||
<text>{{ userInfo.telephone }}</text>
|
||||
</view>
|
||||
|
||||
<image :src=' assetsUrl("ic_qrcode_white.png")' />
|
||||
<image :src='assetsUrl("ic_qrcode_white.png")' />
|
||||
</view>
|
||||
|
||||
<view class='bottom-row'>
|
||||
<view>
|
||||
<text>100</text>
|
||||
<text>{{ userInfo.integration }}</text>
|
||||
<text>积分</text>
|
||||
</view>
|
||||
<view @click.stop='goPath("/pages/mine/subs/recharge/index")'>
|
||||
<text>255.00</text>
|
||||
<text>{{ userInfo.balance }}</text>
|
||||
<text>余额</text>
|
||||
</view>
|
||||
<view @click.stop='goPath("/pages/mine/subs/coupon/coupon-list")'>
|
||||
@@ -121,7 +121,8 @@ const title = ref<string>();
|
||||
title.value = import.meta.env.VITE_APP_TITLE;
|
||||
|
||||
const store = useUserStore();
|
||||
console.log('store.user_name', store.user_name);
|
||||
const { userInfo } = storeToRefs(store);
|
||||
|
||||
</script>
|
||||
|
||||
<style lang='scss' scoped>
|
||||
|
Reference in New Issue
Block a user